-
Notifications
You must be signed in to change notification settings - Fork 56
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
Smartthings power state not changing when device H6104 switched on/off from govee app or alexa #3
Comments
So I made an update a week or two ago (I can't remember sorry) that includes the refresh() option to check the status of the govee lights every 1 min for cases just like this. Take a look at the latest commit version of the DTH and it should provide you what you're looking for. Just copy-and-paste that new version of it and let me know how it goes! |
Thanks for quick reply. I am using the latest version of code. I downloaded yesterday (22/12) and it has 397 lines and multiple references of "refresh". I have recopied code again and published, but it is still only recording state changes when I control the deivce in the Smartthings app. Any change to power state in Govee Home mobile app or Alexa do not get logged on smartthings. I checked the Events for the device and can only see text such as "Govee TV Lights switch is off" and "Govee TV Lights switch is on", when controlling via the smartthings app. |
Ok give me a bit to add some additional debugging and test it out further locally. |
Ignore my previous, I think I see what you're seeing, mine is doing the same thing, it's only setting the color and brightness on refresh(), not the power state. |
Ok, Always better when you can reproduce it! Reply to this thread when you have an update and I will try it out. Many thanks |
Well, I would have something for you, but the ST sim isn't refreshing at all now...stupid interface... |
Ok so the simulator was fairly useless, however using the app its self, I was able to turn on/off the govee light strips using alexa and the app and could see the update within the DEV simulator, the ST app (on the main view), as well as on the selected device screen. I'm committing another brief update with some more logging. Copy-and-paste it into your DTH, then Save, Publish for Me, then run similar tests if you can. One nice thing is that I can have the DEV sim enabled for the govee device, and use the ST app triggering the actions and it'll display the logs within the sim Logs section. Give that a try and see if you're seeing the power state changes properly or not (it may not be immediate, but should be within the minute). |
Not seeing any difference unfortunately. Its still only recognising power state when i control in the ST app. If I use Govee Home or Alexa, it does not appear in the Event log. |
Do me a favor, uncomment line ::311, hit Save, then Publish for me, then test again. Can you send me an email of the output like you did above please? Don't post it on a comment because other's will be able to see the details too. [email protected] |
So after working with @jc73uk , we have determined that the model in question H6104 does not currently support the "devicestate" API call, which the API docs clearly state that it SHOULD. So this is an issue on Govee's side. I'm reaching out to them to determine if this is an issue on their API or if it was purposely left out of support...? |
Forgot to update this, sorry. After reaching out to Govee API Support, they have stated that the get device state API call is not available for the H6104. They did not provide a reason why, just that it's not supported in the API and then they closed my ticket. Unfortunately I can not resolve this issue at this time due to the lack of support from the Govee API to handle it. |
No worries. The smartthings automations are not great anyway, e.g it
detects my Samsung power on, but fails to detect Samsung tv power off. If
it was apple it would work!
Take care
Regards,
Jason
…On Tue, 12 Jan 2021, 20:11 uncdubdiver, ***@***.***> wrote:
Forgot to update this, sorry.
After reaching out to Govee API Support, they have stated that the get
device state API call is not available for the H6104. They did not provide
a reason why, just that it's not supported in the API and then they closed
my ticket.
Unfortunately I can not resolve this issue at this time due to the lack of
support from the Govee API to handle it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AENQDHAOOEA7HDAP3E3XR6LSZSUFTANCNFSM4VG6F5IA>
.
|
Thanks so much for sharing this handler. The power off state from Govee app to ST is not an issue at all for me as I now only use Smartthings to power the device on/off either manually or with automations |
So...is everything working for you? |
Yes, working just fine. on/off, color changes, and brightness all work as expected. I know this is an issues thread but just wanted to thank you |
Great, glad to hear it! I'm finishing up a new version of the file, a cleaner version of it to enable/disable debugging instead of it printing constantly. All should still work like normal for you guys once the update goes out. Feel free to use it or not. |
Hi, I have the same problem with H6199. It's the same situation that device state API call isn't available or can you help me with the debugging? Where I have to add the line "set_DEBUG("on")" on my DTH? On the documentation the device state for this model is, supposedly, supported: Thank you. |
Yes I agree that Govee "says" it's supported, but I've reached out to them directly about their other TV backlit product H6104 (I have the H6104 as well on my TV all thanks to @jc73uk ), and I confirmed locally that it's not available, and Govee API Support confirmed it's not available on every model, and because the H6199 is a newer model for it, it's probably in the same issue. I will reach out to Govee API Support and ask them specifically about this one though and reply back on here once I hear back. |
Great, thanks for the quick feedback! |
I cant for the life of me find my GED Hardware ID within the IOS app. Any pointers? |
Download the index HTML file and run it locally. That's how you'll retrieve your ID and model number / name.
…
On Feb 22, 2021 at 10:26 AM, Alexkemp1980 ***@***.***> wrote:
I cant for the life of me find my GED Hardware ID within the IOS app.
Any pointers?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks, I have been trying to do this, but for some reason it doesnt open as a web page, only shows the programming lines Ignore me, Im being an idiot, was downloading HTML from wrong area |
Not a problem, hope that helps! |
@jonicunha , so Govee API Support responded back and said that they will have an update to their API in 8-9 weeks (wow, super vague and a long time from now). |
So, more or less 2 months. Once again, thanks for all your work and efforts! |
Hi, Thanks! |
Very nice, I didn’t realize that they had updated the API. I will have to check it out and see if it updates on this end with HE and ST too. Thanks!
Dean Berman
From: jonicunha ***@***.***
Sent: Wednesday, March 17, 2021 2:30 PM
To: uncdubdiver/smartthings-govee-led-lights
Cc: uncdubdiver; Comment
Subject: Re: [uncdubdiver/smartthings-govee-led-lights] Smartthings power state not changing when device H6104 switched on/off from govee app or alexa (#3)
Hi,
This week I'm testing Home Assistant and the state is updating on H6199. I don't know if it'll help but you can see the code here:
https://github.com/LaggAt/hacs-govee
Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#3 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/ABXHUHJIW3YHPVG2NDZ5DPLTEDYK5ANCNFSM4VG6F5IA> . <https://github.com/notifications/beacon/ABXHUHJUSGCSLV33T3MHXJLTEDYK5A5CNFSM4VG6F5IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF7BRPSI.gif>
|
Any chance you will be coding a conversion to the new Smartthings Edge driver? That would be fantastic. Thanks |
Unfortunately I probably won't be. I no longer have a ST hub, which is the
only reason I haven't done anymore work on the ST side of the integration,
and probably won't be doing it for the ST Edge driver.
Sorry.
Dean Berman
From: troynowens ***@***.***
Sent: Friday, September 24, 2021 1:25 PM
To: uncdubdiver/smartthings-govee-led-lights
***@***.***>
Cc: uncdubdiver ***@***.***>; Comment ***@***.***>
Subject: Re: [uncdubdiver/smartthings-govee-led-lights] Smartthings power
state not changing when device H6104 switched on/off from govee app or alexa
(#3)
Any chance you will be coding a conversion to the new Smartthings Edge
driver? That would be fantastic. Thanks
-
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3 (comment)
omment-926798929> , or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABXHUHI2FWVCJYS4ZSTBXEDUD
SX53ANCNFSM4VG6F5IA> .
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&m
t=8&pt=524675> or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=u
tm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
<https://github.com/notifications/beacon/ABXHUHM3Q7DYNEZVW5GZO4DUDSX53A5CNFS
M4VG6F5IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOG465IUI
.gif>
…_____
<https://home.mcafee.com/utm_medium=email&utm_source=link&utm_campaign=sig-e
mail&utm_content=emailclient?utm_medium=email&utm_source=link&utm_campaign=s
ig-email&utm_content=emailclient>
Scanned by McAfee
<https://home.mcafee.com/utm_medium=email&utm_source=link&utm_campaign=sig-e
mail&utm_content=emailclient?utm_medium=email&utm_source=link&utm_campaign=s
ig-email&utm_content=emailclient> and confirmed virus-free.
|
Hi, thank you for sharing the govee smartthings api. I have been using it for controlling the govee tv led lights H6104. I have noticed that when the led lights are powered on or off from another app, such as govee home or alexa, smartthings is not detecting the change of state with the device.
The text was updated successfully, but these errors were encountered: