Piston doesn't run the next day and subscribe issue


#1

1) Give a description of the problem
So I created a few pistons yesterday, they seemed to run ok but after the sun went down I thought everything was fine until this morning; all of a sudden all my pistons were counting up till next run rather than down. I went into one of them, edited it and clicked save and it started counting up again.

2) What is the expected behavior?
I would expect my piston to run every day between sunrise and sunset every minute to refresh weather data so my second piston can get value updates and turn on or off a device depending on if solar is being generated.

3) What is happening/not happening?
Pistons counting up rather than down to next run; the action piston to turn on the towel rail is now saying there is no subscription to any events.


#2

Job to tell what is happening without a screenshot but there have been issues today after the DST happened.


#3


#4

The first piston would definitely have been affected by todays issues.
An update to webCoRE has been released.
Update and hopefully all should be OK for you.

With your second piston are you using light levels as a trigger? Just wondering as you are using solar radiation not lux value. Never seen solar radiation used before.

EDIT. In your first piston you only need to use ‘TIME’ not ‘DATE AND TIME’.
Just for info really and it might be worth changing it just in case this is also an issue.


#5

Excellent thanks; i’ve done an update from repo but the only thing available was for “ady624 : webCoRE Presence Sensor” so perhaps the update isn’t in repo yet?
I also removed the date portion so its just time and its run and still counting up rather than down till next run.

With regards to the second piston, it’s checking underground weather which has a solar radiation which is more accurate than lux for working out if solar is generating. If i go edit the condition its getting the value and should be trigged, but when i save it, its showing false for it sill and I still see “This piston does not subscribe to any events. Unless executed by other means, it will never run on its own”


#6

The presence sensor is in the Device Handler area.
You should update all 4 webCoRE elements in the My Smartapps section.
Don’t forget to check the publish box as well. :wink:


#7

Haha thanks just worked that out before you posted, silly me :slight_smile: done and refresh the dashboard, edited the weather piston and saved it. Since running its now counting down, yay 1/2 issues fixed.

I went into the second piston and saved it, yet still get error “This piston does not subscribe to any events. Unless executed by other means, it will never run on its own.” and its still saying false even if i run it manually.

Here is the log
+1ms ╔Received event [Dayna Ave].execute = x.x.x.x with a delay of 41ms
+74ms ║RunTime Analysis CS > 13ms > PS > 36ms > PE > 25ms > CE
+82ms ║Runtime (36786 bytes) successfully initialized in 36ms (v0.2.0fc.20171105) (81ms)
+83ms ║╔Execution stage started
+101ms ║║Comparison (integer) 462 is_greater_than (integer) 250 = true (1ms)
+102ms ║║Condition #6 evaluated true (12ms)
+103ms ║║Condition group #1 evaluated true (state did not change) (14ms)
+106ms ║║Cancelling statement #4’s schedules…
+124ms ║║Executed physical command [Bathroom Towel Rail].on() (15ms)
+125ms ║║Executed [Bathroom Towel Rail].on (16ms)
+142ms ║║Executed physical command [On Suite Towel Rail].on() (14ms)
+142ms ║║Executed [On Suite Towel Rail].on (16ms)
+145ms ║╚Execution stage complete. (62ms)
+152ms ╚Event processed successfully (151ms)
Clear Full

weird it then worked fine


#8

Good news about the first one.
As for the second one try the following.
Click on the IF.
Click on the settings cog at the bottom.
Hopefully there will be an option for ‘subscription’.
Change this to always and see if this works.


#9

I had tried that before and didn’t help, but everything seems fine now; how do i set this thread to completed or fixed?


#10

OK. If your happy all is OK you should see a solution check box somewhere. Just click on it.