cannot save rules and GUI is odd

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

cannot save rules and GUI is odd

#1 Post by Gilles » 31 Dec 2023, 08:41

I run a SONOFF S26 Image .
I cannot save the rules and the GUI seems incomplete.Image
2.JPG
2.JPG (42.08 KiB) Viewed 10046 times
It shows "saved" even before saving anything , after a factory reset.
I have configured this S26 several months ago and I don't remember having any issue with it.
After several unsuccessful tries, I have decided to make a factory reset. It has not changed anything, same problem.

One more display Image
3.JPG
3.JPG (39.69 KiB) Viewed 10046 times
What would be your advice? Reopen the S26 , solder again and reload a new copy of the firmware ?
Let me know if you need more info. ( I get nothing in the LOG file ('log error ' setting)).
Attachments
1.JPG
1.JPG (62.98 KiB) Viewed 10046 times

Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

Re: cannot save rules and GUI is odd

#2 Post by Gilles » 31 Dec 2023, 08:41

Added a notify to be alerted in case of answer.

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: cannot save rules and GUI is odd

#3 Post by Ath » 31 Dec 2023, 10:12

Something changed at the CDN-supplier for providing the .css and .js files, breaking some UI stuff on ESPEasy side. This has been corrected.
You can upgrade to the latest ESPEasy release to solve the issue.
/Ton (PayPal.me)

Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

Re: cannot save rules and GUI is odd

#4 Post by Gilles » 31 Dec 2023, 10:39

Thanks for your explanation.
I suppose I can't upgrade using wifi so I need to reopen the Sonoff S26 and solder the cables again :(
The S20 was easier to upgrade.
Gilles

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: cannot save rules and GUI is odd

#5 Post by TD-er » 31 Dec 2023, 12:15

Does the S26 have an accessible flash chip?
If so, then you might want to consider also upgrading this flash chip to a 4M variant so you never need to open up the enclosure again.

Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

Re: cannot save rules and GUI is odd

#6 Post by Gilles » 02 Jan 2024, 06:48

I will check and order it if I think that I am able to make it.

I suppose that I have to first flash the new one before solder it on the S26. So can I use the "blank_4MB.bin".
I have found a link which explains: Sonoff S26 EEPROM Upgrade – MakeNotes.de but I am not sure to understand everything.
Thanks for the 4M tip.

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: cannot save rules and GUI is odd

#7 Post by Ath » 02 Jan 2024, 08:51

That link doesn't work, it should go here: https://makenotes.de/2019/05/sonoff-s26-eeprom-upgrade/
/Ton (PayPal.me)

Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

Re: cannot save rules and GUI is odd

#8 Post by Gilles » 02 Jan 2024, 09:27

Hi Ath,
Sorry, I have posted a wrong url. But I was talking about the same .

Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

Re: cannot save rules and GUI is odd

#9 Post by Gilles » 16 Jan 2024, 07:09

Hi Ath,
you were right.
I have just upgraded the Sonoff S26 to the "ESP_Easy_mega_20231225_normal_ESP8266_1M" version and now , everything looks fine.

NB: just one thing, Now, I must tick the Device "Inversed Logic". It was not ticked with the former version.

Thanks again
Gilles

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: cannot save rules and GUI is odd

#10 Post by Ath » 16 Jan 2024, 09:50

Gilles wrote: 16 Jan 2024, 07:09 NB: just one thing, Now, I must tick the Device "Inversed Logic". It was not ticked with the former version.
Not sure what you are trying to say here :?: I don't see mentioned any setting above, so I don't understand what you are trying to set to "Inversed Logic".
/Ton (PayPal.me)

Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

Re: cannot save rules and GUI is odd

#11 Post by Gilles » 16 Jan 2024, 11:04

With the December espeasy version, I need to tick the "inversed logic" option at t he device level. If I don't, when the S26 is switched on, the bulb connected to it is switched on as well.
Here is the december version screen . Look at the yellow part.
S26.JPG
S26.JPG (61.89 KiB) Viewed 8581 times
Before the upgrade, I didn't need to tick this option to avoid the bulb to be switched on at startup.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: cannot save rules and GUI is odd

#12 Post by TD-er » 16 Jan 2024, 11:35

But the S26 only has a push button right?
So why use the switch type set to "Switch" here and not as "push button" ?
Now you need to keep the button pressed to keep it "active"

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: cannot save rules and GUI is odd

#13 Post by Ath » 16 Jan 2024, 13:11

What old version of ESPEasy was installed, before you upgraded to the August 2023 release, as the August version also must have had this behavior.
/Ton (PayPal.me)

Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

Re: cannot save rules and GUI is odd

#14 Post by Gilles » 17 Jan 2024, 07:42

I have a S26 that I have just upgraded ( see above). Once upgraded , I have copied the configuration of the S20. I use both to switch on/off heaters using wifi.
I don't use the S2x button.
s20.JPG
s20.JPG (52.33 KiB) Viewed 8429 times
s201.JPG
s201.JPG (13.65 KiB) Viewed 8429 times
s202.JPG
s202.JPG (38.19 KiB) Viewed 8429 times
The S20 runs
GIT version: v2.0-20180126
along with these rules:

Code: Select all

On ET do 
gpio,12,0
gpio,13,0 
TimerSet,8,0
EndOn

On AL do 
gpio,12,1
TimerSet,8,3600
EndOn

On Rules#Timer=8 Do
gpio,12,0
gpio,13,0
EndOn
I trigger it with "192.168.1.60/control?cmd=event,AL" , it starts a timer (1 hour) . When the timer expires, it switches off the S2x.

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: cannot save rules and GUI is odd

#15 Post by TD-er » 17 Jan 2024, 09:38

I don't see how the switch (button) task is interacting with the relay given the rules.
So I don't know why you now need to have the inverse logic checked.

It is hard to tell what specifics may have changed in the last 6 years to change this behavior :)

Gilles
Normal user
Posts: 101
Joined: 21 Dec 2017, 11:09

Re: cannot save rules and GUI is odd

#16 Post by Gilles » 17 Jan 2024, 13:11

You are right, there are some other rules to make the button work.
I usually don't use the button.
I use the wifi (http://192.168.1.118/control?cmd=event,AL) to switch on the heater(which is in the basement) during my breakfast, so when then I go downstairs to the basement to work, the temperature is nice :)
One hour later, it is automatically switched off.

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 53 guests