-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GreenSun LED RGB #67
Comments
An RSSI value of 92 is quite low and probably not enough to establish a stable Bluetooth connection. For a reliable connection, an RSSI value closer to zero is usually needed |
Try to send init commands too, you can see how to here: |
Thanks Dave, I am using HAcore. I see I can use the cmd bluetoothctl and have the following feedback: So I place my USB bluetooth key close from teh device so RSSI increase up to -68. |
If you can tell me what I may be doing wrong with the sudo gatttool command |
No chance to get any further advices or help? Cheers |
try without sudo gatttool -b FF:FF:10:EE:4E:B4 --char-write-req -a 0x0009 -n 7e0783 but it is possible you haven,t gatttool and received gatttool: command not found |
Nope, it is the same. No chance the command bluetoothctl can allow me to achieve the same. |
Hello, I bought the following LED device with amazon https://www.amazon.fr/dp/B09P9N4FLC?psc=1&ref=ppx_yo2ov_dt_b_product_details
It works with LanterneLotus.
The device is found with ElkBledom but the commands sent from HA have no effect to the LED and I do not a specific error.
Below is some log if it can help:
2024-07-08 22:26:25.494 DEBUG (MainThread) [custom_components.elkbledom] Config: Reset: None, Delay: None, Mac: FF:FF:10:EE:4E:B4
2024-07-08 22:26:25.495 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] device ELK-BLEDOM: FF:FF:10:EE:4E:B4 -92
2024-07-08 22:26:25.495 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] Model information for device ELK-BLEDOM : ModelNo ELK-BLE, Turn on cmd [126, 0, 4, 240, 0, 1, 255, 0, 239], Turn off cmd [126, 0, 4, 0, 0, 0, 255, 0, 239], rssi -92
2024-07-08 22:26:36.933 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] ELK-BLEDOM: Connecting; RSSI: -92
2024-07-08 22:26:36.962 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] ELK-BLEDOM: Connection already in progress, waiting for it to complete; RSSI: -92
2024-07-08 22:26:40.599 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] ELK-BLEDOM: Connected; RSSI: -92
2024-07-08 22:26:40.599 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] login command for: ELK-BLEDOM not needed; RSSI: -92
2024-07-08 22:26:40.600 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] ELK-BLEDOM: Subscribe to notifications; RSSI: -92
2024-07-08 22:27:29.881 DEBUG (MainThread) [custom_components.elkbledom.config_flow] Discovered bluetooth devices, step bluetooth, : FF:FF:10:EE:4E:B4 , ELK-BLEDOM
2024-07-08 22:48:59.314 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn off: {} color mode: white
2024-07-08 22:48:59.315 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 00 00 00 ff 00 ef
2024-07-08 22:49:03.498 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn on: {} color mode: white
2024-07-08 22:49:03.498 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 f0 00 01 ff 00 ef
2024-07-08 22:49:38.364 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn off: {} color mode: white
2024-07-08 22:49:38.364 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 00 00 00 ff 00 ef
2024-07-08 22:49:39.745 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn on: {} color mode: white
2024-07-08 22:49:39.745 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 f0 00 01 ff 00 ef
2024-07-08 22:49:48.377 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn off: {} color mode: white
2024-07-08 22:49:48.377 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 00 00 00 ff 00 ef
2024-07-08 22:49:50.216 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn on: {} color mode: white
2024-07-08 22:49:50.217 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 f0 00 01 ff 00 ef
2024-07-08 22:50:22.435 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn off: {} color mode: white
2024-07-08 22:50:22.436 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 00 00 00 ff 00 ef
2024-07-08 22:50:24.877 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn on: {} color mode: white
2024-07-08 22:50:24.878 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 f0 00 01 ff 00 ef
2024-07-08 22:50:26.505 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 02 4f 00 00 00 00 ef
2024-07-08 22:50:47.431 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn off: {} color mode: white
2024-07-08 22:50:47.431 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 00 00 00 ff 00 ef
2024-07-08 22:51:22.889 DEBUG (MainThread) [custom_components.elkbledom.light] Params turn on: {} color mode: white
2024-07-08 22:51:22.890 DEBUG (MainThread) [custom_components.elkbledom.elkbledom] 7e 00 04 f0 00 01 ff 00 ef
The text was updated successfully, but these errors were encountered: