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

Support for DC106 confirm/pair #91

Open
hvandenesker opened this issue Feb 3, 2020 · 1 comment
Open

Support for DC106 confirm/pair #91

hvandenesker opened this issue Feb 3, 2020 · 1 comment

Comments

@hvandenesker
Copy link

To pair a (virtual) remote for home assistent I had to buy an old windows laptop to run rfxmngr.
This was ackward, while I guess it could be part of ha itself. For RollerTrolDevice we need
{code}
def send_pair(self, transport):
""" Send a 'Pair/Confirm' command using the given transport """
pkt = lowlevel.RollerTrol()
pkt.set_transmit(
self.subtype,
self.cmndseqnbr,
self.id_combined,
self.unitcode,
0x03
)
self.cmndseqnbr = (self.cmndseqnbr + 1) % 5
transport.send(pkt.data)
{code}
related: https://community.home-assistant.io/t/solved-rfxtrx-cover-t6-blinds-not-working/18914

@elupus
Copy link
Collaborator

elupus commented Aug 2, 2020

Think you can provide a pull request for this? (with tests)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants