Openhab2 Logitech Squeezebox Problems

Hello @mhilbush,
I did the discovery on Paper UI and work very well. I have just 2 things to ask you

  • is it possible to add ON/OFF channel?
  • How I can link on files .rules

Thank you very much :slight_smile:

Glad it worked well for you.

There already is an on/off (power) channel. Because the power channel is defined as ā€œadvancedā€, it doesnā€™t show by default in Paper UI. You need to click on the ā€œShow Moreā€ button directly to the right of the Channels heading in Paper UI.

Can you elaborate a bit on what you mean by this?

Thank you very much for your fast reply :slight_smile:

I was just triing things :slight_smile:

I discovered with Paper UI my Squeezebox:

squeezebox:squeezeboxplayer:D758D8B6-0D7F-490E-BCCF-8BB89A4E9938:000420296210

and there are all channels
squeezebox:squeezeboxplayer:D758D8B6-0D7F-490E-BCCF-8BB89A4E9938:000420296210:volume
ā€¦
ā€¦

Now I would like to use in a file rules (when I speak turn off radio for example). something like this:

squeezebox:squeezeboxplayer:D758D8B6-0D7F-490E-BCCF-8BB89A4E9938:000420296210:volume.sendCommand(0)

I havenā€™t done this, but Iā€™m pretty sure itā€™s possible. Maybe someone who has done it can chime in.

I read some thread about this feature but seem old post.
Sorry @Kai , is it possible to call a channel discovered on PAPER UI in a .rules file?

like
squeezebox:squeezeboxplayer:D758D8B6-0D7F-490E-BCCF-8BB89A4E9938:000420296210:volume.sendCommand(0)

Found, Thank you very much Mark

No, a channel must be ā€œenabledā€ in order to be used in the system. Enabling means linking an item to it. And once this is done, you can certainly send commands to it.