I found solution and it works well. For other who wants thermostat with Nextion display.Ath wrote: ↑01 May 2021, 11:05 Ah, the Level plugin. But still nothing specific to the Nextion.
For the Level control you can react on a sensor value changing from a specific threshold (hysteresis). You would need a rule like:It can be used to display a warning on the Nextion (or any other type of output, like a buzzer, LED, OLED, or send an email).Code: Select all
on Level#Output do if %eventvalue% = 1 // value within range else // value outside set range endif endon
Here is the rules in ESP-Easy
Code: Select all
on NEXTTEST#idx=505 do
if [thermTEST#getLevel]>15
config,task,thermTEST,setlevel,[thermTEST#getLevel]-0.5
NEXTTEST,page0.t1.txt="[thermTEST#getLevel]" //by this we display on current temperature visible
endif
endon
on NEXTTEST#idx=504 do
if [thermTEST#getLevel]<27
config,task,thermTEST,setlevel,[thermTEST#getLevel]+0.5
NEXTTEST,page0.t1.txt="[thermTEST#getLevel]"
endif
endon
[thermTEST#getLevel] it`s the regulator level i called thermTEST. U should set getLevel for middle position. Thanks all for support and advice