Marius Muja
181b563b96
Remove lean polling
2024-01-18 18:13:28 -08:00
Marius Muja
2d9e862f23
Update some logging
2024-01-18 17:55:01 -08:00
Marius Muja
02319d49a5
Use received door state for 2nd door toggle in sec+1.0
2024-01-18 17:55:01 -08:00
Marius Muja
9a4cfe3c56
Added protocol traits
2024-01-18 17:55:01 -08:00
Marius Muja
28a94a0499
Don't use ensure_door_action on sec+1
2024-01-18 17:55:01 -08:00
Marius Muja
1a2d01d8c2
Door state log fix
2024-01-18 17:55:01 -08:00
Marius Muja
a93d8e407f
Updates
2024-01-18 17:55:01 -08:00
Marius Muja
2730b8efeb
WIP
2024-01-18 17:55:01 -08:00
Marius Muja
11a98edd79
Fixes
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
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
cebeacbd3c
Cleanup
2024-01-18 17:55:01 -08:00
Marius Muja
f4f238d9a8
More refactorings, 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
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
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
a1dbdbe751
Add timeout for motion detection ( #104 )
2023-11-08 23:08:58 -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
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
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
Marius Muja
d2ae60e6ed
Refactor sync function to be more DRY and easier to extend ( #50 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-18 13:18:13 -05:00
Marius Muja
fd8e60245e
Make obstruction detection ignore spurrious detections ( #41 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-26 16:45:51 -05:00
J. Nick Koston
a1b166e563
feat: add support for disabling the obstruction pin ( #39 )
2023-08-26 08:11:02 -05:00
mulcmu
0c07766cab
Fix obstruction isr for ESP32 ( #38 )
...
Fix obsruction isr for ESP32
In RATGDOComponent::setup() call the ESPHome code to attach_interrupt() before software serial begin(). This allows ESPHome to call IDF gpio_install_isr_service() without error.
2023-08-18 17:37:51 -07:00
Marius Muja
03163ea9ae
Don't calibrate open/close durations if they are non-zero ( #34 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-07-20 14:05:37 -05:00
Marius Muja
31b96b634b
Fix build on esp32.
2023-07-07 19:19:30 -07:00
Marius Muja
38629aac52
Collision detection on transmit ( #31 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-07-07 14:23:26 -10:00
Marius Muja
bd36a7e6a3
Make storing persistent state the resposibility of ratgdo_number ( #30 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-07-07 12:56:12 -10:00
Marius Muja
3721bb5465
Convert enums to scoped enums ( #28 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-07-03 11:47:00 -05:00
Marius Muja
877b65be09
Refactorings, changed from camelCase to snake_case for consistency to esphome ( #27 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-07-02 21:44:34 -05:00
J. Nick Koston
49769a6f0a
Downgrade a few more to improve stability
2023-07-01 09:42:10 -05:00
J. Nick Koston
3cfe0e18d6
Downgrade one more
2023-07-01 09:40:34 -05:00
J. Nick Koston
81db7efcf9
Downgrade some loggers to ESP_LOGV to reduce memory churn
2023-07-01 09:36:30 -05:00
Marius Muja
eee27761b2
Refactor children state update mechanism ( #24 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-07-01 09:13:38 -05:00
Marius Muja
056b0ab8ea
Better sync ( #22 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-26 14:41:31 -05:00
J. Nick Koston
12f3b8747a
Fix merge
2023-06-25 18:44:54 -05:00
Marius Muja
2e7f53835b
Fix
2023-06-25 16:44:24 -07:00
J. Nick Koston
78858628cf
Small cleanup to make setDoorPosition more DRY ( #21 )
...
* Small cleanup to make setDoorPosition more DRY
2023-06-25 16:43:00 -07:00
Marius Muja
f1993931a7
Door position control ( #20 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-25 18:03:39 -05:00