homebridge-odor-sensor

An odor sensor accessory plugin for homebridge

Usage no npm install needed!

<script type="module">
  import homebridgeOdorSensor from 'https://cdn.skypack.dev/homebridge-odor-sensor';
</script>

README

homebridge-odor-sensor

Odor sensor accessory plugin for Homebridge using TGS2450

Configuration

Example configuration:

"accessories": [
   {
      "accessory": "OderSensor",
      "name": "Odor sensor",
      "options": {
         "spidev": "0.0",
         "pins": {
            "heater": 11,
            "sensor": 15
         },
         "threshold": {
            "poor": 500,
            "inferior": 450,
            "fair": 400,
            "good": 300,
            "excellent": 250
         }
      }
   }
]

Thanks

https://fabcross.jp/category/make/sorepi/20171019_smell.html