From bb58f37f8dff2c0017c3bb8724d2be23363b619c Mon Sep 17 00:00:00 2001 From: Thomas Oeding Date: Mon, 4 Mar 2024 13:07:35 +0100 Subject: [PATCH 1/2] Update README.md (add M5Stack PoESP32 Info) add some Info about M5Stack PoESP32 antenna. --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b938672..be817d6 100644 --- a/README.md +++ b/README.md @@ -264,7 +264,9 @@ ESP32-WROOM-32E
For more information check the related issue:
https://github.com/technyon/nuki_hub/issues/39

-Also, check that pairing is allowed. In the smartphone app, go to Settings --> Features & Configuration --> Button & LED and make sure "Bluetooh Pairing" is enabled. +Also, check that pairing is allowed. In the smartphone app, go to Settings --> Features & Configuration --> Button & LED and make sure "Bluetooh Pairing" is enabled.
+ +A note about the [M5Stack PoESP32 Unit](https://docs.m5stack.com/en/unit/poesp32). Here the initial Bluetooth reception is very poor (range less than one meter). The reason is that the module does not have an antenna on the PCB, but only an IPEX connector. By retrofitting an external SMA antenna (IPEX, or other names U.FL, IPAX, IPX, AMC, MHF, UMCC), bluetooth/Wifi works over several meters.

### In Home Assistant, the lock is shown as unavailable From b593210568a30504dc905b43fcd288b0c082d13c Mon Sep 17 00:00:00 2001 From: iranl Date: Mon, 4 Mar 2024 22:47:33 +0100 Subject: [PATCH 2/2] Fix Home Assistant Unlatch button for opener --- Network.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Network.cpp b/Network.cpp index 9d841df..ab4aea2 100644 --- a/Network.cpp +++ b/Network.cpp @@ -1061,7 +1061,7 @@ void Network::publishHASSConfig(char* deviceType, const char* baseTopic, char* n "unlatch", uidString, "_unlatch_button", - "Unlatch", + "Open", name, baseTopic, "", @@ -1071,7 +1071,7 @@ void Network::publishHASSConfig(char* deviceType, const char* baseTopic, char* n "", String("~") + mqtt_topic_lock_action, { { "enabled_by_default", "false" }, - { "pl_prs", "unlatch" }}); + { "pl_prs", openAction }}); } }