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
Hello @mhilbush,
I did the discovery on Paper UI and work very well. I have just 2 things to ask you
Thank you very much
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
I was just triing things
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)
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.