icanos / hassio-plejd

Hass.io add-on for Plejd home automation devices
Apache License 2.0
126 stars 37 forks source link

Discovery timeout because of gateway #278

Closed Lupi00 closed 1 year ago

Lupi00 commented 1 year ago

Having trouble getting the plejd intergration to work and would love some help with this.

When I look in the logs I get these rows which would indicate that there is some sort of problem when HA is discovering the devices and gets stuck on the gateway. (The serial is the one the gateway has when i look in the app).

2023-08-02 22:14:28 INF [plejd-ble] BLE init done, waiting for devices. 2023-08-02 22:14:28 DBG [plejd-ble] Found Plejd service on /org/bluez/hci0/dev_F2_BE_F1_85_6D_AF 2023-08-02 22:14:28 DBG [plejd-ble] initDiscoveredPlejdDevice(). Got /org/bluez/hci0/dev_F2_BE_F1_85_6D_AF device 2023-08-02 22:14:28 DBG [plejd-ble] Inspecting /org/bluez/hci0/dev_F2_BE_F1_85_6D_AF 2023-08-02 22:14:28 WRN [plejd-ble] Device registry does not contain device with serial F2BEF1856DAF 2023-08-02 22:14:31 ERR [plejd-ble] Discovery timeout elapsed, no devices found. Starting reconnect loop...

Anyone know how to get this to work? Is it possible to have the gateway connected at the same time as the HA?

SweVictor commented 1 year ago

Typically, people find success by moving the BLE stick closer to a Plejd device.

In your specific case, it seems like you find the gateway (which is not part of the API response as a device) but no other devices.

Have you tried the troubleshooting section in the readme? Looked at previous issues with connection issues?

Lupi00 commented 1 year ago

Removed the gateway in my setup