So Ive rebuilt the DTH UI, but still cant get the on/off status to refresh. Also unable to get the power on function to work no matter what I set. Here is my updated DTH view (Up/Down in top tile controls volume)…
Check you’ve converted the IP to HEX right as I had this issue and realised it was slightly wrong and soon as I changed it all was good.
Are you willing to share your amendments to the UI code? Think there’s a few of us in here who like it
Everything else works except the on function. I assume that if the ip/hex was incorrect then no functions would work. Once I can get this working I will clean up my code an share.
That’s what I thought as mine was working within routines, turning it off&on etc so I thought it was right but I never got the status.
But last week I thought I’ll just check and yeah it was wrong but it was still making a basic connection but now i get the status also.
Changed the PSK to 1111. Still nothing.
IP hasnt changed and to make sure I reserved it.
The last thing I can think is a problem with the TV MAC address, can you double check it?
You could also try in another way, send a WOL command with another app (I use Fing for Android) or program and then turn on with your remote.
@Sanfe75 I got the power status and action working, it was an issue with the Hex conversion of the IP address as outlined in original post.
Is there a way to add the MAC address of the TV to the Device Handler?
is the device wired or wireless?
I have been asked to provide my DTH due to the UI I had shared. So here it is ( I added the functionality for Google Play but im getting a service error on tv for this DTH as well as sometimes with my remote control):
The device is wireless
Could my issue be a port problem? My TV doesnt seem to be communicating either way.
Will test at home later, thanks a lot.
Does your DHT allows channel number input?
Since my tv is just a pass through from my receiver I took the channel numbers out. No need in my use case. I was thinking about creating a couple views and then allowing you to comment/I comment based on your use.
Please excuse any typos.
Same here. The DTH works, but the state does not update if you power on/off outside the ST environment.
I had to do same as others by using Pollster app to poll and update status.
I also use Pollster. Way easier to setup than webcore.
My TV is Sony Android 2015 x850c. All controls seem to work, but I still have some issues with state.
I have setup two routines:
TV turns on - Enables “Watching TV” mode and turns on a lighting scene. Should be triggered when TV is on, but not when “Watching TV” mode is enabled.
TV turns off - Enables “Home” mode. Should be triggered when TV is on, but not when “Home” or “Away” mode are enabled.
This is the behavior I get at every polling when TV is on:
Routine TV turns off is triggered and enables “Home” mode.
Routine TV turns on is triggered and enables “Watching TV” mode and turns on the lighting scene
It is like Smartthings thinks for a second that the TV is off.
Any ideas how I could fix this? I use Steve’s device handler without edits.
@steve.bratt, got your DTH to work on a Sony KDL-55W800B. Awesome work, thanks!
I see two problems—(1) the same on/off problem many others seem to be having; and (2) channel up.down. When I change channels, the TV changes antenna channels, rather than changing cable channels. Odd because when I use my native Sony remote control to change channels, the TV has always been able to keep the cable channels in sync.
Any thoughts are welcome!
That would be awesome!
If you decide to do so, I’d advise you keep in mind that whichever visor/view is selected for the device in ST, other apps like WebCoRE (you really should look into it you you didn’t yet) will benefit from having the custom command defined and .
In other words (sorry, English is my second language), I think the commands to send numbers to TV should be defined and placed in metadata regardless of the device layout selected.