Closed VR-VIDEO closed 8 months ago
Please, I also need to add this switch, I have several without being able to add them
Could you check if the issue is fixed with the following external converter:
configuration.yaml
as ext_converter.js
configuration.yaml
:
external_converters:
- ext_converter.js
works, can u pls point me what was wrong if u will get a minute.
Could you check if the issue is fixed with the following external converter:
- save this as file next to
configuration.yaml
asext_converter.js
- add it to
configuration.yaml
:external_converters: - ext_converter.js
- start z2m, check if issue is fixed
Works, Thank You
Integrated the changes, you can remove the external converter after updating to the next release.
Link
https://www.aliexpress.us/item/3256801436204038.html?spm=a2g0o.order_detail.order_detail_item.3.4eb9f19c6NyHS0&gatewayAdapt=glo2usa
Database entry
{"id":10,"type":"Router","ieeeAddr":"0xa4c1381d158606d0","nwkAddr":58732,"manufId":4417,"manufName":"_TZE204_3t91nb6k","powerSource":"Mains (single phase)","modelId":"TS0601","epList":[1,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":81,"inClusterList":[4,5,61184,0],"outClusterList":[25,10],"clusters":{"genBasic":{"attributes":{"65503":"o�1-io�1-i��1-i��1-i�1-i�1-i","65506":56,"65508":0,"65534":0,"modelId":"TS0601","manufacturerName":"_TZE204_3t91nb6k","powerSource":1,"zclVersion":3,"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":""}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":74,"stackVersion":0,"hwVersion":1,"dateCode":"","zclVersion":3,"interviewCompleted":true,"meta":{"configured":-708457359},"lastSeen":1704935314878,"defaultSendRequestWhen":"immediate"}
Comments
I tryed do it by manual, but every time i got error with no define state and value 0, expected true or false
Exception while calling fromZigbee converter: Value '0' is not allowed, expected one of true,false}
i got this in log
Debug 2024-01-10 20:22:35Received Zigbee message from '0xa4c1381d158606d0', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":1,"dp":2}],"seq":42240}' from endpoint 1 with groupID 0 Debug 2024-01-10 20:22:35Datapoint 2 not defined for '_TZE204_3t91nb6k' with value true Debug 2024-01-10 20:22:35Received Zigbee message from '0xa4c1381d158606d0', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":1}],"seq":42496}' from endpoint 1 with groupID 0 Debug 2024-01-10 20:22:35Datapoint 1 not defined for '_TZE204_3t91nb6k' with value false Debug 2024-01-10 20:22:35Received Zigbee message from '0xa4c1381d158606d0', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[1],"type":"Buffer"},"datatype":1,"dp":1}],"seq":42752}' from endpoint 1 with groupID 0 Debug 2024-01-10 20:22:35Datapoint 1 not defined for '_TZE204_3t91nb6k' with value true Debug 2024-01-10 20:22:36Received Zigbee message from '0xa4c1381d158606d0', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":2}],"seq":43008}' from endpoint 1 with groupID 0 Debug 2024-01-10 20:22:36Datapoint 2 not defined for '_TZE204_3t91nb6k' with value false Debug 2024-01-10 20:22:37Received Zigbee message from '0xa4c1381d158606d0', type 'commandDataReport', cluster 'manuSpecificTuya', data '{"dpValues":[{"data":{"data":[0],"type":"Buffer"},"datatype":1,"dp":1}],"seq":43264}' from endpoint 1 with groupID 0 Debug 2024-01-10 20:22:37Datapoint 1 not defined for '_TZE204_3t91nb6k' with value false
External defintion