Sony Devices Binding

Ok. Stupid me For some reason on the tv the device renderer settings turned to off. but after turning that back on, Im getting dial. scaler and IRCC. But im not getting simple IP like i was using before

Any one know how to get simple IP back again
I have it enabled in the settings for sure I have also tried a factory reset on the TV.
Can i add it manually. I have the IP and Mac, but cant figure out what to type in the commands map file section.

Edit. After manually adding the simple IP entry using the IP and Mac.

settings it to use a random commands map file in the transform folder, Simple IP is working again.
There is an issue where it isnā€™t automatically discovered. I couldnā€™t get IRCC or Scaler to work reliably, my tv is about 4 years old.

Hi! I just received my power meter plug and my tv needs 7W in ā€žstandbyā€œ. It doesnt make any difference if i connect ethernet or not. Did not measure while using scalar yet.

@markus7017 your backport works for me but i get some exceptions (not java ones!) in the logsā€¦

2019-08-12 01:11:25.620 [DEBUG] [org.openhab.binding.sony.internal.net.HttpRequest ] - 70 * Sending client request on thread ESH-thingHandler-5
70 > POST http://192.168.0.53/sony/videoScreen
70 > Accept: application/json
70 > Connection: close
70 > Content-Type: application/json
70 > User-Agent: OpenHab/Sony/Binding
70 > X-CERS-DEVICE-ID: MediaRemote:00-11-22-33-44-55
70 > X-CERS-DEVICE-INFO: OpenHab/Sony/Binding
{"id":70,"method":"getSceneSetting","version":"1.0","params":[]}

and then later, this is what iā€™m talking about:

2019-08-12 01:11:25.834 [DEBUG] [ing.sony.internal.scalarweb.models.ScalarWebResult] - >>> result: 70, [], [7,"Illegal State"]
2019-08-12 01:11:25.835 [DEBUG] [rnal.scalarweb.protocols.AbstractScalarWebProtocol] - Method state is incorrect on service videoScreen - getSceneSetting(): 7, Illegal State
2019-08-12 01:11:25.835 [DEBUG] [ternal.scalarweb.protocols.ScalarWebSystemProtocol] - Exception getting the scene screen: 7, Illegal State

maybe @tmrobert8 knows smth more about thisā€¦ btw, thereā€™s one thing that i canā€™t get to workā€¦ {OPENHAB_IP}:{PORT}/sony ā€¦ i simply get this:

if anything helps, iā€™m running OH in dockerā€¦
image

Iā€™ll need logs to be able to help you out on those issues. They should work on a 4 year old TV would be my guess (unless itā€™s to low end of a model - in which case those arenā€™t implemented)

That is actually correct and I should probably go back and address those (make them sound less scary). Basically I will poll the TV for a bunch of items - I donā€™t know what items are valid or not at the time of a poll. In your case, Iā€™m polling for the ā€œscene settingsā€ (think picture mode here) but the scene settings are only valid when the TV is in a certain state (depends on the TV). In your case, you were watching some input or mode (like an app) where the scene setting doesnā€™t apply - so the TV tells me itā€™s in an ā€œIllegal Stateā€ to retrieve scene settings.

Perfectly valid and I probably should modify my message to not say ā€œExceptionā€¦ā€ (eventually probably drop this one back to a trace level as well).

As for the webpages - Iā€™ll defer to @markus7017 on that one although you may try ā€œsony/index.htmlā€ to see if that works.

an re-defer :slight_smile:
Iā€™m not sure if the jar is package correctly to allow running the embedded web app. I was focusing to get the TV control running. @tmrobert8 Iā€™ll send you a PM on that

@markus7017 I was actually wondering about that myself as the location of the web stuff absolutely changed between 2.4 and 2.5

nope :slight_smile: tried that alreadyā€¦ actually, tried all possible variationsā€¦ INDEX.HTM(L) and index.htm(l) ā€¦ non of the 4 variation works :slight_smile:

I noticed that in the logs, thereā€™s a line that says that the /sony endpoint is startedā€¦ but this could easily be the reason why itā€™s not found :wink:

@suntribe
Weā€™ve identified the issue and am working with @markus7017 on itā€¦

1 Like

Hi

itā€™s a pretty small ā€œbugā€ or maybe even i am doing something wrong but when i try to alter the volume via simple ip it is set to ā€œ10ā€ every time.
i created a dimmer item but also if i send it directly via rest it just stays at ā€œ10ā€.
can you also see this behaviour?
thanks

And my DIAL stopped working and is now stuck at ā€œinitializingā€ ā€¦

2019-08-13 21:42:08.305 [INFO ] [nding.sony.internal.dial.DialHandler] - Attempting connection to DIAL device...
2019-08-13 21:42:08.306 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.LinkageError: ClassCastException: attempting to castbundleresource://34.fwk1449605932/javax/ws/rs/client/ClientBuilder.class to bundleresource://34.fwk1449605932/javax/ws/rs/client/ClientBuilder.class
	at javax.ws.rs.client.ClientBuilder.newBuilder(ClientBuilder.java:97) ~[?:?]
	at javax.ws.rs.client.ClientBuilder.newClient(ClientBuilder.java:114) ~[?:?]
	at org.openhab.binding.sony.internal.net.HttpRequest.<init>(HttpRequest.java:59) ~[?:?]
	at org.openhab.binding.sony.internal.transports.SonyHttpTransport.<init>(SonyHttpTransport.java:57) ~[?:?]
	at org.openhab.binding.sony.internal.transports.SonyTransportFactory.createHttpTransport(SonyTransportFactory.java:128) ~[?:?]
	at org.openhab.binding.sony.internal.dial.DialProtocol.<init>(DialProtocol.java:102) ~[?:?]
	at org.openhab.binding.sony.internal.dial.DialHandler.connect(DialHandler.java:162) ~[?:?]
	at org.openhab.binding.sony.internal.AbstractThingHandler.lambda$0(AbstractThingHandler.java:87) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]

@tmrobert8 Thanks for all the great work so far :slight_smile:

My KDL-43W800D seems to drop the access for the scalar web service every time it turns off, so it goes from:
[hingStatusInfoChangedEvent] - 'sony:scalar:b60117cf80ee' changed from ONLINE to OFFLINE (COMMUNICATION_ERROR): Could not connect to 192.168.1.100:46466

to:
[hingStatusInfoChangedEvent] - 'sony:scalar:b60117cf80ee' changed from OFFLINE (COMMUNICATION_ERROR): Could not connect to 192.168.1.100:46466 to OFFLINE (COMMUNICATION_ERROR): Error connecting to Scalar Web device (may need to turn it on manually)

And then it gets stuck at:
[.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...

Iā€™m running off a Raspberry Pi Zero W, on OH 2.5M2 with all requirements mentioned in the first post installed. Here is the last bit of my logs:

15-Aug-2019 01:38:11.100 [INFO ] [b.binding.sony.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
15-Aug-2019 01:38:12.120 [DEBUG] [org.openhab.binding.sony.internal.net.HttpRequest ] - 1 * Sending client request on thread OH-thingHandler-2
1 > GET http://192.168.1.100:46466/sony/webapi/ssdp/dd.xml
1 > Connection: close
1 > User-Agent: OpenHab/Sony/Binding
1 > X-CERS-DEVICE-ID: MediaRemote:00-11-22-33-44-55
1 > X-CERS-DEVICE-INFO: OpenHab/Sony/Binding

15-Aug-2019 01:38:12.556 [DEBUG] [ing.sony.internal.scalarweb.ScalarWebDeviceManager] - Could not retrieve methods: java.net.ConnectException: Connection refused (Connection refused)
java.io.IOException: java.net.ConnectException: Connection refused (Connection refused)
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:215) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.models.ScalarWebResult.asArray(ScalarWebResult.java:212) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.models.api.SupportedApi.getSupportApiAlternate(SupportedApi.java:209) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebDeviceManager.<init>(ScalarWebDeviceManager.java:118) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebDeviceManager.<init>(ScalarWebDeviceManager.java:81) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebClient.<init>(ScalarWebClient.java:103) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.connect(ScalarWebHandler.java:200) ~[?:?]
	at org.openhab.binding.sony.internal.AbstractThingHandler.lambda$2(AbstractThingHandler.java:160) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
15-Aug-2019 01:38:12.689 [DEBUG] [ing.sony.internal.scalarweb.ScalarWebDeviceManager] - Exception getting notifications: java.net.ConnectException: Connection refused (Connection refused)
15-Aug-2019 01:38:12.733 [DEBUG] [ing.sony.internal.scalarweb.ScalarWebDeviceManager] - Could not retrieve methods: java.net.ConnectException: Connection refused (Connection refused)
java.io.IOException: java.net.ConnectException: Connection refused (Connection refused)
	at org.openhab.binding.sony.internal.net.HttpResponse.createException(HttpResponse.java:215) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.models.ScalarWebResult.asArray(ScalarWebResult.java:212) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.models.api.SupportedApi.getSupportApiAlternate(SupportedApi.java:209) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebDeviceManager.<init>(ScalarWebDeviceManager.java:126) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebDeviceManager.<init>(ScalarWebDeviceManager.java:81) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebClient.<init>(ScalarWebClient.java:103) ~[?:?]
	at org.openhab.binding.sony.internal.scalarweb.ScalarWebHandler.connect(ScalarWebHandler.java:200) ~[?:?]
	at org.openhab.binding.sony.internal.AbstractThingHandler.lambda$2(AbstractThingHandler.java:160) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:?]
	at java.lang.Thread.run(Thread.java:748) [?:?]
15-Aug-2019 01:38:12.940 [DEBUG] [ing.sony.internal.scalarweb.ScalarWebDeviceManager] - Exception getting notifications: java.net.ConnectException: Connection refused (Connection refused)
15-Aug-2019 01:38:13.011 [DEBUG] [ng.sony.internal.scalarweb.models.ScalarWebService] - Method getServiceProtocols doesn't exist in the service guide
15-Aug-2019 01:38:13.031 [DEBUG] [ing.sony.internal.scalarweb.models.ScalarWebResult] - >>> result: -1, [], [12,"getServiceProtocols is not implemented"]
15-Aug-2019 01:38:13.051 [DEBUG] [binding.sony.internal.transports.SonyHttpTransport] - Closing http client
15-Aug-2019 01:38:13.077 [DEBUG] [binding.sony.internal.transports.SonyHttpTransport] - Closing http client

So far Iā€™ve tried reinstalling the bundle, restarting (power-cycling) my tv, clearing out registrations and setting the access code back to RQST to force a new code. Unsure if Iā€™ve missed any post on this thread that resolves the issue or itā€™s something silly Iā€™ve missed, but open to suggestions, thanks.

Because the scalar thing has everything i need for the moment, i did not add the dial thing.
I keep getting log entryā€™s about the dial thing being added to the inbox. I was told the binding would become less noisy to the log when it gets merged, so i dont mind all the logging at the moment.
But i think the item should only be added to the inbox once. Or not at all (the TV was powered off when i started the binding and havenā€™t turned it on yet)

2019-08-14 22:32:26.443 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:32:37.760 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:32:47.788 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:32:57.811 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:33:03.756 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:33:15.167 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:33:25.196 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:33:35.224 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:33:41.474 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:33:52.512 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:34:02.539 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:34:12.563 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:34:19.133 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:34:29.888 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:34:39.914 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:34:49.943 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:34:56.281 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:35:07.264 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:35:17.291 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:35:27.318 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:35:33.862 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:35:44.640 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:35:54.663 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:36:04.691 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:36:11.469 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:36:22.015 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:36:32.043 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:36:42.071 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:36:49.062 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:36:59.389 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:37:09.416 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:37:19.443 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:37:26.590 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:37:36.768 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:37:46.796 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:37:56.823 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:38:04.027 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:38:14.143 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:38:24.172 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:38:34.199 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:38:40.242 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:38:51.520 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:39:01.545 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:39:11.573 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:39:21.600 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:39:31.628 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:39:41.656 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:39:51.683 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:40:01.713 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:40:11.741 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:40:21.768 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:40:31.796 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:40:41.823 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:40:51.852 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:41:01.880 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:41:11.908 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:41:21.936 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:41:31.964 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:41:41.991 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:41:52.021 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:42:02.045 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:42:12.072 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:42:22.100 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:42:32.127 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:42:42.155 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:42:52.182 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:43:02.210 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:43:12.238 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:43:22.262 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:43:32.291 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:43:34.862 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:43:45.375 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:43:55.403 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:44:05.431 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:44:11.558 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.
2019-08-14 22:44:22.528 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:44:32.555 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:44:42.583 [INFO ] [.internal.scalarweb.ScalarWebHandler] - Attempting connection to Scalar Web device...
2019-08-14 22:44:48.998 [INFO ] [g.discovery.internal.PersistentInbox] - Added new thing 'sony:dial:136e4d715847' to inbox.

I do not - just tried and it works fine. Log file next time to see whatā€™s going onā€¦

That one I have no clue - sounds like something corrupt on your system. Maybe clean out tmp/cache and restart to see if it works.

Youā€™re TV is powering down the network

socket when you turn it off (and thus we canā€™t communicate to it). Youā€™ll need to go into the options and allow ā€œRemote Startā€ (or something to that effect) for it to not do that.

Thatā€™s part of the openHAB system - I just simply say ā€˜hereā€™s a thing I know ofā€™ and itā€™s up to openHAB to determine how to add it to the inbox. What I find surprising is you see multiple ā€˜Added new thingā€™ messages - but you only see a single one in the inbox right?

I need a volunteer or two to try out the next version (must have 2.5). Your responsibilities would be to simply install the new binding, email me when your devices go online and then restart your openHAB occasionally when I ask. PM if you are interestedā€¦

EDIT: must use scalar btw
EDIT2: no takers yet

update for the 2.4 version is online: added sony app
https://github.com/markus7017/org.openhab.binding.sony.24/blob/master/target/org.openhab.binding.sony-2.4.0-SNAPSHOT.jar

This build is based on @tmrobert8 version 2019-08-07, so not the version he mentioned above

i do use only a few scalar things but i am happy to help :slight_smile:

I am not using scalar anymore, but if you need testers for other features i am happy to help.

My reasons that i abandoned scalar are:

  1. it is now to complicated to use (no simple switches anymore) so that i would need to write rules
  2. no status updates from the binding, that i switched a channel or app with the tv remote (SimpleIP at least reports tv channel changes)
  3. not really a reason why i abandoned it, but i find it annoying that i can not define the scalar thing in a .things file because the port changes regularly. It would be nice to omit the port in the thing definition and let the binding find the port in the background. Same goes for the DIAL thing unfortunatelyā€¦

EDIT: I could imagine that @aaronkhare problem could be based on my point 3. because i get the same error log when the tv changed ports

Thanks for the reminder!

Yes, @tmrobert8, I forgot to call out that the port changes every time (I believe when the TV turns off) and I already do have Remote Start on and Eco Mode off. Maybe his port removal recommendation would help alleviate this issue?

I understand what you mean about point 1, @andirs. That actually tripped me up when I moved from the old version and had to reconfigure my items and rules to be Strings and use START / STOP, respectively. Luckily I already had the rules in place, since I was keeping track of which app was active and turning off the others, as well.

This will probably come in your updated docs after merging, @tmrobert8, but it would be a good point about Scalar apps to add in your OP. I thankfully came across post 888 where you mentioned it :slight_smile: