Generic Denon / Marantz python plugin

Python and python framework
italoc
Posts: 23
Joined: Monday 13 February 2017 14:57
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by italoc » Monday 22 May 2017 9:47

i'm trying to use this plugin width latest beta of domoticz, but in hardware if i select DENON plugin i can't add the hardware, i obtain this error
" Do not enable this option for devices that do not receive data! "

any ideas?

Andyyyy
Posts: 40
Joined: Saturday 13 July 2013 23:46
Target OS: -
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by Andyyyy » Tuesday 23 May 2017 13:10

Hello rjblake,

i found the problem for me in your code....marked in red
rjblake wrote: # Changed for Denon AVR-X2300W
<param field="Mode3" label="Sources" width="550px" required="true" default="Off|SAT/CBL|DVD|BD|GAME|AUX1|MPLAY|TV|AUX2|TUNER|USB/IPOD|CD|BT|IRP|FVP/>
<param field="Mode6" label="Debug" width="75px">
<options>
<option label="True" value="Debug"/>
<option label="False" value="Normal" default="true" />
</options>
</param>
</params>
</plugin>
"""
THX, Andyyyy

rjblake
Posts: 107
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by rjblake » Wednesday 24 May 2017 0:26

Andyyyy - glad you found it - was going to suggest using the standard script as opposed to mine. Can't see any red text, so not sure what was different?

Andyyyy
Posts: 40
Joined: Saturday 13 July 2013 23:46
Target OS: -
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by Andyyyy » Wednesday 24 May 2017 10:11

Hi,
it is the last quote mark in the Sources section.
snip.PNG
snip.PNG (6.93 KiB) Viewed 603 times
Andyyyy

elgringo
Posts: 93
Joined: Thursday 18 May 2017 8:08
Target OS: Raspberry Pi
Domoticz version: Left
Contact:

Re: Generic Denon / Marantz python plugin

Post by elgringo » Thursday 25 May 2017 10:50

Plugin works great!

I have a Marantz SR5009. When I enable it via the amin zone selction from 'Off' to 'Tuner', both the main zone and zone will enabled and switch to tuner.
Is this a bug?

And is it possible to disable zone2?

EDIT: I rewrote the plugin only for Zone 1
Last edited by elgringo on Wednesday 07 June 2017 7:18, edited 1 time in total.

User avatar
gielie
Posts: 146
Joined: Tuesday 12 January 2016 12:40
Target OS: Raspberry Pi
Domoticz version: latest β
Location: The Netherlands (Alkmaar)
Contact:

Re: Generic Denon / Marantz python plugin

Post by gielie » Monday 05 June 2017 13:09

After the latest beta update and the changes they made in python the Denon plugin doesn't work anymore.
Does someone have a solution to make the plugin working again?
- Vision ZU1401 USB Stick
- Aeotec MultiSensor 6
- FIBARO FGS222
- FIBARO FGWPE Wall Plug
- Everspring AN157
- Neo CoolCam Power plug
- Neo CoolCam PIR Sensor
- Popp Smoke Detector
- Toon
- Kodi Media Server

rjblake
Posts: 107
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by rjblake » Tuesday 13 June 2017 15:13

Andyyyy wrote:Hi,
it is the last quote mark in the Sources section.

snip.PNG

Andyyyy
Ah - damn the different types of "''s ...and being colourblind! I've corrected in my earlier post in case anyone else just does a copy/paste.

rjblake
Posts: 107
Joined: Friday 21 October 2016 9:25
Target OS: NAS (Synology & others)
Domoticz version:
Location: Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by rjblake » Tuesday 13 June 2017 15:14

gielie wrote:After the latest beta update and the changes they made in python the Denon plugin doesn't work anymore.
Does someone have a solution to make the plugin working again?
Have not updated my Domoticz for a few weeks. Will look into it. I know there was/is a change planned to the Python plugin and how it is being handled. This is documented here https://www.domoticz.com/forum/viewtopi ... 95#p134695. Also, there was an issue with Python not starting with one of the recent beta versions, so this may be related and fixed in a later beta version.

Thunderbolt
Posts: 12
Joined: Saturday 03 August 2013 12:51
Target OS: -
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by Thunderbolt » Sunday 18 June 2017 0:28

After trying to find the reason why Domoticz is crashing randomly, I found the reason in the denon plugin.
When it's activated, domoticz is crashing randomly a few times a day. I activated the log and found something, but I don't know what it means.

Maybe someone of you can help me.
Domoticz Version: 3.7976
Python version '3.4.2'
plugin key="Denon4306" version="2.5.4"

Here are the last enries in the log:

2017-06-17 23:52:11.176 (RFXtrx) Temp (Unknown)
2017-06-17 23:52:19.269 Hardware Monitor: Fetching data (System sensors)
2017-06-17 23:52:19.285 (X3300) Calling message handler 'onHeartbeat'.
2017-06-17 23:52:19.286 (X3300) onHeartbeat: self.lastMessage PW, Sending 'ZM'.
2017-06-17 23:52:19.286 (X3300) Sending 4 bytes of data:.
2017-06-17 23:52:19.286 Error: Domoticz received fatal signal 11 !...
2017-06-17 23:52:19.287 (X3300) 5a 4d 3f 0d .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. ZM?.
2017-06-17 23:52:19.292 Error: /home/pi/domoticz/domoticz() [0x1cca74]
2017-06-17 23:52:19.292 Error: /home/pi/domoticz/domoticz(_Z14signal_handleri+0x58) [0x1ccb2c]
2017-06-17 23:52:19.292 Error: /lib/arm-linux-gnueabihf/libc.so.6(__default_sa_restorer_v2+0) [0x76a8f180]

lbuijk
Posts: 1
Joined: Friday 14 July 2017 22:00
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by lbuijk » Friday 14 July 2017 23:52

italoc wrote:i'm trying to use this plugin width latest beta of domoticz, but in hardware if i select DENON plugin i can't add the hardware, i obtain this error
" Do not enable this option for devices that do not receive data! "

any ideas?

Did you get a solution? I have the same problem....

(Domoticz 3.8072)

simon_rb
Posts: 660
Joined: Wednesday 07 August 2013 19:09
Target OS: -
Domoticz version:
Location: UK
Contact:

Re: Generic Denon / Marantz python plugin

Post by simon_rb » Saturday 12 August 2017 12:30

Whats the correct way of loading this plugin? Can't quite workout on after reading through this thread. I have tried various methods all resulting with many errors.

Cheers

User avatar
G3rard
Posts: 789
Joined: Wednesday 04 March 2015 23:15
Target OS: Linux
Domoticz version: V3.8153
Location: The Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by G3rard » Saturday 12 August 2017 23:32

@simon_rb, I use the attached plugin with Domoticz v3.8153 stable.
Just remove _.txt from the filename, I couldn't upload it otherwise.
plugin.py_.txt
(19.82 KiB) Downloaded 7 times
Ubuntu Server 14.04 | Domoticz v3.8153 | RFXtrx433E | Z-Wave Aeotec Z-Stick S2
Frontpage | Sonos PHP | Dark th3me | Sony Bravia Python plugin | Sonos Python plugin

simon_rb
Posts: 660
Joined: Wednesday 07 August 2013 19:09
Target OS: -
Domoticz version:
Location: UK
Contact:

Re: Generic Denon / Marantz python plugin

Post by simon_rb » Sunday 13 August 2017 1:13

G3rard wrote:
Saturday 12 August 2017 23:32
@simon_rb, I use the attached plugin with Domoticz v3.8153 stable.
Just remove _.txt from the filename, I couldn't upload it otherwise.
plugin.py_.txt
Cheers G3rard.. Come to my rescue again!

Working now :D

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest