Page 4 of 7

Re: Generic Denon / Marantz python plugin

Posted: Tuesday 30 January 2018 8:50
by nixalsschrott
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
THNKs.
Working for me too on v3.8153 stable running on Synology NAS with DENON X1400H (script version="2.6.2"). I only do not get any selector switch for the sources.
Tried several scripts and versions before, but nothing worked. Seems to be pretty dependend from Domoticz version which script is running.
Kind regards

// EDIT: After some time running, the script causes problems and Domoticz shutting down. With active plugin restart of Domoticz is not possible. After removing the script Domoticz starting again. Strange. Therefore still searching for correct version.

Re: Generic Denon / Marantz python plugin

Posted: Tuesday 30 January 2018 14:01
by gielie
nixalsschrott wrote: Tuesday 30 January 2018 8:50
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
THNKs.
Working for me too on v3.8153 stable running on Synology NAS with DENON X1400H (script version="2.6.2"). I only do not get any selector switch for the sources.
Tried several scripts and versions before, but nothing worked. Seems to be pretty dependend from Domoticz version which script is running.
Kind regards

// EDIT: After some time running, the script causes problems and Domoticz shutting down. With active plugin restart of Domoticz is not possible. After removing the script Domoticz starting again. Strange. Therefore still searching for correct version.
You should use the latest plugin, https://github.com/dnpwwo/Domoticz-Deno ... /plugin.py 3.2
This one works great with my 2400H.
I only won't get my internet radio working, does someone know were i can find the selector preset options?
Like i used to own a 2100 and the code for internet radio was Iradio but for my 2400 this does not work, what are all the codes i can use in the selector?

Re: Generic Denon / Marantz python plugin

Posted: Thursday 08 February 2018 1:28
by BCrippsy38
is there a HEOS code for the source list?

Re: Generic Denon / Marantz python plugin

Posted: Friday 09 February 2018 2:32
by BCrippsy38
Having trouble getting the script working with my AVR-S930H. What should be put in the "Discovery Field"? I left it as SDKClass=Receiver and can control the Main zone volume but the source selector doesn't work. Zone 2 turns on when I try to select a Main zone source but the source doesn't change.

Re: Generic Denon / Marantz python plugin

Posted: Friday 23 February 2018 15:09
by nixalsschrott
BCrippsy38 wrote: Friday 09 February 2018 2:32 Having trouble getting the script working with my AVR-S930H. What should be put in the "Discovery Field"? I left it as SDKClass=Receiver and can control the Main zone volume but the source selector doesn't work. Zone 2 turns on when I try to select a Main zone source but the source doesn't change.
Did you find a solution? Perhaps it is due to incorrect naming for the sources? Where do I find the correct naming for the sources?
After updating to latest Beta and using latest scrip from github the script is running well, but with exception of the selector switch.

Re: Generic Denon / Marantz python plugin

Posted: Friday 23 February 2018 16:04
by BCrippsy38
nixalsschrott wrote: Friday 23 February 2018 15:09
BCrippsy38 wrote: Friday 09 February 2018 2:32 Having trouble getting the script working with my AVR-S930H. What should be put in the "Discovery Field"? I left it as SDKClass=Receiver and can control the Main zone volume but the source selector doesn't work. Zone 2 turns on when I try to select a Main zone source but the source doesn't change.
Did you find a solution? Perhaps it is due to incorrect naming for the sources? Where do I find the correct naming for the sources?
After updating to latest Beta and using latest scrip from github the script is running well, but with exception of the selector switch.
Yes actually I got it working last night, the actual source names are in the protocol sheet in the download section.
https://usa.denon.com/us/product/hometh ... s/avrs930h

My source string is: Off|DVD|BD|TV|SAT/CBL|MPLAY|GAME|TUNER|NET
Heos is the 'NET' source.

Now my only issue is getting the HEOS plugin working, looks like there's a known bug but not sure if it has been fixed.

Re: Generic Denon / Marantz python plugin

Posted: Saturday 24 February 2018 7:56
by nixalsschrott
OK. Finally found the correct values. I can now switch the source and changes are also reflected in Domoticz. But nevertheless it still switches zone 2 on, when changing source input in Domoticz.

Re: Generic Denon / Marantz python plugin

Posted: Saturday 24 February 2018 19:18
by BCrippsy38
nixalsschrott wrote: Saturday 24 February 2018 7:56 OK. Finally found the correct values. I can now switch the source and changes are also reflected in Domoticz. But nevertheless it still switches zone 2 on, when changing source input in Domoticz.
When you create the device hardware try turning auto-detect off, leave discovery match blank and just fill in your static IP. worked for me with my S930H

Re: Generic Denon / Marantz python plugin

Posted: Friday 02 March 2018 7:09
by Dnpwwo
Changing Auto-detect (or Discovery Mode) does not affect how the plugin function. It just controls how the amplifier is found.

Re: Generic Denon / Marantz python plugin

Posted: Saturday 30 June 2018 11:06
by simon_rb
Is this working with the new stable? I had it installed and after updating it doesn't work anymore? If it does I'll try and find whats wrong with my system.

Many Thanks

Re: Generic Denon / Marantz python plugin

Posted: Saturday 30 June 2018 11:12
by Dnpwwo
@simon_rb,

Works on the current beta so should work on the latest stable. Key questions:
  • What platform are you on
  • What version of Python
  • What version of the plugin are you using
  • Can you turn on debug logging and post the log

Re: Generic Denon / Marantz python plugin

Posted: Saturday 30 June 2018 11:39
by simon_rb
Dnpwwo wrote: Saturday 30 June 2018 11:12 @simon_rb,

Works on the current beta so should work on the latest stable. Key questions:
  • What platform are you on
  • What version of Python
  • What version of the plugin are you using
  • Can you turn on debug logging and post the log
Thanks, I think it maybe an older version. I set it up a few months ago.. I'm out now. I shall post above once back.

I know I'm on Raspberry Pi running Python 3.4

Thanks for the quick reply!

Quick update. Logged in remotely to Pi and tried to run Git Pull and get fatal: Not a git repository (or any of the parent directories): .git. So I rang git init then git pull with url.. I'll let you know how it goes

No idea how I installed it! lol

Re: Generic Denon / Marantz python plugin

Posted: Saturday 30 June 2018 12:37
by simon_rb
I think its an issue with my python maybe as removed old Denon Plugin which was 2.6.2 and installed the latest. This doesn't have errors from what I've seen but it hasn't made any new devices to add.

Can Ii update python to 3.6 maybe? Would that work?

Many Thanks

Re: Generic Denon / Marantz python plugin

Posted: Sunday 01 July 2018 3:37
by Dnpwwo
@simon_rb,

I would recommend staying with the version of Python 3 that comes with your version of Linux. Python 3.4 & 3.5 work well as long as your are on a recent beta (or new stable). Python 3.5 had a linking issue with open ssl until recently but now resolved.

The version I support is here: https://github.com/dnpwwo/Domoticz-Denon-Plugin which still works and is an version 3.2.3, make sure you take a copy of your current one in case you want to go back. This version should auto discover your amplifier which is good if you don't have a static IP address on it.

Re: Generic Denon / Marantz python plugin

Posted: Wednesday 04 July 2018 21:24
by simon_rb
After removing the old version, installing the new I have managed to get it all working!

Super super thanks! Fancy looking at the Sony Bravia plugin for us :lol: :lol: :lol:

Re: Generic Denon / Marantz python plugin

Posted: Friday 20 July 2018 7:43
by gielie
I have used this plugin for a while but after the latest beta it’s corrupting my whole system with a segmentation fault. Somebody got a clue what is happening?

Re: Generic Denon / Marantz python plugin

Posted: Friday 20 July 2018 8:01
by Dnpwwo
What version are you running?

Re: Generic Denon / Marantz python plugin

Posted: Thursday 27 September 2018 10:49
by tomdh76
Thx for this plugin it works great (using latest version). I have only one problem (I see it described before in posts but no solution as far as I can see): if I turn the power on all my 2 zones are powered on while I would like to have only the main zone turned on.

Re: Generic Denon / Marantz python plugin

Posted: Friday 28 September 2018 13:42
by Droombox
Dnpwwo wrote: Friday 20 July 2018 8:01 What version are you running?
I have also troubles to get the plugin working. I use domoticz V4.9700 on a PI 2. I think the trouble is Python when i use Phyton -v it returns Python 2.7.13 . :roll: I know this is a wrong version so i used this site to get it upgraded. http://www.ramoonus.nl/2018/06/30/insta ... pberry-pi/
But without any luck still Phyton -v returns 2.7.13. Can you please help me with the Python?

Best regards,
Droombox

Re: Generic Denon / Marantz python plugin

Posted: Sunday 30 September 2018 9:23
by Dnpwwo
@Droombox,

Python -v will always call Python 2.x

Try Python3 -v to see what Python version is installed.

More importantly look at the Domoticz log on start up to see if it has picked up a version it can use.