OpenMarine

Full Version: Regular polling and inclusion of GPIO sensors in signalk
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
As I have mentioned previously, the state of various GPIO sensors set up on gpio tab is not regularly polled and shown in signalk output. This seems to be by design, I think it was said they only show up on change. But using various mobile apps and signalk plugins it would be nice to be able to report whether something is on or off, and to see that the sentence is available to report on.

I expect this could be done with node red but would rather not have that running if it could be avoided.





Sent from my Moto G (5) Plus using Tapatalk
(2018-02-03, 07:25 PM)Saqqara Wrote: [ -> ]As I have mentioned previously, the state of various GPIO sensors set up on gpio tab is not regularly polled and shown in signalk output. This seems to be by design, I think it was said they only show up on change. But using various mobile apps and signalk plugins it would be nice to be able to report whether something is on or off, and to see that the sentence is available to report on.

I expect this could be done with node red but would rather not have that running if it could be avoided.





Sent from my Moto G (5) Plus using Tapatalk


+1
My experience is, that you have to restart GPIOs to get an actual status.
When a GPIO statuts changes, it is sent.
With node red, you can repeat an old status periodicaly.

I would like a function in OP to actualize the GPIO status in certain time intervals.