Start a new topic

Bug scene TH16 + effective period

If you build a scene as in the image.

If after 20:00 the temperature drops below 18 ° C the perfome is executed.

If at 20:00 the teperature detected by the TH16 is <= 18 ° C the perform is not performed.

In my opinion when you enter the time set in effective period you need to check "Condition" and if TRUE execute "Perform".

Thanks.

image


Hi Rod, I do have same issue. I am trying to trigger a Heater system based on different periods of the day and temperatures. If we use scene and a second SONOFF device it should be possible, but the scene for some strange reason does not trigger the second device. I read that you should powered the second device from TH16, and keep the second device as "ON" in the "Powe-on State"option. I have not tried yet. 

Example 1 (ok)

Temp

19__________________

18                                            |_____                                 

17

Hours 19:00    20:00    21:00    22:00


Perform

On                                          ______

Off_________________|

Hours 19:00    20:00    21:00    22:00


Example 2 (not ok)

Temp

19

18                                                                         

17_______________________

Hours 19:00    20:00    21:00    22:00


Perform

On                                          

Off_______________________

Hours 19:00    20:00    21:00    22:00


Example 3 (as I wish it did)

Temp

19

18                                                                         

17_______________________

Hours 19:00    20:00    21:00    22:00


Perform

On                            ___________              

Off___________|

Hours 19:00    20:00    21:00    22:00

Fabio, could explain better your diagram? Or let me know if this is what you mean: e.g.

Example 1 (ok): If temperature > 19 between 19:00@22:00  this will perform "On" in a Sonoff Basic. And this is working. However when you want to perform "Off" it does not?

I just realized that second sonoff must be a Sonoff Pro 4 Ch or Sonoff DIY 5 volt. Scene does not work well with Sonoff Basic.

If the temperature is <= 18 degrees before 20:00, after 20:00 the perform will not be activated. (example 2)

I would like it to activate as in example 3.

Fabio, in my case it is working well. Scene works during their set-up period. In my case I do have the following configuration:

(1) Scene: Trigger "ON" Sonoff 4Ch Pro if TH16 =< 20 between 17:00@24:00

(2) Scene: Trigger "OFF" Sonoff 4Ch Pro if TH16 >=20 between 17:00@24:00

(3) Scene: Schedule at 24:00 Trigger "OFF" Sonoff 4Ch Pro


Then I repeat the same for another period:

(4) Scene: Trigger "ON" Sonoff 4Ch Pro if TH16 =< 20 between 6:30@08:30

(5) Scene: Trigger "OFF" Sonoff 4Ch Pro if TH16 >=20 between 6:30@08:30

(6) Scene: Schedule at 08:30 Trigger "OFF" Sonoff 4Ch Pro


The above scene should work for you too. Just change the hours as you need it.


Strange to me it doesn't work. 

With the scene you have set: 

if before 17:00 you have a temperature <= 20 degrees and the trigger = Off and the time exceeds 17:00 does the trigger turn On? You've tried?

Of course the optimal definition from eWeLink should be < and >=, and not <= and =>, since it will have the logical mistake for what to do at the same temperature fixed in both condition (my example T>=20 & T<=20). In my case it works fine, maybe because the order of the scene, first check if Temperature is lower that setup value, then it triggers the action to "On", then if the Temperature reach the setup value triggers the action to "Off". See the enclosed screenshot. 

Sorry, I forgot the rest of the screenshot.

Fabio, I found a solution that should work for you too. Use scene and the schedule in the second device (4ch Pro). Scene always control over schedule. E.g. scene T<=20 deg trigger on second device. And if T>=20 it turn second device off, effective between 17:00@0:00. Now the trick here is to schedule in the second device On and Off in the same period. Second device turn On at 17:01 and it also turn Off at 0:01. Now if T>20 deg at 17:01 scene will put the second device Off just after schedule put it On. Hope this solve your issue.
Login or Signup to post a comment