keith-kl / homeassistant-lampsmartpro

implementation of lampsmartpro in home assistant custom integration
3 stars 1 forks source link

No connects #3

Open PawkaSml opened 10 months ago

PawkaSml commented 10 months ago

Hello. It seems like everything is set up, but it doesn’t connect to the Lamp. There don't seem to be any errors. I turn off the lamp, but there is no connection. Debian12, an external Bluetooth adapter is connected, it works and sees the device. Can you tell me if I need to press something when connecting, or if I just need to flip the lamp switch? Thank you!

MatoXD99 commented 1 month ago

Hi, same for me. Got everything setup, had to recompile the liblampify.so. The instructions are really poor on this. Is there any button or something to press for the BLE to start connecting? (tried taking out the phase to light and back on - like in the original app pairing, but nothing)

MatoXD99 commented 1 month ago

@PawkaSml ChatGPT helped me figure it out. When you connect the light to electricity (if you put out phase and turn it back on), you have to turn "on" and "off" the light in HomeAssistant. That way HomeAssistant knows it has to pair or at least try to pair with the light. This way I've successfully paired and all features work. I'm not touching it again as long as it's stable 🗡️

keith-kl commented 1 month ago

I'm sorry for the poor instruction. The way to enable pairing of this kind of bluetooth light is not straight forward and varies from different chinese factories, so this is the best I could make it work (especially if you power off the light from the physical light switches)