zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

[New device support]:

Open Krzysiek1979r opened this issue 10 months ago • 6 comments

Link

https://aeotec.com/products/Aeotec-Smartthings-Pico-Switch/

Database entry

{"id":3,"type":"Router","ieeeAddr":"0x6c5cb1fffe1c1eec","nwkAddr":58045,"manufId":4880,"manufName":"AEOTEC","powerSource":"Mains (single phase)","modelId":"ZGA003","epList":[1,2,3,4,242],"endpoints":{"1":{"profId":260,"epId":1,"devId":2,"inClusterList":[0,2,3,4,5,6,9,1794,2820,64769,64770],"outClusterList":[3,10,25],"clusters":{"genBasic":{"attributes":{"stackVersion":0}},"genOnOff":{"attributes":{"onOff":0}},"haElectricalMeasurement":{"attributes":{"acPowerDivisor":10,"acPowerMultiplier":1,"acCurrentDivisor":1000,"acCurrentMultiplier":1,"acVoltageDivisor":10,"acVoltageMultiplier":1,"activePower":0,"rmsCurrent":0,"rmsVoltage":2224}},"seMetering":{"attributes":{"divisor":1000,"multiplier":1,"currentSummDelivered":[0,84]}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9cab5c","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9cab5c","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9cab5c","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1,"manufacturerCode":null},{"cluster":2820,"attrId":1291,"minRepIntval":10,"maxRepIntval":65000,"repChange":50,"manufacturerCode":null},{"cluster":2820,"attrId":1288,"minRepIntval":10,"maxRepIntval":65000,"repChange":50,"manufacturerCode":null},{"cluster":2820,"attrId":1285,"minRepIntval":10,"maxRepIntval":65000,"repChange":50,"manufacturerCode":null},{"cluster":1794,"attrId":0,"minRepIntval":10,"maxRepIntval":65000,"repChange":[0,100],"manufacturerCode":null}],"meta":{}},"2":{"profId":260,"epId":2,"devId":2,"inClusterList":[0,3,4,5,6,9,1794,2820],"outClusterList":[3,10],"clusters":{"genBasic":{"attributes":{"stackVersion":0}},"genOnOff":{"attributes":{"onOff":0}},"haElectricalMeasurement":{"attributes":{"acPowerDivisor":10,"acPowerMultiplier":1,"acCurrentDivisor":1000,"acCurrentMultiplier":1,"acVoltageDivisor":10,"acVoltageMultiplier":1,"activePower":0,"rmsCurrent":0,"rmsVoltage":2224}},"seMetering":{"attributes":{"divisor":1000,"multiplier":1,"currentSummDelivered":[0,225]}}},"binds":[{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9cab5c","endpointID":1},{"cluster":2820,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9cab5c","endpointID":1},{"cluster":1794,"type":"endpoint","deviceIeeeAddress":"0xe0798dfffe9cab5c","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":0,"maxRepIntval":65000,"repChange":1,"manufacturerCode":null},{"cluster":2820,"attrId":1291,"minRepIntval":10,"maxRepIntval":65000,"repChange":50,"manufacturerCode":null},{"cluster":2820,"attrId":1288,"minRepIntval":10,"maxRepIntval":65000,"repChange":50,"manufacturerCode":null},{"cluster":2820,"attrId":1285,"minRepIntval":10,"maxRepIntval":65000,"repChange":50,"manufacturerCode":null},{"cluster":1794,"attrId":0,"minRepIntval":10,"maxRepIntval":65000,"repChange":[0,100],"manufacturerCode":null}],"meta":{}},"3":{"profId":260,"epId":3,"devId":2096,"inClusterList":[0,3,4096,64768],"outClusterList":[3,4,5,6,8,4096],"clusters":{"genBasic":{"attributes":{"stackVersion":0}}},"binds":[],"configuredReportings":[],"meta":{}},"4":{"profId":260,"epId":4,"devId":2096,"inClusterList":[0,3,64768],"outClusterList":[3,4,5,6,8],"clusters":{"genBasic":{"attributes":{"stackVersion":0}}},"binds":[],"configuredReportings":[],"meta":{}},"242":{"profId":41440,"epId":242,"devId":97,"inClusterList":[],"outClusterList":[33],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"appVersion":70,"stackVersion":0,"hwVersion":1,"dateCode":"2023092115:16:49","swBuildId":"1.0.6","zclVersion":8,"interviewCompleted":true,"meta":{"configured":1324213189},"lastSeen":1711810455425}

image

Comments

The device appears as unrecognized. It is possible to turn individual contacts on and off, but more entities do not work

External definition

const {deviceEndpoints, onOff, electricityMeter, identify} = require('zigbee-herdsman-converters/lib/modernExtend');

const definition = {
    zigbeeModel: ['ZGA003'],
    model: 'ZGA003',
    vendor: 'AEOTEC',
    description: 'Automatically generated definition',
    extend: [deviceEndpoints({"endpoints":{"1":1,"2":2,"3":3,"4":4,"242":242}}), deviceEndpoints({"endpoints":{"1":1,"2":2}}), onOff({"powerOnBehavior":false,"endpointNames":["1","2"]}), electricityMeter(), identify()],
    meta: {"multiEndpoint":true},
};

module.exports = definition;

Krzysiek1979r avatar Mar 30 '24 15:03 Krzysiek1979r

but more entities do not work

What more do you expect?

Koenkk avatar Mar 31 '24 18:03 Koenkk

Hi It expects correct identification and correct operation of power and energy measurementBRKrzysztof CzernielewskiOd: "Koen Kanters" @.>Do: "Koenkk/zigbee2mqtt" @.>; Wysłane: 20:30 Niedziela 2024-03-31Temat: Re: [Koenkk/zigbee2mqtt] [New device support]: (Issue #22004)

but more entities do not work

What more do you expect?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Krzysiek1979r avatar Apr 01 '24 14:04 Krzysiek1979r

I believe he's expecting power, voltage, amps and reporting????

johnjoemorgan avatar Apr 02 '24 12:04 johnjoemorgan

Hi sorry that you had to wait so long for answer.As you see below many of entities have unknown stateNieznany = Unknown

Also the theoretically working power measurement behaves strangely. It counts incorrectly (too little) and sometimes there are jumps up and down (as in the graph below).PozdrawiamKrzysztof CzernielewskiOd: "johnjoemorgan" @.>Do: "Koenkk/zigbee2mqtt" @.>; Wysłane: 14:46 Wtorek 2024-04-02Temat: Re: [Koenkk/zigbee2mqtt] [New device support]: (Issue #22004)

I believe he's expecting power, voltage, amps and reporting????

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Krzysiek1979r avatar Apr 05 '24 16:04 Krzysiek1979r

Hello

Can some one please confirm that using this device connected over the Z2M, you listening some sound of the relay as working, but there wasn't any thing in the Logbook of the device?

Thank you

MiAutomations avatar May 08 '24 11:05 MiAutomations

There is also the Pico Shutter; although it is not yet compatible, it appears to function (relays clicking). I'm very interested in this hardware. If anyone needs more information, I also have the dual relay Pico. 🙏

Update: I can confirm that they are working as expected. The only thing I would change is the reporting of the position, which seems to be different from what I received from Tuya.

tech2mar avatar May 18 '24 18:05 tech2mar