I have a lamp here that uses the "Lamp Smart Pro" app, and I have it working great with this component in HomeAssistant (thank you so much for doing this work!)
The lamp has a set of LED around the base that emit a gentle golden glow at the ceiling for a nightlight effect. They are different from the main high power CW / WW led's
From the documentation I was able to capture the BT packets from the remote when pressing the button (the button is just a toggle, there is not a separate on/off for this part of the light) and I get this:
[14:32:35][D][ble_adv_handler:300]: raw - 02.01.02.1B.16.F0.08.10.00.A2.D8.C1.03.82.62.00.51.C0.7C.C2.D7.45.27.2E.E9.90.B0.C5.4F.91.97 (31)
[14:32:35][D][ble_adv_handler:300]: raw - 1E.FF.56.55.18.87.52.B6.5F.2B.5E.00.FC.31.51.1C.D8.9A.08.24.CB.2B.FC.47.95.A7.E3.04.7D.60.57 (31)
[14:32:35][D][ble_adv_handler:300]: raw - 02.01.02.1B.16.F0.08.11.00.A2.D8.C1.03.82.62.00.51.C0.7C.C2.D7.45.27.2E.E9.90.B0.C5.4F.49.FA (31)
It is always three strings.
If I replay either of the ones starting 02.01 then the light will toggle (using the inject_raw function), but the 1f.ff command seems to do nothing.
I have noticed that although I can switch this on and off fast from the remote, sending one of those packets via injection seems to need at least 5 seconds before it will 'listen' and let me turn it back off.
I tried to decode the raw and get the command from it, without success.
I tried to guess at the command but everything I send just results in:
[W][ble_adv_controller:116]: Unsupported command received: 3. Aborted.
I can control this in HA by sending the raw, but I was wondering if there was anything more I could do to find the real command for this?
Thanks!
I have a lamp here that uses the "Lamp Smart Pro" app, and I have it working great with this component in HomeAssistant (thank you so much for doing this work!)
The lamp has a set of LED around the base that emit a gentle golden glow at the ceiling for a nightlight effect. They are different from the main high power CW / WW led's
From the documentation I was able to capture the BT packets from the remote when pressing the button (the button is just a toggle, there is not a separate on/off for this part of the light) and I get this:
It is always three strings.
If I replay either of the ones starting 02.01 then the light will toggle (using the inject_raw function), but the 1f.ff command seems to do nothing.
I have noticed that although I can switch this on and off fast from the remote, sending one of those packets via injection seems to need at least 5 seconds before it will 'listen' and let me turn it back off.
I tried to decode the raw and get the command from it, without success.
I tried to guess at the command but everything I send just results in:
[W][ble_adv_controller:116]: Unsupported command received: 3. Aborted.I can control this in HA by sending the raw, but I was wondering if there was anything more I could do to find the real command for this?
Thanks!