I’m trying to get the buttons on my Smart Fob to work (4 regular pushes, 4 holds)… this should be fairly straightforward just like my Aeon Minimotes (gen1). I’ve installed @mitchp 's DTH https://github.com/mitchpond/SmartThingsPublic/blob/master/devicetypes/mitchpond/iris-smart-fob.src/iris-smart-fob.groovy (Github -> add repo -> owner=mitchpond, name=SmartThingsPublic, branch=master, then get and publish iris-smart-fob.groovey). Unfortunately I can’t get button pushes to trigger pistons. I can see the button push in the IDE, but I just get eval=false for the relevant condition.
Here’s the anonymized piston, keypad3=minimum, keypad2=iris
Here’s the debugging output, I tried the minimote first (worked!) then I tried the iris and it did nothing…
8/9/2017, 10:06:41 PM +961ms +1ms ╔Received event [Keypad 2].button = pushed with a delay of 467ms +131ms ║RunTime Analysis CS > 28ms > PS > 69ms > PE > 35ms > CE +144ms ║Runtime (35602 bytes) successfully initialized in 69ms (v0.2.0e1.20170728) (141ms) +145ms ║╔Execution stage started +171ms ║║Cancelling condition #5's schedules... +172ms ║║Condition #5 evaluated false (13ms) +181ms ║║Comparison (enum) pushed gets (string) pushed = false (2ms) +184ms ║║Condition #6 evaluated false (10ms) +185ms ║║Cancelling condition #4's schedules... +186ms ║║Condition group #4 evaluated false (state changed) (29ms) +188ms ║║Cancelling condition #1's schedules... +189ms ║║Condition group #1 evaluated false (state changed) (32ms) +193ms ║╚Execution stage complete. (48ms) +418ms ╚Event processed successfully (419ms) 8/9/2017, 9:51:20 PM +174ms +1ms ╔Received event [Keypad 3].button = pushed with a delay of 814ms +104ms ║RunTime Analysis CS > 23ms > PS > 54ms > PE > 27ms > CE +128ms ║Runtime (35608 bytes) successfully initialized in 54ms (v0.2.0e1.20170728) (125ms) +129ms ║╔Execution stage started +149ms ║║Comparison (enum) pushed gets (string) pushed = true (2ms) +152ms ║║Cancelling condition #5's schedules... +153ms ║║Condition #5 evaluated true (11ms) +154ms ║║Cancelling condition #4's schedules... +155ms ║║Condition group #4 evaluated true (state changed) (14ms) +157ms ║║Cancelling condition #1's schedules... +158ms ║║Condition group #1 evaluated true (state changed) (18ms) +162ms ║║Cancelling statement #2's schedules... +196ms ║║Executed physical command [Outlet 1].off() (25ms) +197ms ║║Executed virtual command [Outlet 1].toggle (30ms) +202ms ║╚Execution stage complete. (73ms) +211ms ╚Event processed successfully (211ms) Clear Full