Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "class": "DummyDimmer",
- "id": "denon-volume-slider",
- "name": "Denon Master Volume"
- },
- {
- "id": "denon-mainstate",
- "class": "VariablesDevice",
- "name": "Denon Main State",
- "xAttributeOptions": [
- {
- "name": "volume",
- "displaySparkline": false
- }
- ],
- "variables": [
- {
- "name": "power",
- "type": "string",
- "expression": "$denon-powerstatus.denonpwrstate",
- "acronym": "Power"
- },
- {
- "name": "volume",
- "type": "number",
- "expression": "80+$denon-volume-status.denonvolstate",
- "acronym": "Volume"
- },
- {
- "name": "input",
- "type": "string",
- "expression": "$denon-input-status.denoninputstate",
- "acronym": "Input"
- },
- {
- "name": "repeat",
- "type": "string",
- "expression": "$denon-repeat-status.denonrptstate",
- "acronym": "Repeat"
- },
- {
- "name": "random",
- "type": "string",
- "expression": "$denon-random-status.denonrndstate",
- "acronym": "Random"
- }
- ]
- },
- {
- "id": "denon-repeat-status",
- "name": "Denon Repeat Status",
- "class": "ShellSensor",
- "attributeName": "denonrptstate",
- "attributeType": "string",
- "command": "curl -s http://192.168.178.67/goform/formNetAudio_StatusXml.xml | grep NetAudioRandom | sed 's/<NetAudioRandom><value>//' | sed 's/<\\/value><\\/NetAudioRandom>//'",
- "interval": 5000
- },
- {
- "id": "denon-random-status",
- "name": "Denon Random Status",
- "class": "ShellSensor",
- "attributeName": "denonrndstate",
- "attributeType": "string",
- "command": "curl -s http://192.168.178.67/goform/formNetAudio_StatusXml.xml | grep NetAudioRepeat | sed 's/<NetAudioRepeat><value>//' | sed 's/<\\/value><\\/NetAudioRepeat>//'",
- "interval": 5000
- },
- {
- "id": "denon-powerstatus",
- "name": "Denon Power Status",
- "class": "ShellSensor",
- "attributeName": "denonpwrstate",
- "attributeType": "string",
- "command": "curl -s http://192.168.178.67/goform/formMainZone_MainZoneXmlStatusLite.xml | head -n3 | tail -n1 | sed 's/<Power><value>//' | sed 's/<\\/value><\\/Power>//'",
- "interval": 5000
- },
- {
- "id": "denon-volume-status",
- "name": "Denon Volume Status",
- "class": "ShellSensor",
- "attributeName": "denonvolstate",
- "attributeType": "number",
- "command": "curl -s http://192.168.178.67/goform/formMainZone_MainZoneXmlStatusLite.xml | head -n6 | tail -n1 | sed 's/<MasterVolume><value>//' | sed 's/<\\/value><\\/MasterVolume>//'",
- "interval": 5000
- },
- {
- "id": "denon-input-status",
- "name": "Denon Input Status",
- "class": "ShellSensor",
- "attributeName": "denoninputstate",
- "attributeType": "string",
- "command": "curl -s http://192.168.178.67/goform/formMainZone_MainZoneXmlStatusLite.xml | head -n4 | tail -n -1 | sed 's/<InputFuncSelect><value>//' | sed 's/<\\/value><\\/InputFuncSelect>//'",
- "interval": 5000
- },
- {
- "id": "denon-status3",
- "name": "Album",
- "class": "ShellSensor",
- "attributeName": "line3",
- "attributeType": "string",
- "command": "curl -s http://192.168.178.67/goform/formNetAudio_StatusXml.xml | head -n21 | tail -n1 | sed 's/<value>//' | sed 's/<\\/value>//'",
- "interval": 5000
- },
- {
- "id": "denon-status2",
- "name": "Station / Artist",
- "class": "ShellSensor",
- "attributeName": "line2",
- "attributeType": "string",
- "command": "curl -s http://192.168.178.67/goform/formNetAudio_StatusXml.xml | head -n19 | tail -n1 | sed 's/<value>//' | sed 's/<\\/value>//'",
- "interval": 5000
- },
- {
- "id": "denon-status1",
- "name": "Station / Title",
- "class": "ShellSensor",
- "attributeName": "line1",
- "attributeType": "string",
- "command": "curl -s http://192.168.178.67/goform/formNetAudio_StatusXml.xml | head -n18 | tail -n1 | sed 's/<value>//' | sed 's/<\\/value>//'",
- "interval": 5000
- },
- {
- "class": "iframeDevice",
- "id": "denonwebradio",
- "name": "Denon Music Information",
- "url": "http://192.168.178.67/NetAudio/art.asp-jpg",
- "width": 200,
- "height": 350,
- "scrolling": "no",
- "scale": 1.2,
- "reload": 10
- },
- {
- "id": "denon5",
- "name": "Denon Controls",
- "class": "ButtonsDevice",
- "buttons": [
- {
- "id": "denon-pageup",
- "text": "P↑",
- "label": "Page up"
- },
- {
- "id": "denon-pagedown",
- "text": "P↓",
- "label": "Page down"
- },
- {
- "id": "denon-up",
- "text": "▲",
- "label": "Move Cursor up"
- },
- {
- "id": "denon-down",
- "text": "▼",
- "label": "Move Cursor down"
- },
- {
- "id": "denon-left",
- "text": "◄",
- "label": "Move Cursor right"
- },
- {
- "id": "denon-right",
- "text": "►",
- "label": "Move Cursor left"
- },
- {
- "id": "denon-enter",
- "text": "Ent",
- "label": "Enter"
- },
- {
- "id": "denon-back",
- "text": "Bck",
- "label": "Back"
- },
- {
- "id": "denon-option",
- "text": "Opt",
- "label": "Options"
- },
- {
- "id": "denon-info",
- "text": "Inf",
- "label": "Info"
- }
- ]
- },
- {
- "id": "denon3",
- "name": "Denon AVR Player",
- "class": "ButtonsDevice",
- "buttons": [
- {
- "id": "denon-skipback",
- "text": "<<",
- "label": "Skip back"
- },
- {
- "id": "denon-play",
- "text": "║►",
- "label": "Play Pause"
- },
- {
- "id": "denon-stop",
- "text": "■",
- "label": "Stop"
- },
- {
- "id": "denon-skipforward",
- "text": ">>",
- "label": "Skip forward"
- },
- {
- "id": "denon-random",
- "text": "Rnd",
- "label": "Toggle Random"
- },
- {
- "id": "denon-repeat",
- "text": "Rpt",
- "label": "Toggle Repeat"
- },
- {
- "id": "denon-copy-title",
- "text": "Cpy",
- "label": "Copy Title and Artist to file"
- }
- ]
- },
- {
- "id": "denon2",
- "name": "Denon AVR Main",
- "class": "ButtonsDevice",
- "buttons": [
- {
- "id": "denon-poweron",
- "text": "Pwr On",
- "label": "Power on"
- },
- {
- "id": "denon-poweroff",
- "text": "Pwr Off",
- "label": "Power off"
- },
- {
- "id": "denon-sat",
- "text": "Sat",
- "label": "Video Input Sat"
- },
- {
- "id": "denon-ps3",
- "text": "PS3",
- "label": "Video Input MPlayer"
- },
- {
- "id": "denon-mp3",
- "text": "MP3",
- "label": "Video Input Network"
- },
- {
- "id": "denon-radio",
- "text": "iRadio",
- "label": "Video Input Internet Radio"
- }
- ]
- },
- {
- "id": "denon1",
- "name": "Denon AVR Vol.",
- "class": "ButtonsDevice",
- "buttons": [
- {
- "id": "denon-voldown",
- "text": "Vol-",
- "label": "Volume down"
- },
- {
- "id": "denon-volup",
- "text": "Vol+",
- "label": "Volume up"
- },
- {
- "id": "denon-vol15",
- "text": "15",
- "label": "Set Volume to 15"
- },
- {
- "id": "denon-vol30",
- "text": "30",
- "label": "Set Volume to 30"
- },
- {
- "id": "denon-vol45",
- "text": "45",
- "label": "Set Volume to 45"
- },
- {
- "id": "denon-mute",
- "text": "Mute On"
- },
- {
- "id": "denon-unmute",
- "text": "Mute Off"
- }
- ]
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement