core icon indicating copy to clipboard operation
core copied to clipboard

Add support for Device H6199 in Govee Local API

Open tretabyte opened this issue 1 year ago • 1 comments

The problem

Device H6052 is not supported, doesn't even get detected by the integration, and there's no option to force detect it.

What version of Home Assistant Core has the issue?

2024.2.0

What was the last working version of Home Assistant Core?

n/a

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Govee lights local

Link to integration documentation on our website

https://www.home-assistant.io/integrations/govee_light_local#configuration

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

tretabyte avatar Feb 07 '24 23:02 tretabyte

Hey there @galorhallen, mind taking a look at this issue as it has been labeled with an integration (govee_light_local) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of govee_light_local can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign govee_light_local Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


govee_light_local documentation govee_light_local source (message by IssueLinks)

home-assistant[bot] avatar Feb 07 '24 23:02 home-assistant[bot]

Hi @tretabyte, in the title you mention the H6199, but in the issue itself you refer to H6052. Which is the correct one?

Since you metion that the device is not detected, can you please verify that the local control for the device has been enabled? to do so, you can follow these steps.

Thanks

Galorhallen avatar Feb 08 '24 08:02 Galorhallen

Sorry about that, was checking several and missed the copy/paste, the issue is with H6199. I know it’s compatible with the local API (although it doesn’t show the local access option on the Govee app) and it’s even mentioned on the Govee documentation when you get the details for the API key.

Sent from Outlook for iOShttps://aka.ms/o0ukef


From: Galorhallen @.> Sent: Thursday, February 8, 2024 8:31:53 AM To: home-assistant/core @.> Cc: tretabyte @.>; Mention @.> Subject: Re: [home-assistant/core] Add support for Device H6199 in Govee Local API (Issue #109935)

Hi @tretabytehttps://github.com/tretabyte, in the title you mention the H6199, but in the issue itself you refer to H6052. Which is the correct one?

— Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/core/issues/109935#issuecomment-1933584285, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOPJ5ZMJHRDYLW3IDZHPDHDYSSEPTAVCNFSM6AAAAABC6WY6HGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZTGU4DIMRYGU. You are receiving this because you were mentioned.Message ID: @.***>

tretabyte avatar Feb 08 '24 08:02 tretabyte

I know it’s compatible with the local API (although it doesn’t show the local access option on the Govee app)

If the option doesn't show on the Govee app, I'm not sure that it actually support local control, but it is possible that the device just needs a firmware update.

it’s even mentioned on the Govee documentation when you get the details for the API key

I think the API key is used to control the device via Govee cloud, so the control mentioned there could refer to something else.

Galorhallen avatar Feb 08 '24 08:02 Galorhallen

I had it working, without any manual tweak or side configuration on the Hacs Govee local LAN integration and also works via MQTT. is there anything I could provide to help?

tretabyte avatar Feb 08 '24 09:02 tretabyte

IIRC if the LAN option doesn't show up in the app it means that the LAN control is not supported by the device.

Regarding the HACS integration you mentioned, my understanding of it is that it uses local control and cloud API. It looks like that for local control, the HACS integration, uses both LAN and BLE, but the latter is not (yet) supported by this integration and cloud control is not in the scope.

Galorhallen avatar Feb 08 '24 10:02 Galorhallen

@home-assistant close

Galorhallen avatar Feb 13 '24 21:02 Galorhallen