Commit Graph
100 Commits
Author SHA1 Message Date
technyon 213e0e8692 in authorization log, publish code instead of undefined completion status 2026-01-17 17:19:15 +07:00
technyon ffc9bafdad add pins 10, 11 and 14 as configurable GPIOs for ESP C6 2025-12-31 10:49:49 +07:00
technyon 177a0c4441 simplify code to calculate weekday text 2025-10-06 20:16:51 +07:00
technyon b6e6b4400c move code to get allowed weekdays code into helper class 2025-10-06 20:10:36 +07:00
technyon ce781f8f5b move methods from network classes into helper classes 2025-10-06 19:22:44 +07:00
technyon ed02f0162f move watchdog reset into retry wrapper loop 2025-10-06 19:09:50 +07:00
technyon 0e1caf6211 add gpio output for bluetooth communication active 2025-10-06 17:51:00 +07:00
Jan-Ole Schümann e05ff0fdd0 Refactor retry handling (#702)
* add NukiRetryHandler

* apply retry wrapper to opener wrapper

* apply retry wrapper to all opener communication

* apply retry wrapper to all lock communication

* remove commented out code

* replace millis() with espMillis() in wrapper classes
2025-10-05 21:12:29 +07:00
technyon 778d73cd58 fix clion cmakelist 2025-10-05 18:11:01 +07:00
technyon d5fc8c30c1 update readme 2025-10-02 21:29:46 +07:00
Jan-Ole Schümann a12a166734 add GPIO output for bluetooth communication error (#701) 2025-10-02 21:25:04 +07:00
Jan-Ole Schümann 7933b412f1 Add GPIO for network connected status (#700)
* Add gpio output if mqtt connected

* Add gpio output for network connected status
2025-10-02 20:55:51 +07:00
Jan-Ole Schümann c6e7c8b0a9 Add gpio output for MQTT status (#698) 2025-10-01 23:09:50 +07:00
Jan-Ole Schümann be7c79ac8d Code cleanups (#696)
* apply const in wrapper classes

* move NukiWrapper methods into Util class

* move NukiOpenerWrapper methods into Util class

* rename Util classes to Helper

* apply const to nuki network classes
2025-09-28 19:06:59 +07:00
technyon b6cfea25f5 apply astylerc 2025-08-13 17:04:20 +02:00
Jan-Ole Schümann de5c9fab35 Update README.md 2025-06-28 11:09:23 +07:00
Jan-Ole Schümann 885a248951 Update README.md 2025-06-28 11:08:54 +07:00
technyon 1bd44b6b2d downgrade nimble to 2.3.0 to fix p4 build 2025-06-14 10:57:46 +07:00
technyon 4463684277 set nimble to v2.3.1 2025-06-14 10:08:38 +07:00
technyon de78b651c3 increase maximum MQTT password length to 40 2025-05-05 05:43:16 +02:00
Jan-Ole Schümann 2f960a8372 Add serial interface for initial configuratio (#664)
* add SerialReader

* fix SerialReader

* add config upload script

* add serial command to print ip address

* update serial script to save configuration and reset after upload

* fix updater

* fix updater

* serial config fixes

* serial config fixes

* fix wifi static example configuration

* add readme for sendcfg.py
2025-04-19 12:17:03 +07:00
Jan-Ole Schümann 83696c3a93 Update README.md 2025-04-15 13:42:25 +07:00
technyon cc118edbfb fix syntax 2025-04-13 07:52:52 +02:00
technyon 0634f3af96 Remove not recommended GPIO pins for S3 2025-04-13 07:19:02 +02:00
Jan-Ole Schümann 5176cdb0b7 Update home assistant auto discovery names (#654) 2025-04-07 20:51:29 +07:00
Jan-Ole Schümann 77d06c92b2 Update README.md 2025-03-08 09:46:10 +07:00
Jan-Ole Schümann b8c78a19b7 Update README.md 2025-03-08 09:43:28 +07:00
Jan-Ole Schümann 879b6ab365 Add Waveshare ESP32-S3-ETH support (#636) 2025-03-05 18:46:21 +07:00
Jan-Ole Schümann 2fbecc3e13 Fix m5 poeunit (#633)
* fix m5stack poe ethernet device initialiazation

* move m5stack instantiation inside compile time check

* fix include path
2025-03-03 19:37:01 +07:00
technyon ca2f354e5f use NukiPinState enum for isPinValid() methods 2025-02-03 15:45:52 +01:00
technyon 31fed84cae add enum for PIN state 2025-02-03 15:43:58 +01:00
technyon 02c3b58761 fix psram check 2024-12-21 08:33:46 +01:00
technyon dc43b45f33 add psram check for RMII workaround 2024-12-21 07:44:07 +01:00
technyon 43c425f762 fix LAN8720 RMII initialization 2024-12-21 07:18:03 +01:00
technyon 8a23eb3d03 add libraries to clion CMakeList.txt 2024-12-01 05:43:45 +01:00
technyon dd4d0a8e0b prevent boot loop caused by reset topic 2024-12-01 05:08:55 +01:00
technyon 7b1f446f15 fix preference_reset_mqtt_topics check 2024-12-01 04:00:03 +01:00
technyon 3c93354658 move code to build mqtt path into publish() 2024-11-30 04:40:01 +01:00
technyon f0623c8633 fix string conversion functions 2024-11-29 12:14:40 +01:00
technyon dab9baf9ca fix order of init topics initalization and publishing 2024-11-25 04:03:44 +01:00
technyon b29496c247 remove unused variables and methods 2024-11-24 06:03:40 +01:00
technyon b3dbb0fc0e remove unused variables 2024-11-24 05:43:11 +01:00
technyon 335a9f6dba remove unused variables 2024-11-24 05:41:46 +01:00
technyon 4bcd3f6af0 remove shortcut methods for publishing in NukiNetworkOpener 2024-11-24 05:40:00 +01:00
technyon c61b536c98 remove shortcut methods for publishing in NukiNetworkLock 2024-11-24 05:28:11 +01:00
technyon b37d3bc5fc remove redundant fetching of wifi credentials from preferences 2024-11-24 03:43:27 +01:00
technyon 27fa67f9b1 apply astylerc 2024-11-23 16:55:59 +01:00
technyon a426d955a3 simplify onDisconnected() 2024-11-23 16:52:16 +01:00
technyon a3447dfbe2 add log message 2024-11-23 16:39:53 +01:00
technyon 80e4c5e5d8 minor WifiDevice refactoring 2024-11-23 16:15:38 +01:00
technyon fc70729650 Merge branch 'master' of github.com:technyon/nuki_hub 2024-11-12 16:59:59 +01:00
technyon 0c289a05ab update clion cmakelist.txt 2024-11-12 16:59:03 +01:00
technyon ad5c75edfb Merge branch 'master' of github.com:technyon/nuki_hub 2024-11-11 03:42:47 +01:00
technyon dbc554af5b update nuki ble lib 2024-11-11 03:42:14 +01:00
Jan-Ole Schümann 1d1c25043d Update README.md 2024-11-08 19:44:51 +07:00
technyon 26a2a8201e Update nuki ble lib 2024-11-03 13:35:12 +01:00
Jan-Ole Schümann 53c1192753 Update README.md 2024-10-21 21:04:08 +07:00
technyon fd4fe68b89 add feature comparison to the readme 2024-10-21 14:15:34 +02:00
Jan-Ole Schümann acfed7a992 Update README.md 2024-10-20 23:11:53 +07:00
technyon 8997ac49d2 fix building updater 2024-10-20 14:38:28 +02:00
technyon 9ca377870f add espMillis() to replace esp_timer_get_time() / 1000 2024-10-20 14:25:04 +02:00
technyon 1d079a9aad prevent astyle from writing backup files 2024-10-20 14:07:16 +02:00
technyon d44485fb3f exclude lib in astylerc 2024-10-20 14:04:44 +02:00
technyon eb4db32b89 add astylerc and apply code formatting 2024-10-20 14:03:18 +02:00
technyon a149f2e6b6 refactor GPIO detection code 2024-10-20 09:51:45 +02:00
technyon 7c8dbabb9f fix clion cmake 2024-10-20 06:15:35 +02:00
Jan-Ole Schümann 041ea1a154 Update README.md 2024-10-15 18:52:22 +07:00
Jan-Ole Schümann fed5f95490 Change GPIO input to polling (#484)
* add code to attach timer isr

* call timer ISR every 100 ms

* implement gpio input logic

* do not attach ISR for general input PINs

* add debounce code

* execute lock actions on GPIO input

* only register timer ISR if input PINs are configured

* remove gpio2go lib
2024-10-13 23:01:04 +07:00
technyon 654fcc0f5e fix s3 build 2024-09-22 16:31:14 +02:00
technyon fee10b2c9f code formatting 2024-09-22 06:07:22 +02:00
Jan-Ole Schümann 2457764d38 Refactor official Nuki MQTT support. Move offical-specific code into sepereate class. (#470)
* move offical related members to seperate class

* remove static references

* add buildMqttPath and comparePrefixedPath methods to NukiOfficial

* make offMqttPath private

* fix references and syntax errors

* move nuki official publish state update check to NukiNetworkLock

* make _disableNonJSON private

* make NukiOfficial members private

* move _offCommand to NukiWrapper

* make offCommandExecutedTs private

* make offTopics privte

* fix nuki publisher reference not set

* use NukiPublisher in NukiNetworkOpener

* fix build updater

* fix pl_off and stat_off strings
2024-09-08 12:30:07 +07:00
technyon e70abc1607 clion cmake 2024-09-06 12:10:50 +02:00
Jan-Ole Schümann 52dfad1e8f Make retryCount local in NukiWrapper and NukiOpenerWrapper (#468)
* make retryCount local in NukiWrapper

* make retry count local for opener
2024-08-31 12:04:00 +07:00
technyon 3bdb30e998 remove PresenceDetection code 2024-08-18 09:42:30 +02:00
technyon a30b0355eb fix h2 build 2024-08-18 09:22:11 +02:00
technyon 2d8ec7d8df move code to instantiate network devices to NetworkDeviceInstantiator class 2024-08-18 09:15:30 +02:00
technyon 0b423ee29d move preference converter switch cases to NetworkUtil 2024-08-18 08:21:28 +02:00
technyon 7138802462 fix updater cmake 2024-08-18 08:07:13 +02:00
technyon 022db0813b move include 2024-08-18 07:39:44 +02:00
technyon d1f44dbba6 fix ethernet device constructor call for H2 2024-08-18 07:28:16 +02:00
technyon 1343b9bfa1 fix include 2024-08-18 07:25:00 +02:00
technyon 0dbb9bdc70 fix include 2024-08-18 07:23:02 +02:00
technyon b924746799 add NetworkUtil, move NetworkDeviceType to seperate file 2024-08-18 07:20:00 +02:00
technyon 2bd61b8f34 remove unused varabiles 2024-08-18 06:59:32 +02:00
technyon f26f9f6753 move code to handle network events from anonymous to class method 2024-08-18 06:40:27 +02:00
technyon 83ddd91589 fix for LAN8720 static IP 2024-08-17 06:31:00 +02:00
technyon 95a98dd83c code formatting 2024-08-17 06:11:01 +02:00
technyon 3a0c92472c LAN8720 fix 2024-08-17 06:08:05 +02:00
technyon e8fd17daf2 code formatting 2024-08-17 05:40:05 +02:00
technyon ab9997a080 fix DHCP setting ignored 2024-08-16 13:21:51 +02:00
Jan-Ole Schümann e84b944af2 Update README.md 2024-08-12 13:34:53 +07:00
technyon f7dfe925da Merge branch 'master' of github.com:technyon/nuki_hub 2024-07-31 13:18:42 +02:00
technyon dbdfbe0639 update nuki ble lib 2024-07-31 13:18:14 +02:00
technyon 255ccb081d Merge branch 'master' of github.com:technyon/nuki_hub 2024-07-28 06:12:59 +02:00
technyon 26d56c75cd update nuki ble library 2024-07-28 06:12:37 +02:00
Jan-Ole Schümann 15ba7a3019 Update README.md 2024-07-27 09:47:05 +07:00
Jan-Ole Schümann 5ae5c51e8a Update README.md 2024-07-27 09:46:33 +07:00
technyon 60a523b692 update nuki ble library 2024-07-26 14:34:51 +02:00
technyon d64031d710 update espMqttClient 2024-07-25 13:26:01 +02:00
technyon 39c55a730a make members private 2024-07-13 13:20:57 +02:00