Hello, i’m having a bit of an issue regarding this piston. Any help would be appreciated! Thanks for your time.
Update: the piston image i uploaded is from a new piston i made. instead of having the time as an “if” i set the time to “Only when” but its not triggering the lights anyway.
1) Give a description of the problem
it does not trigger when time is between 6 pm and 6 am instead it triggers at 5:59 pm and 5:59 am “AUTOMATICALLY”(Not only when external URL has been executed)
2) What is the expected behavior?
The piston should trigger ONLY when external URL has been executed. it should look like this:
“the http external url executes”
make a web request (to turn on my ac via an automation with ifttt and Nexia)
Turn on Plug 1 (a z wave wall plug where i have a fan attached to)
BUT if time is between 6 pm and 6 am (only when its dark)
then
make a web request (to turn on my ac via an automation with ifttt and Nexia)
Turn on Plug 1 (a z wave wall plug where i have a fan attached to)
Turn on Switch chandelier.
3) What is happening/not happening?
without the Time everything works fine but if i add the time it triggers automatically without even accessing the external url.
4) Post a Green Snapshot of the piston
5) Attach any logs (From ST IDE and by turning logging level to Full)
+1ms ╔Received event [XXXXX].execute = 177.xxx.xxx.xxx with a delay of 63ms +117ms ║RunTime Analysis CS > 11ms > PS > 35ms > PE > 70ms > CE +127ms ║Runtime (37723 bytes) successfully initialized in 35ms (v0.2.0fb.20171026) (126ms) +128ms ║╔Execution stage started +133ms ║║Cancelling statement #1's schedules... +138ms ║║Error executing virtual command [].httpRequest: (1ms) java.lang.NullPointerException: Cannot invoke method replace() on null object +143ms ║║Cancelling statement #3's schedules... +162ms ║║Executed physical command [Plug 1].on() (15ms) +162ms ║║Executed [Plug 1].on (17ms) +171ms ║║Comparison (time) 81804924 is_between (time) 84660000 .. (time) 85440000 = false (4ms) +172ms ║║Condition #7 evaluated false (7ms) +173ms ║║Condition group #5 evaluated false (state did not change) (9ms) +174ms ║╚Execution stage complete. (46ms) +184ms ╚Event processed successfully (184ms)
Best regards.
-Federico.