Closed danieldur closed 2 years ago
Are you sure that after the reinstall the updated info was loaded from the awox API?
If you enable debug it should tell you if it found the device but couldn't connect due to invalid key
Here are some logs right after I've reinstalled the integration. I've only kept the relevant parts.
2021-10-23 23:38:26 DEBUG (AwoxMeshCommands-iqmWdagh) [custom_components.awox.awox_mesh] process 0/0 - {'command': 'requestStatus', 'params': {'dest': 65535, 'withResponse': True}, 'callback': <function AwoxMesh._async_add_command_to_queue.
I'm missing the setup config flow ...
log entry. That's where it starts.
Are you sure you used the same awox account in HA as in the awox app? Did you reinstall or really delete the integration first?
I have only one AWOX account, stored in my password manager vault. I deleted the integration from Config -> Integrations, click on the 3 dots menu, press Delete. Then I restarted HA from Config -> Server Controls.
Here are the lines from all the lines containing "awox" from the logs spanning about 2 minutes from the moment I started the installation until I saw the unavailable entity. I hope there are no other interesting lines. (I didn't copied it all here as there were approx. 1000 lines)
@danieldur the pastbin doesn't load for me currently
Here is a new log: https://pastebin.com/AdabXDpq
logs do not hold that much awox info. Could you set logging to:
logger:
default: error
logs:
custom_components.awox: debug
I'm particular interested in the lines around Search for AwoX devices to find closest (best rssi value) device
And after that the connect attempt
Here are the requested logs: https://pastebin.com/cswydXcc Thanks for your efforts!
What I find strange is that your mesh_name
doesn't seem to match the name of the light that comes back from the Bluetooth scan (devices ... mac:..., name:..., rssi:...
). For others I see a match between those.
Could you maybe again remove the integration and set it up again? I'm curious what the response from Awox is during setup. This should also be written to the log.
One more log: https://pastebin.com/BUBfW5Qk The one thing I did recently was to set the light up from scratch and add it to the app. I guess something might have gone wrong. Probably I should reset it again tomorrow.
I've reset the lamp once more and now it works. Thanks for all the help!
Did the Bluetooth name of the device change?
Hello,
Because my lamp was no longer active in the AWOX Android app, I decided to delete it and add it back. This also meant resetting the lamp itself.
After this whole ordeal, when I delete and add back the AWOX integration I get the following error in the HA logs:
This error originated from a custom integration.
Logger: custom_components.awox.awox_mesh Source: helpers/update_coordinator.py:219 Integration: AwoX MESH control (documentation, issues) First occurred: 19:05:55 (8 occurrences) Last logged: 20:07:17
Error fetching awox data: No device connected
The lamp works perfectly with the AWOX Android app and with its own hardware Bluetooth remote. I'm using a Pi 4 as the HA host and it hasn't changed its location. The entity becomes unavailable directly after configuring the integration. Restarting the Pi doesn't help.
Any idea why this would happen? Thanks!