JSPM

homebridge-thermometer-am2320

0.0.10
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 29
  • Score
    100M100P100Q37238F
  • License Apache

AM2320 temperature/humidity sensor bridge for Homebridge: https://github.com/nfarina/homebridge"

Package Exports

  • homebridge-thermometer-am2320

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (homebridge-thermometer-am2320) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

homebridge-am2320

ASONG AM2320 temperature/humidity sensor service plugin for Homebridge

Installation

  1. Install Homebridge using npm install -g homebridge
  2. Install this plugin npm install -g homebridge-thermometer-am2320
  3. Update your configuration file - see below for an example

Connect the AM2320 chip to the I2C bus

Configuration

  • accessory: "AM2320"
  • name: descriptive name
  • name_temperature (optional): descriptive name for the temperature sensor
  • name_humidity (optional): descriptive name for the humidity sensor

If you get an I/O error, make sure the I2C address is correct (usually 0x5c depending on a jumper).

Example configuration:

    "accessories": [
        {
            "accessory": "AM2320",
            "name": "Sensor",
            "name_temperature": "Temperature",
            "name_humidity": "Humidity",
            "options": {
              "i2cBusNo": 1,
              "i2cAddress": "0x5c"
            }
        }
    ]

This plugin creates two services: TemperatureSensor and HumiditySensor.

License

Apache 2.0