this is my (first) ESP8266 with ESPEasy + 2x DS18b20 + 8CH Relay Card.
What is my wish and my question!
1. Is it possible, Rules 1 to change in one line?
2. How can I change it, that the Relay (GPIO-5 D1) shows me the correct state "0" if he is off?
Question 1 is not so important, but the second I need for my iobroker sqldb.
I have 2 Rules:
Rules 1
Code: Select all
On System#Boot do
timerSet,1,1
endon
On Rules#Timer=1 do
TaskValueSet 5,1,(42.5-[TempExtern#temperature])
TaskValueSet 6,1,([Temp1#Dummy]*1.30)
timerset,1,1
endon
Code: Select all
on Relay1#State do
if [Temp2#Dummy]>[TempWater#temperature]
gpio,5,0
else
gpio,5,1
endif
endo