wez / govee2mqtt

Govee2MQTT: Connect Govee lights and devices to Home Assistant
MIT License
429 stars 25 forks source link

Support for BLE-only devices? #99

Open jensrossbach opened 8 months ago

jensrossbach commented 8 months ago

Govee Device SKU

H6127

Govee2MQTT Version

2024.01.21-33e8cd7c

Describe the issue

Do you plan to support BLE-only devices in future? I have a Govee H6127 BLE light strip which is detected by Govee to MQTT and also shows up as a device under the MQTT integration but is non-functional. So it would be nice if such devices could also be controlled via Govee to MQTT in future.

Startup Diagnostics

n/a

Additional Logs

No response

Home Assistant Logs

No response

Anything else?

No response

wez commented 8 months ago

It's labor intensive and requires reverse engineering each device. I don't have any devices that I care to spend that time on for myself, and I am less motivated to do it for others. I'm open to the idea of it if sufficient sponsorship and funding is provided. The scope of the work is:

skl111 commented 8 months ago

What about the BLE devices that use the Gateways?

wez commented 8 months ago

If they work with the platform API already, then they work already. Otherwise: I have no idea as I don't have one of those devices and I don't recall seeing any documentation about whether they will work with the supported APIs

skl111 commented 8 months ago

I just checked and its not per govee's devices listed in the API reference I do see these ble water sensors Discovered in the log file, not sure if that means they can be controlled

[2024-01-22T10:59:23 INFO govee::commands::serve] H5058_0911 (01:32:7A:C4:XX:XX:XX:XX H5058) [2024-01-22T10:59:23 INFO govee::commands::serve] Undoc: room=None supports_iot=false ble_only=true [2024-01-22T10:59:23 WARN govee::commands::serve] Unknown device type. Cannot map to Home Assistant. [2024-01-22T10:59:23 INFO govee::commands::serve]

wez commented 8 months ago

as it says, it's not able to be controlled as it is a ble-only device

skl111 commented 8 months ago

as it says, it's not able to be controlled as it is a ble-only device

Alright, I will bug govee and see if they can add support