-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Jarolift shutter working with keeloq #7788
Conversation
Needs the masterkey still to be extracted from a firmware dump? |
Yes, based on the master key, the device key will be generated when invoking the Set command. |
…t missed commands on the receiving side.
Two notes regarding the CLA:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks fine but...
As there are many AddLog_P2 calls taking up precious code space I suggest you use the special macro DEBUG_DRIVER_LOG. This functionality can be enabled during debugging by enabling define DEBUG_TASMOTA_DRIVER.
Search for DEBUG_SENSOR_LOG to see numerous examples.
Important AddLog_P2 can always exist.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're doing great but...
- As time goes on you may have noticed driver id 35 is now occupied by PWM_DIMMER. So pls update to driver id 36
- Also revisit the Settings map as button_devices (F08) has been released.
Sorry, almost there.
The TX and RX pins are hardcoded and can be easily turned to user selection. Please check for example the GPS driver for that. Thanks. |
Agree with @ascillato Adrian. Pls revisit the GPIO selection. |
Ok, is see the point. But actually it is not possible to configure the pins, since the CC1101 driver uses hardware SPI only, and the ESP has only one set of MISO, MOSI, SCK etc. as far as I understand. SPI is used for initialisation and reading the status register for receiption (OK, receiving data is not implemented now, but might be soon). But, maybe there is a already defined value in the arduino/ESP headers that can be reused? I will have a look. |
Talking about this GPIOs Tx / Rx
|
You are right... |
Hello, can I use |
Hi, the command can send arbitrary keeloq commands. |
hey there i made Jarolift_MQTT work fine in my home, sadly the software sometimes crashes. thank you |
@gusman80 , the number of shutters is currently one, because only one serial, counter and key can be saved in the configuration in the way it’s done. |
Description:
This fork adds the Keeloq algorithm to control rf-shutter/rollers. Especially it works like a Jarolift TDRC-01W. You need to connect a CC1101 rf-transmitter via the SPI pins. I have tested this with a Wemos D1 R2, but also a Wemos mini should work. For wiring see Jarolift_MQTT.
It is based on the Jarolift-Keeloq project found here:
http://www.bastelbudenbuben.de/2017/04/25/protokollanalyse-von-jarolift-tdef-motoren/
and here
https://github.com/madmartin/Jarolift_MQTT
Integrating the Keeloq remote with tasmota and the shutter/roller feature offers the advantage to use the homekit slider to move the shutter to a specific position, because the tasmota shutter driver makes some sophisticated calculation regarding the timings to move the shutter to absolute positions. Previous implementations of the Jarolift Keeloq software did not offer this advantage, but were limited in sending the button codes manually by using the GUI or MQTT.
This driver only interfaces with tasmota Commands. There is no GUI component for it.
The implemented commands are:
When using the USE_SHUTTER mode in Tasmota, it can be triggered by Rules to control the shutter motor by RF:
Rule1 On Power1#state=0 DO KeeloqSendButton 4 endon On Power2#state=0 DO KeeloqSendButton 4 endon on Power1#state=1 DO KeeloqSendButton 8 endon on Power2#State=1 DO KeeloqSendButton 2 endon
Related issue (if applicable): fixes #
Checklist: