You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement fromZigbee converter processing for real-time state updates
processIncomingMessage was receiving ZCL attribute data from device
messages but discarding everything except a debug log of link quality.
Adopted devices never reflected real-time state changes, making the
integration effectively write-only.
Now implements the full fromZigbee pipeline:
1. Iterates fromZigbee converters from the device definition, matching
by cluster name (same pattern as zigbee-herdsman-converters expects)
2. Each converter's convert() translates raw ZCL data into a state
object (e.g. { temperature: 22.5, humidity: 65.3 })
3. Adds linkquality to the state if present in the message
4. Fetches all channel properties for the adopted device
5. Matches state keys to property identifiers (set to zigbee expose
names during adoption) and writes values via PropertyValueService
6. PropertyValueService handles persistence, change detection, and
WebSocket broadcast
The CI failure (devices-shelly-ng resetReconnectInterval) is a
pre-existing issue on main, not related to this plugin.
https://claude.ai/code/session_014bjB9Cn1WKASNLBeCuSbom
0 commit comments