Nope it hasnāt. Just have been distracted by something else (however, itās eventually for the good because I solved some issues that will help on this project). As for your issue - seems fairly obvious and Iāll try to give you a fix for it later this weekend.
Great to hear from you Tim My condition is not urgent, i guess It only happens when i make the TV on from the remote. So i can wait until the scalar web is ready, no problem for me. Thanks again for this great binding. Any news to put this binding in standard openhab2 bindings?
When I was trying to set this up on my Sony BDP-BX320 BluRay player I had trouble at the point where I had to enter the 4 digit code for the ircc thing. On my TV screen, it said I had 60 seconds to enter the code, but after 5 seconds it said something like ārequest cancelledā. I eventually noticed in the paper UI (show more section) a setting called āretry intervalā and it was set to 5 seconds. I increased this to 10 seconds and it gave me 10 seconds before it said request cancelled. I was able to successfully enter the code and get paired. I think that this Retry Interval should be set to 60 seconds during initial setup, then changed back to 5 seconds, once the device is paired to openhab.
Also, I based my sitemap off your Readme file. It didnāt have examples for controlling the a BluRay. I added a few lines to get this to show up on Basic UI. It still needs a little work, but should help get new users started.
sitemap demo label="Sony Test Menu"
{
Frame label="IRCC" {
Text item=IRCC_Version
Switch item=IRCC_Power
Switch item=IRCC_Command mappings=[Play ="Play", Pause = "||", Stop = "Stop"]
Switch item=IRCC_Command mappings=[Reverse = "<-", Prev = "<<", Forward = ">", Next = "->" ]
Switch item=IRCC_Command mappings=[Up = "^" ]
Switch item=IRCC_Command mappings=[Left = "<", Select = "Sel", Right = ">" ]
Switch item=IRCC_Command mappings=[TopMenu = "Menu", Down = " v ", Return = "Return" ]
Switch item=IRCC_Command mappings=[Eject = "Eject" ]
Text item=IRCC_InBrowser
Text item=IRCC_ContentURL
Text item=IRCC_InText
Text item=IRCC_Text
Text item=IRCC_IsViewing
Text item=IRCC_ViewingId
Text item=IRCC_ViewingSource
Text item=IRCC_ViewingClass
Text item=IRCC_ViewingTitle
Text item=IRCC_ViewingDuration
Text item=IRCC_ContentId
Text item=IRCC_ContentTitle
Text item=IRCC_ContentClass
Text item=IRCC_ContentSource
Text item=IRCC_ContentMediaType
Text item=IRCC_ContentMediaFormat
Text item=IRCC_ContentEdition
Text item=IRCC_ContentDescription
Text item=IRCC_ContentGenre
Text item=IRCC_ContentDuration
Text item=IRCC_ContentRating
Text item=IRCC_ContentDateRelease
Text item=IRCC_ContentDirector
Text item=IRCC_ContentProducer
Text item=IRCC_ContentScreenWriter
ImageItem item=IRCC_ContentImage
}
}
Mark - probably is. Tell you what - Iām going to make a push to finish off the webscalar api this week or next week. Iāll then need some people to test it and if it goes well (enough) - Iāll post it to IOT as wellā¦
First: Iād be happy to test it out, too. I have a Sony KDL-47W805, that shows up as Sony Scalar Web, but then it says Device doesn't implement the system web service.
Right now, I have no option at all to control it with your binding (http works though)
Second: I have a Sony receiver (bluray playerā¦) that is controllable via ircc. Is there any way of directly controlling the input? The tvsideview app does allow it btw. I tried to connect to it via simpleip but that does not work. These ports are open on the device: Open TCP Port: 22222 Open TCP Port: 50001 Open TCP Port: 50002 Open TCP Port: 50201 Open TCP Port: 50202 Open TCP Port: 52323 Open TCP Port: 54400 Open TCP Port: 60151 Open TCP Port: 64321
SimpleIP is ONLY valid for Sony TVs (and only a limited set of them). The binding version you tried does NOT implement the scalar web service yet (although Iāll release a version next week that will).
Iām not sure what you mean by ācontrolling the inputā
Sure I am aware of the fact that it currently does not support the scalar web service. Thus I said Iād be happy to test it. I just wanted to point out that the TV seems to support it (or is this a wrong conclusion?)
What I was not aware of is that the receiver might not support SimpleIP.
By ācontrolling the inputā i meant that Iād like to be able to have one command to change it to HDMI1 for instance.
So you are saying you have one of the (few) bluray players that have HDMI inputs on them? In the IRCC configuration - did you specify an IRCC map file? If so - look in the map file to see if you see any input (or hdmi) commandsā¦
Thats why I originally said its a receiverā¦ it is the Sony BDV-N9100WB, which happens to have a built in bluray player.
Iāve looked into the map that the binding produces, but it only offers me to cycle through the inputs. But somewhere somehow it has to have a method to directly jump to Input x, since the App offers this functionality.
Next step really depends on how technical you are
First - could you post your map file?
Second - can you wireshark tvsideview app to see what itās sending? Might be undocumented (if you donāt know what wireshark is - never mind!)
Third - turn debug on for the org.openhab.binding.sony - Iād be interested in seeing the result of the descriptor request (will be a bunch of XML that describes the IRCC service - sometimes they include additional IRCC actions that the player doesnāt show). BTW - the newest binding (that I havenāt release) includes those in the ircc map fileā¦
wireshark doesnāt really anything from or to the ip, even if I turn on monitoring mode. I thought about making a proxy on my mac to see if I lose anything.
To wireshark it - your pc needs to be on the same switch between the phone app and whatever openhab is running on. At any rate, add the following lines to the map and try sending āHdmi1ā (or 2) to the ircc channel:
Iāll try to wireshark it again tomorrow morning, but my PC, my Intel NUC (openhab), my receiver and my phone have been in the same network all connected to the same router (it might be that one was connected to the 2.4 and the other to the 5.0 GHz networkā¦ will check tomorrow)
Okay, I am on vacation for the weekend, but I will try to redo it as with the up capture filter as soon as I am home again on Monday.
If that does not work, I might just send you the whole output of wire shark without any filters, but then in a personal message.