I’m new to openhab and i installed it on a Pi3.
Added Sonos and GC100, the purpose it to turn the Sony Amp on, on a specified volume when I press Play on the sonos connect.
I’m sur the command is correct, but not sure how to write it (with “,”, with quotes, or spaces, …)
It is the serial output of the Global Caché GC100-12
I added the Global Caché pluging that created the thing and items.
This is the item for serial output 2
The log says:
2022-12-09 16:12:45.233 [INFO ] [openhab.event.ItemCommandEvent ] - Item ‘GlobalCacheGC10012_Slm2_C1direct’ received command “0x02,0x04,0xa0,0x42,0x00,0x02,0x18”
2022-12-09 16:12:45.236 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item ‘GlobalCacheGC10012_Slm2_C1direct’ predicted to become “0x02,0x04,0xa0,0x42,0x00,0x02,0x18”
Si it seems it fires the command, in facht i think it is just a syntax problem.
I keep looking andtrying, trial and error…
i downloaded the iTest app and this works, so, i keep thinking it is just a matter of syntax in OH.
Tried different syntaxes but no luck.
Then you need to add a script section to your rule (the built-in UI actions are by design very limited and simple).
You’ve got a choice of rule languages for that - if a beginner, you might use Blockly.