Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm01 and PM10 converter vindriktning.js #173

Open
lotohov opened this issue Dec 3, 2024 · 1 comment
Open

pm01 and PM10 converter vindriktning.js #173

lotohov opened this issue Dec 3, 2024 · 1 comment

Comments

@lotohov
Copy link

lotohov commented Dec 3, 2024

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"}'

@devbis
Copy link
Owner

devbis commented Dec 5, 2024

Maybe you used firmware with updated cluster numbers?

2e99b4d

#define ZCL_CLUSTER_CM_PM1			  0x042c
#define ZCL_CLUSTER_CM_PM10			  0x042d

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants