Generic Denon / Marantz python plugin
Moderator: leecollings
-
- Posts: 25
- Joined: Monday 13 February 2017 13:57
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Generic Denon / Marantz python plugin
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?
" Do not enable this option for devices that do not receive data! "
any ideas?
Re: Generic Denon / Marantz python plugin
Hello rjblake,
i found the problem for me in your code....marked in red
i found the problem for me in your code....marked in red
THX, Andyyyyrjblake 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>
"""
-
- Posts: 142
- Joined: Friday 21 October 2016 9:25
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Generic Denon / Marantz python plugin
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?
Re: Generic Denon / Marantz python plugin
Hi,
it is the last quote mark in the Sources section.
Andyyyy
it is the last quote mark in the Sources section.
Andyyyy
-
- Posts: 94
- Joined: Thursday 18 May 2017 8:08
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Left
- Contact:
Re: Generic Denon / Marantz python plugin
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
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.
- 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
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?
Does someone have a solution to make the plugin working again?
- 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
- Aeotec MultiSensor 6
- FIBARO FGS223
- FIBARO FGWPE Wall Plug
- Neo CoolCam Power plug
- Popp Smoke Detector
- Toon
- Kodi Media Server
-
- Posts: 142
- Joined: Friday 21 October 2016 9:25
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Generic Denon / Marantz python plugin
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.Andyyyy wrote:Hi,
it is the last quote mark in the Sources section.
snip.PNG
Andyyyy
-
- Posts: 142
- Joined: Friday 21 October 2016 9:25
- Target OS: NAS (Synology & others)
- Domoticz version:
- Location: Netherlands
- Contact:
Re: Generic Denon / Marantz python plugin
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.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?
-
- Posts: 7
- Joined: Saturday 03 August 2013 12:51
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11665
- Location: Germany
- Contact:
Re: Generic Denon / Marantz python plugin
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]
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]
-
- Posts: 4
- Joined: Friday 14 July 2017 22:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Generic Denon / Marantz python plugin
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)
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: Generic Denon / Marantz python plugin
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
Cheers
- G3rard
- Posts: 669
- Joined: Wednesday 04 March 2015 22:15
- Target OS: -
- Domoticz version: No
- Location: The Netherlands
- Contact:
Re: Generic Denon / Marantz python plugin
@simon_rb, I use the attached plugin with Domoticz v3.8153 stable.
Just remove _.txt from the filename, I couldn't upload it otherwise.
Just remove _.txt from the filename, I couldn't upload it otherwise.
Not using Domoticz anymore
-
- Posts: 2
- Joined: Thursday 31 August 2017 13:44
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Generic Denon / Marantz python plugin
I'm kinda new to this all, but I have a set-up that's working for me now. Last thing I wanted to add is this plugin, which is my first plugin. Can't seem to get it work though.
I'm running:
- Pi Zero +W
- Raspbian Stretch
- Python v3.5.3-1
- Domoticz V3.8153
I created a folder denon in the plugins folder, then I created a file called plugin.py with nano and pasted the contents of the txt file above in it. I used sudo chmod 775 to give it the appropriate permissions. Then restarted domoticz.
The error I am seeing in the log is:
What am I missing?
I'm running:
- Pi Zero +W
- Raspbian Stretch
- Python v3.5.3-1
- Domoticz V3.8153
I created a folder denon in the plugins folder, then I created a file called plugin.py with nano and pasted the contents of the txt file above in it. I used sudo chmod 775 to give it the appropriate permissions. Then restarted domoticz.
The error I am seeing in the log is:
Code: Select all
Error: PluginList: Parsing '/home/pi/domoticz/plugins/denon/', 'Error document empty.' at line 0 column 0 in XML
- Dnpwwo
- Posts: 820
- 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
@madiep,
There are a few versions of this plugin floating around so you need to be more specific.
There is an example that ships with Domoticz under /plugins/examples but there are others as well. If you are running a current beta there is one i the 'python-enabled' branch that will auto-discovery the receiver for you. For most you need to specifiy a fixed IP address.
If you post where you got the plugin file (and the version number from inside the file) from and what make/model of receiver you have that will help.
There are a few versions of this plugin floating around so you need to be more specific.
There is an example that ships with Domoticz under /plugins/examples but there are others as well. If you are running a current beta there is one i the 'python-enabled' branch that will auto-discovery the receiver for you. For most you need to specifiy a fixed IP address.
If you post where you got the plugin file (and the version number from inside the file) from and what make/model of receiver you have that will help.
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
-
- Posts: 2
- Joined: Thursday 31 August 2017 13:44
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Generic Denon / Marantz python plugin
Txs for your help. I was talking about this one:
The next issue I am having is finding devices. The log shows me some errors:
I think I just fixed it by removing the three quotation marks in the first uncommented line. So the plugin is now loading fine, and I am able to add my receiver in the hardware menu.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.
download/file.php?id=12388
The next issue I am having is finding devices. The log shows me some errors:
Code: Select all
2017-09-02 14:27:16.494 Error: (Denon) failed to load 'plugin.py', Python Path used was '/home/pi/domoticz/plugins/denon/:/usr/lib/python35.zip:/usr/lib/python3.5:/usr/lib/python3.5/plat-arm-linux-gnueabihf:/usr/lib/python3.5/lib-dynload'.
2017-09-02 14:27:16.494 Error: (Denon) Module Import failed, exception: 'SyntaxError'
2017-09-02 14:27:16.494 Error: (Denon) Import detail: File: /home/pi/domoticz/plugins/denon/plugin.py, Line: -1351624480, offset: 10
2017-09-02 14:27:16.494 Error: (Denon) Error Line ''
2017-09-02 14:28:30.227 Error: Denon hardware (2) thread seems to have ended unexpectedly
-
- Posts: 612
- Joined: Wednesday 07 August 2013 19:09
- Target OS: -
- Domoticz version:
- Location: UK
- Contact:
Re: Generic Denon / Marantz python plugin
Looking at upgrading my Denon to the X4300 as its last years model an going cheaper. I assume this plugin will not work as I think the http stuff has been removed from the 4300 & 6300 amps. I currently control mine using TEL NET and I think thats still working.. I think. Just wondered if anyone on here has had success with the X4300?
Cheers
Cheers
-
- Posts: 39
- Joined: Tuesday 11 July 2017 10:26
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.2
- Location: Germany
- Contact:
Re: Generic Denon / Marantz python plugin
Dear friends,
what’s about the latest 2017 series from Denon, eg x1400H - are the latest models still supported? I have tried with the Telnet script, but do not get any response from Receiver, when changing values through remote control. Actually I am not able to install the generic script, because I get error - script is not starting and Receiver does not show up in hardware selection.
Kind regards
Matty
what’s about the latest 2017 series from Denon, eg x1400H - are the latest models still supported? I have tried with the Telnet script, but do not get any response from Receiver, when changing values through remote control. Actually I am not able to install the generic script, because I get error - script is not starting and Receiver does not show up in hardware selection.
Kind regards
Matty
Domoticz Beta | Aeon Labs Z-Wave USB Stick Gen5 | Cyrus SmartHome 4-in-1 Multisensor | Qubino ZMNHCD1 - Roller Shutter | NEO COOLCAM NAS-WR01ZE Power Plug | Fibaro FGRGB-101 | WEMOS D1 MINI (ESP8266) Sensors CO2/TEMP/BARO |
- LouiS22
- Posts: 433
- Joined: Friday 27 February 2015 13:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Budapest, Hungary
- Contact:
Re: Generic Denon / Marantz python plugin
Works fine for me, I also own x1400H. To tell the truth I don't recall which plugin was the correct one, but gonna upload it once I get home.nixalsschrott wrote: ↑Friday 26 January 2018 7:52 Dear friends,
what’s about the latest 2017 series from Denon, eg x1400H - are the latest models still supported? I have tried with the Telnet script, but do not get any response from Receiver, when changing values through remote control. Actually I am not able to install the generic script, because I get error - script is not starting and Receiver does not show up in hardware selection.
Kind regards
Matty
-
- Posts: 39
- Joined: Tuesday 11 July 2017 10:26
- Target OS: NAS (Synology & others)
- Domoticz version: 2020.2
- Location: Germany
- Contact:
Re: Generic Denon / Marantz python plugin
Super. Thanks I’m advance. What Domoticz version you are using actually? I am on latest stable.
Domoticz Beta | Aeon Labs Z-Wave USB Stick Gen5 | Cyrus SmartHome 4-in-1 Multisensor | Qubino ZMNHCD1 - Roller Shutter | NEO COOLCAM NAS-WR01ZE Power Plug | Fibaro FGRGB-101 | WEMOS D1 MINI (ESP8266) Sensors CO2/TEMP/BARO |
Who is online
Users browsing this forum: Google [Bot] and 1 guest