-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Test Build] Upcoming X-mas build, testers wanted #4917
Comments
Esp8266-4M1M seems to work generaly perfect but I have trouble with dummy device or with taskvalueset, even if "taskvalueset to all plugins" is enabled taskvalueset to dummy device seems not working anymore. |
Would be important to me. |
Hmm sounds like a bug which needs to be fixed before any release (and thus exactly the reason I asked for testing :) ) |
That was easy to fix, or a stupid bug... ;) When the build is ready, I will upload it to the webflasher. |
Latest build with fix is now uploaded to the web flasher. |
Taskvalueset works! 👍 |
There is still one issue I'm looking into right now and that's when calling |
Looks good in my landscape. |
Houston there is a problem: wich is filled remotely with MMddHHmm to compare in a rule, if the time is longer than 6 minutes away.
in this release it always comes to the else path, even if D1 is not longer than 6 minutes away. 2nd if I try to change a rule, save does nothing. (MS Edge) |
What build environment is that on? (as in: Works on my ESP32 machine 😛) |
In MS Edge? |
no, ESP8266, ESP32, etc. Normal, Collection, Display? |
|
And what build did that still work on?, as it seems to be related to parsing the
it works as intended, though I can see what you expect |
If I could save the rule I would test it. |
Can you hard-refresh the browser page, so it can re-fetch the js code? |
or watch the log in a second browser tab (or serial log) to see if it throws an error when saving the rules file? |
What kind of "sensor type" have you used for the dummy? |
Firefox don't work too. But download and edit and upload works. So only the save would be interesting. |
Seems to be a parsing issue, as I got an error with the original rule that didn't have the Edit: |
Yep, it looks like he is splitting the value into separate floats. If you set the new value via an event value, then you can split it with enough resolution just fine. Edit: Edit2: |
@TD-er I can't recognize the problem. The 8 digit are set remotely to |
Hmm tested here and indeed, you're still in the proper range. |
Just had a chat with Ton, apparently 3 variables replaced in a single line seems to work, but 4 doesn't work. |
That makes it clear. Int is enough to store 8 digit when the left 2 is the month 0..12. |
What's the reason for that if the plugin allows to choose the GPIO? |
Which plugin? Basic, BUSFX... |
P038, basic. I confirm it's not working on an empty build, ESP_Easy_mega_20231225_normal_ESP8266_4M1M_VCC |
It's not in the docu but it must be GPIO-2. |
I missed that discussion, maybe. Well, that's one more reason to finally switch to ESP32, but I have several hundreds of 8266 boards in the field with Neopixel wired to GPIO14. Apart from that fixed GPIO is not what could be expected from Neopixel plugin |
As I remember it was the same for me. The conclusion was, that the gpio settings was only for ESP32 and 8266 is alsways gpio-2. @tonhuisman correct ? |
You can check to see if there's already an issue about it as I also don't remember the specifics of this discussion anymore. |
Yes, I will check that out. For now, of course, it is out of scope of current release, so congratulations! |
Hmm, maybe when we switched from the Adafruit_Neopixel library to the NeoPixelBus library. That only supports GPIO-2 on ESP8266 😞 |
You all thanks for the true effort in detecting all these bugs in this short amount of time. |
Don't break it. I have a lot of neopixel nodes. |
Hi @TD-er. |
Sometimes this is fixed by restarting the build, and running the Clean option from the pio menu might help too. |
Thanks Ton.
Going to test "LittleFS" on my boards. |
Built OK.
|
Yep, the deprecated warnings are something I still need to look into. I have no idea why the LTO option adds a warning as it is just info. |
I have successfully built both ESP_Easy_mega_20231226_custom_ESP32_4M316k and ESP_Easy_mega_20231226_custom_ESP32_4M316k_LittleFS (LittleFS with above warnings). On one board with SPIFFS I uploaded the LittleFS firmware and as expected I lost my configuration. |
You did it just fine 👍 It could have been a little more easy if you had first uploaded the latest 'regular' build, with SPIFFS, on that unit, and let it run for > 5 minutes with a stable WiFi connection. Then the WiFi credentials should have been automatically saved in the NVS area of the flash, and after a subsequent OTA with the new LittleFS build it should have restored the WiFi credentials from NVS during first connection to the WiFi network. NB: This intended feature (though it may seem like 'magic' 😃) is also available if you used one of the pre-releases of the IDF 5.1 PR on the unit; that PR has been merged yesterday. |
Hi Ton, I did exactly what you wrote:
All seems OK. |
Only step missing is to check all checkboxes on the Factory Reset page (unless you have done it in a previous build of course) |
No, I didn't do the Factory Reset. |
No you don't need to reset, just check the checkboxes on the Factory Reset page to make sure all the relevant info you want to keep is stored outside the file system as that gets erased when switching to LittleFS. |
Ok, yes all the checkboxes were/are selected. |
Hi @TD-er |
What's difference between these two's? |
That. Introduced in the ESPEasy NB: This only applies to ESP32 (all CPU families), as ESP8266 doesn't use a NVS partition. |
We're approaching Christmas and I know I mentioned there will be a X-mas release, but I'm not 100% sure it will be ready.
This all depends on the amount of critical bugs found by all of you.
@fly74 @ghtester @chemmex @alex-kiev @iz8mbw @Wookbert @Dickesplumpel
Please test the latest build (same as this GH Actions build ) and let me know what critical issues you may find.
The ESP32 builds with "LittleFS" are all running the latest ESP-IDF 5.1 code (upto commits of a few days ago from Espressif)
New platforms are ESP32-C2 and ESP32-C6.
Those only have a 'custom' and 'normal' build right now as I plan on adding a 2-step OTA for those so these can all have a small partition for the OTA and a large partition for the build. This concept allows for all 4M boards to run a "Max" build and thus will reduce the number of build files significantly.
This will later also be made available for all other ESP32-variants including some steps to migrate existing setups.
All ESP32-builds still running SPIFFS are based on ESP-IDF 4.4
I've been working on this migration to IDF5.x for over 2 months full time, as a lot had to be changed and upstream bugs had to be fixed for Arduino and ESP-IDF.
So I would be pleasantly surprised if no critical bugs were found.
If you plan on migrating a build using SPIFFS to one using LittleFS, please keep in mind you will loose the settings.
So please backup your settings and restore them when making this migration.
There is also some extra control of persistent settings like WiFi credentials etc. which will be stored outside the file system.
So you could first update to a SPIFFS build, then check all the boxes on the "Factory Reset" page, save and wait for at least 5 minutes to let ESPEasy know the WiFi connection is considered stable. Then extra WiFI info will be stored in the NVS partition.
If you then migrate to a LittleFS build, your WiFi will be kept (and all other things checked on that factory reset page)
The text was updated successfully, but these errors were encountered: