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

I have created a couple of Snapshots that have animated lighting like a Scene but you can't open back up and edit or even see the settings of the Snapshot. Also, if you save a snapshot with same name, it creates a 2nd with same name instead of replacing previous Snapshot with that name.

I don't understand the DIY nor see a way to create what they call Scenes. Snapshots seem to be same as Scenes.

2 Likes

How long does it take them to respond to an API request? It’s been a few days but wanted to get some idea what to expect and to continue checking spam folder. Thanks.

I have found their support to generally be responsive. Most of the time I get a response in about 24-48 hours, there have been a few occasions it has been close to a week though. How did you request it. I have also had the best success doing it through the Govee Home App.

What is the question? Maybe I can help answer it and it could be useful to others?

Thanks. No question. I just requested access to the cloud API through the app.

That in most cases appears to be almost instant. Definitely check your inbox and your spam/junk folder.

1 Like


Stu_The_K
Owner

1d

I have been looking for a smart 2 outlet plug that wouldn't block the other plug in a wallplate and couldn't find a Z-Wave or Zigbee one. I saw this one, and I know there is a Govee user written driver for some Govee products, but I didn't see this one on the list. Is there a driver for this wi-fi dual plug?

https://www.amazon.com/Govee-Bluetooth-Assistant-Remotely-Certified/dp/B095KG3M4Y/ref=sr_1_3_sspa?crid=1QGX3MBN0ABI6&keywords=govee%2Bwifi%2Bplug&qid=1700687992&s=industrial&sprefix=govee%2Bwifi%2Bplug%2Cindustrial%2C103&sr=1-3-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9hdGY&th=1

I am sorry to say that right now this isn't a supported device. I do believe that there is a possiblity of it in the future once they update the API, but as of now this isn't supported. The only Plug devices that are supported are the single outlet devices. I have the H5086 and i believe the H5080 and H5081 are supported as well.

The problem is their API doesn't have a way to activate multiple switches on one device. There is some evidence this will change, but who knows when that will actually happen.

Another option is the zwave double plug from Zooz. The Zen25 has two independently controlled plugs and a usb plug on it. It could work for what you are looking for. Just be very careful with the power reporting options, or better yet just turn them off if not needed.

Thanks for the Zooz tip. I'm not using power reporting for what I plan to do with it, so if I get it, I'll turn it off,

I just posted 1.0.50 of the Govee Integration. This is largely a enhancement to prevent un-needed actions to help with CPU load on reboot or other times.

Enhancements:

  1. Tasks were removed from each driver initialization task to configure task to prevent un needed load during hub restart.
  2. Removed un-needed tasks to device creation for light effects.
  3. Updated process to initialize and cleanup preloaded scenes to handle recent changes for additional states.
  4. Updated process to update API Keys if it is changed to it's own method instead of each driver.
  5. Added validation to driver to only request main app to update device light effects if the device type light effects did not already have a state value.

This isn't a required change, but I would suggest it. This should help with startup load on the hub as it will prevent unneeded heavy tasks on startup.

After this change the main app will only refresh the scenes when they don't exist. If you think you should have more scenes available go into the scene management menu and click on the button to "Reload Preloaded scene data". That will clear everything that is loaded and then re-run the load process. When a device is enabled for Local Lan Control and has a IP specified the preloaded scenes will be added and updated on the device.

1 Like

Figured i would let everyone know i just got in a Govee Galaxy Light Projector Pro that I am testing.

Good news is it supports both Cloud and LAN API already. The cloud API implementation is somewhat limited, but the LAN API implementation is pretty good. The big miss is controlling volume for the device is a miss for both control methods.

At this moment the add process that interact with the cloud will add it as a White light device only. If you have it now and want to use it i would suggest you do these steps.

  1. Add it as normal and let it install with the default driver based on how it is detected.
  2. Update that driver to the "Govee Lights, Plugs, and Switches Driver"
  3. Configure LAN Control to make all options avaliable. Only setting White Color Temp does not work with that driver from my testing.

One potential work around for the lack of volume control may be to use a DIY to set various aspects of the projector. I am going to test that out in a bit after I do the extract of the built in scenes. It is larger then an expected, but so far kind of nice. Could be a good option for those that like space and are looking for a decent white noise maker.

I may also need to create a dedicated driver for this similar to what I did for the Aromoa Diffuser devices.

First time exposed to Govee this evening. Wow, their app is Iike what would happen if Minnie Mouse and Pee Wee Herman had a love child. But I digress….

I see mention of the aroma diffuser (H7162) in this thread, but it’s not in their list of supported devices, nor @mavrrick58’s list either…. and I can’t seem to get the LAN API toggle to show up. I’m flummoxed.

Would folks not expect the aroma diffuser to work in this integration?

1 Like

Fact check: True

3 Likes

I am not having any luck importing my DIYs.

Token is valid & Group is "Default" then I click on Extract Scene:

This window comes up with everything null:

The native scenes are in the device.

The Aroma Diffuser and Aroma Diffuser Pro are supported. They are considered appliance devices. As of right now I don't believe they support LAN API. No appliance device does. That said they are the most fully featured devices that use Govee's cloud api. Please try to add them under the appliance section for device add and let me know how that goes. It should work fine.

Please try turning logging to debug and try the export again and send me the data that is found in the logs. This generally means there is something wrong with the data we are trying to extract. The process for this extraction has been refined allot overtime and it is possible you found something that isn't quite working with the parsing methods already in place.

Don't see anything useful; hopefully you do.

Looking at the code it doesn't make sense why it would stop at that line. It should have either given us more details as to what it was processing or simply posted a message in the logs saying "Tap to run does not contain device only action. Ignoring". Can you please check your logs again to see if more info was created.

How many Tap-to-Runs do you have in the default group. The process was really written to handle one reliably, but it is possibly for you to put many in and have them all extract. I don't recommend it though.

I just posted 1.0.51 update to the Govee Integration app for download.

These changes are all about the Govee Galaxy Projector. Changes are below

  1. Created a new driver for it as it supports Color but not CT from LAN API. The new driver removes CT from the driver.
  2. Added preloaded scenes into the Govee Scene management processes
  3. Updated main app to properly add the Galaxy projector with the new driver

The galaxy projector is a nice addition to the white noise makers from Govee. The items they have in that category are:

  1. Portable RGBIC Night Light
  2. Aroma Diffuser Pro
  3. Galaxy Projector Pro.

Each has their own pro's and con's but the only one of these to support Lan API is the Galaxy Projector Pro. The other depend on cloud. The Aroma Diffuser pro has the most complete command option though with every aspect of it's abilities fully controllable through the Appliance Cloud API. With all that being said though it seem in my house the Portable RGBIC Night light is the biggest winner.

If anyone has questions about any of them feel free to ask as I got personal experience with all of them.

1 Like

That was one problem... I misunderstood the process and didn't have any Tap-To-Runs but do have 5 DIY scenes setup. I added a Tap-To-Run now this is what showed up in the logs:

That last entry that doesn't find device doesn't look promising. I hope it's not an issue but my Govee is on my IoT network and Hubitat is on my main. However, the firewall allows Established & Related.

Yes thanks. I can add the device to the Appliance section no problem. I have Bluetooth and WiFi connected. But I can’t figure out how to get the API key from the Govee mobile app to enter into this HE app?

EDIT: I found it. The Govee mobile app must have changed. For those as slow as me that follow: as of today, it’s under Settings, and then “Apply for API Key”. @mavrrick58, maybe you want to update the OP?

Actually that is totally fine at that point. The program does a check to see if it needs to create the device entry in the state value or not. That message at that point means the device doesn't have anything stored in the main app for DIY's so it is going to create the entry and start at 1001.

The only thing I would caution you on is LAN API control requires UDP protocol so you may need to account for that in your network setup if you haven't already.

Try this.

  1. Open the Govee Home app on your phone.
  2. Click on the little person icon in the lower right corner.
  3. Click on the Gear icon in the upper right corner.
  4. Now hopefully about 2/3 down the screen you will see a option for Apply for API Key.

Click on that and follow the directions. Generally they are fiarly quick to get you the key once you apply for it. It looks like they moved this menu with 5.9.x of the app.