Shelly 2PM Gen4 no power data

Hi,

i am using last stable Version 2.32.5.

There is no still no power data displayed for shelly 2PM Gen4

See https://github.com/dresden-elektronik/deconz-rest-plugin/issues/8316

Unfortunately, the two DDFs were not tested in the issue. Depending on how the Shelly is configured (switch or cover), deCONZ should select the correct DDF. Once the files are in the device folder, the device must be deleted and re-paired.

I think deconz select the wrong ddf.

{
“schema”: “devcap1.schema.json”,
“manufacturername”: “Shelly”,
“modelid”: “2PM”,
“status”: “Draft”,
“subdevices”: [
{
“type”: “$TYPE_ON_OFF_PLUGIN_UNIT”,
“restapi”: “/lights”,
“uuid”: [
“$address.ext”,
“0x01”
],
“items”: [
{
“name”: “state/on”,
“description”: “True when device is on; false when off.”,
“refresh.interval”: 5,
“default”: false
},
{
“name”: “state/alert”,
“description”: “The currently active alert effect.”,
“default”: “none”
},
{
“name”: “state/reachable”
},
{
“name”: “attr/name”
},
{
“name”: “attr/manufacturername”
},
{
“name”: “attr/modelid”
},
{
“name”: “attr/type”
},
{
“name”: “attr/swversion”
},
{
“name”: “attr/id”
},
{
“name”: “attr/uniqueid”
},
{
“name”: “attr/lastannounced”
},
{
“name”: “attr/lastseen”
}
]
},
{
“type”: “$TYPE_ON_OFF_PLUGIN_UNIT”,
“restapi”: “/lights”,
“uuid”: [
“$address.ext”,
“0x02”
],
“items”: [
{
“name”: “state/on”,
“description”: “True when device is on; false when off.”,
“refresh.interval”: 5,
“default”: false
},
{
“name”: “state/alert”,
“description”: “The currently active alert effect.”,
“default”: “none”
},
{
“name”: “state/reachable”
},
{
“name”: “attr/name”
},
{
“name”: “attr/manufacturername”
},
{
“name”: “attr/modelid”
},
{
“name”: “attr/type”
},
{
“name”: “attr/swversion”
},
{
“name”: “attr/id”
},
{
“name”: “attr/uniqueid”
},
{
“name”: “attr/lastannounced”
},
{
“name”: “attr/lastseen”
}
]
}
]
}

Perhaps this will help them.

Continuing the discussion from Binding ZGP FOHSWITCH & Shelly 1PM Mini Gen4?:

It works, could anyone please check in both files?

No, not everything is working.

The consumption is displayed for a short time and then switch back to “0”.

It’s the device that work in wifi and zigbee mode ? You have good value in wifi but 0 in zigbee ?

Can come from the hardware, but I don’t found the issue about it, IDK if they have updated their fiwmare since last time.

The deconz GUI displays already „0“, but the API Information has the right value.

I’m useing FHEM, and the correct value is displayed there. At the same time, it is incorrect in Phoscon.