[Deprecated]Govee Integration for Govee Light, Switches, Plug, and now Appliances

Getting the following errors in the log when trying to setup scene or g a DIY with a H705B outdoor string. Are those feature supported on the H705B?
Furthermore is there a way to call Snapshots?

Thanks!

When you have that device open in the Hubitat UI, do you see a list of DIY's and scenes in the state section.

Those errors look like you don't have scenes or DIY's loaded from the Govee Integration App. They are definitely there, but i do not have this device to test with.

Please try this.

  1. Open up the Govee Integration app and scroll down until you find. the button for "Scene management". Click on it to go into the next menu.
  2. Click the button from this menu to "Click her to Reload Preloaded Scenes Information". Wait about 20 seconds before moving to next step
  3. Click on the button to "Click here to update all devices awareness of Scenes"
  4. Go back to the device in the UI and check the States section. It should look something like what is below.

The last update should allow the extraction of Snapshots. Then they are activated the same way DIY's are. One thing I would caution is that the extraction process for Snapshots are an order of magnitude more complex then Scenes or DIY's so it may not be perfect. Just let me know if any problems occur and I will DM you to see if we can figure out why it is failing and how to get it working for you.

I followed the steps you highlighted, but unfortunately I was no able to see the state section in the UI.

Furthermore while in the Govee scene management page, and clicking on “Extract Scene” I get the following screen (hopefully hat may help you troubleshoot):

Does that mean that they’re called as if they were DIY?

Yes, but based on the image you provided it looks like you don't have acces to any of those functions yet. By chance is your device not enabled for LAN API control. It looks like you are still using the cloud API for that device.

When i ask if LAN control is enabled i am refering to the switch in this image with the IP being configured.

If that isn't done. Then LAN Control functions like those related to scenes and DIY's will not work.

I did not yet setup the device for LAN, so that’s probably the issue. I’ll assign a fixed IP to the light and will connet via LAN.

I setup LAN control and success regarding the Scene! However I’m not seeing any DIY or Snapshots. How do we bring these in?

The process to extract a scene, DIY, or snapshot are the same. It consists of a few steps. I also suggest doing one at a time and creating a dedicated group for the Hubitat Tap To runs. The process is designed for one at a time so if you have more then one it may work, but won't show data.

  1. In the Govee Home app setup a Tap to run that activates the Scene, DIY or Snapshot. ( take note of the group it is in.
  2. On Hubitat Open up the Govee integration app. Enter the Scene management menu
  3. Ensure that the value for Govee Home Group is set to the group you created the Tap -To-Run in.
  4. Click on the button to "Extract Scene". The extracted scene is added to the DIY's in the app for that device. You should get a prompt showing you what was extracted so you can see it was successful and capture it to a text file to share or save for later if you want to.
  5. Go back to your device and click on initialize. That will refresh the available scenes when pressed.

If you continue to have issues you can set the logging to trace and DM me the output of the errors our logs that come up. I will review and let you know what i find. After though set it back to error so you don't get a tone of data in your logs.

I am working on something to adjust how scenes are managed right now. It should ensure scenes are more readily available going forward for any LAN API enabled device. I think I have pretty much everything in it with this change.

Unfortunately I was not successful. I’ll shoot you a DM with all info.

Questions for @mavrrick58 .

I'm considering Govee outdoor strip lights for under lighting a deck top rail. Will your integration control these? Also, trying to decide between H61731D1 and the Pro version which adds warm white lights. That's model H70A11D1. Reading the reviews for each one has led me to confusion. Some folks think the H61731D1 does a find job of making warm white. And some thing that the H70A11D1 does not, ironically. While I will use colors for holidays, most of the year I would expect to use warm white instead. Guessing that you might have experience with these so I though I would ask...
Thanks!

So my outdoor lights are two of the H6172 version. The H6173 as I understand it is just the same device with 2 strips instead of one coming off the controller. I really like them, but thinking about replacing them with the Pro Outdoor Perm lights if either of the strip fails. I really don't have any complaints about them other then when I wish they had the H6173 available at the time since I needed two. Having one controller for both of them would of been nicer.

Speaking in generalities about having dedicated white pixels either for just Warm Whites or Cool and Warm Whites is better then depending on the colors to mix and make the warm and cool whites themselves. The problem is that not all Cool and Warm Pixels are created the same. Without knowing what the complaints about the Warm White color are it is hard to dispute them. What I will say is this. I have a few devices from Govee that have dedicated pixels for Warm and cool light. I have a Lyra Lamp, their Basic Lamp, the Aurora table lamp, and the new sconces. I also tried their Cylinder Lamp. When it comes to warm white they can get very very warm. To the point of starting to get red in them. This is typically beyond what you would see from warm white bulbs. This may be the complaint and honestly if that is you just turn up the CT temp to something more to your liking. Govee has many devices that can get a CT down to 2000 which is super warm. All that being said though I have no complaints about the white color temps produced by the H6172's I have. They produce a bunch of light and seem to work well on whatever CT i set them to.

I am just judging govee against govee though. So beyond that I am not sure.

One last thing you may want to consider and test before mounting the pro Strips (H70A11D1) if you went that rout is to validate they support LAN Control. As of right now i don't see them documented as being supported. If you go that route and they do support it let me know so i can add them to have preloaded scenes.

You may also want to consider the Specs here Looking at Govee's page it looks like the the newer strips are RGBICWW and use 36V instead of 24V. The new Strip also puts out more light at 200 Lumens instead of 150. The old strip does not use a Weather proof Power adapter though the strip and controller are. The new one uses a weather proof Power adapter as well. The last thing is it looks like the new strip will require two instead of one as I only see it in 32ft lenghts vs the 32x2 of the H6173

I think if my main goal was to use this for added external light I would go with the new pro one and validate it supports LAN API. I feel like this is one of those things you wouldn't notice unless you put them side by side and the other advantages outway the potential for a personal preference on warm white colors. I hope all that info helps.

1 Like

I have had great luck with the drivers and App for Govee on this page, I added a new Christmas String Light and I can't get the Hubitat App to recognize them. All my other Govee products Bulbs Strips and Lamps work great.

The part number for the new lights are H 70C2 running the newest Firmware 1.00.12.13 and hardware 3.04.01 1.02.00/2.05.08 The Api i have has worked with the other Govee products.

Any suggestions on what to do to integrate the new lights?

1 Like

The Christmas tree lights are a unique device in that it doesn't appear to support the Cloud API. I went back and forth with them and for some reason they eventually just said it works via LAN API but the cloud is not enabled and will not be. This was the driver for one of the recent changes to the app that enabled LAN API Only device through a manual add process.

The process to add them would be like this.

  1. Open up the Govee integration app and select the button for "Manual Setup Lan Device"

  1. Now enter the information for the device like below.
    a. The device Name is what you want it to be labeled as in Hubitat
    b. in your case since it is the Christmas tree lights the Govee Device Model Number is H70C2 (case matters). Make sure to replace the example which is what your model number is
    c. Enter the local ip address of the Light device on your home wifi network.
    d. Click next.

You will get a display saying the device was attempted to be added as shown below. You can click on next and repeat the process if you have more then one to add. If done adding click on "next" and then "Done" to exit the app. Then you can go check the device on the device page to see if it is listed.

One thing to keep in mind with devices added this way though is that this won't prevent you from adding them the Cloud API way if the device is enabled for Cloud API as well.

1 Like

Thank you it works I had to turn on the lan setting on the Govee app as well.

1 Like

Very much appreciate all the work you've put in on the integration and your thoughtful reply!

1 Like

And I ordered these as the sale price right now at Amazon was too good to pass up.

1 Like

Ok all I just dropped 1.0.45 for download. This update is largely an optimization update but a breaking change to the code was made to facilitate a new method of managing preloaded scene data.

If all of your devices are attached to the cloud, or you don't use scenes you can ignore this procedure

When you update the app the easiest way to get pre-loaded scenes working again is to follow this procedure

  1. Open up the Govee Integration app. Scroll down and click on the "Scene Management" button to open that menu.
  2. Scroll down and click on the button to "Update all device awareness of scenes" wait about 20 seconds
  3. Click on the button right below to "Reload Preloaded scene Information" wait another 20 seconds
  4. Click again on the button to "update all device awareness of scenes"

This update essentially breaks out scene management by device group instead of device model number. This will reduce memory consumption by the app as we will be managing scene data for fewer objects.

This new process should enable more devices to have preloaded scenes but if a device is not recognized it will also default to RGBIC device type. Any device that is enabled for LAN API going forward will automatically setup it's scenes.

As usual let me know if anyone has any issues with the change. Thank you.

When clicking on the “Extract Scene” button, I get the following error:


I was on 1.0.44 the first time I got the error, then updated to .45 and am still getting it. Recommendations?

I tried initially with the “Default” group, and then created a new “Hubitat” group. Same issue with both.