Comments (2)
This is something regarding an event that is generated and discarded in zigpy itself.
Raising (enqueing the event):
https://github.com/zigpy/zigpy/blob/0.53.1/zigpy/appdb.py#L275-L282
Discarding:
https://github.com/zigpy/zigpy/blob/0.53.1/zigpy/appdb.py#L199
The reason why it is discarded seems to be because the PersistingListener is not know to be "running".
Which seems to be set as soon as the Listener object is created:
https://github.com/zigpy/zigpy/blob/0.53.1/zigpy/appdb.py#L275-L282
And it will not be set when there is some issue when initialising the tables, or when the listener is shut down (which I suppose would happen when HA is stopped/restarted).
My best guess is that there is some issue with the zigbee database, maybe you find hints for that in the log. I do not think this is related to zha-toolkit, but I believe that the reads "enqueue" the events and when it is treated in the queue it is discarded because that listener is not set as "running".
Beyond analyzing the log, you could probably check the sqlite3 database(s) for errors.
The listener's initialiser checks for the integrity itself and should then result in a message in the log:
https://github.com/zigpy/zigpy/blob/0.53.1/zigpy/appdb.py#L275-L282
from zha-toolkit.
A restart of my Home Assistant instance did indeed fix it.
When I have some time I'll try to dig into the logs.
Thanks for the looking at this and explaining it.
from zha-toolkit.
Related Issues (20)
- The robovac custom integration is using deprecated vacuum feature HOT 5
- Fallback on on actual attribute read if `use_cache` is `True` but attribute not in cache for `attr_read`/`attr_write HOT 3
- set attribute on tuya device HOT 7
- Make use of zigpy's new "Manufacturer OTA Firmware Update Support" feature (also referred to as "*Generic OTA providers")? HOT 3
- Leave: Need 'ieee' and command_data HOT 1
- zdo_scan_now: Unable to serialize to JSON HOT 1
- ZHA toolkit not working for OTA updates HOT 3
- Setting a different report interval to my thermostat via ZHA toolkit didn’t work HOT 7
- ZHAData is not subscriptable after upgrade to 2023.10.0 HOT 9
- Zigbee throwing errors HOT 1
- Setting New reportable_change on Tuya TS0201 (Temp + Humidity - No Display) HOT 2
- 🧰 ZHA Toolkit: Get Binding Table not working HOT 3
- Fehler beim Aufrufen des Diensts zha_toolkit.scan_device. Unknown error HOT 5
- OTA notification spams with WARN and ERROR and floods with requests HOT 3
- Backup Coordinator Data fails (AttributeError: getKey not found in COMMANDS) HOT 3
- Can't get data from API call HOT 9
- Unknown error: OTA' object has no attribute '_listeners'' for service call HOT 3
- Add example on how to set last seen attribute HOT 1
- Detected blocking call to import_module inside the event loop by custom integration 'zha_toolkit' HOT 26
- Traceback when triggering OTA
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 zha-toolkit.