Search found 4 matches
- 08 Jan 2021, 20:52
- Forum: ESP Easy: Software
- Topic: Control ESPEasy-thermostat -> Rules problem
- Replies: 34
- Views: 37916
Re: Control ESPEasy-thermostat -> Rules problem
Those. the following condition does not work: if [HTU21d#Temperature]>=[Var#2] Well, I just copied your code and moved it around a bit :D You can add a line to the log to view the actual values that are used for the comparisons, like this: LogEntry,"Temp: [HTU21d#Temperature], V1: [Var#1], V2:...
- 08 Jan 2021, 19:59
- Forum: ESP Easy: Software
- Topic: Control ESPEasy-thermostat -> Rules problem
- Replies: 34
- Views: 37916
Re: Control ESPEasy-thermostat -> Rules problem
1) All Rules code has to be within an 'on ... do / endon' section (event-handler), any code outside of that is ignored. 2) You would want to compare the actual measurements/values, so the assignment 'Let,1,...' should be done right before you do a comparison to it, by using its value [Var#1], so pl...
- 08 Jan 2021, 06:59
- Forum: ESP Easy: Software
- Topic: Control ESPEasy-thermostat -> Rules problem
- Replies: 34
- Views: 37916
Re: Контроль ESPEasy-термостат -
Doing calculations in comparisons isn't working (yet), so it should be something like: on RoomControl do Let,1,[Variables#Setpoint]+[Variables#Hysteresis] // Assuming that var#1 isn't used yet... if [HTU21d#Temperature]<[Var#1] TaskValueSet,1,3,1 endif endon Hello, I'm new to this business.If anyth...
- 07 Jan 2021, 21:16
- Forum: ESP Easy: Software
- Topic: Control ESPEasy-thermostat -> Rules problem
- Replies: 34
- Views: 37916
Re: Control ESPEasy-thermostat -> Rules problem
@ Rade_mk Here is my solution with Domoticz. Not too complex at boot like this examples, but can be edited. Rules for ESPeasy and DzVents for Domoticz in comments. But I use very old version of ESPeasy ( v2.0-20180322 ) - maybe not all commands will work on new ESPeasy fw. Third winter without any ...