Sony Songpal or Audio Control API Individual Speaker Levels

Am looking to control the volume level of individual speakers of my Sony AV receiver from Home Assistant.
The existing Sony Songpal integration supports speaker volume adjustments but I can’t seem to get this working from within HA. The STR-DN1080 model I have also supports the Sony Audio Control API which gives a http endpoint for the same. So plenty of options, it’s just getting them working :slight_smile:

Example commands for both are below. I can see how the curl commands could be saved as shell scripts but it feels a bit clunky. I can’t see an easy way to ‘read’ the current volume settings in to HA using this though. The Songpal integration doesn’t expose the ‘speaker’ command in HA so this would have to be a shell script solution also [with the same issue of reading in live values].

Reference examples of both:

songpal --endpoint http://192.168.1.250:10000/sony speaker subwooferLevel 0
curl -X POST \
  http://192.168.1.250:10000/sony/audio \
  -H 'Content-Type: application/json' \
  -d '{    "method": "setSpeakerSettings","id": 62,"params": [{"settings": [{
        "value": "0",
        "target": "subwooferLevel"
    }]}],"version": "1.0"}'

Am I on the right track here? Many thanks.

Solved it myself in Node Red. Install the node-red-contrib-sony-audio palette.

My usage is below. Creates entities for each of the speakers showing the individual levels. I’ve also created some switches to toggle them from 0dB to -10dB.

Hopefully useful to someone!

[
	{
		"id": "d2ecb7f41520168c",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: absoluteVolume",
				"filter": {
					"name": "absoluteVolume"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "getSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "inCeilingSpeakerMode",
				"value": "off"
			}
		],
		"speakerTarget": "all",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 550,
		"y": 220,
		"wires": [
			[],
			[
				"a5aa6c5f74cdac59",
				"9ab92ef153d01b63",
				"8403e5f969a62c46",
				"7e1d79030b1db202",
				"c67bd20e95e3d38b",
				"65d10601dcacaec0",
				"e4bf219f6cd7fcc5",
				"f97256c3f0f4f32c"
			]
		]
	},
	{
		"id": "fd007f6798d6f481",
		"type": "sony-audio-receiver",
		"z": "f6f2187d.f17ca8",
		"name": "",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "event"
			}
		],
		"outFilters": true,
		"outEvent": true,
		"service": "audio",
		"notifyPowerStatus": true,
		"notifyStorageStatus": true,
		"notifySettingsUpdate": true,
		"notifySWUpdateInfo": true,
		"notifyVolumeInformation": true,
		"notifyExternalTerminalStatus": true,
		"notifyAvailablePlaybackFunction": true,
		"notifyPlayingContentInfo": true,
		"x": 100,
		"y": 200,
		"wires": [
			[],
			[
				"06f109307911e241"
			]
		]
	},
	{
		"id": "a5aa6c5f74cdac59",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_frontLLevel",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 1,
		"entityType": "sensor",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_frontLLevel"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload[2].currentValue",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": false,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 860,
		"y": 100,
		"wires": [
			[]
		]
	},
	{
		"id": "19a17a4a32d0be04",
		"type": "debug",
		"z": "f6f2187d.f17ca8",
		"name": "",
		"active": true,
		"tosidebar": true,
		"console": false,
		"tostatus": false,
		"complete": "payload",
		"targetType": "msg",
		"statusVal": "",
		"statusType": "auto",
		"x": 830,
		"y": 40,
		"wires": []
	},
	{
		"id": "9ab92ef153d01b63",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_frontRLevel",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 1,
		"entityType": "sensor",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_frontRLevel"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload[3].currentValue",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": false,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 870,
		"y": 140,
		"wires": [
			[]
		]
	},
	{
		"id": "8403e5f969a62c46",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_centerLevel",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 1,
		"entityType": "sensor",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_centerLevel"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:surround-sound"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload[4].currentValue",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": false,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 870,
		"y": 180,
		"wires": [
			[]
		]
	},
	{
		"id": "7e1d79030b1db202",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_surroundLLevel",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 1,
		"entityType": "sensor",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_surroundLLevel"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload[5].currentValue",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": false,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 880,
		"y": 220,
		"wires": [
			[]
		]
	},
	{
		"id": "c67bd20e95e3d38b",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_surroundRLevel",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 1,
		"entityType": "sensor",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_surroundRLevel"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload[6].currentValue",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": false,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 880,
		"y": 260,
		"wires": [
			[]
		]
	},
	{
		"id": "65d10601dcacaec0",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_surroundBackLLevel",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 1,
		"entityType": "sensor",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_surroundBackLLevel"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload[8].currentValue",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": false,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 890,
		"y": 300,
		"wires": [
			[]
		]
	},
	{
		"id": "e4bf219f6cd7fcc5",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_surroundBackRLevel",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 1,
		"entityType": "sensor",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_surroundBackRLevel"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload[9].currentValue",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": false,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 890,
		"y": 340,
		"wires": [
			[]
		]
	},
	{
		"id": "f97256c3f0f4f32c",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_subwooferLevel",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 1,
		"entityType": "sensor",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_subwooferLevel"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:smoke-detector"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload[12].currentValue",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": false,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 880,
		"y": 380,
		"wires": [
			[]
		]
	},
	{
		"id": "06f109307911e241",
		"type": "change",
		"z": "f6f2187d.f17ca8",
		"name": "",
		"rules": [
			{
				"t": "set",
				"p": "payload",
				"pt": "msg",
				"to": "getSpeakerSettings",
				"tot": "msg"
			}
		],
		"action": "",
		"property": "",
		"from": "",
		"to": "",
		"reg": false,
		"x": 300,
		"y": 220,
		"wires": [
			[
				"d2ecb7f41520168c"
			]
		]
	},
	{
		"id": "a7fed5dca04ee07e",
		"type": "sony-audio-receiver",
		"z": "f6f2187d.f17ca8",
		"name": "",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "event"
			}
		],
		"outFilters": true,
		"outEvent": true,
		"service": "system",
		"notifyPowerStatus": true,
		"notifyStorageStatus": false,
		"notifySettingsUpdate": true,
		"notifySWUpdateInfo": false,
		"notifyVolumeInformation": true,
		"notifyExternalTerminalStatus": true,
		"notifyAvailablePlaybackFunction": true,
		"notifyPlayingContentInfo": true,
		"x": 100,
		"y": 240,
		"wires": [
			[],
			[
				"06f109307911e241"
			]
		]
	},
	{
		"id": "07ce56222862e71e",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_frontLLevel_Switch",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 2,
		"entityType": "switch",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_frontLLevel_Switch"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": true,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 1410,
		"y": 60,
		"wires": [
			[
				"314a66c392e079c0"
			],
			[
				"d99ff32741a7fe72"
			]
		]
	},
	{
		"id": "314a66c392e079c0",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Front Left to 0",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "frontLLevel",
				"value": 0
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1680,
		"y": 40,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "d99ff32741a7fe72",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Front Left to -10",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "frontLLevel",
				"value": -10
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1680,
		"y": 80,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "f7f8a36924d5e71d",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_frontRLevel_Switch",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 2,
		"entityType": "switch",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_frontRLevel_Switch"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": true,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 1410,
		"y": 140,
		"wires": [
			[
				"cf5f68c30db5dcf0"
			],
			[
				"c537c592fc16cbb7"
			]
		]
	},
	{
		"id": "cf5f68c30db5dcf0",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Front Right to 0",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "frontRLevel",
				"value": 0
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1680,
		"y": 120,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "c537c592fc16cbb7",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Front Right to -10",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "frontRLevel",
				"value": -10
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1690,
		"y": 160,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "390fc97f438a9401",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_centerLevel_Switch",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 2,
		"entityType": "switch",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_centerLevel_Switch"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:surround-sound"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": true,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 1410,
		"y": 220,
		"wires": [
			[
				"063f8675c90195e6"
			],
			[
				"b1fcbe016e16d558"
			]
		]
	},
	{
		"id": "063f8675c90195e6",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Center to 0",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "centerLevel",
				"value": 0
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1670,
		"y": 200,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "b1fcbe016e16d558",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Center to -10",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "centerLevel",
				"value": -10
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1670,
		"y": 240,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "fe808c00e1325e7b",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_surroundLLevel_Switch",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 2,
		"entityType": "switch",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_surroundLLevel_Switch"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": true,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 1420,
		"y": 300,
		"wires": [
			[
				"df3b44c5cb2583d9"
			],
			[
				"ed5a14753ca593a6"
			]
		]
	},
	{
		"id": "df3b44c5cb2583d9",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Surround Left to 0",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "surroundLLevel",
				"value": 0
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1690,
		"y": 280,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "ed5a14753ca593a6",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Surround Left to -10",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "surroundLLevel",
				"value": -10
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1700,
		"y": 320,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "cf0357acf2bf8b69",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_surroundRLevel_Switch",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 2,
		"entityType": "switch",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_surroundRLevel_Switch"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": true,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 1420,
		"y": 380,
		"wires": [
			[
				"b8d11d18744891a0"
			],
			[
				"047f4a778d5207aa"
			]
		]
	},
	{
		"id": "b8d11d18744891a0",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Surround Right to 0",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "surroundRLevel",
				"value": 0
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1690,
		"y": 360,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "047f4a778d5207aa",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Surround Right to -10",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "surroundRLevel",
				"value": -10
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1700,
		"y": 400,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "20cf41afc81c62c8",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_surroundBackLLevel_Switch",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 2,
		"entityType": "switch",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_surroundBackLLevel_Switch"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": true,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 1400,
		"y": 460,
		"wires": [
			[
				"b4e46dbf70964115"
			],
			[
				"7aebfb913dd3ac4c"
			]
		]
	},
	{
		"id": "b4e46dbf70964115",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Surround Back Left to 0",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "surroundBackLLevel",
				"value": 0
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1710,
		"y": 440,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "7aebfb913dd3ac4c",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Surround Back Left to -10",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "surroundBackLLevel",
				"value": -10
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1710,
		"y": 480,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "770229e67a1429d3",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_surroundBackRLevel_Switch",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 2,
		"entityType": "switch",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_surroundBackRLevel_Switch"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:speaker"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": true,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 1400,
		"y": 540,
		"wires": [
			[
				"e4464eec52997703"
			],
			[
				"55ed97826562933e"
			]
		]
	},
	{
		"id": "e4464eec52997703",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Surround Back Right to 0",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "surroundBackRLevel",
				"value": 0
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1710,
		"y": 520,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "55ed97826562933e",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Surround Back Right to -10",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "surroundBackRLevel",
				"value": -10
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1720,
		"y": 560,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "b920deb24314d269",
		"type": "ha-entity",
		"z": "f6f2187d.f17ca8",
		"name": "NodeSony_subwooferLevel_Switch",
		"server": "adf63168.f66d",
		"version": 1,
		"debugenabled": false,
		"outputs": 2,
		"entityType": "switch",
		"config": [
			{
				"property": "name",
				"value": "NodeSony_subwooferLevel_Switch"
			},
			{
				"property": "device_class",
				"value": ""
			},
			{
				"property": "icon",
				"value": "mdi:smoke-detector"
			},
			{
				"property": "unit_of_measurement",
				"value": ""
			}
		],
		"state": "payload",
		"stateType": "msg",
		"attributes": [],
		"resend": true,
		"outputLocation": "",
		"outputLocationType": "none",
		"inputOverride": "allow",
		"outputOnStateChange": true,
		"outputPayload": "$entity().state ? \"on\": \"off\"",
		"outputPayloadType": "jsonata",
		"x": 1420,
		"y": 620,
		"wires": [
			[
				"69d8b80d08878ed6"
			],
			[
				"ebad3037b3438abb"
			]
		]
	},

	{
		"id": "69d8b80d08878ed6",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Subwoofer to 0",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "subwooferLevel",
				"value": 0
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1680,
		"y": 600,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "ebad3037b3438abb",
		"type": "sony-audio-controller",
		"z": "f6f2187d.f17ca8",
		"name": "Subwoofer to -10",
		"device": "909c7c10.bda4d",
		"outputs": 2,
		"outputPorts": [
			{
				"label": "filter: auto",
				"filter": {
					"name": "auto"
				}
			},
			{
				"label": "response"
			}
		],
		"outFilters": true,
		"outResponse": true,
		"enableTopic": false,
		"enableLowLevel": false,
		"command": "setSpeakerSettings",
		"networkUpdate": true,
		"volume": 1,
		"relativeVolume": false,
		"source": "extInput:tv",
		"port": 1,
		"preset": 0,
		"zone": 0,
		"soundSettings": [
			{
				"target": "soundField",
				"value": "clearAudio"
			}
		],
		"soundTarget": "soundField",
		"speakerSettings": [
			{
				"target": "subwooferLevel",
				"value": -10
			}
		],
		"speakerTarget": "inCeilingSpeakerMode",
		"modeSettings": [
			{
				"target": "playType",
				"value": "normal"
			}
		],
		"modeTarget": "playType",
		"x": 1690,
		"y": 640,
		"wires": [
			[],
			[]
		]
	},
	{
		"id": "909c7c10.bda4d",
		"type": "sony-audio-device",
		"name": "Sony AV Receiver [STR-DN1080]",
		"host": "192.168.1.250",
		"port": "10000"
	},
	{
		"id": "adf63168.f66d",
		"type": "server",
		"name": "Home Assistant",
		"legacy": false,
		"addon": false,
		"rejectUnauthorizedCerts": false,
		"ha_boolean": "y|yes|true|on|home|open",
		"connectionDelay": true,
		"cacheJson": true
	}
]

WIP Dashboard: