Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery support for registered RTS remotes #50

Open
cartemere opened this issue Jul 8, 2019 · 0 comments
Open

Discovery support for registered RTS remotes #50

cartemere opened this issue Jul 8, 2019 · 0 comments
Assignees

Comments

@cartemere
Copy link
Collaborator

Hello,

Today, we have some Thing detection on the RfLink plugin from incoming events.
I just implemented the support for RTS remotes registered in the RfLink EPROM

This system will scan the RfLink bridge and add the registered remotes.
To add a remote in the PaperUI Inbox, you must :

  • enable the discovery on the bridge (i.e. discovery must NOT be disabled)
  • have some remotes registered in the RfLink bridge (using the RfLink tools)
  • these remotes must NOT be already registered : If you added them by hand in OpenHab, they won't be detected a second time.

CONFIGURATION
A> Ensure you have not disabled the Discovery on the Bridge
Capture d’écran 2019-07-09 à 00 04 33

B> Go in your "INBOX" and clic "Search For Things"
Capture d’écran 2019-07-09 à 00 03 58

C> Choose "RfLink Binding" in the list
Capture d’écran 2019-07-09 à 00 04 53

The scan will take less than 1 second
And all eligible remotes will appear in your inbox

Capture d’écran 2019-07-09 à 00 08 16

Each remote is identified by its characteristics, to prevent unintended mixing
Example : rts[0] RTS-0F0FF0-0 RC=020D
protocol : rts
remote number in the RfLink Bridge : [0]
remote address : 0F0FF0
current rolling code value : 020D

D> Validate an entry to add the Thing.
You can name it as you wish.
Capture d’écran 2019-07-09 à 00 08 53

Your logs should show details about the scanning operation :
`Start scanning registered RTS remotes...

RfLinkPacket [OUTPUT=10;RTSSHOW;]
<<< RTS Record: 0 Address: 0F0FF0 RC: 020D
Adding rflink:rts:RfLinkUSB:RTS_0F0FF0_0 with id 'RTS-0F0FF0-0' and label 'rts[0] RTS-0F0FF0-0 RC=020D' to smarthome inbox
<<< RTS Record: 1 Address: 0F0FF1 RC: 011A
Adding rflink:rts:RfLinkUSB:RTS_0F0FF1_0 with id 'RTS-0F0FF1-0' and label 'rts[1] RTS-0F0FF1-0 RC=011A' to smarthome inbox
<<< RTS Record: 2 Address: 0F0FF2 RC: 0288
<<< RTS Record: 3 Address: 0F0FF3 RC: 0304
<<< RTS Record: 4 Address: 0F0FF4 RC: 0402
Adding rflink:rts:RfLinkUSB:RTS_0F0FF4_0 with id 'RTS-0F0FF4-0' and label 'rts[4] RTS-0F0FF4-0 RC=0402' to smarthome inbox
<<< RTS Record: 5 Address: FFFFFF RC: FFFF
<<< RTS Record: 6 Address: FFFFFF RC: FFFF
<<< RTS Record: 7 Address: FFFFFF RC: FFFF
<<< RTS Record: 8 Address: FFFFFF RC: FFFF
<<< RTS Record: 9 Address: FFFFFF RC: FFFF
<<< RTS Record: 10 Address: FFFFFF RC: FFFF
<<< RTS Record: 11 Address: FFFFFF RC: FFFF
<<< RTS Record: 12 Address: FFFFFF RC: FFFF
<<< RTS Record: 13 Address: FFFFFF RC: FFFF
<<< RTS Record: 14 Address: FFFFFF RC: FFFF
<<< RTS Record: 15 Address: FFFFFF RC: FFFF`

Please post here if you encounter any issue

@cartemere cartemere self-assigned this Jul 8, 2019
cartemere added a commit to cartemere/org.openhab.binding.rflink that referenced this issue Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant