ESPEasy v2.0.0-dev12 released
Moderators: grovkillen, Stuntteam, TD-er
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: ESPEasy v2.0.0-dev12 released
Please report on GitHub.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: ESPEasy v2.0.0-dev12 released
Had the same. Just make a reset and config the ESP from scratch (no config restore to be sure!). After that:
Rule:
on Button#State do
if [Button#State]=1
event switchon
else
event switchoff
endif
endon
[Submit]
Log:
197926 : FILE : Saved config.dat
197951 : FILE : Saved security.dat
Rule:
on Button#State do
if [Button#State]=1
event switchon
else
event switchoff
endif
endon
[Submit]
Log:
197926 : FILE : Saved config.dat
197951 : FILE : Saved security.dat
Re: ESPEasy v2.0.0-dev12 released
I've configured a "blank" ESP-12E for my dust sensor prototype with 2.0.0-DEV12 TESTING, sources Oct.25. '17.
No issues even with a lot of rules.
No issues even with a lot of rules.
Regards
Shardan
Shardan
Re: ESPEasy v2.0.0-dev12 released
I'm able to reproduce this across different ESP8266 based products: Sonoff Basic, Sonoff S20, Sonoff TH16 & Wemos D1 mini pro.
My settings are:
- Various names for the device, e.g. "Garden light east"
- Different Unit ID's (e.g. 95, 128, 136)
- Static IP address
- OpenHAB MQTT with IP address
- NTP server set to IP addess
- Two devices configured: Button & Relay GPIO's
To me it seems like when the rule(s) become too long, the error occurs. I cannot reproduce at all with dev11.
Edit: Most tests have been performed with freshly flashed devices. Have also tried the 'reset' command, and starting all-over. Same result.
My settings are:
- Various names for the device, e.g. "Garden light east"
- Different Unit ID's (e.g. 95, 128, 136)
- Static IP address
- OpenHAB MQTT with IP address
- NTP server set to IP addess
- Two devices configured: Button & Relay GPIO's
To me it seems like when the rule(s) become too long, the error occurs. I cannot reproduce at all with dev11.
Edit: Most tests have been performed with freshly flashed devices. Have also tried the 'reset' command, and starting all-over. Same result.
Re: ESPEasy v2.0.0-dev12 released
This rule:
If I change it to:
If I change it to:
If I change it to:
Seems to me, that it could be related to the size of the rule.
results in the 'FS : Error while reading/writing config.dat in 926" error on one Sonoff TH10, but not on another TH10. Settings are identical (besides the obvious IP, device ID etc.).On System#Boot do //When the ESP boots, do
publish %sysname%/sysname,%sysname%
publish %sysname%/IP,%ip%
publish %sysname%/relay/Switch,[relay#Switch]
timerSet,1,60 //Set Timer 1 for the next event in 30 seconds
endon
On Rules#Timer=1 do //When Timer1 expires, do
publish %sysname%/relay/Switch,[relay#Switch]
timerSet,1,60 //Resets the Timer 1 for another 30 seconds
endon
If I change it to:
then it works.On System#Boot do //When the ESP boots, do
publish %sysname%/sysname,%sysname%
publish %sysname%/IP,%ip%
publish %sysname%/relay/Switch,[relay#Switch]
endon
If I change it to:
I get the error on the same module, but not the other.on onoff#push=1 do
if [relay#Switch]=1
gpio,12,0
else
gpio,12,1
endif
endon
If I change it to:
then no error.on onoff#push=1 do
endon
Seems to me, that it could be related to the size of the rule.
Who is online
Users browsing this forum: No registered users and 38 guests