Generic Denon / Marantz python plugin

Python and python framework

Moderator: leecollings

hk88
Posts: 2
Joined: Thursday 14 February 2019 8:52
Target OS: NAS (Synology & others)
Domoticz version: 4.9700
Location: Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by hk88 »

Hi Dnpwwo, Indeed, I am using autodetect. Will try switching it off.

Thanks for the reply!

Updated: It is working like a charm now! Thanks again Dnpwwo!
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

Hi, plug-in works for me too. Only half of the sources do not work. Like to understand how i can determine the sources string.

Currently use: Off|CBL/SAT|DVD|Blu-ray|Game|Media Player|AUX1|AUX2|CD

This is the list i get from my manual and that i see in the setup page of the receiver. (Denon AVR-X6200W)

Sources that work are: Off, DVD, AUX1, AUX2 and CD

Suggestions how to get the others to work are much appreciated.
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dnpwwo »

@Dutchsea,

Can you turn debugging on for the plugin and post the log when trying to select the other devices? Hopefully the amp will tell us why it isn't happy.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dnpwwo »

@Dutchsea,

Can you turn debugging on for the plugin and post the log when trying to select the other devices? Hopefully the amp will tell us why it isn't happy.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

Hi Dnpwwo,

Which log info would you like. The info from the Generic Domoticz Log probably (I cant find a specific debug log for the plugin)
Also which error level? I used "all" for the below log data.

First I noticed that when I added the plugin, before adding devices, the errors appeared in the log:

Code: Select all

2019-04-03 14:37:04.276 Error: (Denon AVR) 'onStart' failed 'NameError':'name 'tunerId' is not defined'.
2019-04-03 14:37:04.276 Error: (Denon AVR) ----> Line 456 in '/home/pi/domoticz/plugins/Domoticz-Denon-Plugin/plugin.py', function onStart
2019-04-03 14:37:04.276 Error: (Denon AVR) ----> Line 139 in '/home/pi/domoticz/plugins/Domoticz-Denon-Plugin/plugin.py', function onStart
Still the plugin works except for some sources as per my previous post.

Next thing I noticed is that my iOS app cant connect to my Denon AVR anymore. I have the notion that the AVR is overwhelmed by requests from the Domoticz plugin. Maybe the number of requests have increased by changing the debug setting of the plugin to "all"? (I do not remember this behavior when I first tried the plugin without debug). I will check this later.

Note that I actually expect to have more sources as I also have iPod, Tuner (and some other sources on my AVR)
Also this AVR has 3 zones (each zone can be switched on and of independent and can play a different source). I am not using this function but you will see some reference of this in the log.

Below log entries when I push a working source (AUX1)

Code: Select all

2019-04-03 15:51:36.308 Status: User: Admin initiated a switch command (191/Denon AVR - Main Zone/Set Level)
2019-04-03 15:51:37.560 (Denon AVR) Update 60:'60' (Denon AVR - Main Zone)
2019-04-03 15:51:37.560 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.560 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.560 (Denon AVR) Received 8 bytes of data
2019-04-03 15:51:37.560 (Denon AVR) 43 56 46 4c 20 35 30 0d .. .. .. .. .. .. .. .. .. .. .. .. CVFL.50.
2019-04-03 15:51:37.560 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.560 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.560 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.560 (Denon AVR) onMessage called with Data: 'CVFL 50'
2019-04-03 15:51:37.564 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.580 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.611 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.611 (Denon AVR) Received 8 bytes of data
2019-04-03 15:51:37.611 (Denon AVR) 43 56 46 52 20 35 30 0d .. .. .. .. .. .. .. .. .. .. .. .. CVFR.50.
2019-04-03 15:51:37.611 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.611 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.611 (Denon AVR) Received 6 bytes of data
2019-04-03 15:51:37.611 (Denon AVR) 43 56 45 4e 44 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. CVEND.
2019-04-03 15:51:37.611 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.611 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.611 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.612 (Denon AVR) onMessage called with Data: 'CVFR 50'
2019-04-03 15:51:37.612 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.612 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.612 (Denon AVR) onMessage called with Data: 'CVEND'
2019-04-03 15:51:37.644 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.662 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.662 (Denon AVR) Received 9 bytes of data
2019-04-03 15:51:37.662 (Denon AVR) 4d 56 4d 41 58 20 39 38 0d .. .. .. .. .. .. .. .. .. .. .. MVMAX.98.
2019-04-03 15:51:37.663 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.663 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.663 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.663 (Denon AVR) onMessage called with Data: 'MVMAX 98'
2019-04-03 15:51:37.663 (Denon AVR) Unknown: Action MV, Detail 'MAX 98' ignored.
2019-04-03 15:51:37.693 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.713 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.713 (Denon AVR) Received 7 bytes of data
2019-04-03 15:51:37.713 (Denon AVR) 53 44 41 55 54 4f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. SDAUTO.
2019-04-03 15:51:37.713 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.713 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.713 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.714 (Denon AVR) onMessage called with Data: 'SDAUTO'
2019-04-03 15:51:37.720 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.731 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.764 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.764 (Denon AVR) Received 7 bytes of data
2019-04-03 15:51:37.764 (Denon AVR) 44 43 41 55 54 4f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. DCAUTO.
2019-04-03 15:51:37.764 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.764 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.764 (Denon AVR) Received 18 bytes of data
2019-04-03 15:51:37.764 (Denon AVR) 50 53 4d 55 4c 54 45 51 3a 41 55 44 59 53 53 45 59 0d .. .. PSMULTEQ:AUDYSSEY.
2019-04-03 15:51:37.764 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.765 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.765 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.765 (Denon AVR) onMessage called with Data: 'DCAUTO'
2019-04-03 15:51:37.765 (Denon AVR) Unknown message 'DC' ignored.
2019-04-03 15:51:37.765 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.765 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.765 (Denon AVR) onMessage called with Data: 'PSMULTEQ:AUDYSSEY'
2019-04-03 15:51:37.774 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.779 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.809 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.816 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.816 (Denon AVR) Received 11 bytes of data
2019-04-03 15:51:37.816 (Denon AVR) 50 53 44 59 4e 45 51 20 4f 4e 0d .. .. .. .. .. .. .. .. .. PSDYNEQ.ON.
2019-04-03 15:51:37.816 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.816 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.816 (Denon AVR) Received 13 bytes of data
2019-04-03 15:51:37.816 (Denon AVR) 50 53 44 59 4e 56 4f 4c 20 4d 45 44 0d .. .. .. .. .. .. .. PSDYNVOL.MED.
2019-04-03 15:51:37.816 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.816 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.816 (Denon AVR) Received 7 bytes of data
2019-04-03 15:51:37.816 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:51:37.816 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.816 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.816 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.817 (Denon AVR) onMessage called with Data: 'PSDYNEQ ON'
2019-04-03 15:51:37.817 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.817 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.817 (Denon AVR) onMessage called with Data: 'PSDYNVOL MED'
2019-04-03 15:51:37.817 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.817 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.817 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:51:37.818 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 15:51:37.858 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:37.868 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:37.868 (Denon AVR) Received 6 bytes of data
2019-04-03 15:51:37.868 (Denon AVR) 53 56 4f 46 46 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. SVOFF.
2019-04-03 15:51:37.868 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:37.868 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:37.868 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:37.868 (Denon AVR) onMessage called with Data: 'SVOFF'
2019-04-03 15:51:38.134 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:38.169 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:38.169 (Denon AVR) Received 16 bytes of data
2019-04-03 15:51:38.169 (Denon AVR) 53 53 49 4e 46 41 49 53 46 53 56 20 4e 4f 4e 0d .. .. .. .. SSINFAISFSV.NON.
2019-04-03 15:51:38.169 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:38.169 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:38.169 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:38.169 (Denon AVR) onMessage called with Data: 'SSINFAISFSV NON'
2019-04-03 15:51:46.010 (RFXtrx433) Temp (Unknown)
2019-04-03 15:51:46.489 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:51:46.535 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:51:46.535 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:51:46.535 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:51:46.535 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:51:46.535 (Denon AVR) onHeartbeat: self.lastMessage MV, Sending 'MU'.
2019-04-03 15:51:46.535 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:51:46.535 (Denon AVR) Sending 4 bytes of data
2019-04-03 15:51:46.535 (Denon AVR) 4d 55 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. MU?.
2019-04-03 15:51:46.655 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:46.686 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:46.686 (Denon AVR) Received 6 bytes of data
2019-04-03 15:51:46.686 (Denon AVR) 4d 55 4f 46 46 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. MUOFF.
2019-04-03 15:51:46.686 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:46.686 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:46.686 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:46.686 (Denon AVR) onMessage called with Data: 'MUOFF'
2019-04-03 15:51:56.491 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:51:56.505 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:51:56.505 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:51:56.505 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:51:56.505 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:51:56.505 (Denon AVR) onHeartbeat: self.lastMessage MU, Sending 'Z2'.
2019-04-03 15:51:56.506 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:51:56.506 (Denon AVR) Sending 4 bytes of data
2019-04-03 15:51:56.506 (Denon AVR) 5a 32 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Z2?.
2019-04-03 15:51:56.605 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:56.606 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:56.606 (Denon AVR) Received 5 bytes of data
2019-04-03 15:51:56.606 (Denon AVR) 5a 32 4f 4e 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Z2ON.
2019-04-03 15:51:56.606 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:56.607 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:56.606 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:56.607 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:56.607 (Denon AVR) onMessage called with Data: 'Z2ON'
2019-04-03 15:51:56.607 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:56.607 (Denon AVR) Received 7 bytes of data
2019-04-03 15:51:56.607 (Denon AVR) 5a 32 41 55 58 32 0d .. .. .. .. .. .. .. .. .. .. .. .. .. Z2AUX2.
2019-04-03 15:51:56.607 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:56.608 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:56.608 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:56.608 (Denon AVR) onMessage called with Data: 'Z2AUX2'
2019-04-03 15:51:56.615 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:56.658 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:56.658 (Denon AVR) Received 5 bytes of data
2019-04-03 15:51:56.658 (Denon AVR) 5a 32 34 30 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Z240.
2019-04-03 15:51:56.658 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:56.658 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:56.658 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:56.659 (Denon AVR) onMessage called with Data: 'Z240'
2019-04-03 15:51:56.693 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:51:56.709 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:51:56.709 (Denon AVR) Received 6 bytes of data
2019-04-03 15:51:56.709 (Denon AVR) 53 56 4f 46 46 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. SVOFF.
2019-04-03 15:51:56.709 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:51:56.709 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:51:56.709 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:51:56.709 (Denon AVR) onMessage called with Data: 'SVOFF'
2019-04-03 15:52:06.492 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:52:06.527 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:52:06.527 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:52:06.528 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:52:06.528 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:52:06.528 (Denon AVR) onHeartbeat: self.lastMessage Z2, Sending 'Z3'.
2019-04-03 15:52:06.528 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:52:06.528 (Denon AVR) Sending 4 bytes of data
2019-04-03 15:52:06.528 (Denon AVR) 5a 33 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Z3?.
2019-04-03 15:52:06.610 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:52:06.619 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:52:06.629 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:52:06.629 (Denon AVR) Received 5 bytes of data
2019-04-03 15:52:06.629 (Denon AVR) 5a 33 4f 4e 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Z3ON.
2019-04-03 15:52:06.629 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:52:06.629 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:52:06.629 (Denon AVR) Received 7 bytes of data
2019-04-03 15:52:06.629 (Denon AVR) 5a 33 41 55 58 32 0d .. .. .. .. .. .. .. .. .. .. .. .. .. Z3AUX2.
2019-04-03 15:52:06.629 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:52:06.629 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:52:06.629 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:52:06.629 (Denon AVR) onMessage called with Data: 'Z3ON'
2019-04-03 15:52:06.630 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:52:06.630 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:52:06.630 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:52:06.630 (Denon AVR) onMessage called with Data: 'Z3AUX2'
2019-04-03 15:52:06.630 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:52:06.630 (Denon AVR) Received 5 bytes of data
2019-04-03 15:52:06.631 (Denon AVR) 5a 33 34 37 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. Z347.
2019-04-03 15:52:06.631 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:52:06.631 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:52:06.631 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:52:06.631 (Denon AVR) onMessage called with Data: 'Z347'
2019-04-03 15:52:06.705 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:52:06.731 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:52:06.731 (Denon AVR) Received 6 bytes of data
2019-04-03 15:52:06.731 (Denon AVR) 53 56 4f 46 46 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. SVOFF.
2019-04-03 15:52:06.731 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:52:06.732 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:52:06.732 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:52:06.732 (Denon AVR) onMessage called with Data: 'SVOFF'
2019-04-03 15:52:16.004 (RFXtrx433) Temp (Unknown)
2019-04-03 15:52:16.494 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:52:16.502 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:52:16.502 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:52:16.502 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:52:16.502 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:52:16.502 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 15:52:16.503 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:52:16.503 (Denon AVR) Sending 6 bytes of data
2019-04-03 15:52:16.503 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 15:52:16.635 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:52:16.653 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:52:16.653 (Denon AVR) Received 7 bytes of data
2019-04-03 15:52:16.653 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:52:16.653 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:52:16.653 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:52:16.654 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:52:16.654 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:52:16.654 (Denon AVR) TPAN received. Key: 0, Detail 08
Next is when I push CBL/SAT

Code: Select all

2019-04-03 15:58:06.553 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:58:06.591 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:58:06.591 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:58:06.591 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:58:06.591 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:58:06.591 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 15:58:06.591 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:58:06.592 (Denon AVR) Sending 6 bytes of data
2019-04-03 15:58:06.592 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 15:58:06.657 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:58:06.692 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:58:06.692 (Denon AVR) Received 7 bytes of data
2019-04-03 15:58:06.692 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:58:06.692 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:58:06.692 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:58:06.692 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:58:06.692 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:58:06.692 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 15:58:16.130 (Denon AVR) Pushing 'onCommandCallback' on to queue
2019-04-03 15:58:16.157 (Denon AVR) Processing 'onCommandCallback' message
2019-04-03 15:58:16.157 (Denon AVR) Calling message handler 'onCommand'.
2019-04-03 15:58:16.157 (Denon AVR) onCommand called for Unit 2: Parameter 'Set Level', Level: 10
2019-04-03 15:58:16.158 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:58:16.158 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:58:16.158 (Denon AVR) Sending 10 bytes of data
2019-04-03 15:58:16.158 (Denon AVR) 53 49 43 42 4c 2f 53 41 54 0d .. .. .. .. .. .. .. .. .. .. SICBL/SAT.
2019-04-03 15:58:16.555 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:58:16.559 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:58:16.559 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:58:16.559 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:58:16.559 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:58:16.559 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 15:58:16.559 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:58:16.559 (Denon AVR) Sending 6 bytes of data
2019-04-03 15:58:16.559 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 15:58:16.657 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:58:16.660 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:58:16.660 (Denon AVR) Received 7 bytes of data
2019-04-03 15:58:16.660 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:58:16.660 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:58:16.660 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:58:16.660 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:58:16.660 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:58:16.660 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 15:58:16.129 Status: User: Admin initiated a switch command (191/Denon AVR - Main Zone/Set Level)
2019-04-03 15:58:26.556 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:58:26.575 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:58:26.575 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:58:26.576 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:58:26.576 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:58:26.576 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 15:58:26.576 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:58:26.576 (Denon AVR) Sending 6 bytes of data
2019-04-03 15:58:26.576 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 15:58:26.637 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:58:26.677 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:58:26.677 (Denon AVR) Received 7 bytes of data
2019-04-03 15:58:26.677 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:58:26.677 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:58:26.677 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:58:26.677 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:58:26.677 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:58:26.677 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 15:58:29.824 (BMP180 I2C module) Temp + Baro (Temp/druk meterkast)
2019-04-03 15:58:36.558 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:58:36.593 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:58:36.593 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:58:36.593 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:58:36.593 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:58:36.593 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 15:58:36.593 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:58:36.593 (Denon AVR) Sending 6 bytes of data
2019-04-03 15:58:36.593 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 15:58:36.674 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:58:36.694 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:58:36.694 (Denon AVR) Received 7 bytes of data
2019-04-03 15:58:36.694 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:58:36.694 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:58:36.694 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:58:36.694 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:58:36.694 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:58:36.694 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 15:58:43.162 (Nefit Easy) Thermostat (Nefit Easy - Setpoint)
2019-04-03 15:58:43.168 (Nefit Easy) Temp (Temperatuur Thermostaat)
2019-04-03 15:58:43.343 (Nefit Easy) Temp (Nefit Easy - Flow Temp)
2019-04-03 15:58:46.015 (RFXtrx433) Temp (Unknown)
2019-04-03 15:58:46.560 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:58:46.609 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:58:46.609 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:58:46.610 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:58:46.610 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:58:46.610 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 15:58:46.610 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:58:46.610 (Denon AVR) Sending 6 bytes of data
2019-04-03 15:58:46.610 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 15:58:46.725 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:58:46.761 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:58:46.761 (Denon AVR) Received 7 bytes of data
2019-04-03 15:58:46.761 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:58:46.761 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:58:46.761 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:58:46.761 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:58:46.761 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:58:46.761 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 15:58:56.562 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:58:56.578 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:58:56.578 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:58:56.578 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:58:56.579 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:58:56.579 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 15:58:56.579 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:58:56.579 (Denon AVR) Sending 6 bytes of data
2019-04-03 15:58:56.579 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 15:58:56.684 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:58:56.729 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:58:56.729 (Denon AVR) Received 7 bytes of data
2019-04-03 15:58:56.730 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:58:56.730 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:58:56.730 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:58:56.730 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:58:56.730 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:58:56.730 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 15:58:59.885 (BMP180 I2C module) Temp + Baro (Temp/druk meterkast)
2019-04-03 15:59:06.563 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 15:59:06.598 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 15:59:06.598 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 15:59:06.598 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 15:59:06.598 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 15:59:06.598 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 15:59:06.598 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 15:59:06.598 (Denon AVR) Sending 6 bytes of data
2019-04-03 15:59:06.599 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 15:59:06.682 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 15:59:06.699 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 15:59:06.699 (Denon AVR) Received 7 bytes of data
2019-04-03 15:59:06.699 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 15:59:06.699 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 15:59:06.699 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 15:59:06.699 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 15:59:06.699 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 15:59:06.700 (Denon AVR) TPAN received. Key: 0, Detail 08
And for Blu-ray

Code: Select all

 2019-04-03 16:02:06.900 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:02:06.905 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:02:06.905 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:02:06.905 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:02:06.905 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:02:06.906 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:02:06.906 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:02:06.906 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:02:06.906 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:02:07.024 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:02:07.056 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:02:07.056 (Denon AVR) Received 7 bytes of data
2019-04-03 16:02:07.056 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:02:07.057 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:02:07.057 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:02:07.057 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:02:07.057 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:02:07.057 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 16:02:08.433 (Denon AVR) Pushing 'onCommandCallback' on to queue
2019-04-03 16:02:08.460 (Denon AVR) Processing 'onCommandCallback' message
2019-04-03 16:02:08.460 (Denon AVR) Calling message handler 'onCommand'.
2019-04-03 16:02:08.460 (Denon AVR) onCommand called for Unit 2: Parameter 'Set Level', Level: 30
2019-04-03 16:02:08.460 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:02:08.460 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:02:08.460 (Denon AVR) Sending 10 bytes of data
2019-04-03 16:02:08.460 (Denon AVR) 53 49 42 6c 75 2d 72 61 79 0d .. .. .. .. .. .. .. .. .. .. SIBlu-ray.
2019-04-03 16:02:08.432 Status: User: Admin initiated a switch command (191/Denon AVR - Main Zone/Set Level)
2019-04-03 16:02:16.016 (RFXtrx433) Temp (Unknown)
2019-04-03 16:02:16.902 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:02:16.925 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:02:16.925 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:02:16.925 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:02:16.925 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:02:16.925 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:02:16.925 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:02:16.925 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:02:16.925 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:02:17.008 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:02:17.026 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:02:17.026 (Denon AVR) Received 7 bytes of data
2019-04-03 16:02:17.026 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:02:17.026 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:02:17.026 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:02:17.026 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:02:17.026 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:02:17.026 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 16:02:17.755 (Nefit Easy) Thermostat (Nefit Easy - Setpoint)
2019-04-03 16:02:17.761 (Nefit Easy) Temp (Temperatuur Thermostaat)
2019-04-03 16:02:17.929 (Nefit Easy) Temp (Nefit Easy - Flow Temp)
2019-04-03 16:02:26.904 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:02:26.946 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:02:26.946 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:02:26.946 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:02:26.946 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:02:26.946 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:02:26.946 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:02:26.946 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:02:26.946 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:02:27.055 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:02:27.097 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:02:27.097 (Denon AVR) Received 7 bytes of data
2019-04-03 16:02:27.097 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:02:27.097 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:02:27.097 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:02:27.097 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:02:27.097 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:02:27.098 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 16:02:30.293 (BMP180 I2C module) Temp + Baro (Temp/druk meterkast)
2019-04-03 16:02:36.905 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:02:36.916 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:02:36.916 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:02:36.916 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:02:36.916 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:02:36.916 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:02:36.917 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:02:36.917 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:02:36.917 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:02:37.021 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:02:37.067 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:02:37.067 (Denon AVR) Received 7 bytes of data
2019-04-03 16:02:37.067 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:02:37.067 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:02:37.068 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:02:37.068 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:02:37.068 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:02:37.068 (Denon AVR) TPAN received. Key: 0, Detail 08 
For Game

Code: Select all

 2019-04-03 16:05:30.643 (BMP180 I2C module) Temp + Baro (Temp/druk meterkast)
2019-04-03 16:05:36.937 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:05:36.974 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:05:36.974 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:05:36.975 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:05:36.975 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:05:36.975 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:05:36.975 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:05:36.975 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:05:36.975 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:05:37.050 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:05:37.075 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:05:37.075 (Denon AVR) Received 7 bytes of data
2019-04-03 16:05:37.076 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:05:37.076 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:05:37.076 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:05:37.076 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:05:37.076 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:05:37.076 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 16:05:39.313 (Denon AVR) Pushing 'onCommandCallback' on to queue
2019-04-03 16:05:39.330 (Denon AVR) Processing 'onCommandCallback' message
2019-04-03 16:05:39.330 (Denon AVR) Calling message handler 'onCommand'.
2019-04-03 16:05:39.330 (Denon AVR) onCommand called for Unit 2: Parameter 'Set Level', Level: 40
2019-04-03 16:05:39.331 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:05:39.331 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:05:39.331 (Denon AVR) Sending 7 bytes of data
2019-04-03 16:05:39.331 (Denon AVR) 53 49 47 61 6d 65 0d .. .. .. .. .. .. .. .. .. .. .. .. .. SIGame.
2019-04-03 16:05:39.312 Status: User: Admin initiated a switch command (191/Denon AVR - Main Zone/Set Level)
2019-04-03 16:05:47.047 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:05:47.096 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:05:47.096 (Denon AVR) Received 7 bytes of data
2019-04-03 16:05:47.096 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:05:47.096 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:05:47.096 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:05:47.096 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:05:47.096 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:05:47.096 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 16:05:56.940 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:05:56.964 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:05:56.965 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:05:56.965 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:05:56.965 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:05:56.965 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:05:56.965 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:05:56.965 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:05:56.965 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:05:57.031 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:05:57.065 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:05:57.066 (Denon AVR) Received 7 bytes of data
2019-04-03 16:05:57.066 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:05:57.066 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:05:57.066 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:05:57.066 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:05:57.066 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:05:57.066 (Denon AVR) TPAN received. Key: 0, Detail 08
And for Media Player

Code: Select all

 2019-04-03 16:06:56.950 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:06:56.986 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:06:56.986 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:06:56.986 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:06:56.986 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:06:56.986 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:06:56.986 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:06:56.986 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:06:56.986 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:06:57.067 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:06:57.087 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:06:57.087 (Denon AVR) Received 7 bytes of data
2019-04-03 16:06:57.087 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:06:57.087 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:06:57.087 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:06:57.087 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:06:57.087 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:06:57.087 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 16:07:02.126 (Denon AVR) Pushing 'onCommandCallback' on to queue
2019-04-03 16:07:02.151 (Denon AVR) Processing 'onCommandCallback' message
2019-04-03 16:07:02.151 (Denon AVR) Calling message handler 'onCommand'.
2019-04-03 16:07:02.152 (Denon AVR) onCommand called for Unit 2: Parameter 'Set Level', Level: 50
2019-04-03 16:07:02.152 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:07:02.152 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:07:02.152 (Denon AVR) Sending 15 bytes of data
2019-04-03 16:07:02.152 (Denon AVR) 53 49 4d 65 64 69 61 20 50 6c 61 79 65 72 0d .. .. .. .. .. SIMedia.Player.
2019-04-03 16:07:02.125 Status: User: Admin initiated a switch command (191/Denon AVR - Main Zone/Set Level)
2019-04-03 16:07:06.952 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:07:06.962 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:07:06.962 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:07:06.962 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:07:06.962 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:07:06.962 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:07:06.962 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:07:06.962 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:07:06.962 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:07:07.046 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:07:07.063 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:07:07.063 (Denon AVR) Received 7 bytes of data
2019-04-03 16:07:07.063 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:07:07.063 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:07:07.063 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:07:07.063 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:07:07.063 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:07:07.064 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 16:07:16.015 (RFXtrx433) Temp (Unknown)
2019-04-03 16:07:16.953 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:07:16.980 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:07:16.980 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:07:16.980 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:07:16.980 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:07:16.980 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:07:16.980 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:07:16.980 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:07:16.980 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:07:17.041 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:07:17.081 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:07:17.081 (Denon AVR) Received 7 bytes of data
2019-04-03 16:07:17.081 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:07:17.081 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:07:17.081 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:07:17.081 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:07:17.081 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:07:17.081 (Denon AVR) TPAN received. Key: 0, Detail 08
2019-04-03 16:07:26.955 (Denon AVR) Pushing 'onHeartbeatCallback' on to queue
2019-04-03 16:07:26.997 (Denon AVR) Processing 'onHeartbeatCallback' message
2019-04-03 16:07:26.997 (Denon AVR) Calling message handler 'onHeartbeat'.
2019-04-03 16:07:26.997 (Denon AVR) onHeartbeat called, last response seen 0 heartbeats ago.
2019-04-03 16:07:26.998 (Denon AVR) Pushing 'WriteDirective' on to queue
2019-04-03 16:07:26.998 (Denon AVR) onHeartbeat: self.lastMessage Z3, Sending 'TP'.
2019-04-03 16:07:26.998 (Denon AVR) Processing 'WriteDirective' message
2019-04-03 16:07:26.998 (Denon AVR) Sending 6 bytes of data
2019-04-03 16:07:26.998 (Denon AVR) 54 50 41 4e 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN?.
2019-04-03 16:07:27.117 (Denon AVR) Pushing 'ReadEvent' on to queue
2019-04-03 16:07:27.148 (Denon AVR) Processing 'ReadEvent' message
2019-04-03 16:07:27.149 (Denon AVR) Received 7 bytes of data
2019-04-03 16:07:27.149 (Denon AVR) 54 50 41 4e 30 38 0d .. .. .. .. .. .. .. .. .. .. .. .. .. TPAN08.
2019-04-03 16:07:27.149 (Denon AVR) Pushing 'onMessageCallback' on to queue
2019-04-03 16:07:27.149 (Denon AVR) Processing 'onMessageCallback' message
2019-04-03 16:07:27.149 (Denon AVR) Calling message handler 'onMessage'.
2019-04-03 16:07:27.149 (Denon AVR) onMessage called with Data: 'TPAN08'
2019-04-03 16:07:27.149 (Denon AVR) TPAN received. Key: 0, Detail 08 
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

"Hold the press, some major development..." ;)

Based on this post https://www.domoticz.com/forum/viewtopi ... 80#p206483 which shows "formMainZone_MainZoneXml.xml" I started looking for similar xml files as they seem to show some kind of source mapping.

I found this one: https://github.com/scarface-4711/denona ... oneXml.xml

I decided to try and change my source string using the different versions (short and capital letters)of the source names.

So changed it from:

Off|CBL/SAT|DVD|Blu-ray|Game|Media Player|AUX1|AUX2|CD

to

Off|SAT/CBL|DVD|BD|GAME|MPLAY|AUX1|AUX2|CD

And voila, al sources work now!

Also added Tuner and iPod now (and changed Off to OFF) so final working source string is:
OFF|SAT/CBL|DVD|BD|GAME|MPLAY|AUX1|AUX2|CD|TUNER|USB/IPOD

All sources working including Tuner and USB/iPod

Seems to order of the source name is not relevant but the names must all be in CAPITALS and Short version name (and CBL/SAT must change to SAT/CBL)
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

Still see below errors in my log. Maybe not relevant as all seems to work as expected.

Code: Select all

2019-04-03 14:37:04.276 Error: (Denon AVR) 'onStart' failed 'NameError':'name 'tunerId' is not defined'.
2019-04-03 14:37:04.276 Error: (Denon AVR) ----> Line 456 in '/home/pi/domoticz/plugins/Domoticz-Denon-Plugin/plugin.py', function onStart
2019-04-03 14:37:04.276 Error: (Denon AVR) ----> Line 139 in '/home/pi/domoticz/plugins/Domoticz-Denon-Plugin/plugin.py', function onStart
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dnpwwo »

@Dutchsea,

I pushed a newer version that may resolve the issue.

Glad you got it sorted out.

BTW, the amplifier will only accept one telnet connection at a time so if Domoticz is connected your phone can't :(
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

I updated (using git pull)

Errors changed:

Code: Select all

2019-04-03 23:26:43.114 Error: (Denon AVR) 'onStart' failed 'AttributeError':''BasePlugin' object has no attribute 'Options''.
2019-04-03 23:26:43.114 Error: (Denon AVR) ----> Line 456 in '/home/pi/domoticz/plugins/Domoticz-Denon-Plugin/plugin.py', function onStart
2019-04-03 23:26:43.114 Error: (Denon AVR) ----> Line 140 in '/home/pi/domoticz/plugins/Domoticz-Denon-Plugin/plugin.py', function onStart
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

FYI, i use the app “DeRemote” on my iphone and on my ipad. These apps i can run parallel. So if i have both apps open and change a setting (i.e. Mute) on my iPhone the other app on my ipad synchronises this status and vice versa.

So I wonder if the app use a telnet connection as you mention only 1 telnet connection is accepted by the AVR.

(The app is quite nice and use it often. Though even beter if i can use some basic functions in Domoticz too.)

One more observation, i changed the names of the sources in the switches tab of Domoticz (changing the level names)
This works fine.

But when I change the order of the levels the order of the sources in the selector menu change but the function of each source is still maxed to gehold source. For example i changed Tuner to level 1 but when i select tuner the AVR turns off (so activates the “old” OFF source.
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dnpwwo »

@Dutchsea,

Yes, if you change the order of the selector you need to change the order you specify the sources. The plugin doesn't use the names from the selector but does use the 'position' in the list to map it to the unfriendly Denon source name.

Some applications use the Denon web interface rather than the telnet one and that works well for giving the amp commands. The Domoticz plugin uses telnet because it does not need to 'poll' the amp, it gets informed of changes straight away which handles the case where someone uses the remote (or even more crazily) pushes a button on the amp itself :shock:

Apps would normally use http because that travels through networks better than telnet. Maybe it has some settings you can tweak
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

I will send a message for info to the developer of the app. Believe he is living here in NL

Have the new error messages inposted any relevance, just curious...
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

Further insight; never saw the tuner selector switch come alive (appear) in my Domoticz devices overview.
Would be nice to get that one as well.
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
User avatar
gielie
Posts: 290
Joined: Tuesday 12 January 2016 11:40
Target OS: Raspberry Pi / ODroid
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Generic Denon / Marantz python plugin

Post by gielie »

Dnpwwo wrote: Thursday 04 April 2019 2:48 @Dutchsea,
(or even more crazily) pushes a button on the amp itself :shock:
People still do that? OMG
- Aeon Labs USB Stick met Z-wave plus
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
User avatar
Dutchsea
Posts: 116
Joined: Tuesday 08 December 2015 13:22
Target OS: Raspberry Pi / ODroid
Domoticz version: v2023.2
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dutchsea »

gielie wrote: Friday 05 April 2019 13:50
Dnpwwo wrote: Thursday 04 April 2019 2:48 @Dutchsea,
(or even more crazily) pushes a button on the amp itself :shock:
People still do that? OMG
NEVER :D
Raspberry PI 3B on USB drive, Debian version: 12 (bookworm), Domoticz 2023.2
Aeon Z-Wave G5 stick, RFXCOM, Sonof Zigbee 3.0 Dongle plus E, Nefit Easy, Fritzbox, Buienradar, Sonos
sammyke007
Posts: 204
Joined: Monday 08 May 2017 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: 2022.1
Location: Belgium
Contact:

Re: Generic Denon / Marantz python plugin

Post by sammyke007 »

Dutchsea wrote: Wednesday 03 April 2019 23:29 I updated (using git pull)

Errors changed:

Code: Select all

2019-04-03 23:26:43.114 Error: (Denon AVR) 'onStart' failed 'AttributeError':''BasePlugin' object has no attribute 'Options''.
2019-04-03 23:26:43.114 Error: (Denon AVR) ----> Line 456 in '/home/pi/domoticz/plugins/Domoticz-Denon-Plugin/plugin.py', function onStart
2019-04-03 23:26:43.114 Error: (Denon AVR) ----> Line 140 in '/home/pi/domoticz/plugins/Domoticz-Denon-Plugin/plugin.py', function onStart
Got the same error on start, but the plugin is working perfectly with my AVR-X2500H!
Changed inputs to
OFF|SAT/CBL|DVD|BD|GAME|MPLAY|AUX1|AUX2|CD|TUNER|USB/IPOD (tnx @Dutchsea!)
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dnpwwo »

@sammyke007 and @Dutchsea,

My tuner died some years ago (rest of the amp is still fine) so I don't use this functionality (in fact it was added by someone else).

From looking at the code I think I know whats wrong and I've pushed an update (3.3.4) to: https://github.com/dnpwwo/Domoticz-Denon-Plugin but I can't test it fully.

Tuner device should now be present if it is in your inputs list
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
galinette
Posts: 68
Joined: Monday 11 December 2017 22:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by galinette »

Hi,

I have installed this plugin and it works quite well with a Marantz NR-1608.

However, I have an issue with Zone 2. I have actually no Zone 2 speakers installed and I never use the feature. When I switch on the amp in Domoticz, either with the main switch, or by selecting a source in Zone 1, it seems to switch on Zone 2 too. Which means, that just pressing the power switch on the remote or on the amp itself does not shut off the amp anymore. You have to manually select zone 2 and switch of zone 2 in order to power off. This is super bad for the waf and super cumbersome, as we don't ever use Zone 2 (if I could completely disable it, I would, but unfortunately the amp setup does not allow that).

Any idea? Is this a plugin bug?

Thanks!
User avatar
Dnpwwo
Posts: 819
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Generic Denon / Marantz python plugin

Post by Dnpwwo »

@galinette,

Not really a bug because I only use Zone 1 of a possible 3 on my Denon amp and don't have this problem. More likely this is amplifier specific.

Normal behavior for these amps is that turning the power on restores them to the previous state, it does not turn all the Zones on.

My suggestion would be to create a device event script that watches for Zone 1 being turned off and turns Zone 2 off if it is on, that way your wife will not need to do anything.
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
galinette
Posts: 68
Joined: Monday 11 December 2017 22:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by galinette »

Hi,

You are right, this is amplifier specific. I did some tests, the "PWON" command switches on all zones and does not recover previous state.

On the other hand, sending "ZMON" switches on zone 1, and turns the power on if necessary.
Switching off a zone does a general power shut down if no more zones are on.

So it seems that on this amp, PWON / PWSTANDBY affect all zones at once, but switching on/off individual zones do the necessary work for switching on/off main power when necessary.

I have modified the plugin, fully removed the main power button, and let the zone source selectors do the job. It's flawless now.

Maybe if you have more feedback like mine you can add this behavior with an option in the hardware settings.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest