When the code is long in rules set 1 (or 2,3,4) and you try to switch the set using the drop down list, the browser (Firefox, Edge,...) gets crazy, logs you out od ESPEasy, refuses to open the page, gives 403 error, and so on. Each time.
As a workaround, we could modify the binary image file before programming ESP with it, like so (change it near <footer> tag?):
Code: Select all
<script>
setTimeout(function(){document.getElementById("set").setAttribute("onchange","window.open('rules?set=' + this.value,'_self')");},500);
</script>
Thank you in advance.
I am using: ESP_Easy_mega_20210802_normal_ESP8266_4M1M Aug 2 2021