Get Motion Sensor status via MQTT in Homebridge
sudo npm install -g homebridge-mqtt-motionsensor
{
"bridge": {
"name": "HomeBridge",
"username": "CC:33:3B:D3:CE:32",
"port": 51826,
"pin": "321-45-123"
},
"description": "",
"accessories": [
{
"accessory": "mqtt-motionsensor",
"name": "Living Room",
"url": "mqtt://localhost",
"topic": "home/livingroom/motionsensor",
"username": "username",
"password": "password"
}
],
"platforms": []
}