Hello all.
After successfully getting the KNX things working I’m now trying to get my squeezebox configuration into a working state. Unfortunately I failed so far.
My environment:
I’m running openHAB 2.3.0-1 (Release Build) on a raspberry pi. On another rasperry I’m running picoreplayer with lms 7.9.2 and three instances of a squeezebox player.
What I did so far:
I installed the SqueezeBox binding using the Paper UI. The binding discovered the server and the three player instances and showed them in the Inbox. However - as stated in the thread title - I’d like to do the configuration using only text files to have all the configs together (KNX, SqueezeBox and whatever will follow) to ease the backup.
At first I configured the things in a file called lms.things:
Bridge squeezebox:squeezeboxserver:SBZentral1 [
ipAddress="192.168.78.51",
webport=9000,
cliport=9090
] {
Thing squeezeboxplayer Elternbad [
mac="ab:cd:ef:12:34:01"
]
Thing squeezeboxplayer Kinderbad [
mac="ab:cd:ef:12:34:02"
]
Thing squeezeboxplayer Kueche [
mac="ab:cd:ef:12:34:03"
]
}
Afterwards I added the following items to lms.items:
Player I_SL1_C "Elternbad Control" <player> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123401:control" }
Switch I_SL1_P "Elternbad play" <soundvolume-100> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123401:playPause" }
Switch I_SL1_M "Elternbad mute" <soundvolume_mute> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123401:mute" }
Dimmer I_SL1_V "Elternbad Lautstärke" <soundvolume> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123401:volume" }
Player I_SL2_C "Kinderbad Control" <player> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123402:control" }
Switch I_SL2_P "Kinderbad play" <soundvolume-100> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123402:playPause" }
Switch I_SL2_M "Kinderbad mute" <soundvolume_mute> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123402:mute" }
Dimmer I_SL2_V "Kinderbad Lautstärke" <soundvolume> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123402:volume" }
Player I_SL3_C "Küche Control" <player> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123403:control" }
Switch I_SL3_P "Küche play" <soundvolume-100> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123403:playPause" }
Switch I_SL3_M "Küche mute" <soundvolume_mute> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123403:mute" }
Dimmer I_SL3_V "Küche Lautstärke" <soundvolume> { channel="squeezebox:squeezeboxplayer:SBZentral1:abcdef123403:volume" }
Finally I added the following lines to the default.sitemap
Frame label="Squeezebox Küche" {
Default item=I_SL3_C
Switch item=I_SL3_M
Slider item=I_SL3_V
}
Unfortunately, it’s not working. The controls are shown in the sitemap but regardless what I click or which values I’m changing, it has no effect in the real world.
Using the Paper UI I don’t see the things in the Control section.
Afterwards I checked the properties of one of the things and found out, that the channels are not linked (a white circle without any filling is shown on blue background). Using the Paper UI I can link the channel to the defined item. But shouldn’t it be possible also without manually linking the channels to items using the web interface?
As a second try I added a channel configuration to the thing definition as I’m used to do for the KNX configuration:
Thing squeezeboxplayer Kueche [
mac="ab:cd:ef:12:34:03"
] {
Type control : control "Küche Control"
Type mute : mute "Küche mute"
Type volume : volume "Küche Lautstärke"
}
Unfortunately this didn’t resolve it.
Could you please be so kind and point me into the direction how I can resolve this issue?
Kind regards Martin