Commit Graph

67 Commits

Author SHA1 Message Date
iranl
c2d3a3e77d Refractor 2024-11-08 21:40:24 +01:00
iranl
0813347d0f Refractor HA discovery 2024-11-05 21:46:23 +01:00
iranl
7ea04e6366 Fix Ring detection 2024-11-04 21:14:53 +01:00
iranl
481d18cc28 Minor fixes 2024-11-03 15:30:21 +01:00
iranl
020b16bfea Minor fixes 2024-11-03 14:26:27 +01:00
iranl
b813faf771 Fix 2024-11-02 21:18:05 +01:00
iranl
bb50283406 Merge branch 'master' into check-keypad-codes 2024-11-02 19:41:11 +01:00
iranl
7454208230 Revert ESP-MQTT (#508)
* Revert ESP-MQTT

* Revert ESP-MQTT

* Update sdkconfig.defaults
2024-11-02 23:07:00 +07:00
iranl
40456db982 Merge branch 'master' into check-keypad-codes 2024-10-28 20:14:03 +01:00
iranl
2404e5bf31 Fix for JSON commands 2024-10-22 22:53:32 +02:00
iranl
e25d642ad9 Fix AllowedUntil 2024-10-22 22:42:06 +02:00
iranl
25b0e9fabe Merge branch 'master' into check-keypad-codes 2024-10-20 20:21:32 +02:00
technyon
9ca377870f add espMillis() to replace esp_timer_get_time() / 1000 2024-10-20 14:25:04 +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
iranl
0b9b3da380 Check keypad codes 2024-10-15 22:20:01 +02:00
iranl
06e96b5ea7 WiFi portal 2024-10-14 21:25:07 +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
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
iranl
b2100ceeb7 Fix operators 2024-08-25 17:43:45 +02:00
iranl
11d11951b3 Hybrid mode fixes (#461) 2024-08-23 17:22:26 +07:00
iranl
22348d71a3 Fixes (#460) 2024-08-21 18:40:10 +07:00
Julien Ehrhart
618591e65e Fix max value for autoLockTimeOut (#459)
* Fix max value for autoLockTimeOut

* Fix the autoLockTimeOut max value in NukiWrapper.cpp
2024-08-20 22:12:14 +02:00
technyon
3bdb30e998 remove PresenceDetection code 2024-08-18 09:42:30 +02:00
iranl
b298d410eb Add Authorization entries (#456)
* Add and remove libs and components for Arduino Core 3

* Arduino Core 3

* Add back Solo1

* Change ESP32-S3 to 4MB build

* Add Authorization info and control

* Use esp_crt_bundle for HTTPS requests

* Remove Solo1 support

* Improve Nuki device config read functions

* Webserial

* OTA Improvements

* Authorization Entries

* Authorization entries

* Authorization
2024-08-17 10:21:22 +07:00
iranl
9a896a7ab1 Remove old and modified libs, switch to ESPAsyncWebserver, add support for ESP32-H2 and multiple Ethernet modules (#455)
* Asyncwebserver

* Squashed commit of the following:

commit 575ef02f593918ec6654c87407a4d11fc17071b8
Author: technyon <j.o.schuemann@gmx.de>
Date:   Mon Aug 12 17:56:11 2024 +0200

    merge master

commit 35e5adf4ecd80f9829e8801181f35dd2c1d94759
Merge: a2cc7be2 21adca01
Author: technyon <j.o.schuemann@gmx.de>
Date:   Mon Aug 12 17:41:04 2024 +0200

    Merge branch 'master' of github.com:technyon/nuki_hub into DM9051

commit a2cc7be2954cbd8767ab8186296c0b14134d1d0b
Author: technyon <j.o.schuemann@gmx.de>
Date:   Mon Aug 12 10:51:50 2024 +0200

    update nuki ble

commit 20c809f3dca28b29b219d1ff3a183f1981316de5
Author: technyon <j.o.schuemann@gmx.de>
Date:   Mon Aug 12 10:44:46 2024 +0200

    backup

commit dd41c218efb5270f5efeb734e64dff695920db16
Merge: 153000b5 e84b944a
Author: technyon <j.o.schuemann@gmx.de>
Date:   Mon Aug 12 10:40:03 2024 +0200

    Merge branch 'master' of github.com:technyon/nuki_hub into DM9051

commit 153000b5b1af7df1fbeb5263df94eb26f689cc0a
Author: technyon <j.o.schuemann@gmx.de>
Date:   Mon Aug 12 10:23:07 2024 +0200

    fix linker error

commit a93bbfbfc4301e46ff3696a763dd13c6c89efefb
Author: technyon <j.o.schuemann@gmx.de>
Date:   Sun Aug 11 11:27:07 2024 +0200

    backup

commit f611c75ce8c35f829bcad6cf7e86188f4b3ec331
Merge: f1964917 063fbab6
Author: technyon <j.o.schuemann@gmx.de>
Date:   Sun Aug 11 11:24:47 2024 +0200

    merge master

commit f1964917b4dade3920f1ecdb699c58630199e6da
Author: technyon <j.o.schuemann@gmx.de>
Date:   Sat Aug 10 15:17:45 2024 +0200

    update platformio.ini

commit f448e5e8a7e93be38e09e2ab0b622199a3721af6
Author: technyon <j.o.schuemann@gmx.de>
Date:   Sat Aug 10 11:28:09 2024 +0200

    add SPIClass instance for DM9051

commit 1f190e9aa08033535a2eb442a92e6e20409bbda1
Author: technyon <j.o.schuemann@gmx.de>
Date:   Sat Aug 10 11:22:26 2024 +0200

    add definitions and constructor for DM9051

commit 726b3602ae91594ee1210ad5b6714f75cc5e42a7
Merge: 50a2eb13 4af90cbc
Author: technyon <j.o.schuemann@gmx.de>
Date:   Sat Aug 10 10:19:34 2024 +0200

    merge master

commit 50a2eb136d75d90921f1c6974f18bc107bddc123
Author: technyon <j.o.schuemann@gmx.de>
Date:   Fri Aug 9 11:52:09 2024 +0200

    add comment

commit 9437e485cae169efdf8e5a7bf188a1c7e792d1e5
Author: technyon <j.o.schuemann@gmx.de>
Date:   Sun Aug 4 08:29:21 2024 +0200

    move LAN8720 definitions to seperate file

* Remove Core 2 Ethernet library

* Custom Ethernet

* GPIO and Preferences

* H2
2024-08-16 18:02:37 +07:00
iranl
346c5c65d1 Fixes/Enhancements for pio/preferences, new info page, add reboot button, remove old files (#451)
* Preferences

* Info page

* Info page

* Remove old files + Info page
2024-08-12 22:53:00 +07:00
iranl
44b5f71b40 Improve Nuki device config read functions (#442) 2024-08-09 16:34:51 +07:00
iranl
9d09c4354d BLE fixes (#436)
* BLE fixes

* Lock/Opener action fixes

* Prevent Keypad/TC request when no valid PIN is set

* Set BLE Power and C6 improvements

* Update nuki_ble

* BLE High performance on state change

* Update nuki_ble
2024-08-01 20:56:39 +07:00
iranl
d132e76ae2 Add HA discovery topics (#440) 2024-07-31 18:14:09 +07:00
technyon
60a523b692 update nuki ble library 2024-07-26 14:34:51 +02:00
iranl
77ddef76af Replace millis() with esp_timer_get_time() (#423) 2024-07-15 22:16:43 +07:00
technyon
39c55a730a make members private 2024-07-13 13:20:57 +02:00
technyon
181455596c fix types for timestamps 2024-07-09 17:39:49 +02:00
technyon
0a799e1659 disable presence detection 2024-07-09 13:30:51 +02:00
iranl
6b0100fd61 Arduino Core 3 (#407)
* Add and remove libs and components for Arduino Core 3

* Arduino Core 3

* Add back Solo1

* Change ESP32-S3 to 4MB build

* Update README.md

* Fix retain and number of retries

* Fix rolling log

* Fix defaults

* Fix BleScanner on Solo1

* Export settings

* Import settings

* Fix HA Battery voltage

* Change submodule

* Update espMqttClient and AsyncTCP

* Webserial and MQTT/Network reconnecting

* Update nuki_ble

---------

Co-authored-by: iranl <iranl@github.com>
2024-07-05 23:45:39 +07:00
iranl
2ccae4b64b Fix nr of retries (#411) 2024-06-22 12:20:56 +07:00
technyon
4d4edaf126 fix print no ble beacon received message 2024-06-16 04:54:39 +02:00
technyon
65a129cd3c fix print no ble beacon received message 2024-06-16 04:48:44 +02:00
iranl
85ffabe95d Fix operator (#399) 2024-06-11 22:00:45 +07:00
iranl
90a8d04b45 Official MQTT - Nuki Hub coexistence, keypad/timecontrol sensor per code/entry, option not to publish config, authorization log improvements, various fixes (#389)
* Coexistence with official MQTT over Wifi and Thread

* Coexistence with official MQTT over Wifi and Thread

* Arduino Core 2.0.17 cmake and README

* Coexistence with official MQTT over Wifi and Thread

* Keep updating status until state is known

* Coexistence with official MQTT over Wifi and Thread
2024-06-08 14:03:35 +07:00
David Girón
552589a2c6 mqtt: announce hardware and software version (#396) 2024-06-07 18:21:58 +07:00
iranl
8fe5999e76 Merge branch 'master' into publish-keypad-code-and-rolling-auth-log 2024-06-01 06:03:31 +02:00
Jan-Ole Schümann
3b8ac28241 Merge pull request #385 from iranl/fix-and-debug-config
Fix opener config
2024-06-01 09:57:42 +07:00
iranl
15cadb7e98 Fix config 2024-05-30 22:57:47 +02:00
iranl
58ec4b345c Publish keypad code and rolling log 2024-05-30 21:26:54 +02:00
Jan-Ole Schümann
ff741f7989 Merge pull request #377 from iranl/add-option-to-remove-non-json
Add option to remove some non-JSON MQTT topics
2024-05-30 17:32:32 +07:00
iranl
4d025729b0 Add option to remove some non-JSON MQTT topics 2024-05-28 22:54:51 +02:00
iranl
92ca7de620 Fix Unpair 2024-05-28 12:45:44 +02:00
iranl
72289336ad Auth log 2024-05-26 22:17:24 +02:00