Generic Denon / Marantz python plugin

Python and python framework

Moderator: leecollings

User avatar
Brutus
Posts: 249
Joined: Friday 26 September 2014 9:33
Target OS: Windows
Domoticz version:
Location: Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by Brutus »

For My conformation...

I am looking to buy the Heos by Denon DHT-S716H Soundbar and the DSW-1H Sub. These will work with the buildin HEOS by DENON plugin in Domoticz?

Mainly I wan't to change volume, Start and stop Internet Radio, Change channels when starting TV.

Thanx for any reply!
1x Intel NUC8i5BEK (Windows 10 x64) Domoticz on Virtualbox with DietPi.
1x Aeon Labs USB Z-Stick S2
1x P1 Smart Meter USB
28x Fibaro Modules
SMA Solar System
Daikin Airco / Heating
Denon DHT-S716H & DSW-1H
extremeaudio
Posts: 47
Joined: Tuesday 24 November 2020 17:57
Target OS: Linux
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by extremeaudio »

Hi, this is a great plugin, works perfectly, thanks for this!

Only I'm not understanding the logic behind the strings used in the source label field.

The default one does not work for new receivers and has some pretty dated inputs like VCR etc. I copied what someone else is using and it works fine ->

OFF|SAT/CBL|DVD|BD|GAME|MPLAY|AUX1|AUX2|CD|TUNER|USB/IPOD

but I'm still missing out the inputs like Phono, Internet Radio, 8K. How do I add this and where in the above string?

and whats the SDK class = Receiver? Does that need to be changed for some other Denon equipment or something?
RedEarth
Posts: 23
Joined: Monday 31 October 2016 11:16
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by RedEarth »

extremeaudio wrote: Wednesday 10 March 2021 7:22 Hi, this is a great plugin, works perfectly, thanks for this!

Only I'm not understanding the logic behind the strings used in the source label field.

The default one does not work for new receivers and has some pretty dated inputs like VCR etc. I copied what someone else is using and it works fine ->

OFF|SAT/CBL|DVD|BD|GAME|MPLAY|AUX1|AUX2|CD|TUNER|USB/IPOD

but I'm still missing out the inputs like Phono, Internet Radio, 8K. How do I add this and where in the above string?

and whats the SDK class = Receiver? Does that need to be changed for some other Denon equipment or something?
This is the sources string that I use with my Denon AVR2300W:
Off|TV|BD|MPLAY|AUX2|SAT/CBL|GAME|CD|DVD|AUX1|TUNER|NET|BT|FAVOURITES|IRADIO|SERVER|USB/IPOD

I believe the elements in this string need to match the fixed input names that your unit supports, and then you can configure the corresponding selector values on the device that gets created on the switches tab to your own preference. Some units support source renaming but the sources string in the hardware config should not attempt to match the updated source names on the unit.
extremeaudio
Posts: 47
Joined: Tuesday 24 November 2020 17:57
Target OS: Linux
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by extremeaudio »

On my new Marantz 5015 I cannot for the life of me figure out what to set the string for the receiver. I have this one

OFF|SAT/CBL|DVD|BD|GAME|MPLAY|AUX1|AUX2|CD|TUNER|USB/IPOD

which ony partially works.

And I tried playing along with the selector labels and its all a jumble now and I dont know what the correct sequence is. Wish I could have buttons for 8K, Bluetooth, Phono etc.
Droombox
Posts: 4
Joined: Friday 28 September 2018 13:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by Droombox »

Hi,

I have updated my PI 4 to ubuntu 21.10 and have domoticz 2021.1 running. Now the plugin won't run any more when i install it.
Can anyone help me solving this?
Might the python version 3.9.7 be the issue?

Thanks in advance

Droombox
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Generic Denon / Marantz python plugin

Post by waltervl »

Yes, this could well be. There seems to be a major change in python 3.9 /3.10 that is blocking the python plugin framework. It is already recognized as an issue like https://github.com/domoticz/domoticz/issues/4967
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
manjh
Posts: 708
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Generic Denon / Marantz python plugin

Post by manjh »

Brutus wrote: Saturday 07 September 2019 11:21 For My conformation...

I am looking to buy the Heos by Denon DHT-S716H Soundbar and the DSW-1H Sub. These will work with the buildin HEOS by DENON plugin in Domoticz?

Mainly I wan't to change volume, Start and stop Internet Radio, Change channels when starting TV.

Thanx for any reply!
Did you get this to work OK? I am planning to buy a DHT-S716H, and would like to link DOmoticz to it...
Hans
hendryman
Posts: 9
Joined: Sunday 22 October 2017 16:20
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Generic Denon / Marantz python plugin

Post by hendryman »

This is an awesome plugin. Thank you for the great work!

Can it be modified so that Zone 2 is fully independent from Zone 1? E.g. choosing an Input in Zone 2 should not automatically switch on Zone 1...

It can be done with the Logitech Harmony API, and receivers like my AVR-X1700H allow for it.
rfvdboom
Posts: 38
Joined: Tuesday 20 September 2016 8:32
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Netherlands
Contact:

Re: Generic Denon / Marantz python plugin

Post by rfvdboom »

Is there something changed in the firmware of the Heos? My denon plugin isnt working anymore. I didnt update the pi or domoticz, but the plugin suddenly stoppen working. The only thing that changed is an heos update 27.09.2023

It does find my Device and loads the devices in domoticz, but there is no communication.

Errors are:

Code: Select all

error: denon: Connectionless Transport is listening, write directive to 'Beacon' ignored

Code: Select all

Error: denon: Beacon has not responded to 10 pings, terminating connection.
Any clue to fix this?

*Edit* I found out that i had to turn off the "Autodiscover" function in the plugin. Still dont know why this wasn't any issue before.
Odroid N2+ | Raspberry P 3 ModelB | RFXcom | AEOTEC Zwave | Honeywell Lyric T6| Milight | Milighthub (NodeMCU) | SolarEdge | P1 Smart meter USB | KAKU | Wemos D1 (esphome) | Denon | Logitech Harmony
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest