-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Ability to Control Govee Scenes with New Development Platform #50
Comments
Looked for the issues on this to find out if this had been requested yet or if it was just something I was missing, this would be invaluable for a QoL Feature Request. |
@superpunkduck I think we have our answer here actually... #42 (comment) Unless Govee exposes this information, I think we're out of luck. |
FWIW, I've been doing some reverse engineering the past couple of days and have found a way to send scene controls via undocumented parts of the LAN protocol (egold555/Govee-Reverse-Engineering#11) My strategy for taking advantage of this new knowledge is not to update govee-lan-hass directly, but rather to build a home assistant addon instead; that approach means that I can move much more rapidly with development, using Rust as well, and also tackle some issues that folks have with routing of LAN packets across subnets. The addon approach has worked out really well for me with my Power View integration, so I'm excited to apply it here to my govee lights as well. |
@wez |
Yes, the new addon will support scenes |
amazing cant wait to try this out. loving it so far |
Same for me :-) |
My work so far is up at: To run it, you'll need docker. |
So this wont work for someone running a straight HASS install without it being inside docker? Will it ever? |
I'll add a hass addon in the near future, but otherwise: no, I have no plans to make this work as a regular hass integration. The reasons are:
That said, you don't have to use docker to run |
Appreciate the effort @wez. I don't have machines to spin up docker on anymore, and don't know the first thing about compiling something in windows or about setting mqtt. But that is not your fault, and I hope this works great for you! |
I quite enjoy working in Python. Could I help you out anyway in the hass addon development? |
...... Unfortunately that's all Greek to me... I typically am pretty good at following install instructions... but i look at this and get really confused... That being said... i appreciate all your effort. |
Those are not install instructions, those are reasons why I don't plan on doing much more to the python code here. If you want install instructions for |
@mattgphoto how are you running home assistant at the moment? |
Im just running it on my RPI 3B as the OS itself. is there any way I can use this yet? |
@Tom-Sumner which of these installation methods did you use? https://www.home-assistant.io/installation/#advanced-installation-methods |
I used the OS flasher windows app. to flash it to the boot sd |
I have HAOS installed in a VM with HACS. |
Hey Wez, thanks for doing this. I see the documentation mentions support for the platform api. Does that mean this integration will be able to pull in all govee devices, including appliances, rather than just those with lan api support? |
@sdaltons1 yes, all devices should be visible to it, however, since I only have lights to test against, right now it will simply represent them all as lights, so you may not be able to much more than just turn the power on or off. |
OK, for folks that are running HAOS or Supervised Home Assistant, you should now be able to install govee2mqtt as an addon. The steps are shown below; it's a bit of an adventure in clicking all over the place because of how HASS lays these things out, but it isn't especially difficult. Steps:
|
Assuming it's all working, after a couple of seconds, you'll see your devices show up under the MQTT integration in Devices and Services, and any other dashboards that automatically populate. |
Just a note - you have to deactivate the govee-lan-hass integration in Home Assitant to try the new govee2mqtt integration. |
I got it working very easily with @wez instructions, thank you so much!! |
Closing this as Resolved by switching to Govee2MQTT |
Recently Govee Released the new Development Platform...
https://app-h5.govee.com/share/community?client=0&postId=165266&t=1701725633893
Is there any way the integration could be update to allow HA to control Govee Scenes, Music Modes, and DIY rather than Just Single Colors and Power?
The text was updated successfully, but these errors were encountered: