Govee API integration with WLED

There has been some work in HA as well as Homebridge for Govee integration using the LAN API(https://govee-public.s3.amazonaws.com/developer-docs/GoveeDeveloperAPIReference.pdf), however, what I am looking for is if anyone has created a usermod to make the govee lights a segment directly in WLED by making the API calls. This way WS28xx lights that are directly connected to my ESP32 could sync and run effects with existing Govee lights without hardware modification. Specific use case I have is that I would like to run my current 12v ws2811s and ws2815s (12v) with the 24v flood light options from Govee since the spotlight options are limited or need to be custom built. I am not a fluent programmer and have attempted from samples, but fail miserably. Any assistance would be appreciated.

I am aware of the Govee limit for the cloud API calls(10 per device per minute/10000 total per day), however, I am not sure if there is a limit per the local lan calls.

3 Likes

I am also interested in this topic. However, I also am not a fluent programmer. How do we make this a feature request?

1 Like

Copy me inā€¦

Hiya guys, just wondering if thereā€™s any update on this? Cheers

Nothing new as of yet. I may be able to start tinkering with it this month, however, I am novice as far as experience in this matter. I will work on controlling via postman but compiling as a usermod I will likely need help with.

Having a t1 strip is be interested in seeing what comes from thisā€¦

Ok, so I have figured out the API calls and can control any lan based Govee light from API. I have tested H604D, H619Z, H7065, H7061, and H705B. All that really needs collected is the mac address and device model after API key is retrieved by Govee. What I am not good at is python. I know that Eufy will allow WLED control for their lights, but not sure the interface. If anyone has a template where I can insert the API into the python code, I would be willing to give it a shot.

I know you ā€˜canā€™ modify the Govee hardware and interrupt the data line to the govee strings, however, local LAN control would be prfered to avoid wire cutting/splicing as well as support using native govee app OR WLED as options. Any thoughts or assistances would be much appreciated.

Example:

curl --location --request PUT ā€˜https://developer-api.govee.com/v1/devices/controlā€™
ā€“header ā€˜Content-Type: application/jsonā€™
ā€“header ā€˜Govee-API-Key: APIKeyfromGoveeā€™
ā€“data '{
ā€œdeviceā€: ā€œmacaddressā€,
ā€œmodelā€: ā€œH6076ā€,
ā€œcmdā€: {
ā€œnameā€: ā€œturnā€,
ā€œvalueā€: ā€œonā€
}
}
ā€™
curl --location --request PUT ā€˜https://developer-api.govee.com/v1/devices/controlā€™
ā€“header ā€˜Content-Type: application/jsonā€™
ā€“header ā€˜Govee-API-Key: APIKeyfromGoveeā€™
ā€“data '{
ā€œdeviceā€: ā€œmacaddressā€,
ā€œmodelā€: ā€œH6076ā€,
ā€œcmdā€: {
ā€œnameā€: ā€œbrightnessā€,
ā€œvalueā€:50
}
}
ā€™
curl --location --request PUT ā€˜https://developer-api.govee.com/v1/devices/controlā€™
ā€“header ā€˜Content-Type: application/jsonā€™
ā€“header ā€˜Govee-API-Key: Youknowthedrillā€™
ā€“data '{
ā€œdeviceā€: ā€œsameasaboveā€,
ā€œmodelā€: ā€œH6076ā€,
ā€œcmdā€: {
ā€œnameā€: ā€œcolorā€,
ā€œvalueā€: {
ā€œrā€: {{red}},
ā€œgā€: {{green}},
ā€œbā€: {{blue}}
}
}
}
ā€™

curl --location --request PUT ā€˜https://developer-api.govee.com/v1/devices/controlā€™
ā€“header ā€˜Content-Type: application/jsonā€™
ā€“header ā€˜Govee-API-Key: 123456789ā€™
ā€“data '{
ā€œdeviceā€: ā€œ10111213ā€,
ā€œmodelā€: ā€œH6076ā€,
ā€œcmdā€: {
ā€œnameā€: ā€œcolorTemā€,
ā€œvalueā€: 7000
}
}
ā€™

curl --location ā€˜https://developer-api.govee.com/v1/devicesā€™ \

ā€“header ā€˜Govee-API-Key: getthosedevicesandcreatevariablesā€™

curl --location ā€˜https://developer-api.govee.com/v1/devices?device=macaddress&model=H6076ā€™ \

ā€“header ā€˜Govee-API-Key: thisonegetsdevicestateā€™

One thing I am also watching is the polling as there is a limit to how many calls can be made.

Nobody picking this up?

hey any update? I literally donā€™t know anything about this software and hardware side, but I really want thiss!

Seems this area of development has no whisperersā€¦lol. no Gurusā€¦

As i have govee products ā€¦ was keen to learnā€¦

Maybe soonā€¦ a leap will occurā€¦

Guys here are a pool of knowledgeā€¦
Waiting for the splash or ripple of someone with the ā€œbrainā€ getting inā€¦ forgive my a analogyā€¦lolā€¦

1 Like

I have a quick question regarding govee intergation with other controllers and if thereā€™s anything like controllers that can run like long led strip lets say 1000 or more leds without power injection and i can connect govee to matterā€¦thank youā€¦!

The controller is not the bottleneck for power injection. The size of wire, length of wire and voltage used is. 5v pixels will need power sooner than 12v. 12v will need it sooner than 24vā€¦24v sooner than 48vā€¦ Nothing to do with the controller.

1 Like

L60 feet led 96 perimeter or more I need a that can run all the light one connection point and must be able to connect to govee app please help ps.required that the LED strip should be 90-120 LEDs/meter at least to get a neon effect. And the width of the LED strip should not exceed 10mm

I would think if you are looking to use the govee app that you would have to use a govee product.

Matter is format that is being used in most app