I want to use espeasy esp32 in an electric oven control project.
After searching the forum, I did not find such a topic.
So there is:
1.esp 32 dev board
2.lcd 2004 i2c 2x16 (or 4x20)
3.max 6675 K-type
4.encoder without button (for temperature setpoint and timer)
5.additional button (turn on the screen backlight)
6.A buzzer for audio control
7.Relay 30A (Chinese Amp), will later be replaced by a contactor
Added such devices: The following rules are written:
Code: Select all
on rotary#count do
LCDCMD,on
if [Switch#state]=1
LCD,1,1,Temperature:[sens#temp]{D}
LCD,2,1,Setup_Temp:[rotary#count]{D}
TaskValueSet,4,1,[Rotary#count]
Let,1,[Rotary#count]
timerset,1,5
timerset,2,4
else
LCD,2,1,Set_Timer:[Rotary#count]s.
TaskValueSet,4,2,[Rotary#count]
Let,2,[Rotary#count]
timerset,1,5
loopTimerSet,3,1,%v2%
endif
endon
on Rules#timer=1 do
LCDCMD,off
LCDCMD,clear
tone,18,5000,100
endon
on Rules#timer=2 do
config,task,setpoint,setlevel,[set#Temp]
rtttl,18,test:d=8,o=5,b=180,c6,b,c6,p,g,g-
endon
On Rules#Timer=3 Do
Let,3,[set#timer]-1
TaskValueSet,4,2,[int#3]
EndOn
on switch#state=0 do
LCD,1,1,Temperatura:[sens#temp]{D}
LCD,2,1,Timer:[set#timer]s.
timerset,1,5
endon
on set#timer=1 do
TaskValueSet,4,2,0
LoopTimerSet,3,0
rtttl,18,test:d=8,o=5,b=180,c6,b,c6,p,g,g-
endon
now being tested.
I am ready to hear the opinion of advanced users, since I am new to espeasy. so far I only use precompiled versions of espeasy
I plan to add control for mqtt
Sorry for my google translation