-
Notifications
You must be signed in to change notification settings - Fork 25
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
Issue with ESPHome 2024.8.0 #7
Comments
Same error after updating ESPHome. According to ChatGPT there is a NULL pointer reference in the function writeConfigRegisters.
Not sure whether this is helpful... |
Actually the problem appear to be in the this->enable() part. It gets called before the this->spi_setup() from the SPIDevice is run. If you add this (I put this->rf_->spi_setup(); on line 102 of zehnder.cpp) the panic is gone. You do get a lot of errors saying it's already initialized however. I didn't get a chance to test it yet because in my enthousiasm I ripped my micro usb plug from the board when I was done debugging :( |
You are a star! I can confirm that this fixed the issue for me. |
Good to hear and thanks for testing. Maybe create a pull request for this repo? I use my own repo. Don't remember why. |
I actually also ran into this after updating to the 2024.8.0 version. It seems to be caused by the order of
This way the |
Thanks I can confirm the solution by @remyvv also works for me. |
I ran into a "Can't connect to ESPHome API [Errno 111]" message, and the integration in HomeAssistant stopped working after upgrading the firmware. After some Googling I came across this thread. Turns out my issue is caused caused by the newer ESPHome version, after downgrading to ESPHome 2024.7.3 and re-flashing the firmware with the older version, these problems were solved. To make downgrading of ESPHome easy, we can add this repo in Home Assistant addons section [https://github.com/khenderick/esphome-legacy-addons] @Sanderhuisman Would you be so kind to merging/updating the source code, with the fixes mentioned earlier? So we don't have to resort to a downgrade workarounds, or editing code and making forks/repo's ;) |
I get the same trouble as gollos, but can someone help me how to fix this? |
I don't have this setup myself anymore as I moved to a new apartment, but I can of course implement suggestions & fixes. @gijs007 do you have a pull request for me fixing this problem? |
Oh that's not good news for us :-| I'm using @remyvv suggestion and that does work for me, this is the commit in my repo: golles/ESPHome-Config@d06615e The only use case I haven't tested is the wipe the device memory and set up the new connection. Maybe @remyvv can PR this, as he came with it :-) |
Sure, can do. |
I hope someone can help. I am trying to set up a new board/nrf905 setup for my E400. Long story short, I managed to fork this repo and did the 2 changes given by golles and I had to change the wire from CLK to CSK to get rid of a write config error. The zehnder part in de log is still starting with: invalid config and after that the searching starts. My E400 is found as hardware, but the pairing is not done. And it tries over and over. O and HA doesn't find new device. What could be the problem? Maybe still something in the zehnder code, as I see invalid config in the logs? |
I did a downgrade to ESPhome 7.3 Did a complete fresh install and now it is working. So besides the 2 changes by gollos there must something more not correct with ESPhome 8.x I don't have the knowledge for this, so I hope someone else can have a look. |
Is it possible to downgrade a specific ESP to 2024.7.3 instead of downgrading my whole ESPHome docker container from 2024.8.3 to 2024.7.3? |
You can downgrade the container, do the installation on the device, update the container, and then don't update that specific device anymore, so don't use the Update all button. |
Thanks. Works perfectly! My ventilation ESP is up&running again with 2024.7.3. |
I hope someone can change the code to make it work with ESP 2024.8, or even better, as I saw that update this morning in HA 2024.9. For that more changes are needed then the 2 mentioned by gollos, as I was unable to let a new setup work with v8. I had to downgrade to 7.3. |
This fix suggested by remyvv #7 (comment) seems to works fine 2024.9 |
Well I tried that with 2024.8, but didn't work. It just won't pair. Going to try 2024.9 |
I did a clean build files and compiled a new build on ESPhome 2024.9. It's working, I still can control my fan, BUT I think this is because it was already paired. As said with exact these build, 2024.8 didn't work, because it won't pair. Update: A user on Tweaekers reported he couldn't pair with 2024.9.0. So the same issue with new unpaired hardware on 8.x and 9.0. You need 7.3 for that. Hope someone can fix that. |
Since this version (just noticed this today) there has been this issue.
The last known working version is: ESPHome 2024.7.3
Release notes: https://github.com/esphome/esphome/releases/tag/2024.8.0
Diff: esphome/esphome@2024.7.3...2024.8.0
Logs:
The text was updated successfully, but these errors were encountered: