Can anyone provide sample examples of thing/item files to configure RFXCOM to send chime commands to Byron SX Devices.
I have set up the RFXCOM bridge as:
I can receive chime data, and create chime things but I do not understand the syntax of the items file.
I have a Chime thing with address 15, and want to play chime number 2. I have a items file like this:
Many thanks for you prompt response, I can now see the syntax errors I made and this has helped understand the Docs a little more. I have amended my files and they all load error free, the Bridge and chime show to be online. Looks like I have a little more investigation work to carry out as the rfcom is not receiving a tx command, as the coms lights do not flicker when button operated. The log shows the item has received a command but nothing from there. Will carry out some further checks and update the post shortly. Thanks again for the syntax advice…kendo
Update , I now have the Chime working and the RFXCOM module leds flash showing communicating.
All I have done is manually linked the chime sound manually on paper UI and saved it. I think this link should have been made by the items file but, having manually linked its working.
Items file:
Number byron1 “Chime” {channel=“rfxcom:usb0:byron1:chimesound”}
Logs:
20-05-11 21:31:06.060 [.ItemChannelLinkAddedEvent] - Link ‘byron1-rfxcom:usb0:byron1:chimesound’ has been added.
Paper UI Things shows:
rfxcom:chime:usb0:byron1:chimeSound
Whatever I do, the capital S in Paper UI remains the same with the capital S and the chime unlinked.
Items file deleted, renamed and recreated, still no change…
signing off for the night will have a look tomorrow…thanks again
Yes, this is not a valid link. The chimeSound channel with big-S is created by the binding, whether you like it or not. There is no chimesound channel with little-s on this Thing, so the link would be dead.
Further, the Thing is not rfxcom:usb0:byron1 as guessed, but rather rfxcom:chime:usb0:byron1
It’s best to copy-paste from PaperUI
Number byron1 "Chime" {channel="rfxcom:chime:usb0:byron1:chimeSound"}