z03mmc icon indicating copy to clipboard operation
z03mmc copied to clipboard

pm01 and PM10 converter vindriktning.js

Open lotohov opened this issue 2 years ago • 2 comments

I tried to remove comments from this converter to enable pm1 and pm10 https://raw.githubusercontent.com/devbis/z03mmc/57e427ea172fc5ba58a579ddebd2789bdb27eb13/converters/vindriktning.js

Try the converter before the last commit. It was tested better

2024-12-03 14:45:13z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0xa4c138bc1b3f38e4', payload '{"battery":100,"humidity":31.53,"last_seen":"2024-12-03T11:45:14.693Z","linkquality":84,"pm1":null,"pm10":null,"pm25":0,"temperature":23.96,"update":{"installed_version":268513281,"latest_version":268513281,"state":"idle"},"update_available":false}' error 2024-12-03 14:45:14z2m: Failed to configure '0xa4c138bc1b3f38e4', attempt 1 (Error: Cluster with name '1072' does not exist at getClusterDefinition (/app/node_modules/zigbee-herdsman/src/zspec/zcl/utils.ts:166:15) at Object.getCluster (/app/node_modules/zigbee-herdsman/src/zspec/zcl/utils.ts:285:29) at Function.create (/app/node_modules/zigbee-herdsman/src/zspec/zcl/zclFrame.ts:54:31) at Endpoint.zclCommand (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:932:33) at Endpoint.configureReporting (/app/node_modules/zigbee-herdsman/src/controller/model/endpoint.ts:688:20) at Object.configure (/app/data/extension/externally-loaded.js:59:24) at Configure.configure (/app/lib/extension/configure.ts:130:13) at Configure.onMQTTMessage (/app/lib/extension/configure.ts:57:21) at EventEmitter.wrappedCallback (/app/lib/eventBus.ts:211:17)) info 2024-12-03 14:45:14z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/device/configure', payload '{"data":{"id":"0xa4c138bc1b3f38e4"},"error":"Failed to configure (Cluster with name '1072' does not exist)","status":"error","transaction":"qqe69-1"}'

lotohov avatar Dec 03 '24 11:12 lotohov

Maybe you used firmware with updated cluster numbers?

https://github.com/devbis/z03mmc/commit/2e99b4da13271bfae02d0a38b4f048f6296b845f

#define ZCL_CLUSTER_CM_PM1			  0x042c
#define ZCL_CLUSTER_CM_PM10			  0x042d

Please, change to this numbers in your converter and test.

devbis avatar Dec 05 '24 12:12 devbis

Did the PM1 and PM10 values get enabled? I've tried both values in the converter, but I get null values either way

4thgenlude avatar Nov 18 '25 12:11 4thgenlude