-
-
Notifications
You must be signed in to change notification settings - Fork 113
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
Supporting latest Arduino Core v3 - issues with fixed Network IP address, settings lost after upgrade etc #1804
Comments
.... and while installing 3.7.0-dev.13 both systems do not restart anymore. My home system with E32 needed a hard reboot and was working again. |
For mode see #1800, should be fixed. The new dev is compiled with arduino 3.0.1. Maybe the newer littleFS version reformats on an old system. I've seen this a long time ago when frst trying the arduino 3.xx. But since that i can change between 2.xx and 3.xx versions without issue. |
This is indeed not good. We'll need to test the migration and see what is causing the FS issue. If it's a problem for others we should perhaps better remove the firmware bin files from the dev repo |
I don't think it'a a general issue, Harvay in #1800 and others don't have FS cleared on update. |
The fix is still not within latest dev13 .... or? |
Version 3.7.0-dev.13(3) from yesterday has been running for me for 24 hours without any problems. |
I tested again: dev.13 was not working and after uploading bin-file all settings where lost on my S3 gateway again. But I recognized that the network settings in respect to fixed ip address and hostname where loaded but not used. |
I have esp32 s3, after going from dev12 to dev14..I lost wifi, esp-ems went into AP mode. |
Thanks @mattfro - there are definitely something compatibility issues with the LittleFS file system that stores the EMS-ESP settings between Espressif Core (v2 on dev 12 and before) and the newer builds on Core v3.0.1 (dev 13 + 14). When I'm back home I'll need to run some tests, flashing with dev12 on an S3 and trying the upgrade. It may also be something related to the partitions or how the BBQKees gateways are originally flashed - we'll see. For now I would stick to dev12. |
I don't know why s3 compiles with arduino core 3.xx. There seems to be a bug in platformio. In https://github.com/MichaelDvP/EMS-ESP32/releases i have the actual dev14 compiled with arduino core 2 (s3: [email protected], esp32: tasmota@2024-05-00) With the arduino 3.0.1 i don't see issues with littleFS and fixed ip, but i can confirm that network scanner is not working with arduino 3.0.1 and 3.0.0 builds. |
Maybe just explicitly add the 6.7.0 to the platform as we did last time. For WiFi maybe it's related to the event names https://randomnerdtutorials.com/esp32-migrating-version-2-to-3-arduino/#wifi-event-name-changes I'm not home so can't test at the moment |
That's exactly what i have done for the test: see b175026 BTW: the S3 arduino3.0.1builds are also very small, like the tasmota-arduino without TSL, only 1.6M bin file
i get 2.1M bin file. (But also network scan with empty result) The event names are changed since arduino 2.0.12, in 3.xx the old ones are removed and throw error when using. |
I made a dev14 that uses the previous 2.0.17 Arduino espressif32 library |
It is dev 15 and seems to work as before. WiFi scan is ok. |
Same here... everything seems to work now. |
thanks @tp1de and @mattfro for quickly testing. I think we'll keep to the old Ardunio library until we see the benefits of moving to v3 of the core and have fully tested the Network and Filesystem changes. Interesting article: https://www.cnx-software.com/2024/06/01/espressif-releases-arduino-esp32-core-3-0-0-but-platformio-support-in-doubt/ |
Related to espressif/platformio's little argument and further development, some of the devs have started creating their own pio fork: https://github.com/pioarduino/platform-espressif32 |
@proddy @MichaelDvP while updating to latest dev.26 I lost all settings again. What has been changed? |
Best to comment in #1806 - this issue is about core v3 and we're still running on v2 |
Not in #1806. This is the new message: Lines 758 to 762 in 55476a7
which is shown in api/boiler/values etc. in first place. but is no entity.
|
oh, yes, I'll fix that |
I've made a PR to clear output if there is a command function. |
fixed now with #1879. Sorry about that |
I see 6.8.0 is out (still on 2.0.17) so will try that https://github.com/platformio/platform-espressif32/releases/tag/v6.8.0 |
I'd like to try out https://github.com/pioarduino/platform-espressif32 too |
It's updated very often, don't know if these are bugfixes or enhancements. Free TCP stack is very low (setting to 6144), maybe increase to 7 or 8k. Edit: it was set to 5k for arduino 3, so stack tcp stack usage is same for both versions, setting of 6k is ok. No issues when switching between the builds, littleFS read all the configs. I only get littleFS issues when switching between tasmota and espressif builds. Edit: Network scan always returns no results on arduino 3. |
There's quite a lively discord channel with all the famous people (Jason2866, me-no-dev, E.M. etc) on it discussing the differences. I sent you an invite, but I know you dislike Discord ;-) Jason was talking about the differences in the Tasmota build compared to this (apparently has MQTT, Rainmaker, WifiProv and BLE all removed) |
would be interesting to see if this works on Arduno 3.0.4 https://raw.githubusercontent.com/RuiSantosdotme/Random-Nerd-Tutorials/master/Projects/ESP32/ESP32_WiFiScan.ino |
Tried with the latest pioardunio ( ** edit ** |
Continue in #2108 |
Being in my holiday home with netfit thermostat moduline 2050 (ems 2.0) I recognized that the thermostat_hc1_mode does not work anymore (neither dashboard nor mqtt). No changes possible - no error reported.
EMS-ESP version 3.7.0-dev.10 works ok, but EMS-ESP version 3.7.0-dev.12 and 13 are not working.
On my EMS+ system with RC310 versions EMS-ESP version 3.7.0-dev.12 and 13 are working fine.
What has been changed?
The text was updated successfully, but these errors were encountered: