homebridge-mqtt-blinds-simulation
v0.11.0
Published
Homebridge plugin to control blinds via MQTT with simulation mode
Downloads
13
Maintainers
Readme
Homebridge MQTT Blinds with simulation
Homebridge plugin to control blinds via MQTT with simulation mode.
Installation
- install homebridge
npm install -g homebridge
- install this plugin
npm install -g homebridge-mqtt-blinds-simulation
- update your
~/.homebridge/config.json
file (usesample-config.json
as a reference)
Configuration
Sample accessory:
"accessories": [
{
"accessory": "Blinds",
"name": "Kitchen",
"topicUp": {
"url": "",
"message": ""
},
"topicDown": {
"url": "",
"message": ""
},
"topicStop": {
"url": "",
"message": ""
},
"durationUp": 27000,
"durationDown": 25000,
"durationOffset": 1000,
"mqttUrl": "mqtt://localhost:1883",
"mqttUser": "",
"mqttPass": ""
}
]
Fields:
accessory
must always be Blindsname
room with blinds, e.g. GaragetopicUp
topic object for send up messagetopicDown
topic object for send down messagetopicStop
topic object for send stop messagedurationUp
milliseconds to open blinds completelydurationDown
milliseconds to close blinds completelydurationOffset
[optional, default: 0] milliseconds added to durationUp and durationDown to make sure that blinds are completely open or closedmqttUrl
URL of your MQTT servermqttUser
[optional] username of your MQTT servermqttPass
[optional] password of your MQTT server