icanos / hassio-plejd

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

Lights detected but cannot control them via HA. Going to unknown / unavailable in MQTT logbook #285

Closed slowtraintodawn closed 1 year ago

slowtraintodawn commented 1 year ago

This is a very odd issue that I've been trying to fix for a few days now.

The lights are detected by the Plejd Addon, populated in HA but I cannot control them. If I tap the on/off toggle in HA it turn blue for a few seconds and then goes black again. The lights also go to unknown / unavailable in the MQTT log book. It used to work btw. HEre's what I've tried

BT works OK as I've tried the NUC onboard BT and an ASUS BT400 (I think) adaptor with the same results

MQTT Addon, Plejd addon installed and configured. Lights are enumerated (I see that in the plejd addon log

If Ilisten to # on MQTT I see

I the Plejd startup log I see

I guess the question is "Which Registry"?

Deinstalled / reinstalled many times.

Any ideas???

SweVictor commented 1 year ago

The registry is the Plejd api response. Gateways aren't included amongst the devices.

I think we had a very similar issue to this recently, do look back a bit and link it off you find it.

As for how to solve, I would try turning the gateway off and verifying you get a connection to the BLE mesh. If not, move closer to a Plejd device.

SweVictor commented 1 year ago

I was probably thinking about this one https://github.com/icanos/hassio-plejd/issues/278

slowtraintodawn commented 1 year ago

All working again but..... F f f f 😄

I'm using the onboard BT adaptor on the NUC which is installed with some of the other hubs etc in a case about 4m from the first Plejy device. Just moved it 2m closer and now everything works again.

I can promise you the thing worked before... Oh well, but thanks.