Piston called by external URL sometimes does nothing


#1

1) Give a description of the problem
I am calling a piston via the external URL with some arguments attached to turn on and off my TV. Every 4th or 5th time it is called it does nothing, but I can see it is receiving the request and arguments from the log.

2) What is the expected behavior?
When the URL is called with the arguments “type=power&value=on(or off)” it should run through the very simple logic of the piston and execute the command to turn the TV on or off

3) What is happening/not happening?
Every 4th or 5th time nothing happens. It can be either the on and off command it fails on. Below are screen shots of the Trace and the ST Log when it does nothing.

4) Post a Green Snapshot of the pistonimage

5) Attach any logs (From ST IDE and by turning logging level to Full)

When this works it works perfectly, I just can’t tell from the log why it does nothing some times?!?


#2

$response.result.status may have an unexpected value?

if you turn piston logs to full you should be able to see the value without changing the piston.

also, logs refer to cancelling #25s schedule. couldnt find a matching #25 in the piston screenshot.


#3

Sorry if it’s a dumb question, but how do I turn the piston logs to full?

Also, regarding Cancelling statement #**'s schedules... that’s always there, even when the piston runs like it should. Sometimes it’s in the log several times. You are right, it is not in the piston, so I thought it was some sort of background/integrated webcore process…??

Thanks


#4

change the drop down to full:

ok