I have an integration with Sony TV
I use it to automate my tv lift
TV on lift goes up
TV off lift goes down
So far all good. Problem is even though the TV is on at a random times it will give the signal of being off then on again within seconds. TV does not actually go off but HA receives single as if it is.
I set my TV down with a delay to wait 30 seconds before it goes down.
My problem is every time it goes back on it sends a signal to my wifi switch to turn on or go up. Nothing really happens since tv lift is already up and TV down is offset with timer but worried long term the relay switch wonât like getting repetitive useless signals.
Thought of using source so if hdmi1 is used to send the signals but same thing as everytime the tv sends an off signal hdmi is also perceived as off.
thought of using a state to state so if already on it wonât send signal but that wonât work since it thinks it is off when off signal is sent.
Any solutions? anyone with Sony tv having same issues?
Other solution is to use a current sensing on the tv but never used before, are they quick in sending signal so as when tv is on tv lift actuator goes up right awayâŚ
Have you tried using the âEventsâ to listen for anything particular in the messages that itâs turned off?
Also, how does your TV turn on?
You could try alerting your automation to listen for the on command twice in succession?
I had a similar issue with my Philips Hue Dimmer switch. I used the âEventsâ and pressed each button, I then knew exactly what command was being sent.
Your âAvailable Eventsâ are your âlistenersâ - These basically listen to any command that is processed by the listener.
For example, Subscribe to âstate_changedâ - This will show you the data each time an entity state is updated
(alternatively, you can Subscribe to â*â to see everything)
This helps to identify what states are being sent.
The other option Iâm now thinking of, is connecting your Home Assistant to Google Home and opening the âTV UP/DOWNâ switch to Google.
This way, you could create an automation within Google Home to turn on the TV & turn on the âliftâ switch.
Ok finally all works well
I noticed my gym tv was also continuously showing up on my HA logs, much more than the Sony TV.
I had both TVâs setup with ADB but gym TV had no allow ADB in developer options(Option not available in TCL tvâs). So decided to remove ADB from HA removed from configuration file but tvâs were still giving me on off triggers in HA. So reset Gym Tv and all was gone.
Sony Tv had same problem as before so I reset completely Sony Tv also and Bam no more on off triggers when Tv was on.
I get a on Tv when Tv is turned On and Off when I actually turn it off zero on offâs in between
So for some reason when TVâs developer options were activated even though ADB was removed with HA and removed from configuration file, something was still sending a signal to HA as false triggering On Off.
So just wanted to post this in case someone else goes through same thing.