OpenGarage › Forums › OpenGarage Firmware › Fork with MQTT, Magnetic Sensor support ,Close if left open at night – misc › Reply To: Fork with MQTT, Magnetic Sensor support ,Close if left open at night – misc
Great to hear – I kept all the API stuff backwards compatible so it shouldn’t break anything. I did add explicit close and open commands I wonder might help with using things like home assistant. The vanilla firmware accepts only a click command so can get out of whack if something else is changing the state. Mine also supports explicitly saying you want to close or open, so if the external stuff gets confused and sends a close when OG is already closed it won’t then open like the native firmware would when receiving the click command (it sees its already closed and does nothing)
Probably wouldn’t take much to tweak – just replace the click=1 with close=1 and open=1 in the appropriate places.
- This reply was modified 3 years, 2 months ago by lawrence_jeff.