Thanks, seems its very dependent on TV model and implemented energy savings.
Perhaps it could be an option to add WoL directly to the turn on action (flow or device button), so the app wakes up the TV if normal turning on is not possible.
I can’t test as my TV won’t go to deep sleep. Seems there is something else polling (HA?)
I’ll check and implement this and @HugoLXO can test again
In networked standby, while in deep sleep, the TV is now turned on! Takes about 5 seconds.
Remember I said I had no use case for this app yet? Well I have a use case now, I can have Alexa turn on the TV without increasing the power consumption
Nice
The app is sending a WoL request and checks the availability of the TV up to 20 seconds (a check each 2 sec). So the TV needs ~3 or 4 secs to start the webservice.
Thanks for testing.
For all users updating to version 2.x…
The previously existing flow triggers for volume up/down, channel up/down never worked. They have been available to add to your flows but as the API doen’t provide such data, they got never triggerred.
That’s why they are removed now.
If you already added them so flows, please remove them. Thanks.
Volume mute trigger is added with a new ID to keep SDK naming for triggers.
Please update your flows if you alreday used it (surely not because it never worked :-))
Added audio output (mode list, flow actions, condition) to change output to “speaker” or “audio system”
Added screen-off button to turn display on or off to use the TV as radio.
Changed availability mode: TV keep available in Homey even if it’s in deep sleep mode and not available via http. Turning on the device in Homey will wake the TV up with WoL first and then turns it on. You can still use the flow condition to check if the TV is available.
Just tested the screen-off button and audio outputs. Everything works great except the when I press the HDMI output or Speaker and HDMI output, then I get the error: Error message from TV: 3, Illegal argument. Maybe it’s working as intended and it’s due to my configuration. Audio system is connected to TV through eArc. I usually never touch these options, everything just works
If i search for devices, i get: network request failed. Does not matter if the tv’s are on or off. There was one time the app told me there were no devices found, and i can manually add them. But I clicked it away. Now i regret that. Is there a way to manually add the tv’s? Maybe my network is blocking the search action, but i can not find the setting.
It seems the Lan access is not possible. The app uses SSDP to discover the devices. If nothing is found, the vie for manual pairing is shown.
Perhaps the pairing is knterruptes if the SSDP trows an error.
I will try to switch to manual pair view in this case (next week). Im the meantime you could try to allow broadcasts or discovery in your router settings.
Tanks for the info, i have the app reinstalled and now i can got the manually install option again. But after i put in the preshared key the app searched and failed again with the same error. I would look into it, maybe i made a mistake.
I will also look why my network is blocking SSDP. I would be no surprised if my Deco’s are guilty of that…I’ll keep you updated
If you proceed the manual pairing, the app tries to access the device API. That’s a standard http request.
What TV do you have?
Does it support the Sony REST API?
Preshared key is activated in TV settings?
I tried to proceed the manual pairing, but after i put in the key, the app searched and failed again with the same error. I dit not manage to get the manual pairing option again. Even after deleting the app and reinstall it. That’s what helped yesterday.
I have the SONY 4K KD-43XH8505 (2020) and the SONY 4K OLED KD-55A85 (2020)
I was testing with manual pairing with the 43 inch one. In the settings i can make a pre-shared key. I have no doubt that the 55 inch one has this option too, since that is the ‘better’ TV. But i will look in to it today.
I will also put the TV’s on network cable, i still suspect my deco’s are guilty of the network fails.
I also have the same problem as @RezaRose. I always get “Network request failed” text. I have an XR-65A83k and a KD-55A8. Neither of them are foundable.
I get the error before the PSK view. I click the green connect button and it starts to search and after that i get the “Network request failed” error message.
Yes, I made PSK access available on my TV.