wez / govee2mqtt

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

Please add support for H607C Govee Floor Lamp 2 #178

Open beslergr opened 5 months ago

beslergr commented 5 months ago

Getting an "unknown device type" when trying to connect the new Govee Floor Lamp 2. Can this be added?

wez commented 5 months ago

In general, we don't need to add explicit support for lights because the govee api is very generic. If something isn't working, we need more data and logs.

agoode commented 4 months ago

I have one of these devices. It's a multisegment device, but only basic controls are exposed to Home Assistant.

I've connected with the LAN, the IOT, and the API. Here is a log snippet:

[2024-05-08T19:20:05 INFO  govee::commands::serve] Starting service. version 2024.04.29-30cf7732
[2024-05-08T19:20:05 INFO  govee::commands::serve] Querying platform API for device list
[2024-05-08T19:20:05 INFO  govee::commands::serve] Querying undocumented API for device + room list
[2024-05-08T19:20:05 INFO  govee::service::iot] Connected to IoT: CONNACK code 0: Connection Accepted.
[2024-05-08T19:20:05 INFO  govee::commands::serve] Starting LAN discovery
[2024-05-08T19:20:05 INFO  govee::commands::serve] Waiting 10 seconds for LAN API discovery
[2024-05-08T19:20:05 INFO  govee::service::iot] IoT (re)connected with status CONNACK code 0: Connection Accepted.
[2024-05-08T19:20:15 INFO  govee::commands::serve] Devices returned from Govee's APIs
[2024-05-08T19:20:15 INFO  govee::commands::serve] H607C_ABA3 (52:52:C7:01:D5:DF:AB:A3 H607C)
[2024-05-08T19:20:15 INFO  govee::commands::serve]   Undoc: room=None supports_iot=true ble_only=false
[2024-05-08T19:20:15 WARN  govee::commands::serve]   Unknown device type. Cannot map to Home Assistant.
[2024-05-08T19:20:15 INFO  govee::commands::serve] 

Let me know what more information you need. Thanks!

agoode commented 4 months ago

Here is (what I hope is) the relevant part of the trace log. Let me know if this is helpful.

log.txt

github-actions[bot] commented 4 months ago

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.

agoode commented 4 months ago

I can open a new issue if that is helpful.

wez commented 4 months ago

FWIW, from those logs, it looks like we're waiting on govee to make this device show up in their platform api before we can do anything with it.

beslergr commented 4 months ago

Apologies on the radio silence here. Had to get a replacement lamp from Govee, and then had some major client work to take care of. @wez let me know if you need anything from my end, but thanks @agoode for sending the logs! Fingers crossed this gets added to the API soon.

ulte commented 3 weeks ago

Any update on this? These devices have been in the market for a bit - any idea if you have what you need from the api so we can control it over lan in HA other than just on/off?