Skip to content

Add support for HCS200/HCS300 based remotes with FSK transmitters #2052

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

Merged
merged 2 commits into from
Apr 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,7 @@ See [CONTRIBUTING.md](./docs/CONTRIBUTING.md).
[215] Altronics X7064 temperature and humidity sensor
[216]* ANT and ANT+ devices
[217] EMOS E6016 rain gauge
[218] Microchip HCS200/HCS300 KeeLoq Hopping Encoder based remotes (FSK)
* Disabled by default, use -R n or a conf file to enable
Expand Down
1 change: 1 addition & 0 deletions conf/rtl_433.example.conf
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,7 @@ stop_after_successful_events false
protocol 215 # Altronics X7064 temperature and humidity sensor
# protocol 216 # ANT and ANT+ devices
protocol 217 # EMOS E6016 rain gauge
protocol 218 # Microchip HCS200/HCS300 KeeLoq Hopping Encoder based remotes (FSK)

## Flex devices (command line option "-X")

Expand Down
1 change: 1 addition & 0 deletions include/rtl_433_devices.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
DECL(altronics_7064) \
DECL(ant_antplus) \
DECL(emos_e6016_rain) \
DECL(hcs200_fsk) \

/* Add new decoders here. */

Expand Down
12 changes: 12 additions & 0 deletions src/devices/hcs200.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,3 +108,15 @@ r_device hcs200 = {
.decode_fn = &hcs200_callback,
.fields = output_fields,
};

r_device hcs200_fsk = {
.name = "Microchip HCS200/HCS300 KeeLoq Hopping Encoder based remotes (FSK)",
.modulation = FSK_PULSE_PWM,
.short_width = 370,
.long_width = 772,
.gap_limit = 1500,
.reset_limit = 9000,
.tolerance = 152, // us
.decode_fn = &hcs200_callback,
.fields = output_fields,
};