Commit Graph

714 Commits

Author SHA1 Message Date
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
J. Nick Koston 9bc41c2661
fix link to v2board_esp32_lolin_s2_mini.yaml (#57) 2023-10-02 23:14:39 +01:00
J. Nick Koston 7d0422af95
Rename S2 board to match convention (#56) 2023-10-02 23:07:58 +01:00
Craig Maher e4ecce0068
Fixed corrupted image (#55) 2023-10-02 22:59:54 +01:00
Craig Maher dee9f3d616
Lolin s2 mini support (#54)
* Create main.yml

* test 1

* test 2

* test 3

* test 4

* test 5

* another test

* made it a link

* change the pins

* made the pins strings

* try yet again to get pages working

* minor change for testing

* get ready for PR

* preparing for PR V2
2023-10-02 22:10:30 +01: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
J. Nick Koston e285003944
fix: update urls 2023-09-12 18:42:17 -05:00
J. Nick Koston d110d61c7f
Update index.html 2023-09-12 13:32:59 -05:00
J. Nick Koston 5518518f01
Update links 2023-09-12 13:29:36 -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
J. Nick Koston 3379fa930b
Update README.md 2023-07-17 00:22:39 -10:00
J. Nick Koston 5e58b54b10
Update README.md 2023-07-17 00:22:02 -10:00
J. Nick Koston cf9b5bb430
Update README.md 2023-07-17 00:21:36 -10:00
J. Nick Koston 5f4ca4403a
Update README.md 2023-07-17 00:20:46 -10:00
J. Nick Koston 9ff0c5ec95
Update README.md 2023-07-17 00:19:31 -10: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
J. Nick Koston 64c409cab9
tidy 2023-07-02 21:45: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
J. Nick Koston 7843336b82
Set min and max for opening and closing duration to avoid errors (#26) 2023-07-01 09:35:05 -05:00
J. Nick Koston 1d7d1cbf57
Remove refs 2023-07-01 09:19:59 -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
J. Nick Koston 8df1b9c0cb
Update README.md 2023-06-26 14:59:08 -05:00
J. Nick Koston b611d20b2b
Update docs for recent changes (#23) 2023-06-26 14:50:06 -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
J. Nick Koston 43a6b01d2b
Revert " ref for testing"
This reverts commit 3360065b2c.
2023-06-25 09:14:59 -05:00
J. Nick Koston 3360065b2c
ref for testing 2023-06-25 09:10:18 -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