Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Flexible On Off, multiples pins, delays.. mosquitto_pub -t home/OpenM… #299
Flexible On Off
mosquitto_pub -t home/OpenMQTTGateway/commands/MQTTtoONOFF -m 2000,4<,publish after delay>
Will turn pin 4 on for 2000 milliseconds. by default after the delay no mqtt message will be published unless set to 1
This is helpful if you only need the pin to go high for x milliseconds (fireplace control...) and then stop. Sending a pub after the delay is configurable. I want the fireplace switch to stay on high (on) even though the pin isnt. Works great with Home assistant.
I usually dont publish PRs so sorry about the extra formatting.
Thanks for this PR.
Do you think you can rebegin from current master revision so as to avoid the extra formatting.