-
Notifications
You must be signed in to change notification settings - Fork 70
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
Warnings when using with Home Assistant 2023.8.0 #134
Comments
These warning can be safely ignored by users but this project should be updated to reflect changes introduced in HA 2023.8. @devWaves do you think you could find some time to update names? |
18 warnings in less than 2 minutes
I hope @devWaves have some time to deal with this... :-( Thank you in advance |
I was able to fix, several lines need to be changed: Search for "addToPublish"
Basically, the change requires that properties only contain property name not deviceName + property name like the code is now. It would be nice if some developer with access to this repo apply changes and release a version with the fix in it. Really simple changes. |
which line in the code exactly, do you mean, this + ""name":"" + host + " Linkquality"," + line? replace with that? → ( + ""name":" Linkquality"," + ) also the lines with + ""name":"" + deviceName + " Energy"," +........ need to be replaced? !are not displayed here! " \ " |
@gui28347 It is working for you? I still get the same error in Home Assistant... |
Update to HA 2023.8.3 not work , I use the curtain, and ESP32 can detect and work with MQTT, but curtain is not work showing unavailable, roll back to 2023.8.2 is work fine, anyone who updated to 2023.8.3 is work?? |
Just update , HA 2023.8.4 Work |
Same issues here (this issue affect all users).
Hope @devWaves will fix it. Thanks. |
Hei... don't wait for devWaves, he will not update this anymore, I am 100% sure.... Instead this, I have another solution, if you use esp32 or similar devices... Try to use ESPHome, and transform your device into an Active Bluetooth device, now Home Assistant will recognize all the switchbot devices, by extending bluetooth range with proxies. I use this code and I can detect and use ALL my switchbot or other bluetooth device...
|
Hello Pickonedev, Thank you for your infromation, and I search from google, there have a similiar solution and I haven't process yet, I have a questions, is my ESP32 Dev1 board which is flashed this Switchbot firmware can transfer to ESPHOME, just install ESPHome from HA, and then open ui , Add new device and type SSID, password If not , please tell me how to flash the ESP32 to match with HA ESP32 Home Thanks~~~ |
Yes, this is all what I have done. I just reflashed my esp with ESPHome. When you do that, ESPHome will erase the device first, then it will write the new code. Easy. Use Chrome Browser for this, Firefox does not have support for COM ports and even with an addon, you can still get errors... |
Hello pickonedev, Thank you so much, will try this later! |
Hello All, Just update my status, I use ESPHome BLE Proxy with switchbot work and I have a problem on flash the ESP32, it's stuck on "Preparing Installation" when I want to give us, I switch the broswer from chrome to edge "acutally I check the chrome that can commuicate with ESP32, cause I can screen the log, that's why I didn't alert the problem maybe on the browser" Thanks~ |
I have now also moved over to ESPHome, relatively easy following the guide posed above by yauyauwind. |
Hello. Is it possible via ESPHome to have MQTT messages for all entities (sensors) of all Switchbot Bluetooth devices discovered? Thanks! |
Why do you need them to be In mqtt? Esphome replaces the need for this repository as it is out dates and not maintained. You will have all of the same information you get from this repository via mqtt as a device in HA |
and, using ESPHome, the charts on Home Assistant are updated every 5 minutes (and the charts have min/average/max values), |
Hello all. Replace the line 3153 from: Replace the line 3156 from: Replace the line 3162 from: Replace the line 3165 from: More you need to edit some other code in the "device" part, according on which SwitchBot device you use, Replace the line 3423 from: Replace the line 3432 from: Replace the line 3441 from: Replace the line 3451 from: It works for me without any issues. Hope this can help you. |
Thanks to @iz8mbw , I've created a fork that incorporates his changes. I haven't had the chance to test it yet. |
Hi!
I was using SwitchBot-MQTT-BLE-ESP32 with Home Assistant and till now everything was ok, no error, no warning. From yesterday, when I updated Home Assistant to a newer version, I got this warning, and not only me. Any idea how to solve this? Thank you!
The text was updated successfully, but these errors were encountered: