Closed Dillton closed 8 months ago
Just chiming in that I'm experiencing the same issue. err.txt
Just chiming in that I'm experiencing the same issue. err.txt
Hello @FrederikPM If it's possible for you can you restore ESPHome addon to previous version, compile the package and manually install via USB to try if it will work?
I tried to do this wirelessly but it's not possible as there is mismatch in OTA version. Anyway I will try later today when get back home as I mentioned above.
I can confirm the issue.
I can confirm that restoring to the previous version of the ESPHome and flashing it using USB connection works.
probably related to internal changes in https://github.com/esphome/esphome/pull/5277
will investigate during the weekend
Also can confirm that restoring the previous version works. You can also update ESPHome addon to 2024.2.0 but not the ESP itself.
dev
branch works with ESP 2024.2.0
https://github.com/fsaris/EspHome-AwoX-BLE-mesh-hub/commit/0400acef87110077f7bf8952be7d833064ce88ff
Confirm dev
branch is working.
So it was really about on line of missing code? 😄
So it was really about on line of missing code?
Not really missing but a backwards incompatible change in esphome that now requires this call. This will break for older versions of ESPHome
same here, works with dev branch.
Can also confirm this working, maybe clone the current code to a second branch and commit the new thing to main?
How can we install the dev branch?
Make it this:
external_components:
- source:
type: git
url: https://github.com/fsaris/EspHome-AwoX-BLE-mesh-hub
ref: dev
Thank you that has worked. With the latest version I'm no longer getting disconnects.
Unfortunately I had no luck with v2024.2.1 (with dev
branch of course, even did clean the build files): almost no connection, pretty unusable. But the downgraded version still works very reliably.
almost no connection
What is "almost"?
Do you have some logs?
Sorry for the vague description, I am aware this is not very helpful in fixing an issue. Since I had only a short amount of time I've been in a hurry to downgrade instead of taking the time to gather debugging data. I probably can do so later this week. Until then just the following observations:
btw. Is there anything in the logs one should redact for privacy reasons?
Hi,
dev
branch works fine for me with ESPHome 2024.2.1
I learned a couple of things with this:
- I don't know how to restore a previous version from my backups :( My way was:
- Restore ESPHome to working version (through home assistant)
- reinstall ESP Device with working version
- Optional: Save Image file for future use
- Optional: Upgrade ESPHome to newest version for usage on other devices.
@fsaris : sorry for hijacking this Issue discussion.
Fixed merged to main https://github.com/fsaris/EspHome-AwoX-BLE-mesh-hub/releases/tag/2024.2.1
btw. Is there anything in the logs one should redact for privacy reasons?
@jekkel maybe only the wifi info. The Bluetooth Mac addresses are no issue.
@fsaris Sorry for the (very...) late reply. Today I tried latest main version and still had no luck. Find a log attached. Downgrading firmware to previous version still makes thing work pretty reliable again (even with most recent EspHome and HomeAssistant). logs_esp32-01_logs.txt
Any idea what's going wrong? Any further info I can provide?
@jekkel what method do you use for flashing the new version, OTA or wired?
And the only difference (in yaml config etc) is the version of this component?
yes, the new version got flashed via OTA, I once stored the old firmware binary locally so I don't have to downgrade EspHome back and forth all the time, so I flashed the old version via USB.
My working backup firmware was built with EspHome 2024.1.4 and commit 37a4e6b6f07c70bba14135ddfb6b544f80c1db70 and works reliably still today.
I tried yesterday with latest main (as in not providing any specific ref) and latest EspHome and the posted logs were the result of it.
I did not make any yaml changes as far as I can tell.
Hello @fsaris
There seems to be some problem after ESPHome update. ESP is not able to connect to mesh. Below you can find logs but I am not sure if it will be useful somehow.
I will try to roll back to previous version once I get home later today. logs_awox-ble-mesh-hub_run.txt
I have found this regarding BLE in release notes so maybe it has something to do with this issue. https://github.com/esphome/esphome/pull/5277