Home Assistant release with the issue:
0.88.0
Last working Home Assistant release (if known):
None, this is new integration in 0.88.0
Operating environment (Hass.io/Docker/Windows/etc.):
Hass.io
Component/platform:
SmartThings integration
Description of problem:
SmartThings sensors and switch (see pictures below) are not updating automatically. Only way to update is to open Smart Things app on my phone and press Refresh button there (see last image below).
https://i.imgur.com/GSS30t4.png
https://i.imgur.com/CMTHJL3.png
https://i.imgur.com/E1dT96x.jpg
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Nothing, it's Integration
Traceback (if applicable):
Additional information:
Let鈥檚 have you try re-authorizing the automation. While HASS is running, open the SmartThings Classic app, goto Automations, tap Home Assistant (or however you named it), tap Done, then Authorize.
This will recreate the subscriptions. You may want to restart HASS to get the entities back in sync, or wait until they receive new updates.
That didn't help. Sensors are still updating only if I manually pres the refresh button in the Smart Things Classic app and Switch doesn't update at all (It's ON all the time even when the TV is Off physically and in the Classic app).
Can you share what the Device Type Handler (DTH) is for the TV? You can find this in Home Assitant by going to Integrations --> Smarthings: {location title} and finding the device. The 'model' will be the DTH.
If you're using a custom one, please share a link to the source code.
Looks like it's Samsung OCF TV
https://i.imgur.com/CFdirNb.png
Exact TV model is 55" Samsung UE55MU7072
Thanks. I can鈥檛 find the source for that handler. Based on your description of the problem, it sounds like a problem with the handler. I鈥檒l get with the ST devs and see if we can get to bottom of it.
One additional question, does the status of the TV update in the ST app with out pressing refresh?
Working with someone ST. Can you send me the device ID and location ID? You can get these from the IDE once you have drilled into the device/location. The ID is the GUID in the URL.
It doesn't even refresh in the app without pressing the refresh button. It feels really buggy - I can turn OFF the TV in the app, but can't turn it back ON. Also when pressing volume buttons in the app the actual value is updated on the TV but app show the same value until I press the refresh button.
The new SmartThings app works fine though. I can turn the TV ON/OFF, change channels and the app not only displays the channel number but also the name of the channel and name and time of the currently running show. The new app shows Samsung TV Controller version 2.B02.0213.
@Boosik Can I ask you how did you add the TV to ST? Did you use the classic ST app to add the TV or the new one? I am struggling to even get the TV in the IDE.
@andrewsayre
Device ID: caae4230-d806-4633-8faf-d241906b594a
Location ID: ecb68a3b-32d8-4058-b9b5-a9040d2b3a1a
@arsaboo I've added it in the new app because old app requires a HUB to add devices, but I don't have any.
and it automatically showed in your IDE as an OCF device?
Yes, exactly.
Your IDE URL has graph-na02 or graph-na04?
No, I'm from EU. graph-eu01-euwest1
Looking at events list in IDE, it's also not updated. It only updates when refresh button is pressed.
Here I pressed channel up in the classic app 5 times and then refresh button. You can see that channel state only updated on refresh command.
https://i.imgur.com/8YhbMgW.png
Also controlling the TV from the new SmartThings app or physical remote control doesn't show up in the event log at all. It looks like that only thing that could be done to fix this would be to periodically call the refresh command.
@boosik The ST team is looks into it
@Boosik Are you still seeing this behavior? You have to tap refresh for the TV events to update?
Does anyone else have a device ID that this is occurring with?
@dbradmit I am facing the same issue and even refreshing the TV entity in the classic ST app does not help.
@dbradmit yes, the behavior is same as before.
@Boosik Thank you, I'll pass that along to ST.
@arsaboo How did you add your TV to SmartThings? You aren't getting _any_ events. When setting up your TV did you sign in with your Samsung account? You would lose your settings and apps but you could try factory resetting your TV and signing in during the setup again.
@dbradmit I added the TV using the new ST app. My NU8000 was detected and I was able to add it. I can see the TV now in the IDE and in the classic app. Just that the events are not updating.
Before this attempt, I had signed into the Smartthings app on my TV. But with that approach, the TV was not added in either the new or classic ST app.
The TV does not seem to have been joined properly as there are no device states reported.
@dbradmit This is similar to https://github.com/home-assistant/home-assistant/issues/21430 which is a different device type. I'm aware of at least 5 users that have this issue across several types of devices.
@dbradmit Here's the ticket that was opened in the dev support portal: https://smartthings.developer.samsung.com/support/detail?id=5331
It seems to be widely reported and not every device can be incorrectly paired. For a long time, my TV was not even showing up in the classic app or the IDE. That issue was only recently solved.
Just looks like Samsung has to get its act together. I am happy to help debug this if required.
I'm not discounting that you have an issue @arsabobut but it is different from @Boosik and #21430.
From my perspective this is three different issues. @arsaboo your device is not reporting _any_ states at all. @Boosik's device reports states but _only_ if he refreshes the device from the mobile app. And for #21430, the device is reporting the data but possibly in an unexpected format.
I tried signing out of ST app on my TV and signing back again, that did not help.
I tried signing out of ST app on my TV and signing back again, that did not help.
Signing in and out won't delete and recreate the device within SmartThings. You would need to factory reset the TV and _then_ sign back in. See https://www.samsung.com/uk/support/tv-audio-video/how-do-i-perform-a-factory-reset-on-my-samsung-tv/
I can delete the app manually from ST IDE and ST apps and then create again @dbradmit
That would effectively be like resetting (at least for ST purposes).
That isn't the same. The only way to re-add the TV device is to factory reset the TV and sign back in.
@dbradmit Has something changed/been fixed where folks should try this option? Does it apply to other devices like washers and dryers?
Given that there is no way to backup settings, I don't want to just experiment with this unless you are certain that this will fix the issue
I am certain that your TV is not currently reporting any states. I can't guarantee it will fix the issue but I can guarantee that there is zero chance you will see states reported unless you factory reset the TV and re-add it.
@dbradmit small update - some of the sensors started to update correctly.
TV input source and TV ON/OFF state is now being updated but TV Channel and TV Volume still does not update.
@Boosik Do the states for TV Channel and Volume display if you tap refresh?
@dbradmit yes, only if I tap refresh
@dbradmit Here's the response from ST team:
Thank you for contacting SmartThings Developer Support.
We have been researching about your issue and shared your interest with Engineering team, unfortunately TV cannot be controlled using SmartThings API yet. We will make sure to send an email notification to you once this is ready. We apologize for the inconvenience.
I'm having the exact same issue. None of the entities update unless I go into the SmartThings Classic App and hit the refresh button. I've been trying for some time to integrate my Samsung TV into Home Assistant so that I can control changing channels and volume by voice or automations. I thought I was getting a little closer when I was able to get it to sync through the SmartThings component. But so far all I can do is turn it off and now even the entities that show its state don't automatically update. I sure hope someone comes up with a better way to control tvs soon!
@LordNex What is your TV's uuid from the URL of the device page at https://graph.api.smartthings.com? The part after "*.smartthings.com/device/show/". Thanks!
Has anyone confirmed this is still an issue recently? I know Samsung has been updating the OCF device type handlers. This may have been one of them.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
This issue persists for me.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates.
Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 馃憤
This issue now has been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
@andrewsayre and @dbradmit FWIW, all of a sudden, my TV started working in Smartthings. I see the switch and input source working in HA, but not the other sensors. I will be happy to work with you to debug this.
Most helpful comment
I'm not discounting that you have an issue @arsabobut but it is different from @Boosik and #21430.
From my perspective this is three different issues. @arsaboo your device is not reporting _any_ states at all. @Boosik's device reports states but _only_ if he refreshes the device from the mobile app. And for #21430, the device is reporting the data but possibly in an unexpected format.