571 Commits

Author SHA1 Message Date
Marius Muja
ca16559ee6 Some updates 2024-01-18 17:55:01 -08:00
Marius Muja
15f5eab643 More attempts to get lock/unlock to work 2024-01-18 17:55:01 -08:00
Marius Muja
1cec8e881e Adjust timings 2024-01-18 17:55:01 -08:00
Marius Muja
bf19a49fdb More debug statements 2024-01-18 17:55:01 -08:00
Marius Muja
b20ccac4a8 Send ButtonState on door open requests 2024-01-18 17:55:01 -08:00
Marius Muja
a6fe612525 Attempt to fix lock action for 398LM wall panel 2024-01-18 17:55:01 -08:00
Marius Muja
ba19d80867 Some extra checks for door position sync when opening or closing durations are unknown 2024-01-18 17:55:01 -08:00
Marius Muja
30c39b5ec1 Fix for optional obstruction pin 2024-01-18 17:55:01 -08:00
Marius Muja
56795f591e Don't require two messages to update state, some GDOs throttle replies when door is closed 2024-01-18 17:55:01 -08:00
Marius Muja
9e2bebc3f0 Trigger motion for light on in sec+1.0 2024-01-18 17:55:01 -08:00
Marius Muja
be4d666967 Inject 0x38 after 0x37 to try to fix door status issue on some wall panels 2024-01-18 17:55:01 -08:00
Marius Muja
1a4ff59205 Updates, obstruction from state, better logging 2024-01-18 17:55:01 -08:00
Marius Muja
e0f1b2b61f Added trivial dry contact protocol, no state, only door toggle 2024-01-18 17:55:01 -08:00
Marius Muja
1274ef9172 Refactorings, query door status at end of an open/close operation in case the status is not received 2024-01-18 17:55:01 -08:00
Marius Muja
65dfae4d0a Updates, fixes, improvements 2024-01-18 17:55:01 -08:00
Marius Muja
0f64dc92d1 Bug fixes 2024-01-18 17:55:01 -08:00
Marius Muja
58c94f6d3b Avoid long blocking in esphome loop 2024-01-18 17:55:01 -08:00
Marius Muja
fe582a642d Bug fix 2024-01-18 17:55:01 -08:00
Marius Muja
eb420119be Adjusted some timings fix 2024-01-18 17:55:01 -08:00
Marius Muja
bbdbaa2f0d Adjusted some timings 2024-01-18 17:55:01 -08:00
Marius Muja
cebeacbd3c Cleanup 2024-01-18 17:55:01 -08:00
Marius Muja
d3a8549fab Fix 2024-01-18 17:55:01 -08:00
Marius Muja
4802d99ade Allow sync() to be re-run for sec+1 2024-01-18 17:55:01 -08:00
Marius Muja
f4f238d9a8 More refactorings, cleanup 2024-01-18 17:55:01 -08:00
Marius Muja
57da3861ac Cleanup 2024-01-18 17:55:01 -08:00
Marius Muja
ca26b6dfe8 Make sync() operation protocol specific. Added sec+v1 wall panel emulation. 2024-01-18 17:55:01 -08:00
Marius Muja
608e0faeb2 Reorganize code to support multiple protocols. Initial (partial) secplus1
implementation.
2024-01-18 17:54:59 -08:00
J. Nick Koston
a6e0259551 chore: add more todos 2024-01-18 17:34:12 -08:00
J. Nick Koston
316762c46a chore: add more todos 2024-01-18 17:34:12 -08:00
J. Nick Koston
7cb5692599 chore: add more todos 2024-01-18 17:34:12 -08:00
J. Nick Koston
12af24b906 feat: basic v1 porting 2024-01-18 17:34:12 -08:00
J. Nick Koston
4aad26a710 chore: prepare for v1 support 2024-01-18 17:34:12 -08:00
mulcmu
4c2ed4e7c0
feat: add learn and clear capability (#149)
Co-authored-by: Marius Muja <mariusmuja@gmail.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-01-18 12:25:08 -10:00
Marius Muja
53752d588c
Drop an incomplete packet if the missing bytes are lost (#144)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-16 07:50:51 -10:00
Marius Muja
892c4e2872
Detect "not connected to GDO" condition (#143)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-15 20:26:30 -10:00
Marius Muja
2ea7ca6e3e
Convert lock remotes switch to a lock component (#132)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-05 14:12:01 -10:00
Marius Muja
a1dbdbe751
Add timeout for motion detection (#104) 2023-11-08 23:08:58 -06:00
Marius Muja
cdc7780c72
Normalize client_id when manually entered (#97)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-07 12:58:16 -06:00
Marius Muja
7be33e1c20
Add limits on the range of client_id values (#95) 2023-11-05 19:50:59 -06:00
J. Nick Koston
718237ae84
Increase max client id to 0xFFFFFFFF (#94) 2023-11-05 18:24:02 -06:00
Marius Muja
66ba19e69e
Update potentially wrong client_ids (#93) 2023-11-05 18:13:32 -06:00
Marius Muja
8317f18b86
Fix issue #89 by imposing some limits on the random client_id (#92) 2023-11-05 17:47:11 -06:00
Marius Muja
e2f4b6ec5f
Adding cover on_opening and on_closing triggers (#81)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-11-05 13:49:59 -06:00
J. Nick Koston
c09136da50
Fix door requiring two close commands to close (#88) 2023-11-05 09:40:25 -06:00
J. Nick Koston
2091be8312
Use random client_id in lieu of static remote_id (#76)
Co-authored-by: Paul Wieland <p@ul.sickdimension.com>
2023-10-26 12:04:35 -05:00
Marius Muja
7da1282ecb
Automatically tune the optimal baud value for the next packet (#69)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-19 11:56:32 -10:00
J. Nick Koston
f323e02df1
chore: add .pre-commit-config.yaml for end of line fixer (#66) 2023-10-18 14:23:30 -10:00
Marius Muja
6d8f3e0e86
Door opening/close relliability updates (#64)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-18 14:18:42 -10:00
Marius Muja
575471bda1
Rework of door position sync (#61)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-08 12:36:09 -10:00
Marius Muja
fe593a9a76
Allow interrupts to be disabled during transmit (#60)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-10-06 12:54:49 -10:00