Commit Graph

62 Commits

Author SHA1 Message Date
technyon
dd4d0a8e0b prevent boot loop caused by reset topic 2024-12-01 05:08:55 +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
iranl
5dd90d186d Fix reset MQTT topics 2024-11-28 22:25:10 +01:00
technyon
dab9baf9ca fix order of init topics initalization and publishing 2024-11-25 04:03:44 +01:00
technyon
27fa67f9b1 apply astylerc 2024-11-23 16:55:59 +01:00
iranl
53b5e4e8e4 Clear MQTT Topics on upgrade 2024-11-20 21:34:57 +01:00
iranl
c2d3a3e77d Refractor 2024-11-08 21:40:24 +01:00
iranl
d764ef313a Merge remote-tracking branch 'upstream/master' into ha-discovery 2024-11-07 20:57:40 +01:00
iranl
5df1ad0854 Move maintenance actions to NukiNetwork 2024-11-06 19:43:39 +01:00
iranl
d120def1a2 Update NukiNetwork.cpp 2024-11-05 23:01:17 +01:00
iranl
86dd78f66b Update NukiNetwork.cpp 2024-11-05 23:00:14 +01:00
iranl
0813347d0f Refractor HA discovery 2024-11-05 21:46:23 +01:00
iranl
1e7cefa770 Update NukiNetwork.cpp 2024-11-04 23:30:10 +01:00
iranl
b46d42ddd5 Update NukiNetwork.cpp 2024-11-04 22:27:05 +01:00
iranl
7632a8cbcc HTTP, MQTT and PSRAM fixes 2024-11-04 21:49:21 +01:00
iranl
7ea04e6366 Fix Ring detection 2024-11-04 21:14:53 +01:00
iranl
62742549a7 Enable/Disable HA Discovery using a checkbox 2024-11-02 21:54:06 +01:00
iranl
b813faf771 Fix 2024-11-02 21:18:05 +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
a834380b2e Update pioarduino and enlarge mqtt stack size 2024-10-28 20:06:42 +01: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
iranl
93b1d47bda Improve Wifi connection and portal 2024-10-19 19:10:38 +02:00
Alessandro Del Prete
72ef5003ad Merge pull request #473 from iranl/http-server
Switch HTTP server to PsychicHTTP and MQTT client to ESP-MQTT, remove WiFiManager
2024-10-17 05:48:15 +02:00
iranl
f61a51fcc4 Update NukiNetwork.cpp 2024-10-15 17:22:01 +02:00
iranl
03d6baf389 Update src/NukiNetwork.cpp
Co-authored-by: David Girón <contacto@duhowpi.net>
2024-10-15 17:17:18 +02:00
iranl
76e9767840 Fix opener electronic strike actuation in HA 2024-10-15 17:02:15 +02:00
iranl
06e96b5ea7 WiFi portal 2024-10-14 21:25:07 +02:00
iranl
a4e0652d62 Merge branch 'master' into http-server 2024-09-28 21:52:00 +02:00
Alessandro Del Prete
5ca6c55fa7 - availability topic should be a list (#476)
- fix stat_jammed with stat_jam
2024-09-22 11:01:53 +07:00
iranl
66563bf1e0 Merge remote-tracking branch 'upstream/master' into http-server 2024-09-08 21:03:06 +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
iranl
c9281d9299 Fixes 2024-09-06 21:38:12 +02:00
iranl
26eace46e4 Fix HA discovery errors 2024-09-06 21:02:43 +02:00
iranl
18c56de16d ESP-MQTT 2024-09-06 17:17:19 +02:00
iranl
25076e6e7e ESP-MQTT 2024-08-31 22:04:12 +02: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
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
d1f44dbba6 fix ethernet device constructor call for H2 2024-08-18 07:28:16 +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
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
063fbab6b2 OTA and Debug improvements (#445)
* Use esp_crt_bundle for HTTPS requests

* Remove Solo1 support

* Improve Nuki device config read functions

* Webserial

* OTA Improvements

* WebCfg fixes

* Debug improvements
2024-08-11 16:20:51 +07:00