If i send a simple command like;
http://192.168.11.105/control?cmd=gpio,16,1
or
http://192.168.11.105/control?cmd=pulse,16,1,500
it works great, but if i try to run an event, the espeasy reboot.
The event "apri" and "chiudi" are in the rule tab;
on apri do
gpio,16,1 // open valve per l293D
gpio,5,0 // open valve l293D
pulse,4,1,500
timerSet 1,600 // 10 minute timer
endon
on chiudi do
gpio,16,0 // close valve per l293D
gpio,5,1 // close valve per l293D
pulse,4,1,500
endon
On Clock#Time=All,04:00 do // every day at 18:25 hours do ...
event,apri
endon
on Rules#Timer=1 do
event,chiudi
endon
on "apri" event, the espeasy reboot even if i give a simple;
on apri do
gpio,16,1 // open
endon
I have some issue with rules
Moderators: grovkillen, Stuntteam, TD-er
Re: I have some issue with rules
solved
sudo python esptool.py --port /dev/ttyUSB0 write_flash -ff 40m -fm dio -fs 32m 0x00000 blank_1MB.bin 0x10000 blank_1MB.bin 0x20000 blank_1MB.bin 0x30000 blank_1MB.bin 0x40000 blank_1MB.bin 0x50000 blank_1MB.bin
now the espeasy works good
sudo python esptool.py --port /dev/ttyUSB0 write_flash -ff 40m -fm dio -fs 32m 0x00000 blank_1MB.bin 0x10000 blank_1MB.bin 0x20000 blank_1MB.bin 0x30000 blank_1MB.bin 0x40000 blank_1MB.bin 0x50000 blank_1MB.bin
now the espeasy works good
Who is online
Users browsing this forum: No registered users and 11 guests