dcnielsen90 / python-bravia-tv

MIT License
13 stars 6 forks source link

Power management issue #22

Open tomrusteze opened 2 years ago

tomrusteze commented 2 years ago

Dear Reader,

I hope this is the right place, I have a Sony Bravia Smart TV (KD-55X8005C) and I use Home Assistant to sometimes control it. This seems to give 2 issues:

  1. I noticed that my TV constantly uses 20 watts if I enable the integration.
  2. It also seems to happen that HomeAssisant turns on the feature to turn on the TV while it is in standby, which I would like to be off.

I am not sure whether this is a problem that only happens to me, and if it could be because of this library or HomeAssisant, but I wanted to put it out there.

Drafteed commented 2 years ago

Please read this discussion with a possible solution.

aventrax commented 1 year ago

I arranged a couple of scripts and a flask application to add/remove an iptables rule to block traffic to the tv.

When the tv wattage goes over 50W the tv has been turned on manually, so I remove the iptables rule. When the status goes to "off" for 5 minutes, add the rule again.