0.2.4 • Published 6 years ago

homebridge-mqtt-contact-sensor-battery v0.2.4

Weekly downloads
13
License
MIT
Repository
github
Last release
6 years ago

homebridge-mqtt-contact-sensor-battery

Get Contact Sensor status via MQTT in Homebridge

batteryLowPercentage - Value when battery reach that percentage show status Battery Low chargingStatus - Optional

Installation

sudo npm install -g homebridge-mqtt-contact-sensor-battery

Sample HomeBridge Configuration

{
  "bridge": {
"name": "HomeBridge",
"username": "CC:12:3B:D3:CE:11",
"port": 51826,
"pin": "321-45-223"

  },
    "description": "",
      "accessories": [
{
  "accessory": "mqtt-contact-sensor",
  "name": "Contact",
  "url": "mqtt://localhost",
  "batteryLowPercentage":"20",
  "topics": {
    "sensor": "room/contactSensor",
    "batteryLevel": "room/contactSensor/level",
    "chargingStatus": "room/contactSensor/charging"
  },
  "username": "username",
  "password": "password"
}
  ],
"platforms": []
}
0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago