I am fairly new to the Habitat community. I have Govee LED lighting throughout the house and would like to connect them to the hub for scene control. I have read wifi/bluetooth devices won't be able to connect to Hubitat. If not, has anyone had success connecting Govee lighting to Hubitat?
I came across this on the web......not sure if this has been successful. TIA!!
I use that integration for a few different Govee things. It will likely work with your lights if it is able to be controlled via Wifi. If your device is bluetooth only there is a decent chance that driver won't work for that. Also be aware that not all functions that are on bluetooth are available via wifi depending on your strip.
So I tested out the one OP posted. Feel more robust to me, it also sets up its own polling. The driver I posted does not poll so you have to create a rule for it. I did not like how for debugging you have to edit the code instead of a simple toggle. Also the polling is not configurable. I made a few tweaks such as setting the polling to 10 mins instead of 2. The on/off status is not mission critical so 10 minutes is good for me. Also added a cron job schedule for every 2 hours to refresh as backup in case the other runIn ever failed. I think if the hub reboots the polling wont get scheduled again either unless you manually refresh the device. I might fork one of these two eventually and make a tidied up version but works for now. I only have one LED strip in a kids room and I mainly use the integration to schedule it to shut off when they go to school otherwise it would be on 24/7
New, confused user here. I had no issues adding the driver code, but I'm confused as to what to do with the index.html file. I tried adding it to as apps code, but got an "unexpected token: < @ line 1, column 1" error. Can someone help out the newbie over here?
The driver code and method the OP posted is brilliant - easy to follow instructions for a novice like myself and all my govee lights are now working in Hubitat. Massive thank you to the Dean for developing the code.
One thing I'm not sure of - now that I can control the Govee lights through hubitat, is this local control?
No, the Govee public API is cloud based only. It is pretty snappy though so it works in a pinch.
If you want local control, I saw a plugin for homebridge the other day that connects via bluetooth if you have one with the bluetooth control. It wont go back to Hubitat though, only to homebridge/homekit. I am guessing there is a similar home assistant plugin as well for bluetooth. I hope to setup HA eventually one day just so I can tinker with some bluetooth stuff and integrate it to the hub.
Is anyone else having an issue with the dashboard not keeping in sync with the state of the govee device if it wasn't turned off/on through habitat but separately with a remote or alexa? If so any ideas on how to resolve it?
I don’t have these, but I know you have to poll them for their state, they don’t report back when they change. For things like this that don’t report state, I integrate them from HE to Alexa/HomeKit/Google to avoid this problem.
Depends on what driver you are using.
This driver in this thread is setup to refresh automatically every 2 minutes.
There is another driver on the forum which does not have any automatic polling so you would need to setup a rule to have it refresh when you want.
I have used both, and they both refresh correctly for me (the Obi2000 driver using a rule).