Comments (3)
Same for me since a few days. My Nuki 3 Pro don't work anymore with Home Assistant.
I have reported this here: https://developer.nuki.io/t/api-error-423-locked/17896/2
Since 2022.11 HA release I've got another error:
2022-11-05 15:48:26.635 WARNING (MainThread) [custom_components.nuki_ng.nuki] Despite being configured, Web API request has failed
2022-11-05 15:48:26.637 ERROR (MainThread) [custom_components.nuki_ng.nuki] Error while fetching last log entry
Traceback (most recent call last):
File "/config/custom_components/nuki_ng/nuki.py", line 423, in _update
item["last_log"] = await self.api.web_get_last_unlock_log(web_id)
File "/config/custom_components/nuki_ng/nuki.py", line 200, in web_get_last_unlock_log
response = await self.web_async_json(
File "/config/custom_components/nuki_ng/nuki.py", line 184, in web_async_json
return await self.async_json(
File "/config/custom_components/nuki_ng/nuki.py", line 39, in async_json
raise ConnectionError(f"Http response for {response.request.url}: {response.status_code} {response.reason}")
ConnectionError: Http response for https://api.nuki.io/smartlock/17987331556/log: 500 Server Error
2022-11-05 15:48:26.640 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 151, in _handle_refresh_interval
await self._async_refresh(log_failures=True, scheduled=True)
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.async_update_listeners()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 110, in async_update_listeners
update_callback()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 348, in _handle_coordinator_update
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 545, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 586, in _async_write_ha_state
attr.update(self.extra_state_attributes or {})
File "/config/custom_components/nuki_ng/sensor.py", line 220, in extra_state_attributes
"timestamp": datetime.fromisoformat(timestamp) if not None else None,
TypeError: fromisoformat: argument must be str
from hass_nuki_ng.
Hey,
Is the error persistent?
Http response for https://api.nuki.io/smartlock/17987331556/log: 500 Server Error
that rather looks like a temporal Web API failure and should be gone after some time.
Http response for https://api.nuki.io/smartlock/ID/action: 423 Locked
This error is undocumented
from hass_nuki_ng.
See some explaination here: https://developer.nuki.io/t/api-error-423-locked/17896/14
from hass_nuki_ng.
Related Issues (20)
- Wrong State of Sensor if opener continous mode is active HOT 1
- Hide 'Open' Button
- Nuki battery level and status not refreshed HOT 2
- How to change poll interval after installation
- Battery state is shown as diagnosis instead as sensor
- Nuki_ng fires wrong events occasionally
- Error in log: "None is not a valid LockStates" HOT 1
- Nuki lock pro v4 HOT 1
- Constant errors in logs, Nuki seems to work without issues ... HOT 2
- 2024.1 log WARNING HOT 2
- No login since yesterday HOT 4
- HA Core 2025.1 Deprecated Constant Changes Required HOT 1
- Status not updating after disabling door sensor
- Error while setting up nuki_ng platform for sensor HOT 9
- Include "Invalid entry code" log message somehow
- "configuration failed"
- Nuki bug : incorrect display HOT 1
- 'nuki_ng' accesses hass.components.cloud & hass.components.frontend. This is deprecated and will stop working in Home Assistant 2024.9
- Nuki Opener: battery status
- Problem Button on Smart Lock 4 break HOT 1
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 hass_nuki_ng.