I have a project that is nearly complete and working well. The last piece to my project is to know if the RPI-GPIO IN was triggered by a change at the magnetic switch it is attached to, or if it was triggered because I have "Read State at Startup/Deploy"
When the RPI-GPIO IN is triggered, I send an SMS message that says "Opening" or "Closing"
I need to to send an SMS that says "Open" or "Closed" based on the state at startup.
If I new if the msg.payload was a result of the "Read State at Startup/Deploy", I would just generate different message.
Thanks for contemplating my issue and providing some hints!
JasGot