Git Product home page Git Product logo

Comments (16)

ollo69 avatar ollo69 commented on June 23, 2024 2

So at least components detect well TV network availability :)
This is complex situation, I do not have other way to detect TV status.
What I can do is increase the time required to determine the TV is On, but this will cause a longer On detect time in case that the TV is really turned on.
I will think about this...

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on June 23, 2024 1

Could you try to ping your IP TV from the RaspBerry for 5 minutes in one windows where the TV is reported as On and let me know how long the TV answer to the ping?

from ha-samsungtv-smart.

eugenet8k avatar eugenet8k commented on June 23, 2024 1

@ollo69 yes, it might solve it in my case. But 30+ sec delay was not an option for me. I configured my speakers to turn on after TV was on, and having such a long delay was killing a good user experience.

from ha-samsungtv-smart.

tadeusz-niemiec avatar tadeusz-niemiec commented on June 23, 2024 1

@tadeusz-niemiec and whoever faced this problem. I got Samsung Frame TV 2020, and was facing the same behavior with both the generic HASS "Samsung Smart TV" component and this one ("SamsungTV Smart"). My TV would go online every 20 mins or so. That triggered the automation I had around state change from off to on and obviously it was a mess.

I figured that this TV intent to connect the network seems like some software update checks. And indeed, after I turned off in the TV settings "Automatic Check for Updates" the problem was remediated. I guess it is a reasonable trade to keep state change reporting sane.

Thanks for sharing this! This was so simple and I haven't thought about it... I also decided to sacrifice automatic updates for fast TV state detection :)

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on June 23, 2024

Do you use SmartThings API with your configuration?
TV during the night enable Internet connection, probably to check firmware update, this cause the integration to report the TV as on. May be enabling SmartThings (and also removing the line "update_method" in configuration) can make the check a little bit more reliable, but not sure about this.
My TV appear as "ON" once for night for about 30 sec., not more than this. How often happen to you?

from ha-samsungtv-smart.

tadeusz-niemiec avatar tadeusz-niemiec commented on June 23, 2024

@ollo69 it happens a lot -
image

Yes, i have smarthings API enabled.

I'll remove the update_method line and check how this works out. Will keep you informed.

from ha-samsungtv-smart.

tadeusz-niemiec avatar tadeusz-niemiec commented on June 23, 2024

@ollo69 unfortunately this hasn't changed anything -
image

These two already occured after removing the update_method line and restarting the HA :(

from ha-samsungtv-smart.

tadeusz-niemiec avatar tadeusz-niemiec commented on June 23, 2024

@ollo69 it responds for 32 seconds. It's actually the same window as it shows in the Home Assistant logs

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on June 23, 2024

I released a new version with a possible fix for this issue. Eventualy you can try increase the configuration option "Seconds to delay power ON status" if default value (30 sec) is too low.
Please let me know if this solve.

from ha-samsungtv-smart.

tadeusz-niemiec avatar tadeusz-niemiec commented on June 23, 2024

@ollo69 Great, it works as expected! Thank you for your effort :)

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on June 23, 2024

Fine, I close this issue. Reopen if you still have problem.

from ha-samsungtv-smart.

eugenet8k avatar eugenet8k commented on June 23, 2024

@tadeusz-niemiec and whoever faced this problem. I got Samsung Frame TV 2020, and was facing the same behavior with both the generic HASS "Samsung Smart TV" component and this one ("SamsungTV Smart"). My TV would go online every 20 mins or so. That triggered the automation I had around state change from off to on and obviously it was a mess.

I figured that this TV intent to connect the network seems like some software update checks. And indeed, after I turned off in the TV settings "Automatic Check for Updates" the problem was remediated. I guess it is a reasonable trade to keep state change reporting sane.

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on June 23, 2024

This thread is closed, so please open a new one.
Anyway did you try to increase the configuration option "Seconds to delay power ON status"? This option was created to work-around this issue.

from ha-samsungtv-smart.

eugenet8k avatar eugenet8k commented on June 23, 2024

@ollo69 you might misunderstand my comment. I found out that if I turn off Samsung TV automatic check for updates, the issue disappears, the TV does not go online every 25 minutes. So this is just an alternative solution to this thread problem.

from ha-samsungtv-smart.

ollo69 avatar ollo69 commented on June 23, 2024

Clear, I understood. Just wondering if the component option also solve the problem in case you don't want to disable the automatic check for update option.

from ha-samsungtv-smart.

wilcomir avatar wilcomir commented on June 23, 2024

Hello, @ollo69 I understand this is a very old issue but the trick to disable automatic updates is still relevant today - at least it was for me.

Are you open to a PR for the readme file? I can add a bit of insight on this topic where people get a chance to read it. To be fair, this is such a promiment issue with an otherwise perfect integration that I would mention the workaround in the setup flow - but that might be too far fetched.

Keep in mind I am using smart things and "Use SmartThings TV status information" option is enabled. I believe the integration prefers the ping to smart things information as it is faster, but this leads to a lot of false positives.

Let me know your thoughts, and thanks for the great work.

from ha-samsungtv-smart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.