cflurin / homebridge-mqtt

Homebridge-mqtt is a Plugin for Homebridge.
Apache License 2.0
229 stars 39 forks source link

Garageport with Sonoff #47

Closed jannnfe closed 6 years ago

jannnfe commented 6 years ago

Hello, I'm new to Node-Red and MQTT. Can someone explain to me how I can apply this scheme to my Sonoff Basic? https://github.com/cflurin/homebridge-mqtt/wiki/garageport

My Sonoff Basic gives a pulse that opens or closes the garage. At GPIO14 a reed sensor is attached, which knows the current status of the garage. So how can I configure the whole thing so that I can say later: Siri open the garage

Thanks!