Page 1 of 1

denon wiki

Posted: Thursday 14 May 2020 23:11
by goblin
Hello All,
i have spent some time searching where to get help with the Denon Wiki,
and have no idea where to post this topic,

I am using Domoticz for a long time and have added more and more overtime.

adding my Denon receiver and Heos became the next challenge,

but i get stuck during adding the bash file.

can someone help me filling in the receiver and domoticz settings.
Device_ip is clear but don't know what to use for : TYPE, STATUS, VOLUME_SCALE
also the correct IDX became a riddle.
i did add DENON_VOLUME and DENON_SOURCE according https://www.domoticz.com/wiki/Denon so i have only two IDX.
What am i missing ??
ps used sound level instead of dimmer. because there is no dimmer (anymore) in Sensor Type

thanks a lot for reading
any help would be appreciated


#!/bin/bash

# ---------- Declarations ---------------------------------------------------------------------
# Script
VERSION="1.0" # Script version
LOG="/dev/tty" # Default log to terminal

# Settings Receiver = Device
DEVICE_IP="192.168.1.10" # Device IP Address
DEVICE_TYPE="Undefined" # Device type read from device
DEVICE_STATUS="Undefined" # Device status read from device
DEVICE_VOLUME_SCALE="Undefined" # Volume scale [Relative/Abolute] <=== Only display value , value read will always be Relative
DEVICE_VOLUME_OFFSET=80 # Volume offset [dB to Abolute]
DEVICE_XML=(
'Deviceinfo.xml'
'formMainZone_MainZoneXmlStatus.xml'
'formMainZone_MainZoneXml.xml'
'formNetAudio_StatusXml.xml'
) # Source types read from device

# Settings Domoticz
DOMO_IP="192.168.1.50" # Domoticz IP Address
DOMO_PORT="8080" # Domoticz Port
DOMO_DEVICE_POWER_IDX="115" # On/Off (Switch) IDX
DOMO_DEVICE_POWER_STATUS_IDX="123" # Status (Switch) IDX slave (On/Off)
DOMO_DEVICE_VOL_ABS_IDX="122" # Absolute Volume (Slider) IDX