Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
12.22k stars 1.69k forks source link

[New device support]: Tuya Zigbee Smart Circuit Breaker Photovoltaic Bidirectional Metering Energy Meter #23613

Open slayer opened 3 months ago

slayer commented 3 months ago

Link

https://www.aliexpress.com/item/1005006883575693.html

Database entry

none

Comments

Hey

I've tried to connect "Tuya Zigbee Smart Circuit Breaker Photovoltaic Bidirectional Metering Energy Meter"

image image image image

Is there external converter for this device?

External definition

const definition = {
    zigbeeModel: ['TS0601'],
    model: 'TS0601',
    vendor: '_TZE204_lb0fsvba',
    description: 'Automatically generated definition',
    extend: [],
    meta: {},
};

module.exports = definition;
mrmaximas commented 3 months ago

@slayer please find database.db file in the z2m dir, for example /zigbee2mqtt/data/database.db

slayer commented 3 months ago

thought it is sqlite db, but it's plain file, thanks

{"id":37,"type":"Router","ieeeAddr":"0xa4c1385dc56909fd","nwkAddr":4681,"manufId":4417,"manufName":"_TZE204_lb0fsvba","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":"\rSO.i\u000eSO.i\u000eSO.i\u000fSO.i\u000fSO.i\u000fSO.i\u0010SO.i�RO.i","65506":56,"65508":0,"65534":0,"stackVersion":0,"dateCode":"","appVersion":74,"manufacturerName":"_TZE204_lb0fsvba","zclVersion":3,"modelId":"TS0601","powerSource":1}}},"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":217189513},"lastSeen":1723628114269}
mrmaximas commented 3 months ago

https://github.com/Koenkk/zigbee2mqtt/issues/23502

slayer commented 3 months ago

Thanks, I've tried converter from that thread but it is not usable, since Circuit Breaker fails to wrong_frequency_threshold error (power is off), and I don't know how to change this threshold (or even is it real wrong_frequency_threshold error, because multimeter says frequency in socket 50.00 Hz)

image image
mimich38 commented 1 week ago

Hi I am not a geek , this product is recognize under Tuya ... but noot under MQTT Regards