1) Give a description of the problem
I want to detect only physical interactions with a light switch, and most importantly ignore events that were triggered by webCoRE. I am trying this:
if <Device>'s switch physically changes
And that does work, but I also occasionally have this trigger for an “off” event that I suspect is being caused by another bit of code in the same piston.
2) What is the expected behavior?
Ideally I could catch all on/off events for the light not triggered by webCoRE (same piston or other pistons)
5) Attach any logs (From ST IDE and by turning logging level to Full)
I actually would love to figure out how to capture some useful logs to track this down. I’m open to adding some statements to better determine the state of the switch, what triggered it, etc, but so far can’t find anything like that.