OpenMQTTGateway
OpenMQTTGateway copied to clipboard
Check GPIOInput state on demand
I can't find if is there a way to check, once booted, the state of a defined GPIOInput. OMG reports the defined pin state at boot, but, at least in my case, never more until switched on or off.
Is there a way to check this?
Thanks.
OMG should publish the change of state of the GPIOInput
defined, could you share the version that you are using and an extract of the serial monitor?
In fact, OMG publish when state changes, but that I would like is to be able to check it on demand, asking on a topic for example, or the state to be reported periodically.
Now I am out, will try to get serial output later.
Version is current, at least 5-6 days ago: Can't find in code, only found "version_tag"
Any way, I have downloaded master version on august 26th.
In fact, OMG publish when state changes, but that I would like is to be able to check it on demand, asking on a topic for example, or the state to be reported periodically.
This is not available yet, would you be interested in proposing a pull request?
Yes, this would be a nice feature for my needs on this project.
I suppose I must open any kind of ticket, right?
I never did this before, sorry for my ignorance.
Sorry if I did it wrong way: https://github.com/1technophile/OpenMQTTGateway/pull/756
Thanks.