Commit Graph

298 Commits

Author SHA1 Message Date
Paul Wieland d7d0665713
Revert "Dry contact support (#255)"
This reverts commit 7362f46aca.
2024-04-17 11:20:31 -04:00
Paul Wieland 7362f46aca
Dry contact support (#255)
* Setting up dry contact protocol

* limit switch implementation

* setup door controls

* Initial commit to make the component aware of the dry_contact sensors… (#249)

Initial commit to make the component aware of the dry_contact sensors  and eliminate the need for lamda calls

Co-authored-by: bradmck <bradmck@gmail.com>

* send both sensor values

* removing irrelevant dry contact config

* Add triple button (discrete) control for commercial openers & gates

* point to git

* Add dry contact to installer

* rm whitespace

* updated wiring diagram

---------

Co-authored-by: bradmck <bradmck@gmail.com>
2024-04-17 10:11:55 -04:00
Marius Muja 4b57303c1f
Fix bug with opening/closing duration calibration (#194)
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-01-23 12:05:04 -10:00
J. Nick Koston f3f8f966dc
feat: Security Plus v1 support (#171)
Co-authored-by: Marius Muja <mariusmuja@gmail.com>
2024-01-19 13:24:16 -10: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
J. Nick Koston 073b5440cb
Add time to close to commands (#19) 2023-06-25 11:28:16 -05:00
Marius Muja eb6f40c060
Use door stop command in place of toggle (#16)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-25 10:52:16 -05:00
J. Nick Koston 385a89507b
Fix crash when flash is written too frequently (#18) 2023-06-25 10:45:37 -05:00
J. Nick Koston a38b18aa20
Downgrade logging to ESP_LOGV (#17) 2023-06-25 09:15:40 -05:00
Marius Muja 49487afde1
Button updates (#14)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-24 18:51:19 -05:00
Marius Muja a24a112c73
Rolling code flash sync updates (#13)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-24 18:02:50 -05:00
Marius Muja 77090527fe
Use async delays in sync() and door open (#12)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-24 17:10:41 -05:00
Marius Muja a72143cd96
Make remote_id a component parameter (#11)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-24 16:01:20 -05:00
Marius Muja 37a4b88355
Refactor command handling (#10)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-24 15:38:44 -05:00
Marius Muja a7e7ff82e9
Speed up serial line reads (#7)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-06-23 18:18:32 -05:00
J. Nick Koston d95e9806bf
fix: light state sometimes flip-flips 2023-06-17 11:13:43 -05:00
J. Nick Koston 2a9126f7ac
feat: add debug logging for unknown commands to decipher more 2023-06-17 11:08:01 -05:00
J. Nick Koston b451c8e591
Restore esp32 support (#3) 2023-06-17 09:50:38 -05:00
J. Nick Koston 6879fd7657
Revert "log more"
This reverts commit 27b82da8a0.
2023-06-13 11:16:30 -10:00
J. Nick Koston 27b82da8a0
log more 2023-06-12 22:12:40 -10:00
J. Nick Koston b1e25b9e71
remove debug logging 2023-06-10 07:58:51 -05:00