Jump to content


Photo
- - - - -

MQTT Home Assistant GDO request for help


  • Please log in to reply
2 replies to this topic

#1 pete_c

pete_c

    Cocoonut

  • -=Gold Supporter=-
  • 9397 posts
  • Location:House
  • Experience:average
  • Software:Main Lobby, Open Source Automation
  • Hardware:HAI OmniPro II, Mi Casa Verde Vera, Ocelot
  • Tech:X10-PLC, X10-RF, UPB, INSTEON, Z-Wave, ZigBee, 1-Wire, xAP, xPL, ALC
  • Audio:Russound
  • Video:MythTV
  • CCTV:analog, ip, dvr
  • Phone:Asterisk, FreePBX, Ooma, POTS, VoIP via ISP

Posted 10 August 2019 - 04:04 PM

Modified a Sonoff basic here for a GDO button, closed door, open door, intermediate door and temperature sensor.

 

Using HA what is the best way to configure this device in configuration.yaml or a script?

 

GDO1
 
Noticed that there is a HA MQTT function called cover which can be used for a garage door.
 
 

 



#2 vc1234

vc1234

    Dedicated Cocooner

  • Registered
  • PipPipPip
  • 283 posts

Posted 11 August 2019 - 11:36 AM

Probably, the simplest way would be to use an MQTT switch:

 

https://www.home-ass...ts/switch.mqtt/

 

That's what's been working for me with another opener, not sure about the Sonoff. I was not even aware that the MQTT cover existed.

 

In any case, I'd use mosquitto_sub to see what messages flow between HA and the Sonoff.



#3 pete_c

pete_c

    Cocoonut

  • -=Gold Supporter=-
  • 9397 posts
  • Location:House
  • Experience:average
  • Software:Main Lobby, Open Source Automation
  • Hardware:HAI OmniPro II, Mi Casa Verde Vera, Ocelot
  • Tech:X10-PLC, X10-RF, UPB, INSTEON, Z-Wave, ZigBee, 1-Wire, xAP, xPL, ALC
  • Audio:Russound
  • Video:MythTV
  • CCTV:analog, ip, dvr
  • Phone:Asterisk, FreePBX, Ooma, POTS, VoIP via ISP

Posted 11 August 2019 - 06:52 PM

Thank you vc1234

 

Yes this is a custom SonOff firmware with hard wired reed switches / sensors on the top and bottom of the garage door plus using button for opening and closing door plus a DS18B20 1-wire temperature sensor.

 

I have it working right now using mcsMQTT in Homeseer.  Trying to replicate same in HA. 

 

This is a testing project as the GDO / Garage doors sensors are also wired to the alarm panel.

 

sonoff





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users