Comments (4)
Thanks for helping us debug this issue.
Please do the following:
-
Flash the binary for your device:
esp32-debug.zip
esp32-c3-debug.zip
esp32-s3-debug.zip -
Enable
Enable MQTT logging
inAdvanced MQTT and Network Configuration
-
Open MQTT Explorer and connect to your MQTT server
-
Check that you have a
nukiopener/maintanence/log
topic -
Try to change to setting for
Doorbell Suppression
andButton Enabled
. You can use the dropdown/switch in Home Assistant for this or publish{ "doorbellSuppression": "CM & Ring" }
or{ "buttonEnabled": "1" }
tonukiopener/configuration/action
.
Note: Debugging is not enabled completely on all settings, so please stick to Doorbell Suppression
and Button Enabled
for now
-
Report back here with the last 5-10 messages in
nuki/maintanence/log
before the messageMQTT connected
is seen (this means the ESP has restarted) -
It should look like this (but probably won't because of the crash, but hopefully will help pinpoint the exact location of the problem)
onConfigUpdateReceived: Config update recieved
onConfigUpdateReceived: Initial checks done, continuing
onConfigUpdateReceived: ACL preferences loaded
onConfigUpdateReceived: checking key name
[...]
onConfigUpdateReceived: checking key buttonEnabled
onConfigUpdateReceived: key exists
onConfigUpdateReceived: value = 1 (or 0 depending on if you are enabling or disabling the button)
onConfigUpdateReceived: Changing enableButton
onConfigUpdateReceived: result: 1
onConfigUpdateReceived: checking key ledEnabled
[...]
onConfigUpdateReceived: Success
Reading config. Result: success
Reading advanced config. Result: success
from nuki_hub.
Just tested with the esp32_debug binary. I can reproduce the crash reported by @fir3drag0n by changing either the Doorbell Suppression
or Button Enabled
setting in HA (but also publishing it directly to the MQTT configuration/action
topic).
Worth noting (for future reference) that the logs are published through the nuki/maintanence/log
topic. There are unfortunately no new MQTT messages before the MQTT connected
message (which indicates a restart) when changing the settings meaning that the ESP32 is already crashing early in the process.
from nuki_hub.
Should be fixed by #385. Have been able to pinpoint the faulty code.
Please test:
esp32.zip
esp32-s3.zip
esp32-c3.zip
from nuki_hub.
Merged into master
from nuki_hub.
Related Issues (20)
- [Feature Request] Nuki Keypad display authorization code information HOT 2
- [Feature Request] Rolling log for lock/log MQTT topic
- [Feature Request] Keypad entry codes as sensors in HA HOT 1
- [Feature Request] Adding firmware version to Home Assistant HOT 5
- ESP32 S3 does not show up as wifi device after successfully flashing via browser HOT 5
- S3 Mini Flashing Error using Web Flasher HOT 6
- Restart if Bluetooth beacons not received, disabled by default HOT 2
- Locked status not getting updated in home assistant HOT 2
- [Solution Provided] Nuki Lock state undefined since version 8.35 HOT 17
- AuthorizationId doesn't change on rolling auth log HOT 3
- How upgrade? HOT 9
- problem update at 8.35 HOT 1
- Nuki Hub gets unavailable for a couple of hours a day - also tries to reconnect every minute afterwards HOT 16
- Battery "level" is missing in version 8.35 HOT 2
- Ethernet support broken for core 3 builds HOT 1
- Nuki hub status does not change HOT 7
- Presence HOT 7
- No info in the logbook HOT 1
- Add support for ESP32-C3 ethernet WT ESP32C3-S5 DM5051NP (ETH01-Evo) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuki_hub.