Skip to content

SonyAudio Binding ​

This binding integrates the Sony Audio Control API.

Supported Things ​

At the moment, the devices supported by this binding are:

  • STR-DN1080
  • HT-CT800
  • SRS-ZR5
  • HT-ST5000
  • HT-Z9F
  • HT-ZF9
  • HT-MT500

When defined in a .things file, the specific Thing types STR-DN1080, HT-ST5000, HT-ZF9, HT-Z9F, HT-CT800, HT-MT500, and SRS-ZR5 should be used.

Please note that these Thing types are case-sensitive (define them in uppercase).

Discovery ​

SonyAudio devices are discovered via UPnP on the local network, and all devices are placed in the Inbox.

Thing Configuration ​

The SonyAudio Thing requires the network address, port, and path as configuration values so the binding knows how to access the device. Additionally, a refresh interval (in seconds), used to poll the Sony Audio device, can be specified.

dsl
Thing sonyaudio:HT-ST5000:1 [ipAddress="192.168.123.123", port=10000, path="/sony", refresh=60]

Channels ​

The devices support the following channels:

Channel Type IDItem TypeAccess ModeDescriptionThing types
powerSwitchRWMain power on/offHT-CT800, SRS-ZR5, HT-ST5000, HT-ZF9, HT-Z9F, HT-MT500
inputStringRWSet or get the input sourceHT-CT800, SRS-ZR5, HT-ST5000, HT-ZF9, HT-Z9F, HT-MT500
volumeDimmerRWSet or get the master volumeHT-CT800, SRS-ZR5, HT-ST5000, HT-ZF9, HT-Z9F, HT-MT500
muteSwitchRWSet or get the mute state of the master volumeHT-CT800, SRS-ZR5, HT-ST5000, HT-ZF9, HT-Z9F, HT-MT500
soundFieldStringRWSound fieldHT-CT800, SRS-ZR5, HT-ST5000, HT-ZF9, HT-Z9F, HT-MT500
master#powerSwitchRWMain power on/offSTR-DN1080
master#soundFieldStringRWSound fieldSTR-DN1080
zone1#powerSwitchRWPower for zone1 for devices supporting multizoneSTR-DN1080
zone1#inputStringRWSet or get the input source for zone1 for devices supporting multizoneSTR-DN1080
zone1#volumeDimmerRWSet or get the zone1 volume for devices supporting multizoneSTR-DN1080
zone1#muteSwitchRWSet or get the mute state for zone1 volumeSTR-DN1080
zone2#powerSwitchRWPower for zone2 for devices supporting multizoneSTR-DN1080
zone2#inputStringRWSet or get the input source for zone2 for devices supporting multizoneSTR-DN1080
zone2#volumeDimmerRWSet or get the zone2 volume for devices supporting multizoneSTR-DN1080
zone2#muteSwitchRWSet or get the mute state for zone2 volumeSTR-DN1080
zone3#powerSwitchRWPower for zone3 for devices supporting multizonenone
zone3#inputStringRWSet or get the input source for zone3 for devices supporting multizonenone
zone3#volumeDimmerRWSet or get the zone3 volume for devices supporting multizonenone
zone3#muteSwitchRWSet or get the mute state for zone3 volumenone
zone4#powerSwitchRWPower for zone4 for devices supporting multizoneSTR-DN1080
zone4#inputStringRWSet or get the input source for zone4 for devices supporting multizoneSTR-DN1080
radio#broadcastFreqNumberRCurrent radio frequencySTR-DN1080
radio#broadcastStationNumberRWSet or get current preset radio stationSTR-DN1080
radio#broadcastSeekStationStringWSeek for a new broadcast station: forward "fwdSeeking", backward "bwdSeeking"STR-DN1080
nightModeSwitchRWSet or get the Night Mode stateHT-ZF9

Full Example ​

demo.things:

dsl
Thing sonyaudio:HT-ST5000:living [ipAddress="192.168.123.123"]

demo.items:

dsl
Group SonyAudio <sonyaudio>

Dimmer Sony_Volume       "Volume [%.0f %%]"  <soundvolume>      (SonyAudio) {channel="sonyaudio:HT-ST5000:living:volume"}
Switch Sony_Mute         "Mute"              <soundvolume_mute> (SonyAudio) {channel="sonyaudio:HT-ST5000:living:mute"}
String Sony_Sound_Field  "Sound Field: [%s]" <text>             (SonyAudio) {channel="sonyaudio:HT-ST5000:living:soundField"}

demo.sitemap:

dsl
sitemap demo label="Main Menu" {
    Frame label="Sony" {
        Text label="Volume" icon="soundvolume" {
            Slider item=Sony_Volume
            Switch item=Sony_Mute
        }
        Text item=Sony_Sound_Field
    }
}