Argh. I was goin’ nuckin’ futz with this “trigger” issue. (I was…um…“prevented” from posting on this issue)
It’s been freaking me out since mid-December. My “triggers” weren’t reliably triggering events…sometimes it worked, sometimes it didn’t work.
I figured it was on the server side, -since I can “see” when the switch inputs go high or low, and the relays weren’t triggering. However, the “app” buttons always worked…just not the trigger events.
Now I’m trying to deal with the response delays (since I’m using switch inputs as limit switches for garage door controllers, remote gate controllers and curtain controllers). I’m wondering if it wouldn’t be better to “firmware” program the limit switches directly in the ESP8266 device, -bypassing the Cayenne server. Currently, the delayed response is >1.2 seconds when using the ESP12-e. It’s causing my motors to over-current when they hit their physical limits.
I’ve found out that I MUST use re-trigger able 1-shots (pulse stretchers) on my security motion detectors.
A momentary closure can’t be seen by Cayenne unless the closure lasts longer than 1.5 seconds. NOT good! So…that seems to be a solution for Cayenne.