I think when your updating, your not updating all the code. Like your driver is still called Beta. I changed the name when I posted this to the master for the first post. I would delete everything and reimport. So in your screenshots, your line 584 is different than the GitHub version.
Edit: I reordered the applist to alpha like you asked and I don't see it here. You for sure have an old version.
I wish there was a way to make the appname more dynamic. The Roku driver does it, but I really didn't want to make child devices for every android app that the TV has. I honestly don't have a use case myself for launching apps mainly because Sony doesn't tell me what is the active app.
What I originally wanted was to know if Plex was playing on the TV, I could turn my sound to movie, crank the sub up, dim the lights and close the blinds.
What I did like was the send url button. I'm in the process of getting my IP cameras into blueIris. I will at some point send the streaming webpage to the TV when a gate opens or garage or something. I was doing this before with the rtsp link through tinycam, but it wasn't great.
Sorry, another (probably dumb) question: how can I control the tv from RM or dashboard? I can find volume and switching on/off. But is it possible to do more?
Or if you (or anyone else) could give me an example of a json command I could use. For example, to start Netflix, I guess with PSK number included in command...???
You dont have to do any json, thats all handled in the driver. So, this is generic advice for almost any device on hubitat, but ill show you my TV reboot rule.
Main Rule
Then you have to choose a capability that Rule Machine has availible (just to find the right device). In this case, the driver has switch , so choose that.
Maybe someone can help out with the dashboard. I can pull attributes to display, but not sure how to get the custom commands on there. I have no need for this, but not sure how to help @pietsnot .He might be trying to build a dashboard remote to put on the side of the couch or something. Obviously, I could create virtual switches that toggle the commands through rule machine and then display those, but any direct way?
Edit: NVM, not possible. I figured this was resolved already..
I'm not sure, as I don't use Alexa, but I use the hubitat native switch and audiovolume capabilities so those commands should work with other apps or integrations.
First of all thanks so much for this. It completely made obsolete a Tasmota IR Bridge device. I could not get it to work with the Sony IR anyway..
I have this working, and added the TV to the Alexa app. It shows up as a switch with just an on/off button. It works, but that is all the control I get from Alexa, at least with my first setup of it.
Sounds like a network burp or something. I haven't seen anything like this.
Edit: yep. Hubitat sent the request and didn't receive a response from the TV. Sounds like it's almost always a network issue.
Glad it works. I just picture people telling at Alexa integrated TV's. The only place I have anything voice controlled is my back patio so I can turn on lights and music and stuff. I'm sure my neighbors love hearing the stuff my 5 year old yells at it and everytime I say turn on lights, he shouts Google, turn off lights!
I wonder how this could appear on Amazon Echo as a device with volume controls? I have a Harmony Hub that I'm barely using, if I could get this to work, I could eliminate that also.
The only thing I'm looking for is 'Alexa mute the tv' and unmute.
Well volume and mute are part of the built in capabilities, but from my 30 seconds of reading, it sounds the the hubitat Alexa integration is more of on/off. You could make a virtual switch and rule machine that on=mute and off=unmute. Then add that switch named TV Mute into Alexa.
Darn it it looks like my Bravia is too old to support the Alexa part, but this is working. The support doc from Sony I found says it supports the 65X850D, but I have the 75X850D.
Edit: There is an article on Reddit on how to side load this on older TVs. I'll try this when my wife isn't watching tv.
As you can see, I added an app to line 584 and then updated line 35 and that works fine, when I then try to add another app to 585, I always get a hub is not responding error. the hub is fine, if I remove 585, the driver will save just fine
Edit: Got this figured out. The URI doesn't go on line 584, it goes on the corresponding line from 33-45, IOW if you are changing SlingTV from line 41, then replace the command on line 582.