no, doesn’t work, same error code
that’s the output from the IRCC thing:
2019-06-12 17:31:32.340 [DEBUG] [g.sony.internal.AbstractThingHandler] - Checking connectivity to 192.168.6.22:2706 - successful
==> /usr/share/openhab2/log/events.log <==
2019-06-12 17:31:38.236 [ome.event.ItemCommandEvent] - Item 'TVWohnzimmer_IRCC' received command Home
2019-06-12 17:31:38.244 [nt.ItemStatePredictedEvent] - TVWohnzimmer_IRCC predicted to become Home
==> /usr/share/openhab2/log/openhab.log <==
2019-06-12 17:31:38.253 [DEBUG] [ding.sony.internal.ircc.IrccProtocol] - Transformed Home with map file 'ircc-7fb57bd3dec0.map' to ircc:AAAAAQAAAAEAAABgAw%3D%3D
2019-06-12 17:31:38.355 [ERROR] [ding.sony.internal.ircc.IrccProtocol] - Bad return code from X_SendIRCC: 403 (http reason: Forbidden)
2019-06-12 17:31:38.572 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 17, [{"status":"active"}], []
2019-06-12 17:31:38.801 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 26, [[{"scheme":"tv"},{"scheme":"extInput"},{"scheme":"fav"},{"scheme":"usb"}]], []
2019-06-12 17:31:38.809 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 11, [[{"target":"speaker","volume":24,"mute":false,"maxVolume":100,"minVolume":0},{"target":"headphone","volume":15,"mute":false,"maxVolume":100,"minVolume":0}]], []
2019-06-12 17:31:38.887 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 27, [[{"source":"tv:dvbs"}]], []
2019-06-12 17:31:38.992 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 28, [[{"source":"extInput:hdmi"},{"source":"extInput:component"},{"source":"extInput:cec"},{"source":"extInput:widi"}]], []
2019-06-12 17:31:39.039 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 29, [[{"source":"usb:recStorage"}]], []
2019-06-12 17:31:39.095 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 30, [[{"source":"fav:tv?id=1"},{"source":"fav:tv?id=2"},{"source":"fav:tv?id=3"},{"source":"fav:tv?id=4"}]], []
2019-06-12 17:31:39.317 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 31, [], [7,"Illegal State"]
2019-06-12 17:31:39.321 [DEBUG] [.protocols.AbstractScalarWebProtocol] - Method state is incorrect on service avContent - getPlayingContentInfo([Ljava.lang.Object;@16d9ae7): 7, Illegal State
2019-06-12 17:31:39.468 [WARN ] [rm.AbstractFileTransformationService] - Could not transform 'Waxing Gibbous' with the file 'astro.map' : Target value not found in map for 'Waxing Gibbous'
2019-06-12 17:31:40.050 [TRACE] [.magentatv.internal.MagentaTVHandler] - Device discovered: Amazon - AFTT
2019-06-12 17:31:44.291 [DEBUG] [g.sony.internal.AbstractThingHandler] - Checking connectivity to 192.168.6.22:2706 - successful
some additional information
- Simple IP is disabled
- Authentication is set to Normal+Preshared Key
- a preshared key is configured
- access code in the thing config is set to “RQST”
- TV shows an "Android 8.0 Oreo Introduction) - first time I recognized that (might be an indicator for an updated Android, but nur sure)
Does the binding support pre-shared keys?
It seems that there is a registered openHAB remote (I assume from the old installation), but the TV shows a remote MAC of 00-11-22-33-44-55? Does the TV identifies the remote based on the MAC address? How could I enforce an authentication? I would expect that RQST always show up on the TV and requests a PIN code, but it doesn’t even I changed from the old version to the new one.
nope, I used the old binding the in a similar way, except that I send the IRCC codes directly to the binding (rather than using the transform).
I tried
- putting the MAC in the thing config
- standby off/on
- power off/on
- deregister and register the openHAB remote
- changed PIN in thing confug
without success, still getting 403
In addition I see those messages form time to time
[DEBUG] [.protocols.AbstractScalarWebProtocol] - Method state is incorrect on service avContent - getPlayingContentInfo([Ljava.lang.Object;@5f99c6): 7, Illegal State
e.g.
2019-06-12 17:50:25.287 [DEBUG] [nal.scalarweb.models.ScalarWebResult] - >>> result: 31, [], [7,"Illegal State"]
2019-06-12 17:50:25.290 [DEBUG] [.protocols.AbstractScalarWebProtocol] - Method state is incorrect on service avContent - getPlayingContentInfo([Ljava.lang.Object;@213ea0): 7, Illegal State
2019-06-12 17:50:25.328 [DEBUG] [g.sony.internal.AbstractThingHandler] - Checking connectivity to 192.168.6.22:12178 - successful
2019-06-12 17:50:25.332 [DEBUG] [ding.sony.internal.ircc.IrccProtocol] - getStatus is not implemented
2019-06-12 17:50:25.337 [DEBUG] [g.sony.internal.AbstractThingHandler] - Checking connectivity to 192.168.6.22:12178 - successful
Anything else I could try?