[RELEASED] Python plugin to control Onkyo receivers

Python and python framework

Moderator: leecollings

User avatar
jorgh
Posts: 124
Joined: Friday 27 June 2014 23:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8224
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jorgh »

@JimmyH1969,

My bad, I've forgot to push the onMessage changes to Github. It's now corrected. So grab the new version from the development branch and it should work.

Regards,

Jorg
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

No problem and now it works like a charm! Thanks again for al the good and hard work! :mrgreen:
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

Hi jorgh,

Is there any way to control all the settings with LUA?

This works:
commandArray['Receiver Huiskamer - TX-NR646 Main Source']='On'

This does not work:
commandArray['Receiver Huiskamer - TX-NR646 Main Source']='AUX'

Same goes for volume etc
I would like to fire up the receiver in (for example) BD/DVD mode with a volume of 35% in THX mode

Is this possible?
User avatar
jorgh
Posts: 124
Joined: Friday 27 June 2014 23:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8224
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jorgh »

JimmyH1969 wrote:Hi jorgh,

Is there any way to control all the settings with LUA?

This works:
commandArray['Receiver Huiskamer - TX-NR646 Main Source']='On'

This does not work:
commandArray['Receiver Huiskamer - TX-NR646 Main Source']='AUX'

Same goes for volume etc
I would like to fire up the receiver in (for example) BD/DVD mode with a volume of 35% in THX mode

Is this possible?
You should set it to the level number corresponding to the input.

Verstuurd vanaf mijn HTC 10 met Tapatalk
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

It doesn't work i guess, or i'm doing things wrong....

Tried this:

commandArray['Receiver Huiskamer - TX-NR646 Main Power']='On'
commandArray['Receiver Huiskamer - TX-NR646 Main Power']='Off'
commandArray['Receiver Huiskamer - TX-NR646 Main Source']='20'
commandArray['Receiver Huiskamer - TX-NR646 Main Source']='AUX'
commandArray['Receiver Huiskamer - TX-NR646 Main Volume']='11 %'
commandArray['Receiver Huiskamer - TX-NR646 Main Volume']='11'
commandArray['Receiver Huiskamer - TX-NR646 Main Volume']='11%'

I only get the on/off function working.... will try again tomorow :D

I also see this happening
[img]
onkyo1.png
onkyo1.png (33.76 KiB) Viewed 3157 times
[/img]

And a lot of these in the message log
2017-08-06 23:20:40.244 Error: (Receiver Huiskamer) PyDomoticz_Log failed to parse parameters: string expected.
2017-08-06 23:20:40.244 Error: (Receiver Huiskamer) 'PyDomoticz_Log' failed 'ValueError':'embedded null character'.
User avatar
jorgh
Posts: 124
Joined: Friday 27 June 2014 23:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8224
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jorgh »

@JimmyH1969,
It doesn't work i guess, or i'm doing things wrong....
The Source, Tuner and Mode switches, are multi level selector switches. I've not used Lua to set them, but if you try from Blocky, you should see that they are set on the level numbers (0, 10, 20, 30, etc).
And a lot of these in the message log
2017-08-06 23:20:40.244 Error: (Receiver Huiskamer) PyDomoticz_Log failed to parse parameters: string expected.
2017-08-06 23:20:40.244 Error: (Receiver Huiskamer) 'PyDomoticz_Log' failed 'ValueError':'embedded null character'.
I need some surrounding log items to determine where this occurs.

For the strange modes, surrounding logs and preferably the data received would help. If you enable debug, it should also log the frames received from the receiver.

On all of the above, do you now what you did, to generate the issue?

Regards,

Jorg
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

Hi jorgh,

Responding from work, using remote control to home so can't really look at the receivers response.

Using blocky i can switch the receiver on/off
Using blocky i can change the volume using the percentage Level option
Using blocky i can not change the Main Source. I tried setting it to 60 (that should be AUX) using Blocky, but the input is not changing.

I'll try to get the logging asap
User avatar
jorgh
Posts: 124
Joined: Friday 27 June 2014 23:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8224
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jorgh »

@JimmyH1969,
Using blocky i can not change the Main Source. I tried setting it to 60 (that should be AUX) using Blocky, but the input is not changing.
You should set the level using %, so Setting 'Level % 60' should do the trick. I've tried using blocky and it works here.

Regards,

Jorg
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

So, i removed all the strange modes from the selector switch and turned the receiver on again. All the strange modes are created again and this is the log:

2017-08-07 10:24:24.927 (Receiver Huiskamer) DataSize: 10
2017-08-07 10:24:24.927 (Receiver Huiskamer) Version: 1
2017-08-07 10:24:24.927 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 10:24:24.927 (Receiver Huiskamer) eISCP Data : !1RAS
2017-08-07 10:24:24.927 Error: (Receiver Huiskamer) PyDomoticz_Log failed to parse parameters: string expected.
2017-08-07 10:24:24.927 Error: (Receiver Huiskamer) 'PyDomoticz_Log' failed 'ValueError':'embedded null character'.
2017-08-07 10:24:24.927 (Receiver Huiskamer) Found ISCP frame
2017-08-07 10:24:24.927 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 10:24:24.927 (Receiver Huiskamer) DataSize: 10
2017-08-07 10:24:24.927 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 10:24:24.927 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 10:24:24.927 (Receiver Huiskamer) Found ISCP frame
2017-08-07 10:24:24.927 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 10:24:24.927 (Receiver Huiskamer) DataSize: 10
2017-08-07 10:24:24.927 (Receiver Huiskamer) Version: 1
2017-08-07 10:24:24.927 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 10:24:24.927 (Receiver Huiskamer) eISCP Data : !1LMD
2017-08-07 10:24:24.927 (Receiver Huiskamer) eISCP Message: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) Listening mode: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) XML code: MOVIE
2017-08-07 10:24:24.927 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) XML code: MUSIC
2017-08-07 10:24:24.927 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) XML code: GAME
2017-08-07 10:24:24.927 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) XML code: 04
2017-08-07 10:24:24.927 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) XML code: 00
2017-08-07 10:24:24.927 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) XML code: 01
2017-08-07 10:24:24.927 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) XML code: 11
2017-08-07 10:24:24.927 (Receiver Huiskamer) Onkyo: setSelectorByCode code: 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) Onkyo: Fetched Options
2017-08-07 10:24:24.927 (Receiver Huiskamer) Onkyo: options: Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[80
ISCP|[0C] New|[0D] New|[80
ISCP|[80
ISCP|[80
ISCP|[80
ISCP|[80
ISCP|[80
ISCP|[80
ISCP|[0C
ISCP|[0C
ISCP|[80
ISCP|[0C
ISCP|[0C
ISCP|[0C
ISCP|[0C
ISCP|[80
ISCP|[80
ISCP|[80
ISCP
2017-08-07 10:24:24.927 (Receiver Huiskamer) Onkyo: Starting Loop
2017-08-07 10:24:24.927 (Receiver Huiskamer) ff
2017-08-07 10:24:24.927 (Receiver Huiskamer) ov
2017-08-07 10:24:24.927 (Receiver Huiskamer) us
2017-08-07 10:24:24.927 (Receiver Huiskamer) am
2017-08-07 10:24:24.927 (Receiver Huiskamer) HX
2017-08-07 10:24:24.927 (Receiver Huiskamer) te
2017-08-07 10:24:24.927 (Receiver Huiskamer) ir
2017-08-07 10:24:24.927 (Receiver Huiskamer) ur
2017-08-07 10:24:24.927 (Receiver Huiskamer) 80
2017-08-07 10:24:24.927 (Receiver Huiskamer) 0C
2017-08-07 10:24:24.927 (Receiver Huiskamer) Onkyo: found level: +90
2017-08-07 10:24:24.927 (Receiver Huiskamer - TX-NR646 Main Mode) Updating device from 1:'80' to have values 1:'90'.
2017-08-07 10:24:26.381 (Receiver Huiskamer) Received 26 bytes of data:.
2017-08-07 10:24:26.381 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 4c 4d ISCP............!1LM
2017-08-07 10:24:26.381 (Receiver Huiskamer) 44 38 30 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. D80...
2017-08-07 10:24:26.381 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 10:24:26.381 (Receiver Huiskamer) onMessage called
2017-08-07 10:24:26.381 (Receiver Huiskamer) We received 26 bytes of data
2017-08-07 10:24:26.381 (Receiver Huiskamer) Found ISCP frame
2017-08-07 10:24:26.381 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 10:24:26.381 (Receiver Huiskamer) DataSize: 10
2017-08-07 10:24:26.381 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 10:24:26.381 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 10:24:26.381 (Receiver Huiskamer) Found ISCP frame
2017-08-07 10:24:26.381 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 10:24:26.381 (Receiver Huiskamer) DataSize: 10
2017-08-07 10:24:26.381 (Receiver Huiskamer) Version: 1
2017-08-07 10:24:26.381 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 10:24:26.381 (Receiver Huiskamer) eISCP Data : !1LMD
2017-08-07 10:24:26.381 (Receiver Huiskamer) eISCP Message: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) Listening mode: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) EISCP message: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) XML code: MOVIE
2017-08-07 10:24:26.381 (Receiver Huiskamer) EISCP message: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) XML code: MUSIC
2017-08-07 10:24:26.381 (Receiver Huiskamer) EISCP message: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) XML code: GAME
2017-08-07 10:24:26.381 (Receiver Huiskamer) EISCP message: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) XML code: 04
2017-08-07 10:24:26.381 (Receiver Huiskamer) EISCP message: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) XML code: 00
2017-08-07 10:24:26.381 (Receiver Huiskamer) EISCP message: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) XML code: 01
2017-08-07 10:24:26.381 (Receiver Huiskamer) EISCP message: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) XML code: 11
2017-08-07 10:24:26.381 (Receiver Huiskamer) Onkyo: setSelectorByCode code: 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) Onkyo: Fetched Options
2017-08-07 10:24:26.381 (Receiver Huiskamer) Onkyo: options: Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[80
ISCP|[0C] New|[0D] New|[80
ISCP|[80
ISCP|[80
ISCP|[80
ISCP|[80
ISCP|[80
ISCP|[80
ISCP|[0C
ISCP|[0C
ISCP|[80
ISCP|[0C
ISCP|[0C
ISCP|[0C
ISCP|[0C
ISCP|[80
ISCP|[80
ISCP|[80
ISCP
2017-08-07 10:24:26.381 (Receiver Huiskamer) Onkyo: Starting Loop
2017-08-07 10:24:26.381 (Receiver Huiskamer) ff
2017-08-07 10:24:26.381 (Receiver Huiskamer) ov
2017-08-07 10:24:26.381 (Receiver Huiskamer) us
2017-08-07 10:24:26.381 (Receiver Huiskamer) am
2017-08-07 10:24:26.381 (Receiver Huiskamer) HX
2017-08-07 10:24:26.381 (Receiver Huiskamer) te
2017-08-07 10:24:26.381 (Receiver Huiskamer) ir
2017-08-07 10:24:26.381 (Receiver Huiskamer) ur
2017-08-07 10:24:26.381 (Receiver Huiskamer) 80
2017-08-07 10:24:26.381 (Receiver Huiskamer) Onkyo: found level: +80
2017-08-07 10:24:26.381 (Receiver Huiskamer - TX-NR646 Main Mode) Updating device from 1:'90' to have values 1:'80'.
2017-08-07 10:24:45.227 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 10:24:45.227 (Receiver Huiskamer) onHeartbeat called
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

One more thing. Changing mode and volume works using blocky and the percentage option! Good job, thank you! ;)
The strange modes are also created when you have "create new devices" disabled. Changing the mode from within Domoticz results in strange modes reported in the selector switch. When choosing Music it switches to Stereo (when in BD/DVD source) and Movie/TV switches to [0C] New
User avatar
jorgh
Posts: 124
Joined: Friday 27 June 2014 23:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8224
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jorgh »

@JimmyH1969,

Ok, I think:
2017-08-07 10:24:24.927 Error: (Receiver Huiskamer) PyDomoticz_Log failed to parse parameters: string expected.
2017-08-07 10:24:24.927 Error: (Receiver Huiskamer) 'PyDomoticz_Log' failed 'ValueError':'embedded null character'.
Is the root of all evil.

However, I need the received data (something like)
2017-08-07 10:24:26.381 (Receiver Huiskamer) Received 26 bytes of data:.
2017-08-07 10:24:26.381 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 4c 4d ISCP............!1LM
2017-08-07 10:24:26.381 (Receiver Huiskamer) 44 38 30 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. D80...
That is just before this occurs, there is probably some 'strange' data in this frame.
You're running this on Windows? I happen to have the same receiver, running Domoticz on Linux, I don't have this issue, so it might be that there is a difference in how data is received on Windows that causes this.

Regards

Jorg
User avatar
jorgh
Posts: 124
Joined: Friday 27 June 2014 23:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8224
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jorgh »

@JimmyH1969,

I've changed how the end of eISCP data is detected. I think this should solve the issue. Apparently the old method behaved differently on some platforms. And to be honest, it wasn't completely correct, however it still should have worked, according to my humble opinion.

The new version is on Github in the development branch.

Regards,

Jorg
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

jorgh,

Removed old plugin, Updated the plugin, restarted Domoticz. Created the device again and it's still the same. It's still creating :|[80] New|[0C] New
I disabled all other hardware (Z-wave, RFX etc) so i could get more logging. Hope it helps. This is it from the beginning:

2017-08-07 12:58:51.932 (Receiver Huiskamer) Started.
2017-08-07 12:58:51.978 (Receiver Huiskamer) Initialized version 0.2.4, author 'jorgh'
2017-08-07 12:58:51.978 (Receiver Huiskamer) Entering work loop.
2017-08-07 12:58:51.978 (Receiver Huiskamer) Debug log level set to: 'true'.
2017-08-07 12:58:51.978 (Receiver Huiskamer) Onkyo: onStart called
2017-08-07 12:58:51.978 (Receiver Huiskamer) Heartbeat interval set to: 2.
2017-08-07 12:59:01.983 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 12:59:01.983 (Receiver Huiskamer) onHeartbeat called
2017-08-07 12:59:01.983 (Receiver Huiskamer) Creating UDP Socket for sending/receiving discovery data
2017-08-07 12:59:01.983 (Receiver Huiskamer) UDP Socket created succesfully
2017-08-07 12:59:01.983 (Receiver Huiskamer) Sending UDP discovery packet
2017-08-07 12:59:01.983 (Receiver Huiskamer) UDP Discovery packet send succesfully
2017-08-07 12:59:04.089 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 12:59:04.089 (Receiver Huiskamer) onHeartbeat called
2017-08-07 12:59:04.089 (Receiver Huiskamer) Checking if discovery data has been received
2017-08-07 12:59:04.089 (Receiver Huiskamer) Receiver found:
2017-08-07 12:59:04.089 (Receiver Huiskamer) Type: AV Receiver or Stereo Receiver
2017-08-07 12:59:04.089 (Receiver Huiskamer) Type: TX-NR646
2017-08-07 12:59:04.089 (Receiver Huiskamer) Region: European or Asian model
2017-08-07 12:59:04.089 (Receiver Huiskamer) IP adress: 192.168.1.5
2017-08-07 12:59:04.089 (Receiver Huiskamer) eISCP port: 60128
2017-08-07 12:59:04.089 (Receiver Huiskamer) MAC: 0009B0DABEF0
2017-08-07 12:59:04.089 (Receiver Huiskamer) Connecting to Receiver
2017-08-07 12:59:04.089 (Receiver Huiskamer) Protocol set to: 'NONE'.
2017-08-07 12:59:04.089 (Receiver Huiskamer) Transport set to: 'TCP/IP', 192.168.1.5:60128.
2017-08-07 12:59:04.089 PluginSystem: Starting I/O service thread.
2017-08-07 12:59:04.089 (Receiver Huiskamer) Connect directive received, action initiated successfully.
2017-08-07 12:59:04.182 (Receiver Huiskamer) Calling message handler 'onConnect'.
2017-08-07 12:59:04.182 (Receiver Huiskamer) onConnect called
2017-08-07 12:59:06.298 (Receiver Huiskamer) 22 20 2f 3e 3c 66 75 6e 63 74 69 6f 6e 20 69 64 3d 22 4e 65 "./>
2017-08-07 12:59:06.298 (Receiver Huiskamer) 74 55 70 64 61 74 65 22 20 76 61 6c 75 65 3d 22 30 22 20 2f tUpdate".value="0"./
2017-08-07 12:59:06.298 (Receiver Huiskamer) 3e 3c 66 75 6e 63 74 69 6f 6e 20 69 64 3d 22 57 65 62 53 65 >
2017-08-07 12:59:06.298 (Receiver Huiskamer) 74 75 70 22 20 76 61 6c 75 65 3d 22 31 22 20 2f 3e 3c 66 75 tup".value="1"./>
2017-08-07 12:59:06.298 (Receiver Huiskamer) 6e 63 74 69 6f 6e 20 69 64 3d 22 57 69 66 69 53 65 74 75 70 nction.id="WifiSetup
2017-08-07 12:59:06.298 (Receiver Huiskamer) 22 20 76 61 6c 75 65 3d 22 31 22 20 2f 3e 3c 66 75 6e 63 74 ".value="1"./>
2017-08-07 12:59:06.298 (Receiver Huiskamer) 69 6f 6e 20 69 64 3d 22 4e 65 74 74 75 6e 65 22 20 76 61 6c ion.id="Nettune".val
2017-08-07 12:59:06.298 (Receiver Huiskamer) 75 65 3d 22 30 22 20 2f 3e 3c 66 75 6e 63 74 69 6f 6e 20 69 ue="0"./>
2017-08-07 12:59:06.298 (Receiver Huiskamer) 64 3d 22 49 6e 69 74 69 61 6c 69 7a 65 22 20 76 61 6c 75 65 d="Initialize".value
2017-08-07 12:59:06.298 (Receiver Huiskamer) 3d 22 30 22 20 2f 3e 3c 2f 66 75 6e 63 74 69 6f 6e 6c 69 73 ="0"./>
2017-08-07 12:59:06.298 (Receiver Huiskamer) 74 3e 3c 74 75 6e 65 72 73 20 63 6f 75 6e 74 3d 22 32 22 3e t>
2017-08-07 12:59:06.298 (Receiver Huiskamer) 3c 74 75 6e 65 72 20 62 61 6e 64 3d 22 46 4d 22 20 6d 69 6e
2017-08-07 12:59:06.298 (Receiver Huiskamer) 3d 22 38 37 35 30 30 22 20 6d 61 78 3d 22 31 30 38 30 30 30 ="87500".max="108000
2017-08-07 12:59:06.298 (Receiver Huiskamer) 22 20 73 74 65 70 3d 22 35 30 22 20 2f 3e 3c 74 75 6e 65 72 ".step="50"./>
2017-08-07 12:59:06.298 (Receiver Huiskamer) 20 62 61 6e 64 3d 22 41 4d 22 20 6d 69 6e 3d 22 35 32 32 22 .band="AM".min="522"
2017-08-07 12:59:06.298 (Receiver Huiskamer) 20 6d 61 78 3d 22 31 36 31 31 22 20 73 74 65 70 3d 22 39 22 .max="1611".step="9"
2017-08-07 12:59:06.298 (Receiver Huiskamer) 20 2f 3e 3c 2f 74 75 6e 65 72 73 3e 3c 2f 64 65 76 69 63 65 ./>
2017-08-07 12:59:06.298 (Receiver Huiskamer) 3e 3c 2f 72 65 73 70 6f 6e 73 65 3e 1a 0d 0a .. .. .. .. .. >...
2017-08-07 12:59:06.298 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 12:59:06.298 (Receiver Huiskamer) onMessage called
2017-08-07 12:59:06.298 (Receiver Huiskamer) We received 2835 bytes of data
2017-08-07 12:59:06.298 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:06.298 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:06.298 (Receiver Huiskamer) DataSize: 7199
2017-08-07 12:59:06.298 (Receiver Huiskamer) Have 7215 bytes in inputbuffer
2017-08-07 12:59:06.298 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 12:59:06.298 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:06.298 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:06.298 (Receiver Huiskamer) DataSize: 7199
2017-08-07 12:59:06.298 (Receiver Huiskamer) Version: 1
2017-08-07 12:59:06.298 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 12:59:06.298 (Receiver Huiskamer) eISCP Data : !1NRI
2017-08-07 12:59:06.298 (Receiver Huiskamer) eISCP Message: ONKYOAV Receiver2015TX-NR646xxhttp://192.168.1.5/icon/AVR_120.jpgTX-NR6461060-3040-1105-0000-0000
2017-08-07 12:59:06.298 (Receiver Huiskamer) Received XML
2017-08-07 12:59:08.175 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 12:59:08.175 (Receiver Huiskamer) onHeartbeat called
2017-08-07 12:59:08.175 (Receiver Huiskamer) Checking if Devices exist
2017-08-07 12:59:08.175 (Receiver Huiskamer) Checking Main zone
2017-08-07 12:59:08.175 (Receiver Huiskamer) Receiver main power device exists
2017-08-07 12:59:08.175 (Receiver Huiskamer) Receiver input selector device exists
2017-08-07 12:59:08.175 (Receiver Huiskamer) Receiver listening mode selector device exists
2017-08-07 12:59:08.175 (Receiver Huiskamer) Receiver Tuner preset selector device exists
2017-08-07 12:59:08.175 (Receiver Huiskamer) Receiver volume control device exists
2017-08-07 12:59:08.175 (Receiver Huiskamer) Checking Zone 2
2017-08-07 12:59:08.175 (Receiver Huiskamer) Receiver Zone 2 power device exists
2017-08-07 12:59:08.175 (Receiver Huiskamer) Receiver input selector Zone 2 device exists
2017-08-07 12:59:08.175 (Receiver Huiskamer) Receiver zone 2 volume control device exists
2017-08-07 12:59:08.175 (Receiver Huiskamer) Heartbeat interval set to: 20.
2017-08-07 12:59:09.033 (Receiver Huiskamer) Sending 27 bytes of data:.
2017-08-07 12:59:09.033 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 50 57 ISCP............!1PW
2017-08-07 12:59:09.033 (Receiver Huiskamer) 52 51 53 54 4e 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. RQSTN..
2017-08-07 12:59:09.096 (Receiver Huiskamer) Received 26 bytes of data:.
2017-08-07 12:59:09.096 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 50 57 ISCP............!1PW
2017-08-07 12:59:09.096 (Receiver Huiskamer) 52 30 30 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. R00...
2017-08-07 12:59:09.096 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 12:59:09.096 (Receiver Huiskamer) onMessage called
2017-08-07 12:59:09.096 (Receiver Huiskamer) We received 26 bytes of data
2017-08-07 12:59:09.096 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:09.096 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:09.096 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:09.096 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 12:59:09.096 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 12:59:09.096 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:09.096 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:09.096 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:09.096 (Receiver Huiskamer) Version: 1
2017-08-07 12:59:09.096 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 12:59:09.096 (Receiver Huiskamer) eISCP Data : !1PWR
2017-08-07 12:59:09.096 (Receiver Huiskamer) eISCP Message: 00
2017-08-07 12:59:09.096 (Receiver Huiskamer) Update 0:'Off' (Receiver Huiskamer - TX-NR646 Main Power)
2017-08-07 12:59:10.032 (Receiver Huiskamer) Sending 27 bytes of data:.
2017-08-07 12:59:10.032 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 4d 56 ISCP............!1MV
2017-08-07 12:59:10.032 (Receiver Huiskamer) 4c 51 53 54 4e 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. LQSTN..
2017-08-07 12:59:10.094 (Receiver Huiskamer) Received 26 bytes of data:.
2017-08-07 12:59:10.094 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 4d 56 ISCP............!1MV
2017-08-07 12:59:10.094 (Receiver Huiskamer) 4c 31 34 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. L14...
2017-08-07 12:59:10.094 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 12:59:10.094 (Receiver Huiskamer) onMessage called
2017-08-07 12:59:10.094 (Receiver Huiskamer) We received 26 bytes of data
2017-08-07 12:59:10.094 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:10.094 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:10.094 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:10.094 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 12:59:10.094 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 12:59:10.094 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:10.094 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:10.094 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:10.094 (Receiver Huiskamer) Version: 1
2017-08-07 12:59:10.094 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 12:59:10.094 (Receiver Huiskamer) eISCP Data : !1MVL
2017-08-07 12:59:10.094 (Receiver Huiskamer) eISCP Message: 14
2017-08-07 12:59:10.094 (Receiver Huiskamer) Volume: 25
2017-08-07 12:59:10.094 (Receiver Huiskamer) Update 2:'25' (Receiver Huiskamer - TX-NR646 Main Volume)
2017-08-07 12:59:10.094 (Receiver Huiskamer - TX-NR646 Main Volume) Updating device from 1:'On' to have values 2:'25'.
2017-08-07 12:59:10.250 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 12:59:10.250 (Receiver Huiskamer) onHeartbeat called
2017-08-07 12:59:11.046 (Receiver Huiskamer) Sending 27 bytes of data:.
2017-08-07 12:59:11.046 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 53 4c ISCP............!1SL
2017-08-07 12:59:11.046 (Receiver Huiskamer) 49 51 53 54 4e 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. IQSTN..
2017-08-07 12:59:12.075 (Receiver Huiskamer) Sending 27 bytes of data:.
2017-08-07 12:59:12.075 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 50 52 ISCP............!1PR
2017-08-07 12:59:12.075 (Receiver Huiskamer) 53 51 53 54 4e 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. SQSTN..
2017-08-07 12:59:12.138 (Receiver Huiskamer) Received 26 bytes of data:.
2017-08-07 12:59:12.138 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 50 52 ISCP............!1PR
2017-08-07 12:59:12.138 (Receiver Huiskamer) 53 30 30 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. S00...
2017-08-07 12:59:12.138 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 12:59:12.138 (Receiver Huiskamer) onMessage called
2017-08-07 12:59:12.138 (Receiver Huiskamer) We received 26 bytes of data
2017-08-07 12:59:12.138 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:12.138 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:12.138 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:12.138 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 12:59:12.138 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 12:59:12.138 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:12.138 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:12.138 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:12.138 (Receiver Huiskamer) Version: 1
2017-08-07 12:59:12.138 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 12:59:12.138 (Receiver Huiskamer) eISCP Data : !1PRS
2017-08-07 12:59:12.138 (Receiver Huiskamer) eISCP Message: 00
2017-08-07 12:59:12.138 (Receiver Huiskamer) Preset: 00
2017-08-07 12:59:13.074 (Receiver Huiskamer) Sending 27 bytes of data:.
2017-08-07 12:59:13.074 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 5a 50 ISCP............!1ZP
2017-08-07 12:59:13.074 (Receiver Huiskamer) 57 51 53 54 4e 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. WQSTN..
2017-08-07 12:59:13.199 (Receiver Huiskamer) Received 26 bytes of data:.
2017-08-07 12:59:13.199 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 5a 50 ISCP............!1ZP
2017-08-07 12:59:13.199 (Receiver Huiskamer) 57 30 30 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. W00...
2017-08-07 12:59:13.199 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 12:59:13.199 (Receiver Huiskamer) onMessage called
2017-08-07 12:59:13.199 (Receiver Huiskamer) We received 26 bytes of data
2017-08-07 12:59:13.199 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:13.199 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:13.199 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:13.199 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 12:59:13.199 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 12:59:13.199 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:13.199 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:13.199 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:13.199 (Receiver Huiskamer) Version: 1
2017-08-07 12:59:13.199 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 12:59:13.199 (Receiver Huiskamer) eISCP Data : !1ZPW
2017-08-07 12:59:13.199 (Receiver Huiskamer) eISCP Message: 00
2017-08-07 12:59:13.199 (Receiver Huiskamer) Update 0:'Off' (Receiver Huiskamer - TX-NR646 Zone2 Power)
2017-08-07 12:59:14.072 (Receiver Huiskamer) Sending 27 bytes of data:.
2017-08-07 12:59:14.072 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 5a 56 ISCP............!1ZV
2017-08-07 12:59:14.072 (Receiver Huiskamer) 4c 51 53 54 4e 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. LQSTN..
2017-08-07 12:59:14.197 (Receiver Huiskamer) Received 27 bytes of data:.
2017-08-07 12:59:14.197 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0b 01 00 00 00 21 31 5a 56 ISCP............!1ZV
2017-08-07 12:59:14.197 (Receiver Huiskamer) 4c 4e 2f 41 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. LN/A...
2017-08-07 12:59:14.197 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 12:59:14.197 (Receiver Huiskamer) onMessage called
2017-08-07 12:59:14.197 (Receiver Huiskamer) We received 27 bytes of data
2017-08-07 12:59:14.197 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:14.197 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:14.197 (Receiver Huiskamer) DataSize: 11
2017-08-07 12:59:14.197 (Receiver Huiskamer) Have 27 bytes in inputbuffer
2017-08-07 12:59:14.197 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 12:59:14.197 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:14.197 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:14.197 (Receiver Huiskamer) DataSize: 11
2017-08-07 12:59:14.197 (Receiver Huiskamer) Version: 1
2017-08-07 12:59:14.197 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 12:59:14.197 (Receiver Huiskamer) eISCP Data : !1ZVL
2017-08-07 12:59:14.197 (Receiver Huiskamer) eISCP Message: N/A
2017-08-07 12:59:15.039 (Receiver Huiskamer) Sending 27 bytes of data:.
2017-08-07 12:59:15.039 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 53 4c ISCP............!1SL
2017-08-07 12:59:15.039 (Receiver Huiskamer) 5a 51 53 54 4e 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. ZQSTN..
2017-08-07 12:59:15.133 (Receiver Huiskamer) Received 26 bytes of data:.
2017-08-07 12:59:15.133 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 53 4c ISCP............!1SL
2017-08-07 12:59:15.133 (Receiver Huiskamer) 5a 38 30 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. Z80...
2017-08-07 12:59:15.133 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 12:59:15.133 (Receiver Huiskamer) onMessage called
2017-08-07 12:59:15.133 (Receiver Huiskamer) We received 26 bytes of data
2017-08-07 12:59:15.133 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:15.133 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:15.133 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:15.133 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 12:59:15.133 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 12:59:15.133 (Receiver Huiskamer) Found ISCP frame
2017-08-07 12:59:15.133 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 12:59:15.133 (Receiver Huiskamer) DataSize: 10
2017-08-07 12:59:15.133 (Receiver Huiskamer) Version: 1
2017-08-07 12:59:15.133 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 12:59:15.133 (Receiver Huiskamer) eISCP Data : !1SLZ
2017-08-07 12:59:15.133 (Receiver Huiskamer) eISCP Message: 80
2017-08-07 12:59:15.133 (Receiver Huiskamer) Zone 2 source: 80
2017-08-07 12:59:15.133 (Receiver Huiskamer) Zone 2 Current Source: Source
2017-08-07 12:59:15.133 (Receiver Huiskamer - TX-NR646 Zone2 Source) Updating device from 1:'140' to have values 1:'140'.
2017-08-07 12:59:31.073 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 12:59:31.073 (Receiver Huiskamer) onHeartbeat called
2017-08-07 12:59:51.945 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 12:59:51.945 (Receiver Huiskamer) onHeartbeat called
2017-08-07 13:00:12.933 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 13:00:12.933 (Receiver Huiskamer) onHeartbeat called
2017-08-07 13:02:49.484 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.484 (Receiver Huiskamer) XML code: GAME
2017-08-07 13:02:49.484 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.484 (Receiver Huiskamer) XML code: 04
2017-08-07 13:02:49.484 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.484 (Receiver Huiskamer) XML code: 00
2017-08-07 13:02:49.484 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.484 (Receiver Huiskamer) XML code: 01
2017-08-07 13:02:49.484 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.484 (Receiver Huiskamer) XML code: 11
2017-08-07 13:02:49.484 (Receiver Huiskamer) Onkyo: setSelectorByCode code: 0C
2017-08-07 13:02:49.484 (Receiver Huiskamer) Onkyo: Fetched Options
2017-08-07 13:02:49.484 (Receiver Huiskamer) Onkyo: options: Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[80] New|[0C] New
2017-08-07 13:02:49.484 (Receiver Huiskamer) Onkyo: Starting Loop
2017-08-07 13:02:49.484 (Receiver Huiskamer) ff
2017-08-07 13:02:49.484 (Receiver Huiskamer) ov
2017-08-07 13:02:49.484 (Receiver Huiskamer) us
2017-08-07 13:02:49.484 (Receiver Huiskamer) am
2017-08-07 13:02:49.484 (Receiver Huiskamer) HX
2017-08-07 13:02:49.484 (Receiver Huiskamer) te
2017-08-07 13:02:49.484 (Receiver Huiskamer) ir
2017-08-07 13:02:49.484 (Receiver Huiskamer) ur
2017-08-07 13:02:49.484 (Receiver Huiskamer) 80
2017-08-07 13:02:49.484 (Receiver Huiskamer) 0C
2017-08-07 13:02:49.484 (Receiver Huiskamer) Onkyo: found level: +90
2017-08-07 13:02:49.484 (Receiver Huiskamer - TX-NR646 Main Mode) Updating device from 1:'80' to have values 1:'90'.
2017-08-07 13:02:49.516 (Receiver Huiskamer) Found ISCP frame
2017-08-07 13:02:49.531 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 13:02:49.531 (Receiver Huiskamer) DataSize: 10
2017-08-07 13:02:49.531 (Receiver Huiskamer) Have 52 bytes in inputbuffer
2017-08-07 13:02:49.531 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 13:02:49.531 (Receiver Huiskamer) Found ISCP frame
2017-08-07 13:02:49.531 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 13:02:49.531 (Receiver Huiskamer) DataSize: 10
2017-08-07 13:02:49.531 (Receiver Huiskamer) Version: 1
2017-08-07 13:02:49.531 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 13:02:49.531 (Receiver Huiskamer) eISCP Data : !1RAS
2017-08-07 13:02:49.531 (Receiver Huiskamer) eISCP Message: 00
2017-08-07 13:02:49.531 (Receiver Huiskamer) Found ISCP frame
2017-08-07 13:02:49.531 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 13:02:49.531 (Receiver Huiskamer) DataSize: 10
2017-08-07 13:02:49.531 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 13:02:49.531 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 13:02:49.531 (Receiver Huiskamer) Found ISCP frame
2017-08-07 13:02:49.531 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 13:02:49.531 (Receiver Huiskamer) DataSize: 10
2017-08-07 13:02:49.531 (Receiver Huiskamer) Version: 1
2017-08-07 13:02:49.531 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 13:02:49.531 (Receiver Huiskamer) eISCP Data : !1LMD
2017-08-07 13:02:49.531 (Receiver Huiskamer) eISCP Message: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) Listening mode: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) XML code: MOVIE
2017-08-07 13:02:49.531 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) XML code: MUSIC
2017-08-07 13:02:49.531 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) XML code: GAME
2017-08-07 13:02:49.531 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) XML code: 04
2017-08-07 13:02:49.531 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) XML code: 00
2017-08-07 13:02:49.531 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) XML code: 01
2017-08-07 13:02:49.531 (Receiver Huiskamer) EISCP message: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) XML code: 11
2017-08-07 13:02:49.531 (Receiver Huiskamer) Onkyo: setSelectorByCode code: 0C
2017-08-07 13:02:49.531 (Receiver Huiskamer) Onkyo: Fetched Options
2017-08-07 13:02:49.531 (Receiver Huiskamer) Onkyo: options: Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio
2017-08-07 13:02:49.531 (Receiver Huiskamer) Onkyo: Starting Loop
2017-08-07 13:02:49.531 (Receiver Huiskamer) ff
2017-08-07 13:02:49.531 (Receiver Huiskamer) ov
2017-08-07 13:02:49.531 (Receiver Huiskamer) us
2017-08-07 13:02:49.531 (Receiver Huiskamer) am
2017-08-07 13:02:49.531 (Receiver Huiskamer) HX
2017-08-07 13:02:49.531 (Receiver Huiskamer) te
2017-08-07 13:02:49.531 (Receiver Huiskamer) ir
2017-08-07 13:02:49.531 (Receiver Huiskamer) ur
2017-08-07 13:02:49.531 (Receiver Huiskamer) |||||||
2017-08-07 13:02:49.531 (Receiver Huiskamer) Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio
2017-08-07 13:02:49.531 (Receiver Huiskamer) ||||||||
2017-08-07 13:02:49.531 (Receiver Huiskamer) Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[0C] New
2017-08-07 13:02:49.531 (Receiver Huiskamer - TX-NR646 Main Mode) Updating device from 1:'90' to have values 1:'90'.
2017-08-07 13:02:49.578 (Receiver Huiskamer) Onkyo: setSelectorByCode code: 0C
2017-08-07 13:02:49.578 (Receiver Huiskamer) Onkyo: Fetched Options
2017-08-07 13:02:49.578 (Receiver Huiskamer) Onkyo: options: Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[0C] New
2017-08-07 13:02:49.578 (Receiver Huiskamer) Onkyo: Starting Loop
2017-08-07 13:02:49.578 (Receiver Huiskamer) ff
2017-08-07 13:02:49.578 (Receiver Huiskamer) ov
2017-08-07 13:02:49.578 (Receiver Huiskamer) us
2017-08-07 13:02:49.578 (Receiver Huiskamer) am
2017-08-07 13:02:49.578 (Receiver Huiskamer) HX
2017-08-07 13:02:49.578 (Receiver Huiskamer) te
2017-08-07 13:02:49.578 (Receiver Huiskamer) ir
2017-08-07 13:02:49.578 (Receiver Huiskamer) ur
2017-08-07 13:02:49.578 (Receiver Huiskamer) 0C
2017-08-07 13:02:49.578 (Receiver Huiskamer) Onkyo: found level: +80
2017-08-07 13:02:49.578 (Receiver Huiskamer - TX-NR646 Main Mode) Updating device from 1:'90' to have values 1:'80'.
2017-08-07 13:02:51.575 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:51.575 (Receiver Huiskamer) XML code: MOVIE
2017-08-07 13:02:51.575 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:51.575 (Receiver Huiskamer) XML code: MUSIC
2017-08-07 13:02:51.575 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:51.575 (Receiver Huiskamer) XML code: GAME
2017-08-07 13:02:51.575 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:51.575 (Receiver Huiskamer) XML code: 04
2017-08-07 13:02:51.575 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:51.575 (Receiver Huiskamer) XML code: 00
2017-08-07 13:02:51.575 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:51.575 (Receiver Huiskamer) XML code: 01
2017-08-07 13:02:51.575 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:51.575 (Receiver Huiskamer) XML code: 11
2017-08-07 13:02:51.575 (Receiver Huiskamer) Onkyo: setSelectorByCode code: 80
2017-08-07 13:02:51.575 (Receiver Huiskamer) Onkyo: Fetched Options
2017-08-07 13:02:51.575 (Receiver Huiskamer) Onkyo: options: Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[0C] New
2017-08-07 13:02:51.575 (Receiver Huiskamer) Onkyo: Starting Loop
2017-08-07 13:02:51.575 (Receiver Huiskamer) ff
2017-08-07 13:02:51.575 (Receiver Huiskamer) ov
2017-08-07 13:02:51.575 (Receiver Huiskamer) us
2017-08-07 13:02:51.575 (Receiver Huiskamer) am
2017-08-07 13:02:51.575 (Receiver Huiskamer) HX
2017-08-07 13:02:51.575 (Receiver Huiskamer) te
2017-08-07 13:02:51.575 (Receiver Huiskamer) ir
2017-08-07 13:02:51.575 (Receiver Huiskamer) ur
2017-08-07 13:02:51.575 (Receiver Huiskamer) 0C
2017-08-07 13:02:51.575 (Receiver Huiskamer) ||||||||
2017-08-07 13:02:51.575 (Receiver Huiskamer) Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[0C] New
2017-08-07 13:02:51.575 (Receiver Huiskamer) |||||||||
2017-08-07 13:02:51.575 (Receiver Huiskamer) Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[0C] New|[80] New
2017-08-07 13:02:51.575 (Receiver Huiskamer - TX-NR646 Main Mode) Updating device from 1:'80' to have values 1:'80'.
2017-08-07 13:02:51.637 (Receiver Huiskamer) Onkyo: setSelectorByCode code: 80
2017-08-07 13:02:51.637 (Receiver Huiskamer) Onkyo: Fetched Options
2017-08-07 13:02:51.637 (Receiver Huiskamer) Onkyo: options: Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[0C] New|[80] New
2017-08-07 13:02:51.637 (Receiver Huiskamer) Onkyo: Starting Loop
2017-08-07 13:02:51.637 (Receiver Huiskamer) ff
2017-08-07 13:02:51.637 (Receiver Huiskamer) ov
2017-08-07 13:02:51.637 (Receiver Huiskamer) us
2017-08-07 13:02:51.637 (Receiver Huiskamer) am
2017-08-07 13:02:51.637 (Receiver Huiskamer) HX
2017-08-07 13:02:51.637 (Receiver Huiskamer) te
2017-08-07 13:02:51.637 (Receiver Huiskamer) ir
2017-08-07 13:02:51.637 (Receiver Huiskamer) ur
2017-08-07 13:02:51.637 (Receiver Huiskamer) 0C
2017-08-07 13:02:51.637 (Receiver Huiskamer) 80
2017-08-07 13:02:51.637 (Receiver Huiskamer) Onkyo: found level: +90
2017-08-07 13:02:51.637 (Receiver Huiskamer - TX-NR646 Main Mode) Updating device from 1:'80' to have values 1:'90'.
2017-08-07 13:02:52.199 (Receiver Huiskamer) Received 26 bytes of data:.
2017-08-07 13:02:52.199 (Receiver Huiskamer) 49 53 43 50 00 00 00 10 00 00 00 0a 01 00 00 00 21 31 4c 4d ISCP............!1LM
2017-08-07 13:02:52.199 (Receiver Huiskamer) 44 38 30 1a 0d 0a .. .. .. .. .. .. .. .. .. .. .. .. .. .. D80...
2017-08-07 13:02:52.199 (Receiver Huiskamer) Calling message handler 'onMessage'.
2017-08-07 13:02:52.199 (Receiver Huiskamer) onMessage called
2017-08-07 13:02:52.199 (Receiver Huiskamer) We received 26 bytes of data
2017-08-07 13:02:52.199 (Receiver Huiskamer) Found ISCP frame
2017-08-07 13:02:52.199 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 13:02:52.199 (Receiver Huiskamer) DataSize: 10
2017-08-07 13:02:52.199 (Receiver Huiskamer) Have 26 bytes in inputbuffer
2017-08-07 13:02:52.199 (Receiver Huiskamer) We have a eISCP frame to process
2017-08-07 13:02:52.199 (Receiver Huiskamer) Found ISCP frame
2017-08-07 13:02:52.199 (Receiver Huiskamer) HeaderSize: 16
2017-08-07 13:02:52.199 (Receiver Huiskamer) DataSize: 10
2017-08-07 13:02:52.199 (Receiver Huiskamer) Version: 1
2017-08-07 13:02:52.199 (Receiver Huiskamer) Reserved: [0x0][0x0][0x0]
2017-08-07 13:02:52.199 (Receiver Huiskamer) eISCP Data : !1LMD
2017-08-07 13:02:52.199 (Receiver Huiskamer) eISCP Message: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) Listening mode: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) XML code: MOVIE
2017-08-07 13:02:52.199 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) XML code: MUSIC
2017-08-07 13:02:52.199 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) XML code: GAME
2017-08-07 13:02:52.199 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) XML code: 04
2017-08-07 13:02:52.199 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) XML code: 00
2017-08-07 13:02:52.199 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) XML code: 01
2017-08-07 13:02:52.199 (Receiver Huiskamer) EISCP message: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) XML code: 11
2017-08-07 13:02:52.199 (Receiver Huiskamer) Onkyo: setSelectorByCode code: 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) Onkyo: Fetched Options
2017-08-07 13:02:52.199 (Receiver Huiskamer) Onkyo: options: Off|Movie/TV|Music|Game|THX|Stereo|Direct|Pure Audio|[0C] New|[80] New
2017-08-07 13:02:52.199 (Receiver Huiskamer) Onkyo: Starting Loop
2017-08-07 13:02:52.199 (Receiver Huiskamer) ff
2017-08-07 13:02:52.199 (Receiver Huiskamer) ov
2017-08-07 13:02:52.199 (Receiver Huiskamer) us
2017-08-07 13:02:52.199 (Receiver Huiskamer) am
2017-08-07 13:02:52.199 (Receiver Huiskamer) HX
2017-08-07 13:02:52.199 (Receiver Huiskamer) te
2017-08-07 13:02:52.199 (Receiver Huiskamer) ir
2017-08-07 13:02:52.199 (Receiver Huiskamer) ur
2017-08-07 13:02:52.199 (Receiver Huiskamer) 0C
2017-08-07 13:02:52.199 (Receiver Huiskamer) 80
2017-08-07 13:02:52.199 (Receiver Huiskamer) Onkyo: found level: +90
2017-08-07 13:02:52.199 (Receiver Huiskamer - TX-NR646 Main Mode) Updating device from 1:'90' to have values 1:'90'.
2017-08-07 13:02:59.678 (Receiver Huiskamer) Calling message handler 'onHeartbeat'.
2017-08-07 13:02:59.678 (Receiver Huiskamer) onHeartbeat called
User avatar
jorgh
Posts: 124
Joined: Friday 27 June 2014 23:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8224
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jorgh »

@JimmyH1969,

Well, I think this is actually the intended behavior :D

But let me explain.
The receiver only publishes a small number of listening modes through the XML. These are the modes that you can select using the Onkyo remote app (or the infrared remote). However, some of them are not actually modes, but pressing the button cycles through a number of modes.
Now Onkyo has created a lot of HT Amps, and they all support different modes. So what the plugin does, it creates a 'New' mode, if it is first detected. As I don't know what it's called, I create the mode once its first detected using the following format '[80] New'. Where '80' is the mode number and 'New' the description, obviously the mode number differs from mode to mode. Now if you edit the selector, you can change the 'New' part of the level name to something like 'Surround 5.1' of whatever best describes the listening mode. Just be sure, to leave the '[80]' or whatever value is there in place, as this is used to lookup the mode if it is detected again.
The [80->ISCP in the button, was actually wrong, I hope I fixed that in the latest update. It prevented subsequent detection of the mode, and thus creating a lot of wrong new modes.

Kind regards,

Jorg
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

jorgh,

I think i understand :-)
It means there are more listening modes and they are being created on the fly, depending on the receivers response... right?
I'm allright with that :D

Stereo, direct and Pure Audio work as expected
It seems that repeatedly klicking on Movie/TV for example cycles true all the available sound options. I can't see what the receiver is doing, cause i'm at the office, but this makes sense.
Hope nobody is home trying to listen to something :lol:

Thanks for the help, patience and the good job. Any idea if Internet Presets are going to be in a feature version?

Tnx again!
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

Just for the record:
I dont see the 80->ISCP buttons any more. That's good, but it stil keeps creating new buttons.

I renamed them all to the corresponding sound format, for example "Pro Logic" and keep pressing the Movie/TV button untill the receiver switches to "Pro Logic" again, it creates a new button.

It looks like it creates a "[80] New" (or whatever) button when a new soundformat is chosen (for example Pro Logic). When i rename that one to Pro Logic and switch until the receiver is on Pro Logic again, it creates another "[80] New" button. Seem logic ofcourse, cause the initial button is renamed.

I can live with it, just my 2 cents on this
User avatar
jorgh
Posts: 124
Joined: Friday 27 June 2014 23:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8224
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jorgh »

JimmyH1969 wrote:Just for the record:
I dont see the 80->ISCP buttons any more. That's good, but it stil keeps creating new buttons.

I renamed them all to the corresponding sound format, for example "Pro Logic" and keep pressing the Movie/TV button untill the receiver switches to "Pro Logic" again, it creates a new button.

It looks like it creates a "[80] New" (or whatever) button when a new soundformat is chosen (for example Pro Logic). When i rename that one to Pro Logic and switch until the receiver is on Pro Logic again, it creates another "[80] New" button. Seem logic ofcourse, cause the initial button is renamed.

I can live with it, just my 2 cents on this
You should leave The [80] in place. The plug-in uses that to match The level with the code the receiver sends. You can replace New with a more appropriate name.

Verstuurd vanaf mijn HTC 10 met Tapatalk
JimmyH1969
Posts: 153
Joined: Tuesday 28 June 2016 16:38
Target OS: Windows
Domoticz version: Beta
Location: Amersfoort NL
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by JimmyH1969 »

Works great, tnx :mrgreen: :D
jake
Posts: 742
Joined: Saturday 30 May 2015 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by jake »

@jorgh I am installing a new RPI3 to run Domoticz. Leaving the original Pi running, I can play with an empty Pi / new Domoticz without hurting the current setup. Step 1 was to install the latest beta and the new Onkyo plugin, that is supposed to work with the new setup.

UPDATE: I finally figured it out. I downloaded the file from github, but somehow it ended up as some kind of HTML content. At the end I copy-pasted the text from the github python.py into the file on my RPI. Problem fixed!

I am able to name my Listening modes, your approach works well. What doesn't work is 'setting' the newly listening modes. I click on the required listening mode, the switch button changes colour, but the receiver doesn't respond. After a refresh, the listening mode is changed back to the one that the receiver actually is on.
I can only use the predefined audio modes, like Movie/TV, Music, Game etc. and toggle through the listening modes. Being able to 'set' a listening mode directly, has been my goal for the longest time.
Xavier82
Posts: 178
Joined: Tuesday 07 June 2016 22:09
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: [RELEASED] Python plugin to control Onkyo receivers

Post by Xavier82 »

@Jorgh,

Did you find some time to create a plugin which supports Onkyo devices without NRI?

Regards,
Xavier
Xavier82 wrote: Thursday 27 July 2017 9:44 @Jorgh,

Thanks!

So I will now wait on your version to support devices without NRI :).
Any idea about a planning of this feature?

Regards,
Xavier
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest