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

[New device support]: ZT-LP-ZEU2S-WH-MS MOES #19405

Open
MiAutomations opened this issue Oct 24, 2023 · 113 comments · Fixed by Koenkk/zigbee-herdsman#1363
Open

[New device support]: ZT-LP-ZEU2S-WH-MS MOES #19405

MiAutomations opened this issue Oct 24, 2023 · 113 comments · Fixed by Koenkk/zigbee-herdsman#1363
Labels
new device support New device support request

Comments

@MiAutomations
Copy link

Link

https://moeshouse.com/products/zigbee-wireless-self-powered-scene-switch

Database entry

{"id":76,"type":"GreenPower","ieeeAddr":"0x00000000a3970ea3","nwkAddr":3747,"manufId":null,"modelId":"GreenPower_2","epList":[242],"endpoints":{"242":{"epId":242,"inClusterList":[],"outClusterList":[],"clusters":{},"binds":[],"configuredReportings":[],"meta":{}}},"interviewCompleted":true,"meta":{},"lastSeen":1698149193664,"defaultSendRequestWhen":"immediate"}

Comments

Hello

I try to add this device but the device appears in the list as not supported yet.

Can you please add this device to a supported list devices in a new future release ?

Thank you for your support and best regards

External converter

No response

Supported color modes

No response

Color temperature range

No response

@MiAutomations MiAutomations added the new device support New device support request label Oct 24, 2023
@Chartreusito
Copy link

If you own it, you can help supporting new devices : https://www.zigbee2mqtt.io/advanced/support-new-devices/02_support_new_tuya_devices.html

@MiAutomations
Copy link
Author

If you own it, you can help supporting new devices : https://www.zigbee2mqtt.io/advanced/support-new-devices/02_support_new_tuya_devices.html

I'm not familiarized with the external converter But if you can help me I can try.

@Chartreusito
Copy link

I assumed you device was tuya, but first have a look at the general documentation : https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html#_2-adding-your-device
The key here is to trigger your device to identify which cluster it uses and then try to find a working configuration among the other herdmans converter

@mathieuruellan
Copy link

Hello, I've tried to add default converters, but there is no converter for "commandNotification".
I'm beginning in home automation and zigbee, if you have a js converter link, i could try.

here my logs

Zigbee2MQTT:debug 2024-01-06 16:39:39: Received Zigbee message from 'switch1', type 'commandNotification', cluster 'greenPower', data '{"commandID":79,"frameCounter":163,"srcID":793774560}' from endpoint 242 with groupID null
Zigbee2MQTT:debug 2024-01-06 16:39:39: No converter available for 'GreenPower_2' with cluster 'greenPower' and type 'commandNotification' and data '{"commandID":79,"frameCounter":163,"srcID":793774560}'
Zigbee2MQTT:info 2024-01-06 16:39:39: MQTT publish: topic 'zigbee2mqtt/switch1', payload '{"device":{"friendlyName":"switch1","ieeeAddr":"0x000000002f5009e0","manufacturerID":null,"model":"GreenPower_2","networkAddress":2528,"type":"GreenPower"},"last_seen":"2024-01-06T16:39:39.164Z","linkquality":209}

@igor-semenov
Copy link

фев 02 17:32:19 raspberrypi bash[19752]: Zigbee2MQTT:info  2024-02-02 17:32:19: Device '0x00000000ed5e4506' joined
фев 02 17:32:20 raspberrypi bash[19752]: Zigbee2MQTT:info  2024-02-02 17:32:20: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x00000000ed5e4506","ieee_address":"0x00000000ed5e4506"},"type":"device_joined"}'
фев 02 17:32:20 raspberrypi bash[19752]: Zigbee2MQTT:info  2024-02-02 17:32:20: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"0x00000000ed5e4506"},"type":"device_connected"}'
фев 02 17:32:20 raspberrypi bash[19752]: Zigbee2MQTT:info  2024-02-02 17:32:20: Successfully interviewed '0x00000000ed5e4506', device has successfully been paired
фев 02 17:32:20 raspberrypi bash[19752]: Zigbee2MQTT:warn  2024-02-02 17:32:20: Device '0x00000000ed5e4506' with Zigbee model 'GreenPower_2' and manufacturer name 'undefined' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
фев 02 17:32:20 raspberrypi bash[19752]: Zigbee2MQTT:info  2024-02-02 17:32:20: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":null,"friendly_name":"0x00000000ed5e4506","ieee_address":"0x00000000ed5e4506","status":"successful","supported":null},"type":"device_interview"}'
фев 02 17:32:20 raspberrypi bash[19752]: Zigbee2MQTT:info  2024-02-02 17:32:20: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"friendly_name":"0x00000000ed5e4506","supported":false},"type":"pairing"}'

@igor-semenov
Copy link

I've added new js file for device, but every time I press the same button, it produces different commands:

фев 04 23:18:53 raspberrypi bash[3066]: Zigbee2MQTT:debug 2024-02-04 23:18:53: Received Zigbee message from '0x00000000af79b9e0', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"raw":{"data":[61,61,216,74,14,215,98],"type":"Buffer"}},"commandID":41,"frameCounter":1324,"gppGddLink":216,"gppNwkAddr":15677,"options":2864,"payloadSize":0,"srcID":2943990240}' from endpoint 242 with groupID 0
фев 04 23:19:01 raspberrypi bash[3066]: Zigbee2MQTT:debug 2024-02-04 23:19:01: Received Zigbee message from '0x00000000af79b9e0', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"raw":{"data":[223,26,214,4,164,177,194],"type":"Buffer"}},"commandID":3,"frameCounter":1333,"gppGddLink":214,"gppNwkAddr":6879,"options":2864,"payloadSize":0,"srcID":2943990240}' from endpoint 242 with groupID 0
фев 04 23:19:04 raspberrypi bash[3066]: Zigbee2MQTT:debug 2024-02-04 23:19:04: Received Zigbee message from '0x00000000af79b9e0', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"raw":{"data":[223,26,214,204,153,107,228],"type":"Buffer"}},"commandID":201,"frameCounter":1342,"gppGddLink":214,"gppNwkAddr":6879,"options":2864,"payloadSize":0,"srcID":2943990240}' from endpoint 242 with groupID 0

@ngeissel
Copy link

ngeissel commented Feb 8, 2024

I'm interrested too (since a few hours) into finding a way to handle MOE green power switch.

Same here for commands, but since it is as switch does it really matters ? :

Debug 2024-02-08 11:44:22Received Zigbee message from '0x00000000e91c2afd', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"raw":{"data":[35,64,155,35,28,185,7],"type":"Buffer"}},"commandID":155,"frameCounter":1387,"gppGddLink":155,"gppNwkAddr":16419,"options":2608,"payloadSize":0,"srcID":3910937341}' from endpoint 242 with groupID 0
Debug 2024-02-08 11:44:23Received Zigbee message from '0x00000000e91c2afd', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"raw":{"data":[35,64,155,74,187,160,95],"type":"Buffer"}},"commandID":252,"frameCounter":1396,"gppGddLink":155,"gppNwkAddr":16419,"options":2608,"payloadSize":0,"srcID":3910937341}' from endpoint 242 with groupID 0
Debug 2024-02-08 11:44:27Received Zigbee message from '0x00000000e91c2afd', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"raw":{"data":[35,64,153,15,212,74,125],"type":"Buffer"}},"commandID":70,"frameCounter":1405,"gppGddLink":153,"gppNwkAddr":16419,"options":2608,"payloadSize":0,"srcID":3910937341}' from endpoint 242 with groupID 0
Debug 2024-02-08 11:44:27Received Zigbee message from '0x00000000e91c2afd', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"raw":{"data":[35,64,149,233,198,137,178],"type":"Buffer"}},"commandID":81,"frameCounter":1414,"gppGddLink":149,"gppNwkAddr":16419,"options":2608,"payloadSize":0,"srcID":3910937341}' from endpoint 242 with groupID 0

@NilkOne
Copy link

NilkOne commented Feb 18, 2024

Hello, any news if it possible to add it on zigbee2mqtt ?

I bought a 2-scenes and a 3-scenes switch but Not supported yet

@igor-semenov
Copy link

The fundamental thing I don't understand is whether I need any specific hardware (new USB stick maybe) to connect ZGP device?
My USB stick allows me to pair device, I can see commands from it when I press buttons, but commandId is random every time I press same button, and I see no way to find out, which button of my 2-gang is pressed....

@psummo
Copy link

psummo commented Apr 9, 2024

The fundamental thing I don't understand is whether I need any specific hardware (new USB stick maybe) to connect ZGP device? My USB stick allows me to pair device, I can see commands from it when I press buttons, but commandId is random every time I press same button, and I see no way to find out, which button of my 2-gang is pressed....

The problem seems that GreenPower devices works with high level encryption. So it's not device limitation, but software limitation.

BTW I'm here with the same request. I test it with tuya hub with smartlife app and works really nice. I'm waiting for zigbee2mqtt support! I tried with custom adapter, but there is no way to debug it or understand how to intercept single click actions

@igor-semenov
Copy link

BTW I'm here with the same request. I test it with tuya hub with smartlife app and works really nice. I'm waiting for zigbee2mqtt support! I tried with custom adapter, but there is no way to debug it or understand how to intercept single click actions

Could you please share link to tuya hub, which you use?

@Namyts
Copy link

Namyts commented Apr 9, 2024

I also bought this device recently without realising the lack of compatibility with ZGP with an existing network. I agree with @psummo that this looks like it's a software issue but it should also have a software fix. The fact that other's have gotten similar devices working in their network by adding ZGP interpreters/translators/re-publishers (eg the IKEA lightbulb, certain Phillips Hue devices) mean that's the "encrypted" signal from this switch isn't vendor locked, instead there is just missing functionality in the network which could be fulfilled by another device (maybe the device running zigbee2mqtt) (?)
What am I misunderstanding?

@psummo
Copy link

psummo commented Apr 9, 2024

BTW I'm here with the same request. I test it with tuya hub with smartlife app and works really nice. I'm waiting for zigbee2mqtt support! I tried with custom adapter, but there is no way to debug it or understand how to intercept single click actions

Could you please share link to tuya hub, which you use?

I bought the hub 1 year ago. I swear that I didn't know that the hub is Moes also ahahah I noticed it now. Btw it's a normal tuya hub that you can buy on aliexpress also. The model is MoesGo ZHUB-W, Zigbee 3.0. If anybody know /want try investigate with this hub in some way in order to understand what happen with this kind of switch, I'm available

@psummo
Copy link

psummo commented Apr 9, 2024

I also bought this device recently without realising the lack of compatibility with ZGP with an existing network. I agree with @psummo that this looks like it's a software issue but it should also have a software fix. The fact that other's have gotten similar devices working in their network by adding ZGP interpreters/translators/re-publishers (eg the IKEA lightbulb, certain Phillips Hue devices) mean that's the "encrypted" signal from this switch isn't vendor locked, instead there is just missing functionality in the network which could be fulfilled by another device (maybe the device running zigbee2mqtt) (?) What am I misunderstanding?

The problem could be also in the zigbee dongle (I've the sonoff) at this point, I'm newbie in this so I'm not able to understand if it's only the software (zigbee2mqtt) or also the firmware

@Namyts
Copy link

Namyts commented Apr 9, 2024

I also use the same dongle with the multiprotocol firmware (& docker container). Same questions too. The fact we can see the logs makes me think it's something that can be interpreted, but it also feels like there might be some missing information to translate this information into exact button presses...

For record, below are my almost identical logs:

Zigbee2MQTT:debug 2024-04-09 10:49:22: Received Zigbee message from 'James Kinetic Switch', type 'commandNotification', cluster 'greenPower', data '{"commandID":126,"frameCounter":222,"srcID":1939043194}' from endpoint 242 with groupID null
Zigbee2MQTT:debug 2024-04-09 10:49:22: Skipping message, still interviewing
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch', payload '{"last_seen":"2024-04-09T09:49:22.916Z","linkquality":212}'
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/last_seen', payload '2024-04-09T09:49:22.916Z'
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/linkquality', payload '212'
Zigbee2MQTT:debug 2024-04-09 10:49:23: Received Zigbee message from 'James Kinetic Switch', type 'commandNotification', cluster 'greenPower', data '{"commandID":95,"frameCounter":231,"srcID":1939043194}' from endpoint 242 with groupID null
Zigbee2MQTT:debug 2024-04-09 10:49:23: Skipping message, still interviewing
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch', payload '{"last_seen":"2024-04-09T09:49:23.865Z","linkquality":210}'
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/last_seen', payload '2024-04-09T09:49:23.865Z'
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/linkquality', payload '210'

@psummo
Copy link

psummo commented Apr 9, 2024

I also use the same dongle with the multiprotocol firmware (& docker container). Same questions too. The fact we can see the logs makes me think it's something that can be interpreted, but it also feels like there might be some missing information to translate this information into exact button presses...

For record, below are my almost identical logs:

Zigbee2MQTT:debug 2024-04-09 10:49:22: Received Zigbee message from 'James Kinetic Switch', type 'commandNotification', cluster 'greenPower', data '{"commandID":126,"frameCounter":222,"srcID":1939043194}' from endpoint 242 with groupID null
Zigbee2MQTT:debug 2024-04-09 10:49:22: Skipping message, still interviewing
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch', payload '{"last_seen":"2024-04-09T09:49:22.916Z","linkquality":212}'
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/last_seen', payload '2024-04-09T09:49:22.916Z'
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/linkquality', payload '212'
Zigbee2MQTT:debug 2024-04-09 10:49:23: Received Zigbee message from 'James Kinetic Switch', type 'commandNotification', cluster 'greenPower', data '{"commandID":95,"frameCounter":231,"srcID":1939043194}' from endpoint 242 with groupID null
Zigbee2MQTT:debug 2024-04-09 10:49:23: Skipping message, still interviewing
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch', payload '{"last_seen":"2024-04-09T09:49:23.865Z","linkquality":210}'
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/last_seen', payload '2024-04-09T09:49:23.865Z'
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/linkquality', payload '210'

do you have a custom adpter right? Could you please send it to me? Because I'm still having errors and not info logs :D

@ngeissel
Copy link

ngeissel commented Apr 9, 2024

I also use the same dongle with the multiprotocol firmware (& docker container). Same questions too. The fact we can see the logs makes me think it's something that can be interpreted, but it also feels like there might be some missing information to translate this information into exact button presses...

For record, below are my almost identical logs:

Zigbee2MQTT:debug 2024-04-09 10:49:22: Received Zigbee message from 'James Kinetic Switch', type 'commandNotification', cluster 'greenPower', data '{"commandID":126,"frameCounter":222,"srcID":1939043194}' from endpoint 242 with groupID null
Zigbee2MQTT:debug 2024-04-09 10:49:22: Skipping message, still interviewing
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch', payload '{"last_seen":"2024-04-09T09:49:22.916Z","linkquality":212}'
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/last_seen', payload '2024-04-09T09:49:22.916Z'
Zigbee2MQTT:info  2024-04-09 10:49:22: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/linkquality', payload '212'
Zigbee2MQTT:debug 2024-04-09 10:49:23: Received Zigbee message from 'James Kinetic Switch', type 'commandNotification', cluster 'greenPower', data '{"commandID":95,"frameCounter":231,"srcID":1939043194}' from endpoint 242 with groupID null
Zigbee2MQTT:debug 2024-04-09 10:49:23: Skipping message, still interviewing
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch', payload '{"last_seen":"2024-04-09T09:49:23.865Z","linkquality":210}'
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/last_seen', payload '2024-04-09T09:49:23.865Z'
Zigbee2MQTT:info  2024-04-09 10:49:23: MQTT publish: topic 'zigbee2mqtt/James Kinetic Switch/linkquality', payload '210'

How did you manage to get such clean logs ? This could help us to go forward

@Namyts
Copy link

Namyts commented Apr 9, 2024

@ngeissel I am running zigbee2mqtt in a docker container using docker compose. It looks like this:

services:
  zigbee2mqtt:
    container_name: zigbee2mqtt
    image: koenkk/zigbee2mqtt
    restart: unless-stopped
    volumes:
      - ./data:/app/data
      - /run/udev:/run/udev:ro
      - ./switch.js:/app/data/switch.js
    ports:
      - 8080:8080
    network_mode: host
    environment:
      - TZ=Europe/London

In the /data/configuration.yaml I have a few lines like this:

advanced:
  log_level: debug
  output: attribute_and_json
  last_seen: ISO_8601

I then look at the logs by using:
docker logs -f zigbee2mqtt

@psummo
Copy link

psummo commented Apr 9, 2024

@Namyts without any custom converter?

@ngeissel
Copy link

ngeissel commented Apr 9, 2024

I think we should be interrested in you - ./switch.js:/app/data/switch.js ;) ? (or something locally overriden)

@Namyts
Copy link

Namyts commented Apr 9, 2024

The switch.js file is a placeholder, sadly I don't have the knowledge yet to successfully write the converter. That's one of the reasons I am here :)

@psummo
Copy link

psummo commented Apr 9, 2024

I don't know if there is the way to log everything, I need it as debugging

@psummo
Copy link

psummo commented Apr 9, 2024

I try with this guide.
https://www.zigbee2mqtt.io/advanced/support-new-devices/02_support_new_tuya_devices.html
and
https://www.zigbee2mqtt.io/advanced/support-new-devices/03_find_tuya_data_points.html#instructions

And this is what I produced
converter.js.txt
The file is JS, but since of limitation on github I can only update txt. Btw Seems nothing is change. and I don't know why, sometimes converter is "recognized" and z2m doesn't give me error during pairing, sometimes yes.

I'm not expert and I tried only create the adapter following the guide for tuya.

@Namyts
Copy link

Namyts commented Apr 17, 2024

I've messaged MoesHouse for assistance. Hopefully they can help explain the protocol better.
I haven't been able to improve on your converter @psummo :(

const fz = require('zigbee-herdsman-converters/converters/fromZigbee');
const tuya = require('zigbee-herdsman-converters/lib/tuya');
const {hasAlreadyProcessedMessage} = require('zigbee-herdsman-converters/lib/utils');

const my_converter = {
	cluster: 'greenPower',
	type: ['commandNotification', 'commandCommissioningNotification'],
	convert: (model, msg) => {
		const commandID = msg.data.commandID;
		if (hasAlreadyProcessedMessage(msg, model, msg.data.frameCounter, `${msg.device.ieeeAddr}_${commandID}`)) {return}
		if (commandID === 224) return;

		return {action: 'left'}
	}
}

const definition = {
    fingerprint: [
        {
            modelID: 'GreenPower_2',
            manufacturerName: undefined,
        },
    ],
    model: 'GreenPower_2',
    vendor: 'GreenPower_2',
    description: 'kinetic switch',
	meta: {multiEndpoint: true},
    fromZigbee: [tuya.fz.datapoints, fz.ignore_basic_report, my_converter],
	toZigbee: [],
	configure: tuya.configureMagicPacket,
	exposes: []
};

module.exports = definition;

The best this achieves is making both buttons send the "left" action, which can be picked up by home assistant. We need a better way of fingerprinting this device, and a way of using the commandId, frameCounter (& encryption/security keys?) to map to the real commands issued by the device...

Ive been reading this but haven't gotten anywhere yet. Hopefully Moes can clear it up.

@igor-semenov
Copy link

I've messaged MoesHouse for assistance. Hopefully they can help explain the protocol better.

Have you got any response from MoesHouse?

@Namyts
Copy link

Namyts commented May 13, 2024

@igor-semenov

Have you got any response from MoesHouse?

They replied the next day, but after exchanging a couple of emails they seem unwilling to help. Sample from response:

It is recommended that you go to this website to consult professionals to get solutions---https://www.zigbee2mqtt.io/

and

Sorry, we can't provide it for you. This zigbee is Tuya's protocol, and Tuya has not opened it to us.

I implore you to email them yourself (use their website contact form to establish comms). They response times aren't bad...
It is a shame because if they provide sufficient information, we might be able to add compatibility for their product with an entirely new ecosystem...

@mathieuruellan
Copy link

@Namyts
Copy link

Namyts commented May 13, 2024

@mathieuruellan - not quite.
Me:

Hi,
I am trying to integrate your device: https://moeshouse.com/products/zigbee-wireless-self-powered-scene-switch with Zigbee2MQTT but I am having some issues.
Please could you send me the UART protocol for the device? Or maybe send the Zigbee protocol?
Currently it looks like the device sends a random commandId every time I press either switch, but I am certain that with your help I can get this integration working! This will help me and many others :)
Kind regards,

Moes Response:

We recommend using our zigbee device on smart life/tuya smart/MOES app.
Since Home Assistant is an open source platform and cannot be used commercially, it is mainly aimed at individual enthusiast users;
Our zigbee devices can be used normally when connected to the gateway. If you use this platform, there is no guarantee that there will be any problems
It is recommended that you go to this website to consult professionals to get solutions---https://www.zigbee2mqtt.io/

Me:

Thanks for replying so quickly.
I understand that Tuya is the hub which Moes recommends.
Zigbee2MQTT is also an open source tool, and compatibility is added by software developers such as myself!
https://github.com/Koenkk/zigbee-herdsman-converters/tree/master/src/devices - you can see in this page a huge list of supported products for Zigbee2MQTT... including some of Moes products https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/moes.ts !
I am trying to provide compatibility for the Moes self-powered switch (you're welcome 🙂 ), but am having a few issues because the command id sent by the device each time a switch is pressed appears to be random...
I am contacting you to ask if you could provide some documentation around the protocol that your switch is using, and with this information I can write the code to make your switch compatible with Zigbee2MQTT (which will also make your device compatible with a LOT of other technologies! (for example: home assistant))
I hope you can help me by sending this info,
Kind regards,

Moes Response:

Sorry, we can't provide it for you. This zigbee is Tuya's protocol, and Tuya has not opened it to us.

Me:

I understand that you are unable to provide any information about how Tuya works.
However, if you were to share information about how your MOES self-powered switch uses Tuya, I could probably work out the rest and write some code to integrate your product with Zigbee2MQTT.
It is worth noting that Zigbee2MQTT already supports a huge number of Tuya devices: https://github.com/Koenkk/zigbee-herdsman-converters/blob/master/src/devices/tuya.ts by having this information. As well as providing instructions on how to add support for non-supported devices: https://www.zigbee2mqtt.io/advanced/support-new-devices/02_support_new_tuya_devices.html .
The reason I am reaching out is that your device seems to behave more strangely than other Tuya devices since it is using Zigbee Green Power to send signals to the Tuya hub. If you were to provide some information how your team integrated the device with Tuya, I will work and write some code to make the device compatible with Zigbee2MQTT. Zigbee is an open communication standard used by most smart home devices, not something created by Tuya. This means that sharing the Zigbee implementation of the device will allow for easy integrations.
Together we can make your product even better!
Kind regards,

Moes Response:
~ they ignored me

I welcome anybody else to send them an email to more clearly ask them for the info we'll need to resolve this issue :) Perhaps more emails would show more interest? Or it might land with a more co-operative support agent. Not too sure how we will resolve this issue without some external help, or someone with deeper understanding of ZGP.

@MaxwellJK
Copy link

I wrote them just now - i'll keep you all posted.
I am not sure i have the knowledge to work on the implementation myself but i'll share here anything useful (if they sahre it with me)

@MaxwellJK
Copy link

MaxwellJK commented Mar 24, 2025

Note that you can also use the generated definition to create an external converter and customize the actions that Z2M outputs to your liking. It, however, will only work until you re-pair the device (after which you will need to update the fingerprint of the external converter, since the source ID of that device is random on re-pairing).

Done that and it works :)

@Nerivec

@chris-1243 if you have some time, can you take a look if a HA blueprint like you already have can help out with this device once the list is final for both 2 & 3-gang?

I may have a look. It will be a nice challenge to create something without the device.

Here it is - it's basic and honestly inspired by @chris-1243's ones but it does the job:
https://github.com/MaxwellJK/ha_blueprints/blob/main/Moes/ZT-LP-ZEU2S-WH-MS.yaml

This is for the 2 gang (i have only that) and works without the need to define an external converter. If anybody has time to test it and provide feedbacks, it would be appreciated.

If anybody who has the 3 gang version is so kind to share with me the command associated to each button, i'll be happy to make one for the 3 gang too.

-- EDIT
I might have missed that @Nerivec already provided the commands associated with the 3 gang switch so here's the blueprint: https://github.com/MaxwellJK/ha_blueprints/blob/main/Moes/ZT-LP-ZEU3S-WH-MS.yaml
I don't have any 3 gang one but if anybody does and is keen to test the blueprint, let me know if you have feedbacks.

@skuizy
Copy link

skuizy commented Mar 24, 2025

Here are the logs of the pairing on 2.1.3-dev commit: 53e8226 (zigbee-herdsman-converters 23.12.0) :

Pairing :
zigbee2mqtt  | 2025-03-24T20:53:14.288413887Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T20:53:14.289756178Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=6](ackRx=6 frmTx=6)
zigbee2mqtt  | 2025-03-24T20:53:14.289867491Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=6 frmNum=0](frmRx=0) Added to rxQueue
zigbee2mqtt  | 2025-03-24T20:53:14.290842788Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=1](ackRx=6)
zigbee2mqtt  | 2025-03-24T20:53:14.292806456Z [2025-03-24 20:53:14] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=197:"GPEP_INCOMING_MESSAGE_HANDLER" Seq=61 Len=76]
zigbee2mqtt  | 2025-03-24T20:53:14.294337113Z [2025-03-24 20:53:14] debug:      zh:ember:ezsp: ezspGpepIncomingMessageHandler(): callback called with: [status=NO_SECURITY], [gpdLink=216], [sequenceNumber=68], [addr={"applicationId":0,"sourceId":1000274438,"endpoint":0}], [gpdfSecurityLevel=NONE], [gpdfSecurityKeyType=NONE], [autoCommissioning=false], [bidirectionalInfo=0], [gpdSecurityFrameCounter=4294967295], [gpdCommandId=224], [mic=4294967295], [proxyTableIndex=255], [gpdCommandPayload=0289f3c4adc766a04b367f23bf3e77ac69fb800d2c20ba4411000037647a626970613040475030303031d1], [packetInfo={"senderShortId":65535,"senderLongId":"0xFFFFFFFFFFFFFFFF","bindingIndex":255,"addressIndex":255,"lastHopLqi":216,"lastHopRssi":0,"lastHopTimestamp":0}]
zigbee2mqtt  | 2025-03-24T20:53:14.297110008Z [2025-03-24 20:53:14] info:       zh:controller:greenpower: [COMMISSIONING] from=64006
zigbee2mqtt  | 2025-03-24T20:53:14.302331191Z [2025-03-24 20:53:14] debug:      zh:controller:greenpower: [PAIRING] options=58696 (addSink=true commMode=2) wasBroadcast=true gppNwkAddr=undefined
zigbee2mqtt  | 2025-03-24T20:53:14.304679241Z [2025-03-24 20:53:14] debug:      zh:ember: ~~~> [ZCL BROADCAST apsFrame={"profileId":41440,"clusterId":33,"sourceEndpoint":242,"destinationEndpoint":242,"options":4416,"groupId":65533,"sequence":0} header={"frameControl":{"reservedBits":0,"frameType":1,"direction":1,"disableDefaultResponse":true,"manufacturerSpecific":false},"transactionSequenceNumber":4,"commandIdentifier":1}]
zigbee2mqtt  | 2025-03-24T20:53:14.305892626Z [2025-03-24 20:53:14] debug:      zh:ember:ezsp: ===> [FRAME: ID=54:"SEND_BROADCAST" Seq=62 Len=58]
zigbee2mqtt  | 2025-03-24T20:53:14.307129029Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: ---> [FRAME type=DATA frmTx=6 frmRx=1](ackRx=6)
zigbee2mqtt  | 2025-03-24T20:53:14.326203683Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T20:53:14.326802395Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=6 frmTx=7)
zigbee2mqtt  | 2025-03-24T20:53:14.327261701Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=1](frmRx=1) Added to rxQueue
zigbee2mqtt  | 2025-03-24T20:53:14.327934115Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=2](ackRx=7)
zigbee2mqtt  | 2025-03-24T20:53:14.329246202Z [2025-03-24 20:53:14] debug:      zh:ember:ezsp: <=== [FRAME: ID=54:"SEND_BROADCAST" Seq=62 Len=10]
zigbee2mqtt  | 2025-03-24T20:53:14.330395607Z [2025-03-24 20:53:14] debug:      zh:ember:ezsp: ~~~> [SENT type=BROADCAST apsSequence=102 messageTag=3 status=OK]
zigbee2mqtt  | 2025-03-24T20:53:14.374347643Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T20:53:14.374993669Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=7 frmTx=7)
zigbee2mqtt  | 2025-03-24T20:53:14.375387698Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=2](frmRx=2) Added to rxQueue
zigbee2mqtt  | 2025-03-24T20:53:14.376363810Z [2025-03-24 20:53:14] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=3](ackRx=7)
zigbee2mqtt  | 2025-03-24T20:53:14.376999336Z [2025-03-24 20:53:14] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=69:"INCOMING_MESSAGE_HANDLER" Seq=62 Len=69]
zigbee2mqtt  | 2025-03-24T20:53:14.378146222Z [2025-03-24 20:53:14] debug:      zh:ember:ezsp: ezspIncomingMessageHandler(): callback called with: [type=BROADCAST_LOOPBACK], [apsFrame={"profileId":41440,"clusterId":33,"sourceEndpoint":242,"destinationEndpoint":242,"options":256,"groupId":0,"sequence":102}], [packetInfo:{"senderShortId":0,"senderLongId":"0x0000000000000000","bindingIndex":255,"addressIndex":8,"lastHopLqi":255,"lastHopRssi":0,"lastHopTimestamp":3839361489}], [messageContents=19040148e50006fa9e3b840b0244110000c0c1c2c3c4c5c6c7c8c9cacbcccdcecf]
zigbee2mqtt  | 2025-03-24T20:53:14.832854954Z [2025-03-24 20:53:14] debug:      zh:controller: Green power device '{"sourceID":1000274438,"deviceID":2,"networkAddress":64006,"securityKey":{"type":"Buffer","data":[196,173,199,102,160,75,54,127,35,191,62,119,172,105,251,128]}}' joined
zigbee2mqtt  | 2025-03-24T20:53:14.834015915Z [2025-03-24 20:53:14] debug:      zh:controller: New green power device '0x000000003b9efa06' joined
zigbee2mqtt  | 2025-03-24T20:53:14.834763753Z [2025-03-24 20:53:14] debug:      zh:controller: Creating device '0x000000003b9efa06'
zigbee2mqtt  | 2025-03-24T20:53:14.836974102Z [2025-03-24 20:53:14] debug:      zh:controller:database: Writing database to '/app/data/database.db'
zigbee2mqtt  | 2025-03-24T20:53:14.845957717Z [2025-03-24 20:53:14] debug:      zh:controller:database: Writing database to '/app/data/database.db'
zigbee2mqtt  | 2025-03-24T20:53:14.883459907Z [2025-03-24 20:53:14] debug:      zhc: Getting definitions for: sunricher.js,48,sunricher.js,47,sunricher.js,46,philips.js,419,legrand.js,19,led_trading.js,0,enocean.js,1,enocean.js,0
zigbee2mqtt  | 2025-03-24T20:53:14.885228338Z [2025-03-24 20:53:14] debug:      zhc: Getting definitions for: sunricher.js,48,sunricher.js,47,sunricher.js,46,philips.js,419,legrand.js,19,led_trading.js,0,enocean.js,1,enocean.js,0
zigbee2mqtt  | 2025-03-24T20:53:14.886631534Z [2025-03-24 20:53:14] debug:      zh:controller: Received payload: clusterID=33, address=64006, groupID=2948, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=216, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":68,"commandIdentifier":4},"payload":{"options":0,"srcID":1000274438,"frameCounter":4294967295,"commandID":224,"payloadSize":43,"commandFrame":{"deviceID":2,"options":137,"extendedOptions":243,"securityKey":{"type":"Buffer","data":[196,173,199,102,160,75,54,127,35,191,62,119,172,105,251,128]},"keyMic":3122670605,"outgoingCounter":4420,"applicationInfo":0,"manufacturerID":0,"modelID":0,"numGpdCommands":0,"gpdCommandIdList":{"type":"Buffer","data":[]},"numServerClusters":0,"numClientClusters":0,"gpdServerClusters":{"type":"Buffer","data":[]},"gpdClientClusters":{"type":"Buffer","data":[]}}},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
zigbee2mqtt  | 2025-03-24T20:53:14.887813439Z [2025-03-24 20:53:14] debug:      zh:controller: Data is from unknown endpoint '242' from device with network address '64006', creating it...
zigbee2mqtt  | 2025-03-24T20:53:14.889467705Z [2025-03-24 20:53:14] debug:      zh:controller:database: Writing database to '/app/data/database.db'
zigbee2mqtt  | 2025-03-24T20:53:14.902770297Z [2025-03-24 20:53:14] debug:      zhc: Getting definitions for: sunricher.js,48,sunricher.js,47,sunricher.js,46,philips.js,419,legrand.js,19,led_trading.js,0,enocean.js,1,enocean.js,0
zigbee2mqtt  | 2025-03-24T20:53:14.905657856Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/availability', payload '{"state":"online"}'
zigbee2mqtt  | 2025-03-24T20:53:14.910630099Z [2025-03-24 20:53:14] debug:      zhc: Candidates for 0x000000003b9efa06/GreenPower_2: SR-ZGP2801K-5C/Sunricher,SR-ZGP2801K4-DIM/Sunricher,SR-ZGP2801K2-DIM/Sunricher,8718696743133/Philips,ZLGP17/ZLGP18/Legrand,9133/LED-Trading,PTM 215ZE/EnOcean,PTM 215Z/EnOcean
zigbee2mqtt  | 2025-03-24T20:53:14.916678026Z [2025-03-24 20:53:14] debug:      zhc: Candidates for 0x000000003b9efa06/GreenPower_2: SR-ZGP2801K-5C/Sunricher,SR-ZGP2801K4-DIM/Sunricher,SR-ZGP2801K2-DIM/Sunricher,8718696743133/Philips,ZLGP17/ZLGP18/Legrand,9133/LED-Trading,PTM 215ZE/EnOcean,PTM 215Z/EnOcean
zigbee2mqtt  | 2025-03-24T20:53:14.918309923Z [2025-03-24 20:53:14] debug:      zhc: Candidates for 0x000000003b9efa06/GreenPower_2: SR-ZGP2801K-5C/Sunricher,SR-ZGP2801K4-DIM/Sunricher,SR-ZGP2801K2-DIM/Sunricher,8718696743133/Philips,ZLGP17/ZLGP18/Legrand,9133/LED-Trading,PTM 215ZE/EnOcean,PTM 215Z/EnOcean
zigbee2mqtt  | 2025-03-24T20:53:14.923716324Z [2025-03-24 20:53:14] info:       z2m: Device '0x000000003b9efa06' joined
zigbee2mqtt  | 2025-03-24T20:53:14.947363525Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x000000003b9efa06/payload/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x000000003b9efa06/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"configuration_url":"http://192.168.0.129:8080/#/device/0x000000003b9efa06/info","identifiers":["zigbee2mqtt_0x000000003b9efa06"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000003b9efa06","via_device":"zigbee2mqtt_bridge_0x385b44fffe3b3ff8"},"name":"Payload","object_id":"0x000000003b9efa06_payload","origin":{"name":"Zigbee2MQTT","sw":"2.1.3-dev","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x000000003b9efa06","unique_id":"0x000000003b9efa06_payload_zigbee2mqtt","value_template":"{{ value_json.payload | default('',True) | string | truncate(254, True, '', 0) }}"}'
zigbee2mqtt  | 2025-03-24T20:53:14.949985311Z [2025-03-24 20:53:14] info:       z2m: Successfully interviewed '0x000000003b9efa06', device has successfully been paired
zigbee2mqtt  | 2025-03-24T20:53:14.951486247Z [2025-03-24 20:53:14] warning:    z2m: Device '0x000000003b9efa06' with Zigbee model 'GreenPower_2' and manufacturer name 'undefined' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
zigbee2mqtt  | 2025-03-24T20:53:14.965205553Z [2025-03-24 20:53:14] debug:      z2m: Received Zigbee message from '0x000000003b9efa06', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"applicationInfo":0,"deviceID":2,"extendedOptions":243,"gpdClientClusters":{"data":[],"type":"Buffer"},"gpdCommandIdList":{"data":[],"type":"Buffer"},"gpdServerClusters":{"data":[],"type":"Buffer"},"keyMic":3122670605,"manufacturerID":0,"modelID":0,"numClientClusters":0,"numGpdCommands":0,"numServerClusters":0,"options":137,"outgoingCounter":4420,"securityKey":{"data":[196,173,199,102,160,75,54,127,35,191,62,119,172,105,251,128],"type":"Buffer"}},"commandID":224,"frameCounter":4294967295,"options":0,"payloadSize":43,"srcID":1000274438}' from endpoint 242 with groupID 2948
zigbee2mqtt  | 2025-03-24T20:53:14.967333533Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06', payload '{"last_seen":"2025-03-24T20:53:14.886Z","linkquality":216}'
zigbee2mqtt  | 2025-03-24T20:53:14.969475050Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x000000003b9efa06","ieee_address":"0x000000003b9efa06"},"type":"device_joined"}'
zigbee2mqtt  | 2025-03-24T20:53:14.972608752Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Automatically generated definition for Green Power","exposes":[{"access":1,"description":"Payload of the command","item_type":{"access":1,"description":"Byte","label":"Payload","name":"payload","type":"numeric"},"label":"Payload","name":"payload","property":"payload","type":"list"},{"access":1,"category":"diagnostic","description":"Triggered action (e.g. a button click)","label":"Action","name":"action","property":"action","type":"enum","values":["identify","recall_scene0","recall_scene1","recall_scene2","recall_scene3","recall_scene4","recall_scene5","recall_scene6","recall_scene7","store_scene0","store_scene1","store_scene2","store_scene3","store_scene4","store_scene5","store_scene6","store_scene7","off","on","toggle","release","move_up","move_down","step_up","step_down","level_control_stop","move_up_with_on_off","move_down_with_on_off","step_up_with_on_off","step_down_with_on_off","move_hue_stop","move_hue_up","move_hue_down","step_hue_up","step_huw_down","move_saturation_stop","move_saturation_up","move_saturation_down","step_saturation_up","step_saturation_down","move_color","step_color","lock_door","unlock_door","press11","release11","press12","release12","press22","release22","short_press11","short_press12","short_press22","press_8bit_vector","release_8bit_vector","attribute_reporting","manufacture_specific_attr_reporting","multi_cluster_reporting","manufacturer_specific_mcluster_reporting","request_attributes","read_attributes_response","zcl_tunneling","compact_attribute_reporting","any_sensor_command_a0_a3","commissioning","decommissioning","success","channel_request","application_description"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"GreenPower_2","options":[],"supports_ota":false,"vendor":""},"friendly_name":"0x000000003b9efa06","ieee_address":"0x000000003b9efa06","status":"successful","supported":false},"type":"device_interview"}'
zigbee2mqtt  | 2025-03-24T20:53:14.974868174Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/last_seen', payload '2025-03-24T20:53:14.886Z'
zigbee2mqtt  | 2025-03-24T20:53:14.976494126Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/linkquality', payload '216'
zigbee2mqtt  | 2025-03-24T20:53:14.983575627Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x000000003b9efa06/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x000000003b9efa06/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"configuration_url":"http://192.168.0.129:8080/#/device/0x000000003b9efa06/info","identifiers":["zigbee2mqtt_0x000000003b9efa06"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000003b9efa06","via_device":"zigbee2mqtt_bridge_0x385b44fffe3b3ff8"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x000000003b9efa06_linkquality","origin":{"name":"Zigbee2MQTT","sw":"2.1.3-dev","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x000000003b9efa06","unique_id":"0x000000003b9efa06_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
zigbee2mqtt  | 2025-03-24T20:53:15.030199837Z [2025-03-24 20:53:15] info:       z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x000000003b9efa06/last_seen/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x000000003b9efa06/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"configuration_url":"http://192.168.0.129:8080/#/device/0x000000003b9efa06/info","identifiers":["zigbee2mqtt_0x000000003b9efa06"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000003b9efa06","via_device":"zigbee2mqtt_bridge_0x385b44fffe3b3ff8"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"Last seen","object_id":"0x000000003b9efa06_last_seen","origin":{"name":"Zigbee2MQTT","sw":"2.1.3-dev","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x000000003b9efa06","unique_id":"0x000000003b9efa06_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'
zigbee2mqtt  | 2025-03-24T20:53:15.274821084Z [2025-03-24 20:53:15] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T20:53:15.275167911Z [2025-03-24 20:53:15] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=7 frmTx=7)
zigbee2mqtt  | 2025-03-24T20:53:15.275746641Z [2025-03-24 20:53:15] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=3](frmRx=3) Added to rxQueue
zigbee2mqtt  | 2025-03-24T20:53:15.276500850Z [2025-03-24 20:53:15] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=4](ackRx=7)
zigbee2mqtt  | 2025-03-24T20:53:15.277164542Z [2025-03-24 20:53:15] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=63:"MESSAGE_SENT_HANDLER" Seq=62 Len=26]
zigbee2mqtt  | 2025-03-24T20:53:15.277822215Z [2025-03-24 20:53:15] debug:      zh:ember:ezsp: ezspMessageSentHandler(): callback called with: [status=OK], [type=BROADCAST], [indexOrDestination=65533], [apsFrame={"profileId":41440,"clusterId":33,"sourceEndpoint":242,"destinationEndpoint":242,"options":256,"groupId":0,"sequence":102}], [messageTag=3]
1st press left :
zigbee2mqtt  | 2025-03-24T21:10:05.795061205Z [2025-03-24 21:10:05] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T21:10:05.795880302Z [2025-03-24 21:10:05] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=7 frmTx=7)
zigbee2mqtt  | 2025-03-24T21:10:05.796817674Z [2025-03-24 21:10:05] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=6](frmRx=6) Added to rxQueue
zigbee2mqtt  | 2025-03-24T21:10:05.797910080Z [2025-03-24 21:10:05] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=7](ackRx=7)
zigbee2mqtt  | 2025-03-24T21:10:05.799560346Z [2025-03-24 21:10:05] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=197:"GPEP_INCOMING_MESSAGE_HANDLER" Seq=62 Len=33]
zigbee2mqtt  | 2025-03-24T21:10:05.801082633Z [2025-03-24 21:10:05] debug:      zh:ember:ezsp: ezspGpepIncomingMessageHandler(): callback called with: [status=UNPROCESSED], [gpdLink=222], [sequenceNumber=77], [addr={"applicationId":0,"sourceId":1000274438,"endpoint":0}], [gpdfSecurityLevel=FC_MIC_ENCRYPTED], [gpdfSecurityKeyType=NWK], [autoCommissioning=false], [bidirectionalInfo=0], [gpdSecurityFrameCounter=4429], [gpdCommandId=173], [mic=4059647955], [proxyTableIndex=255], [gpdCommandPayload=], [packetInfo={"senderShortId":65535,"senderLongId":"0xFFFFFFFFFFFFFFFF","bindingIndex":255,"addressIndex":255,"lastHopLqi":222,"lastHopRssi":0,"lastHopTimestamp":0}]
zigbee2mqtt  | 2025-03-24T21:10:05.806352075Z [2025-03-24 21:10:05] debug:      zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x20 from=64006
zigbee2mqtt  | 2025-03-24T21:10:05.807676902Z [2025-03-24 21:10:05] debug:      zh:controller: Received payload: clusterID=33, address=64006, groupID=2948, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=222, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":77,"commandIdentifier":0},"payload":{"options":256,"srcID":1000274438,"frameCounter":4429,"commandID":32,"payloadSize":0,"commandFrame":{}},"command":{"ID":0,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":192,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]}],"name":"notification"}}
zigbee2mqtt  | 2025-03-24T21:10:05.809463537Z [2025-03-24 21:10:05] debug:      z2m: Received Zigbee message from '0x000000003b9efa06', type 'commandNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":32,"frameCounter":4429,"options":256,"payloadSize":0,"srcID":1000274438}' from endpoint 242 with groupID 2948
zigbee2mqtt  | 2025-03-24T21:10:05.812891011Z [2025-03-24 21:10:05] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06', payload '{"action":"off","last_seen":"2025-03-24T21:10:05.807Z","linkquality":222,"payload":[]}'
zigbee2mqtt  | 2025-03-24T21:10:05.815872513Z [2025-03-24 21:10:05] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/action', payload 'off'
zigbee2mqtt  | 2025-03-24T21:10:05.818810478Z [2025-03-24 21:10:05] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/payload', payload ''
zigbee2mqtt  | 2025-03-24T21:10:05.821717129Z [2025-03-24 21:10:05] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/last_seen', payload '2025-03-24T21:10:05.807Z'
zigbee2mqtt  | 2025-03-24T21:10:05.826524060Z [2025-03-24 21:10:05] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/linkquality', payload '222'
1st press right :
zigbee2mqtt  | 2025-03-24T21:10:23.551241257Z [2025-03-24 21:10:23] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T21:10:23.551829672Z [2025-03-24 21:10:23] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=7 frmTx=7)
zigbee2mqtt  | 2025-03-24T21:10:23.552471976Z [2025-03-24 21:10:23] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=7](frmRx=7) Added to rxQueue
zigbee2mqtt  | 2025-03-24T21:10:23.553335441Z [2025-03-24 21:10:23] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=0](ackRx=7)
zigbee2mqtt  | 2025-03-24T21:10:23.555029355Z [2025-03-24 21:10:23] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=197:"GPEP_INCOMING_MESSAGE_HANDLER" Seq=62 Len=33]
zigbee2mqtt  | 2025-03-24T21:10:23.556823971Z [2025-03-24 21:10:23] debug:      zh:ember:ezsp: ezspGpepIncomingMessageHandler(): callback called with: [status=UNPROCESSED], [gpdLink=224], [sequenceNumber=86], [addr={"applicationId":0,"sourceId":1000274438,"endpoint":0}], [gpdfSecurityLevel=FC_MIC_ENCRYPTED], [gpdfSecurityKeyType=NWK], [autoCommissioning=false], [bidirectionalInfo=0], [gpdSecurityFrameCounter=4438], [gpdCommandId=69], [mic=540541904], [proxyTableIndex=255], [gpdCommandPayload=], [packetInfo={"senderShortId":65535,"senderLongId":"0xFFFFFFFFFFFFFFFF","bindingIndex":255,"addressIndex":255,"lastHopLqi":224,"lastHopRssi":0,"lastHopTimestamp":0}]
zigbee2mqtt  | 2025-03-24T21:10:23.561035024Z [2025-03-24 21:10:23] debug:      zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x21 from=64006
zigbee2mqtt  | 2025-03-24T21:10:23.562203410Z [2025-03-24 21:10:23] debug:      zh:controller: Received payload: clusterID=33, address=64006, groupID=2948, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=224, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":86,"commandIdentifier":0},"payload":{"options":256,"srcID":1000274438,"frameCounter":4438,"commandID":33,"payloadSize":0,"commandFrame":{}},"command":{"ID":0,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":192,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]}],"name":"notification"}}
zigbee2mqtt  | 2025-03-24T21:10:23.565335353Z [2025-03-24 21:10:23] debug:      z2m: Received Zigbee message from '0x000000003b9efa06', type 'commandNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":33,"frameCounter":4438,"options":256,"payloadSize":0,"srcID":1000274438}' from endpoint 242 with groupID 2948
zigbee2mqtt  | 2025-03-24T21:10:23.569675145Z [2025-03-24 21:10:23] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06', payload '{"action":"on","last_seen":"2025-03-24T21:10:23.562Z","linkquality":224,"payload":[]}'
zigbee2mqtt  | 2025-03-24T21:10:23.572735849Z [2025-03-24 21:10:23] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/payload', payload ''
zigbee2mqtt  | 2025-03-24T21:10:23.575451318Z [2025-03-24 21:10:23] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/action', payload 'on'
zigbee2mqtt  | 2025-03-24T21:10:23.578476911Z [2025-03-24 21:10:23] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/last_seen', payload '2025-03-24T21:10:23.562Z'
zigbee2mqtt  | 2025-03-24T21:10:23.581014995Z [2025-03-24 21:10:23] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/linkquality', payload '224'
2nd press left :
zigbee2mqtt  | 2025-03-24T21:10:45.410903862Z [2025-03-24 21:10:45] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T21:10:45.411477574Z [2025-03-24 21:10:45] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=7 frmTx=7)
zigbee2mqtt  | 2025-03-24T21:10:45.412350077Z [2025-03-24 21:10:45] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=0](frmRx=0) Added to rxQueue
zigbee2mqtt  | 2025-03-24T21:10:45.413081026Z [2025-03-24 21:10:45] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=1](ackRx=7)
zigbee2mqtt  | 2025-03-24T21:10:45.414708274Z [2025-03-24 21:10:45] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=197:"GPEP_INCOMING_MESSAGE_HANDLER" Seq=62 Len=33]
zigbee2mqtt  | 2025-03-24T21:10:45.415882420Z [2025-03-24 21:10:45] debug:      zh:ember:ezsp: ezspGpepIncomingMessageHandler(): callback called with: [status=UNPROCESSED], [gpdLink=222], [sequenceNumber=95], [addr={"applicationId":0,"sourceId":1000274438,"endpoint":0}], [gpdfSecurityLevel=FC_MIC_ENCRYPTED], [gpdfSecurityKeyType=NWK], [autoCommissioning=false], [bidirectionalInfo=0], [gpdSecurityFrameCounter=4447], [gpdCommandId=226], [mic=2422986021], [proxyTableIndex=255], [gpdCommandPayload=], [packetInfo={"senderShortId":65535,"senderLongId":"0xFFFFFFFFFFFFFFFF","bindingIndex":255,"addressIndex":255,"lastHopLqi":222,"lastHopRssi":0,"lastHopTimestamp":0}]
zigbee2mqtt  | 2025-03-24T21:10:45.418739072Z [2025-03-24 21:10:45] debug:      zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x20 from=64006
zigbee2mqtt  | 2025-03-24T21:10:45.419747868Z [2025-03-24 21:10:45] debug:      zh:controller: Received payload: clusterID=33, address=64006, groupID=2948, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=222, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":95,"commandIdentifier":0},"payload":{"options":256,"srcID":1000274438,"frameCounter":4447,"commandID":32,"payloadSize":0,"commandFrame":{}},"command":{"ID":0,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":192,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]}],"name":"notification"}}
zigbee2mqtt  | 2025-03-24T21:10:45.421542521Z [2025-03-24 21:10:45] debug:      z2m: Received Zigbee message from '0x000000003b9efa06', type 'commandNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":32,"frameCounter":4447,"options":256,"payloadSize":0,"srcID":1000274438}' from endpoint 242 with groupID 2948
zigbee2mqtt  | 2025-03-24T21:10:45.424365525Z [2025-03-24 21:10:45] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06', payload '{"action":"off","last_seen":"2025-03-24T21:10:45.419Z","linkquality":222,"payload":[]}'
zigbee2mqtt  | 2025-03-24T21:10:45.427138271Z [2025-03-24 21:10:45] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/payload', payload ''
zigbee2mqtt  | 2025-03-24T21:10:45.429712613Z [2025-03-24 21:10:45] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/action', payload 'off'
zigbee2mqtt  | 2025-03-24T21:10:45.432316103Z [2025-03-24 21:10:45] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/last_seen', payload '2025-03-24T21:10:45.419Z'
zigbee2mqtt  | 2025-03-24T21:10:45.435033831Z [2025-03-24 21:10:45] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/linkquality', payload '222'
3rd press left :
zigbee2mqtt  | 2025-03-24T21:11:17.559438802Z [2025-03-24 21:11:17] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T21:11:17.559547744Z [2025-03-24 21:11:17] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=7 frmTx=7)
zigbee2mqtt  | 2025-03-24T21:11:17.560629947Z [2025-03-24 21:11:17] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=1](frmRx=1) Added to rxQueue
zigbee2mqtt  | 2025-03-24T21:11:17.561885461Z [2025-03-24 21:11:17] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=2](ackRx=7)
zigbee2mqtt  | 2025-03-24T21:11:17.564888259Z [2025-03-24 21:11:17] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=197:"GPEP_INCOMING_MESSAGE_HANDLER" Seq=62 Len=33]
zigbee2mqtt  | 2025-03-24T21:11:17.565544321Z [2025-03-24 21:11:17] debug:      zh:ember:ezsp: ezspGpepIncomingMessageHandler(): callback called with: [status=UNPROCESSED], [gpdLink=223], [sequenceNumber=104], [addr={"applicationId":0,"sourceId":1000274438,"endpoint":0}], [gpdfSecurityLevel=FC_MIC_ENCRYPTED], [gpdfSecurityKeyType=NWK], [autoCommissioning=false], [bidirectionalInfo=0], [gpdSecurityFrameCounter=4456], [gpdCommandId=156], [mic=2502434500], [proxyTableIndex=255], [gpdCommandPayload=], [packetInfo={"senderShortId":65535,"senderLongId":"0xFFFFFFFFFFFFFFFF","bindingIndex":255,"addressIndex":255,"lastHopLqi":223,"lastHopRssi":0,"lastHopTimestamp":0}]
zigbee2mqtt  | 2025-03-24T21:11:17.568850409Z [2025-03-24 21:11:17] debug:      zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x20 from=64006
zigbee2mqtt  | 2025-03-24T21:11:17.570611062Z [2025-03-24 21:11:17] debug:      zh:controller: Received payload: clusterID=33, address=64006, groupID=2948, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=223, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":104,"commandIdentifier":0},"payload":{"options":256,"srcID":1000274438,"frameCounter":4456,"commandID":32,"payloadSize":0,"commandFrame":{}},"command":{"ID":0,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":192,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]}],"name":"notification"}}
zigbee2mqtt  | 2025-03-24T21:11:17.572456232Z [2025-03-24 21:11:17] debug:      z2m: Received Zigbee message from '0x000000003b9efa06', type 'commandNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":32,"frameCounter":4456,"options":256,"payloadSize":0,"srcID":1000274438}' from endpoint 242 with groupID 2948
zigbee2mqtt  | 2025-03-24T21:11:17.579313163Z [2025-03-24 21:11:17] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06', payload '{"action":"off","last_seen":"2025-03-24T21:11:17.570Z","linkquality":223,"payload":[]}'
zigbee2mqtt  | 2025-03-24T21:11:17.582659381Z [2025-03-24 21:11:17] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/payload', payload ''
zigbee2mqtt  | 2025-03-24T21:11:17.585943358Z [2025-03-24 21:11:17] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/action', payload 'off'
zigbee2mqtt  | 2025-03-24T21:11:17.589076875Z [2025-03-24 21:11:17] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/last_seen', payload '2025-03-24T21:11:17.570Z'
zigbee2mqtt  | 2025-03-24T21:11:17.591508035Z [2025-03-24 21:11:17] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/linkquality', payload '223'
2nd press right :
zigbee2mqtt  | 2025-03-24T21:11:37.933015789Z [2025-03-24 21:11:37] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T21:11:37.933739498Z [2025-03-24 21:11:37] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=7 frmTx=7)
zigbee2mqtt  | 2025-03-24T21:11:37.935022993Z [2025-03-24 21:11:37] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=2](frmRx=2) Added to rxQueue
zigbee2mqtt  | 2025-03-24T21:11:37.935124084Z [2025-03-24 21:11:37] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=3](ackRx=7)
zigbee2mqtt  | 2025-03-24T21:11:37.936047567Z [2025-03-24 21:11:37] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=197:"GPEP_INCOMING_MESSAGE_HANDLER" Seq=62 Len=33]
zigbee2mqtt  | 2025-03-24T21:11:37.936919737Z [2025-03-24 21:11:37] debug:      zh:ember:ezsp: ezspGpepIncomingMessageHandler(): callback called with: [status=UNPROCESSED], [gpdLink=224], [sequenceNumber=113], [addr={"applicationId":0,"sourceId":1000274438,"endpoint":0}], [gpdfSecurityLevel=FC_MIC_ENCRYPTED], [gpdfSecurityKeyType=NWK], [autoCommissioning=false], [bidirectionalInfo=0], [gpdSecurityFrameCounter=4465], [gpdCommandId=170], [mic=3505937498], [proxyTableIndex=255], [gpdCommandPayload=], [packetInfo={"senderShortId":65535,"senderLongId":"0xFFFFFFFFFFFFFFFF","bindingIndex":255,"addressIndex":255,"lastHopLqi":224,"lastHopRssi":0,"lastHopTimestamp":0}]
zigbee2mqtt  | 2025-03-24T21:11:37.939712371Z [2025-03-24 21:11:37] debug:      zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x21 from=64006
zigbee2mqtt  | 2025-03-24T21:11:37.942384656Z [2025-03-24 21:11:37] debug:      zh:controller: Received payload: clusterID=33, address=64006, groupID=2948, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=224, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":113,"commandIdentifier":0},"payload":{"options":256,"srcID":1000274438,"frameCounter":4465,"commandID":33,"payloadSize":0,"commandFrame":{}},"command":{"ID":0,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":192,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]}],"name":"notification"}}
zigbee2mqtt  | 2025-03-24T21:11:37.945102829Z [2025-03-24 21:11:37] debug:      z2m: Received Zigbee message from '0x000000003b9efa06', type 'commandNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":33,"frameCounter":4465,"options":256,"payloadSize":0,"srcID":1000274438}' from endpoint 242 with groupID 2948
zigbee2mqtt  | 2025-03-24T21:11:37.948907056Z [2025-03-24 21:11:37] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06', payload '{"action":"on","last_seen":"2025-03-24T21:11:37.942Z","linkquality":224,"payload":[]}'
zigbee2mqtt  | 2025-03-24T21:11:37.950589637Z [2025-03-24 21:11:37] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/payload', payload ''
zigbee2mqtt  | 2025-03-24T21:11:37.952166386Z [2025-03-24 21:11:37] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/action', payload 'on'
zigbee2mqtt  | 2025-03-24T21:11:37.953789671Z [2025-03-24 21:11:37] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/last_seen', payload '2025-03-24T21:11:37.942Z'
zigbee2mqtt  | 2025-03-24T21:11:37.955221164Z [2025-03-24 21:11:37] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/linkquality', payload '224'
3rd press right :
zigbee2mqtt  | 2025-03-24T21:11:51.818128421Z [2025-03-24 21:11:51] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA]
zigbee2mqtt  | 2025-03-24T21:11:51.818840890Z [2025-03-24 21:11:51] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7](ackRx=7 frmTx=7)
zigbee2mqtt  | 2025-03-24T21:11:51.819319288Z [2025-03-24 21:11:51] debug:      zh:ember:uart:ash: <--- [FRAME type=DATA ackNum=7 frmNum=3](frmRx=3) Added to rxQueue
zigbee2mqtt  | 2025-03-24T21:11:51.819535544Z [2025-03-24 21:11:51] debug:      zh:ember:uart:ash: ---> [FRAME type=ACK frmRx=4](ackRx=7)
zigbee2mqtt  | 2025-03-24T21:11:51.820375566Z [2025-03-24 21:11:51] debug:      zh:ember:ezsp: <=== [CBFRAME: ID=197:"GPEP_INCOMING_MESSAGE_HANDLER" Seq=62 Len=33]
zigbee2mqtt  | 2025-03-24T21:11:51.821464842Z [2025-03-24 21:11:51] debug:      zh:ember:ezsp: ezspGpepIncomingMessageHandler(): callback called with: [status=UNPROCESSED], [gpdLink=224], [sequenceNumber=122], [addr={"applicationId":0,"sourceId":1000274438,"endpoint":0}], [gpdfSecurityLevel=FC_MIC_ENCRYPTED], [gpdfSecurityKeyType=NWK], [autoCommissioning=false], [bidirectionalInfo=0], [gpdSecurityFrameCounter=4474], [gpdCommandId=62], [mic=3635377976], [proxyTableIndex=255], [gpdCommandPayload=], [packetInfo={"senderShortId":65535,"senderLongId":"0xFFFFFFFFFFFFFFFF","bindingIndex":255,"addressIndex":255,"lastHopLqi":224,"lastHopRssi":0,"lastHopTimestamp":0}]
zigbee2mqtt  | 2025-03-24T21:11:51.823223273Z [2025-03-24 21:11:51] debug:      zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x21 from=64006
zigbee2mqtt  | 2025-03-24T21:11:51.824213440Z [2025-03-24 21:11:51] debug:      zh:controller: Received payload: clusterID=33, address=64006, groupID=2948, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=224, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":122,"commandIdentifier":0},"payload":{"options":256,"srcID":1000274438,"frameCounter":4474,"commandID":33,"payloadSize":0,"commandFrame":{}},"command":{"ID":0,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":192,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":16384}]}],"name":"notification"}}
zigbee2mqtt  | 2025-03-24T21:11:51.824970223Z [2025-03-24 21:11:51] debug:      z2m: Received Zigbee message from '0x000000003b9efa06', type 'commandNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":33,"frameCounter":4474,"options":256,"payloadSize":0,"srcID":1000274438}' from endpoint 242 with groupID 2948
zigbee2mqtt  | 2025-03-24T21:11:51.827296255Z [2025-03-24 21:11:51] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06', payload '{"action":"on","last_seen":"2025-03-24T21:11:51.823Z","linkquality":224,"payload":[]}'
zigbee2mqtt  | 2025-03-24T21:11:51.828961410Z [2025-03-24 21:11:51] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/payload', payload ''
zigbee2mqtt  | 2025-03-24T21:11:51.830508289Z [2025-03-24 21:11:51] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/action', payload 'on'
zigbee2mqtt  | 2025-03-24T21:11:51.832077186Z [2025-03-24 21:11:51] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/last_seen', payload '2025-03-24T21:11:51.823Z'
zigbee2mqtt  | 2025-03-24T21:11:51.833503531Z [2025-03-24 21:11:51] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000003b9efa06/linkquality', payload '224'

Is the device discovered as a sensor because the generic GP definition doesn't expose the action property ?
Shouldn't generic GP devices be discovered as an EVENT entity and not sensor (nor button as per my last comment) ?

Discovery (from the pairing, on the "wrong" device type and missing the action topic) :
zigbee2mqtt  | 2025-03-24T20:53:14.947363525Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x000000003b9efa06/payload/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x000000003b9efa06/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"configuration_url":"http://192.168.0.129:8080/#/device/0x000000003b9efa06/info","identifiers":["zigbee2mqtt_0x000000003b9efa06"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000003b9efa06","via_device":"zigbee2mqtt_bridge_0x385b44fffe3b3ff8"},"name":"Payload","object_id":"0x000000003b9efa06_payload","origin":{"name":"Zigbee2MQTT","sw":"2.1.3-dev","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x000000003b9efa06","unique_id":"0x000000003b9efa06_payload_zigbee2mqtt","value_template":"{{ value_json.payload | default('',True) | string | truncate(254, True, '', 0) }}"}'
...
zigbee2mqtt  | 2025-03-24T20:53:14.972608752Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Automatically generated definition for Green Power","exposes":[{"access":1,"description":"Payload of the command","item_type":{"access":1,"description":"Byte","label":"Payload","name":"payload","type":"numeric"},"label":"Payload","name":"payload","property":"payload","type":"list"},{"access":1,"category":"diagnostic","description":"Triggered action (e.g. a button click)","label":"Action","name":"action","property":"action","type":"enum","values":["identify","recall_scene0","recall_scene1","recall_scene2","recall_scene3","recall_scene4","recall_scene5","recall_scene6","recall_scene7","store_scene0","store_scene1","store_scene2","store_scene3","store_scene4","store_scene5","store_scene6","store_scene7","off","on","toggle","release","move_up","move_down","step_up","step_down","level_control_stop","move_up_with_on_off","move_down_with_on_off","step_up_with_on_off","step_down_with_on_off","move_hue_stop","move_hue_up","move_hue_down","step_hue_up","step_huw_down","move_saturation_stop","move_saturation_up","move_saturation_down","step_saturation_up","step_saturation_down","move_color","step_color","lock_door","unlock_door","press11","release11","press12","release12","press22","release22","short_press11","short_press12","short_press22","press_8bit_vector","release_8bit_vector","attribute_reporting","manufacture_specific_attr_reporting","multi_cluster_reporting","manufacturer_specific_mcluster_reporting","request_attributes","read_attributes_response","zcl_tunneling","compact_attribute_reporting","any_sensor_command_a0_a3","commissioning","decommissioning","success","channel_request","application_description"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"GreenPower_2","options":[],"supports_ota":false,"vendor":""},"friendly_name":"0x000000003b9efa06","ieee_address":"0x000000003b9efa06","status":"successful","supported":false},"type":"device_interview"}'
...
zigbee2mqtt  | 2025-03-24T20:53:14.983575627Z [2025-03-24 20:53:14] info:       z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x000000003b9efa06/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x000000003b9efa06/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"configuration_url":"http://192.168.0.129:8080/#/device/0x000000003b9efa06/info","identifiers":["zigbee2mqtt_0x000000003b9efa06"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000003b9efa06","via_device":"zigbee2mqtt_bridge_0x385b44fffe3b3ff8"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x000000003b9efa06_linkquality","origin":{"name":"Zigbee2MQTT","sw":"2.1.3-dev","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x000000003b9efa06","unique_id":"0x000000003b9efa06_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
zigbee2mqtt  | 2025-03-24T20:53:15.030199837Z [2025-03-24 20:53:15] info:       z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x000000003b9efa06/last_seen/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"},{"topic":"zigbee2mqtt/0x000000003b9efa06/availability","value_template":"{{ value_json.state }}"}],"availability_mode":"all","device":{"configuration_url":"http://192.168.0.129:8080/#/device/0x000000003b9efa06/info","identifiers":["zigbee2mqtt_0x000000003b9efa06"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000003b9efa06","via_device":"zigbee2mqtt_bridge_0x385b44fffe3b3ff8"},"device_class":"timestamp","enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:clock","name":"Last seen","object_id":"0x000000003b9efa06_last_seen","origin":{"name":"Zigbee2MQTT","sw":"2.1.3-dev","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x000000003b9efa06","unique_id":"0x000000003b9efa06_last_seen_zigbee2mqtt","value_template":"{{ value_json.last_seen }}"}'

@Koenkk
Copy link
Owner

Koenkk commented Mar 25, 2025

Is the device discovered as a sensor because the generic GP definition doesn't expose the action property ?

The generated definition should have an action property, you can confirm it by looking at the "Exposes" tab of the device in the z2m frontend.

What do you get when creating a device trigger in a HA automation?

Image

@skuizy
Copy link

skuizy commented Mar 25, 2025

The action property is indeed present in the expose tab :

Image

HA doesn't see any triger for the device :

Image

This is because the action is not published on the discovery topic :

Image

@Koenkk
Copy link
Owner

Koenkk commented Mar 26, 2025

You should see it under device_automation

@skuizy
Copy link

skuizy commented Mar 27, 2025

I should, but I don't :( :

Image

@Nerivec
Copy link
Collaborator

Nerivec commented Mar 27, 2025

@skuizy did you try removing the device from Z2M, shutting down Z2M, restarting it, and then doing the pairing again? Also grab latest latest-dev while you're at it.

@skuizy
Copy link

skuizy commented Mar 27, 2025

Just did on 2.1.3-dev commit: 0a41af5 and still the same :(

@Koenkk
Copy link
Owner

Koenkk commented Mar 28, 2025

Could you provide the debug log from starting z2m until pressing buttons on this device?

See this on how to enable debug logging.

@skuizy
Copy link

skuizy commented Mar 28, 2025

Here you go !
You have debug logs, from the start, with the pairing and pressing of each buttons.

log.log.zip

@Koenkk
Copy link
Owner

Koenkk commented Mar 30, 2025

@skuizy could you provide your configuration.yaml and devices.yaml in case you have that?

@MiAutomations
Copy link
Author

Hello I installed the last version os Z2M 2.2.0

But I still not able to use this devices

Image

Can some one please confirm that with this version are able to use this devices ?

Tks

@Nerivec
Copy link
Collaborator

Nerivec commented Apr 3, 2025

@MiAutomations the devices will remain unsupported, because they rely on the generated definition (which is not considered "supported"), but they should work nonetheless. The "unsupported" is only cosmetic really in this case. There is no way to properly identify them since they keep changing address, this unfortunately won't change. You can use the instructions above to create an external converter and that will make them supported, but any time you re-pair them, you will have to change the external converter since the address will change.
If you don't see state updates when pressing the buttons, I suggest you remove them from Z2M, restart Z2M, and re-pair them.

@skuizy
Copy link

skuizy commented Apr 3, 2025

@Koenkk Don't give up, I will provide in a week or two.

@MiAutomations
Copy link
Author

@MiAutomations the devices will remain unsupported, because they rely on the generated definition (which is not considered "supported"), but they should work nonetheless. The "unsupported" is only cosmetic really in this case. There is no way to properly identify them since they keep changing address, this unfortunately won't change. You can use the instructions above to create an external converter and that will make them supported, but any time you re-pair them, you will have to change the external converter since the address will change. If you don't see state updates when pressing the buttons, I suggest you remove them from Z2M, restart Z2M, and re-pair them.

Thank you, I deleted the devices and re-paired the devices, now I'm abale to see the states changes in the Z2M Action, and for a few seconds I'm able to use the Switches over the automations, but after this time (seconds) the device stop report the changes of the states...

And this is occurring with both of the switches that I have.

@Nerivec
Copy link
Collaborator

Nerivec commented Apr 3, 2025

@MiAutomations can you try to enable permit join, and see if it reports again?

@MiAutomations
Copy link
Author

@MiAutomations can you try to enable permit join, and see if it reports again?

Yes it works, but only during the time of the pairing mode is available

@Nerivec
Copy link
Collaborator

Nerivec commented Apr 4, 2025

Can you make sure you followed the pairing procedure to the letter (I don't know what it is for that device)? It seems your device stays in commissioning after it's paired (hence, messages are dropped by the parent if permit is off), this would indicate it wasn't "fully paired".
For e.g. Enocean GP devices require validating the pairing immediately after the commissioning is over (via combination of presses), otherwise they don't work properly.

If that doesn't work, maybe try pairing to a different "supporting" GP parent...

@MaxwellJK
Copy link

@MiAutomations the same is for me - it works only if permit join is enabled.
My setup is a Sonoff Dongle P and an Ikea tradfri (not sure what your setup is.)
My only solution (for now) was to enable always permit via the ikea bulb - it's not ideal but given where the bulb is, it makes it difficult to hack into my zigbee network.
When in Ikea I'll try to buy also a zigbee outlet and see if it works differently, although I suspect the issue is not the proxy.

@MiAutomations
Copy link
Author

Can you make sure you followed the pairing procedure to the letter (I don't know what it is for that device)? It seems your device stays in commissioning after it's paired (hence, messages are dropped by the parent if permit is off), this would indicate it wasn't "fully paired". For e.g. Enocean GP devices require validating the pairing immediately after the commissioning is over (via combination of presses), otherwise they don't work properly.

If that doesn't work, maybe try pairing to a different "supporting" GP parent...

@Nerivec sorry what you mean with pairing procedure to the letter?

Related to the Enocean GP devices, i think this is little different, or not? Do I need any pairing proceder different from the one that is mentioned on the device manual?

Tks

@MiAutomations
Copy link
Author

@MiAutomations the same is for me - it works only if permit join is enabled. My setup is a Sonoff Dongle P and an Ikea tradfri (not sure what your setup is.) My only solution (for now) was to enable always permit via the ikea bulb - it's not ideal but given where the bulb is, it makes it difficult to hack into my zigbee network. When in Ikea I'll try to buy also a zigbee outlet and see if it works differently, although I suspect the issue is not the proxy.

@MaxwellJK My setup is a coordinator based on SMLZB device with a lot of router devices, I successfully added these device to the my Z2M instance, but the device only works when the paring mode still active. After this the device stop reporting any status change.

What you mean with the "My only solution (for now) was to enable always permit via the ikea bulb"?

Tks

@chris-1243
Copy link

@MiAutomations

Related to the Enocean GP devices, i think this is little different, or not? Do I need any pairing proceder different from the one that is mentioned on the device manual?

Encoean is slightly different, sure. What Nerivec said is to strictly follow the pairing procedure and not to play with the device until the pairing is done completely.

@fapgomes
Copy link

fapgomes commented Apr 5, 2025

@MiAutomations @MaxwellJK same here, only work when pairing mode is active.

@Nerivec
Copy link
Collaborator

Nerivec commented Apr 5, 2025

From what I can see @skuizy logs are showing commandNotification which is the expected behavior, while @MaxwellJK previous logs are showing commandCommissioningNotification, which isn't (for a fully paired device).

@skuizy can you describe the pairing procedure you used, just to be sure?

If not the pairing procedure, the other difference that I can see is the stack. @skuizy is pairing to an EmberZNet coordinator, while @MaxwellJK to a zStack coordinator.

@MaxwellJK can you try pairing the Moes to the Ikea GP proxy directly (permit join only on the Ikea before pairing) and confirm if the Moes keeps on working after permit join expires or you turn it off? (PS: the bug you mentioned here should also be fixed now)

@MaxwellJK
Copy link

@MaxwellJK can you try pairing the Moes to the Ikea GP proxy directly (permit join only on the Ikea before pairing) and confirm if the Moes keeps on working after permit join expires or you turn it off? (PS: the bug you mentioned #19405 (comment) should also be fixed now)

Ahh interesting - is it on the dev branch too? if so i'll download the last available and test it.
With the one I am[currently using (sha256:f9db59a2c0faa21c73ed274e2693084776fbf5a4f2b1dcef9ddeb5860841e273) I get the error I shared with you on discord.
I can tell you that my Moes is paired following the manual to the letter (btw it's very simple so chances of error are minimal) so I don't understand why it's not fully paired

@Nerivec
Copy link
Collaborator

Nerivec commented Apr 5, 2025

It's in release & latest-dev yes. You must have an older commit (not sure which one that sha maps to).

@MaxwellJK
Copy link

oh yes, it is an old commit - my image was created on 2025-03-23
Thanks, I'll try to get the latest release (or dev release tomorrow) and follow up with the results.

Thanks again for all the work you are putting into this :)

@MaxwellJK
Copy link

'afternoon @Nerivec, I tested the switch again, just permitting pairing via the Ikea proxy and I confirm that:

  1. the issue I raised here is now fixed (so i can pair via Ikea light only)
  2. The messages are still being received as commandCommissioningNotification

Here a full log, including enabling pairing, pairing, pressing 2 times the right button, 2 times the left button and disable pairing

[2025-04-06 12:54:11] debug: 	zh:zstack:unpi:parser: --- parseNext [254,2,97,1,89,6,61]
[2025-04-06 12:54:11] debug: 	zh:zstack:unpi:parser: --> parsed 2 - 3 - 1 - 1 - [89,6] - 61
[2025-04-06 12:54:11] debug: 	zh:zstack:znp: <-- SRSP: SYS - ping - {"capabilities":1625}
[2025-04-06 12:54:11] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:15] debug: 	z2m:mqtt: Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":"Ikea Light","time":254,"transaction":"b4zu9-2"}'
[2025-04-06 12:54:15] info: 	z2m: Zigbee: allowing new devices to join via Ikea Light.
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:writer: --> frame [254,5,37,54,2,84,95,254,1,224]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: <-- [254,1,101,54,0,82]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,101,54,0,82]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 5 - 54 - [0] - 82
[2025-04-06 12:54:15] debug: 	zh:zstack:znp: <-- SRSP: ZDO - mgmtPermitJoinReq
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: <-- [254,3,69,182,84,95,0,251,254,10,69,255,84,95,0,54,128,0,113,0,0,0,124]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,69,182,84,95,0,251,254,10,69,255,84,95,0,54,128,0,113,0,0,0,124]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 5 - 182 - [84,95,0] - 251
[2025-04-06 12:54:15] debug: 	zh:zstack:znp: <-- AREQ: ZDO - mgmtPermitJoinRsp
[2025-04-06 12:54:15] debug: 	zh:controller: Received ZDO response: clusterId=PERMIT_JOINING_RESPONSE, status=SUCCESS, payload=undefined
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext [254,10,69,255,84,95,0,54,128,0,113,0,0,0,124]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --> parsed 10 - 2 - 5 - 255 - [84,95,0,54,128,0,113,0,0,0] - 124
[2025-04-06 12:54:15] debug: 	zh:zstack:znp: <-- AREQ: ZDO - msgCbIncoming
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:15] debug: 	zh:zstack: sendZclFrameToEndpointInternal 0xb43522fffe856199:24404/242 (0,0,1)
[2025-04-06 12:54:15] debug: 	zh:zstack:znp: --> SREQ: AF - dataRequest - {"dstaddr":24404,"destendpoint":242,"srcendpoint":242,"clusterid":33,"transid":83,"options":0,"radius":30,"len":6,"data":{"type":"Buffer","data":[25,114,2,43,254,0]}}
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:writer: --> frame [254,16,36,1,84,95,242,242,33,0,83,0,30,6,25,114,2,43,254,0,232]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
[2025-04-06 12:54:15] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequest - {"status":0}
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: <-- [254,3,68,128,0,242,83,102]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,242,83,102]
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,242,83] - 102
[2025-04-06 12:54:15] debug: 	zh:zstack:znp: <-- AREQ: AF - dataConfirm - {"status":0,"endpoint":242,"transid":83}
[2025-04-06 12:54:15] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:15] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"device":"Ikea Light","time":254},"status":"ok","transaction":"b4zu9-2"}'
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [254,3,69,196,9,245,0,126,254,35,68,129,0,0,0,0,9,245,1,1,0,83,0,19,138,205,0,0,15,8,43,10,1,0,32,67,226,255,32,48,228,255,32,0,9,245,29,142]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,69,196,9,245,0,126,254,35,68,129,0,0,0,0,9,245,1,1,0,83,0,19,138,205,0,0,15,8,43,10,1,0,32,67,226,255,32,48,228,255,32,0,9,245,29,142]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 5 - 196 - [9,245,0] - 126
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- AREQ: ZDO - srcRtgInd
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,35,68,129,0,0,0,0,9,245,1,1,0,83,0,19,138,205,0,0,15,8,43,10,1,0,32,67,226,255,32,48,228,255,32,0,9,245,29,142]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 35 - 2 - 4 - 129 - [0,0,0,0,9,245,1,1,0,83,0,19,138,205,0,0,15,8,43,10,1,0,32,67,226,255,32,48,228,255,32,0,9,245,29] - 142
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":0,"srcaddr":62729,"srcendpoint":1,"dstendpoint":1,"wasbroadcast":0,"linkquality":83,"securityuse":0,"timestamp":13470227,"transseqnumber":0,"len":15,"data":{"type":"Buffer","data":[8,43,10,1,0,32,67,226,255,32,48,228,255,32,0]}}
[2025-04-06 12:54:17] debug: 	zh:controller: Received payload: clusterID=0, address=62729, groupID=0, endpoint=1, destinationEndpoint=1, wasBroadcast=false, linkQuality=83, frame={"header":{"frameControl":{"frameType":0,"manufacturerSpecific":false,"direction":1,"disableDefaultResponse":false,"reservedBits":0},"transactionSequenceNumber":43,"commandIdentifier":10},"payload":[{"attrId":1,"dataType":32,"attrData":67},{"attrId":65506,"dataType":32,"attrData":48},{"attrId":65508,"dataType":32,"attrData":0}],"command":{"ID":10,"name":"report","parameters":[{"name":"attrId","type":33},{"name":"dataType","type":32},{"name":"attrData","type":1000}]}}
[2025-04-06 12:54:17] debug: 	zh:controller:endpoint: ZCL command 0xa4c1389921852ee4/1 genBasic.defaultRsp({"cmdId":10,"statusCode":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":1,"reservedBits":0,"transactionSequenceNumber":43,"writeUndiv":false})
[2025-04-06 12:54:17] debug: 	zh:zstack: sendZclFrameToEndpointInternal 0xa4c1389921852ee4:62729/1 (0,0,1)
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: --> SREQ: AF - dataRequest - {"dstaddr":62729,"destendpoint":1,"srcendpoint":1,"clusterid":0,"transid":84,"options":0,"radius":30,"len":5,"data":{"type":"Buffer","data":[24,43,11,10,0]}}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:writer: --> frame [254,15,36,1,9,245,1,1,0,0,84,0,30,5,24,43,11,10,0,171]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:17] debug: 	z2m: Received Zigbee message from 'Gin Light', type 'attributeReport', cluster 'genBasic', data '{"65506":48,"65508":0,"appVersion":67}' from endpoint 1 with groupID 0
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,1,0,100]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequest - {"status":0}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,2,0,103,254,3,68,128,0,1,84,146,254,3,68,128,0,1,43,237]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,2,0,103,254,3,68,128,0,1,84,146,254,3,68,128,0,1,43,237]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 2 - [0] - 103
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequestExt - {"status":0}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,84,146,254,3,68,128,0,1,43,237]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,84] - 146
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- AREQ: AF - dataConfirm - {"status":0,"endpoint":1,"transid":84}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,1,43,237]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,1,43] - 237
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- AREQ: AF - dataConfirm - {"status":0,"endpoint":1,"transid":43}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [254,81,68,129,0,0,33,0,84,95,242,242,0,142,0,163,197,205,0,0,61,17,52,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,81,68,129,0,0,33,0,84,95,242,242,0,142,0,163,197,205,0,0,61,17,52,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [100,122,98,105,112,97,48,64,71,80,48,48,48,49,47,84,95,10,84,95,29,78]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,81,68,129,0,0,33,0,84,95,242,242,0,142,0,163,197,205,0,0,61,17,52,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55,100,122,98,105,112,97,48,64,71,80,48,48,48,49,47,84,95,10,84,95,29,78]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 81 - 2 - 4 - 129 - [0,0,33,0,84,95,242,242,0,142,0,163,197,205,0,0,61,17,52,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55,100,122,98,105,112,97,48,64,71,80,48,48,48,49,47,84,95,10,84,95,29] - 78
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":24404,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":0,"linkquality":142,"securityuse":0,"timestamp":13485475,"transseqnumber":0,"len":61,"data":{"type":"Buffer","data":[17,52,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55,100,122,98,105,112,97,48,64,71,80,48,48,48,49,47,84,95,10]}}
[2025-04-06 12:54:17] info: 	zh:controller:greenpower: [COMMISSIONING] srcID=1518266219 gpp=24404 rssi=10 linkQuality=Poor
[2025-04-06 12:54:17] debug: 	zh:controller:greenpower: [PAIRING] srcID=1518266219 gpp=24404 options=58728 (addSink=true commMode=3) wasBroadcast=false
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: --> SREQ: UTIL - getDeviceInfo - {}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:writer: --> frame [254,0,39,0,39]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext []
��
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [254,81,68,129,0,0,33,0,107,231,242,242,1,80,0,178,204,205,0,0,61,17,44,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,81,68,129,0,0,33,0,107,231,242,242,1,80,0,178,204,205,0,0,61,17,44,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [100,122,98,105,112,97,48,64,71,80,48,48,48,49,47,9,245,142,9,245,29,146,254,14,103,0,0,173,13,47,42,0,75,18,0,0,0,7,9,0,155,254,1,100,2,0,103]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,81,68,129,0,0,33,0,107,231,242,242,1,80,0,178,204,205,0,0,61,17,44,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55,100,122,98,105,112,97,48,64,71,80,48,48,48,49,47,9,245,142,9,245,29,146,254,14,103,0,0,173,13,47,42,0,75,18,0,0,0,7,9,0,155,254,1,100,2,0,103]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 81 - 2 - 4 - 129 - [0,0,33,0,107,231,242,242,1,80,0,178,204,205,0,0,61,17,44,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55,100,122,98,105,112,97,48,64,71,80,48,48,48,49,47,9,245,142,9,245,29] - 146
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":59243,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":1,"linkquality":80,"securityuse":0,"timestamp":13487282,"transseqnumber":0,"len":61,"data":{"type":"Buffer","data":[17,44,4,0,8,107,231,126,90,33,0,0,0,224,43,2,137,243,43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32,33,247,171,95,33,82,0,0,55,100,122,98,105,112,97,48,64,71,80,48,48,48,49,47,9,245,142]}}
[2025-04-06 12:54:17] info: 	zh:controller:greenpower: [COMMISSIONING] srcID=1518266219 gpp=62729 rssi=14 linkQuality=High
[2025-04-06 12:54:17] debug: 	zh:controller:greenpower: [PAIRING] srcID=1518266219 gpp=62729 options=58696 (addSink=true commMode=2) wasBroadcast=true
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,14,103,0,0,173,13,47,42,0,75,18,0,0,0,7,9,0,155,254,1,100,2,0,103]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 14 - 3 - 7 - 0 - [0,173,13,47,42,0,75,18,0,0,0,7,9,0] - 155
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- SRSP: UTIL - getDeviceInfo - {"status":0,"ieeeaddr":"0x00124b002a2f0dad","shortaddr":0,"devicetype":7,"devicestate":9,"numassocdevices":0,"assocdeviceslist":[]}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,2,0,103]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 2 - [0] - 103
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequestExt - {"status":0}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: --> SREQ: AF - dataRequestExt - {"dstaddrmode":2,"dstaddr":"0x000000000000fffd","destendpoint":242,"dstpanid":0,"srcendpoint":242,"clusterid":33,"transid":85,"options":0,"radius":30,"len":33,"data":{"type":"Buffer","data":[25,115,1,72,229,0,107,231,126,90,132,11,2,33,82,0,0,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207]}}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:writer: --> frame [254,53,36,2,2,253,255,0,0,0,0,0,0,242,0,0,242,33,0,85,0,30,33,0,25,115,1,72,229,0,107,231,126,90,132,11,2,33,82,0,0,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,200]
[2025-04-06 12:54:17] debug: 	zh:zstack: sendZclFrameToEndpointInternal 0xb43522fffe856199:24404/242 (0,0,2)
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,2,0,103,254,3,68,128,0,242,85,96]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,2,0,103,254,3,68,128,0,242,85,96]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 2 - [0] - 103
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequestExt - {"status":0}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,242,85,96]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,242,85] - 96
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- AREQ: AF - dataConfirm - {"status":0,"endpoint":242,"transid":85}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: --> SREQ: AF - dataRequest - {"dstaddr":24404,"destendpoint":242,"srcendpoint":242,"clusterid":33,"transid":86,"options":0,"radius":30,"len":41,"data":{"type":"Buffer","data":[25,116,1,104,229,0,107,231,126,90,173,13,47,42,0,75,18,0,0,0,2,33,82,0,0,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207]}}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:writer: --> frame [254,51,36,1,84,95,242,242,33,0,86,0,30,41,25,116,1,104,229,0,107,231,126,90,173,13,47,42,0,75,18,0,0,0,2,33,82,0,0,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,153]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,1,0,100,254,3,68,128,0,242,86,99]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,1,0,100,254,3,68,128,0,242,86,99]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 1 - [0] - 100
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequest - {"status":0}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,242,86,99]
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,242,86] - 99
[2025-04-06 12:54:17] debug: 	zh:zstack:znp: <-- AREQ: AF - dataConfirm - {"status":0,"endpoint":242,"transid":86}
[2025-04-06 12:54:17] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:17] debug: 	zh:controller: Green power device '{"sourceID":1518266219,"deviceID":2,"networkAddress":59243,"securityKey":{"type":"Buffer","data":HIDDEN}}' joined
[2025-04-06 12:54:17] debug: 	zh:controller: New green power device '0x000000005a7ee76b' joined
[2025-04-06 12:54:17] debug: 	zh:controller: Creating device '0x000000005a7ee76b'
[2025-04-06 12:54:17] debug: 	zh:controller:database: Writing database to '/app/data/database.db'
[2025-04-06 12:54:17] debug: 	zh:controller:database: Writing database to '/app/data/database.db'
[2025-04-06 12:54:18] debug: 	zhc: Getting definitions for: sunricher.js,49,sunricher.js,48,sunricher.js,47,philips.js,420,legrand.js,19,led_trading.js,0,enocean.js,1,enocean.js,0
[2025-04-06 12:54:18] debug: 	zhc: Getting definitions for: sunricher.js,49,sunricher.js,48,sunricher.js,47,philips.js,420,legrand.js,19,led_trading.js,0,enocean.js,1,enocean.js,0
[2025-04-06 12:54:18] debug: 	zh:controller: Received payload: clusterID=33, address=24404, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=false, linkQuality=142, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":52,"commandIdentifier":4},"payload":{"options":2048,"srcID":1518266219,"frameCounter":33,"commandID":224,"payloadSize":43,"commandFrame":{"deviceID":2,"options":137,"extendedOptions":243,"securityKey":{"type":"Buffer","data":[43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32]},"keyMic":1605105441,"outgoingCounter":21025,"applicationInfo":0,"manufacturerID":0,"modelID":0,"numGpdCommands":0,"gpdCommandIdList":{"type":"Buffer","data":[]},"numServerClusters":0,"numClientClusters":0,"gpdServerClusters":{"type":"Buffer","data":[]},"gpdClientClusters":{"type":"Buffer","data":[]},"genericSwitchConfig":0,"currentContactStatus":0},"gppNwkAddr":24404,"gppGpdLink":10},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:18] debug: 	zh:controller: Data is from unknown endpoint '242' from device with network address '24404', creating it...
[2025-04-06 12:54:18] debug: 	zh:controller:database: Writing database to '/app/data/database.db'
[2025-04-06 12:54:18] debug: 	zhc: Getting definitions for: sunricher.js,49,sunricher.js,48,sunricher.js,47,philips.js,420,legrand.js,19,led_trading.js,0,enocean.js,1,enocean.js,0
[2025-04-06 12:54:18] debug: 	zhc: Candidates for 0x000000005a7ee76b/GreenPower_2: SR-ZGP2801K-5C/Sunricher,SR-ZGP2801K4-DIM/Sunricher,SR-ZGP2801K2-DIM/Sunricher,8718696743133/Philips,ZLGP17/ZLGP18/Legrand,9133/LED-Trading,PTM 215ZE/EnOcean,PTM 215Z/EnOcean
[2025-04-06 12:54:18] debug: 	zhc: Candidates for 0x000000005a7ee76b/GreenPower_2: SR-ZGP2801K-5C/Sunricher,SR-ZGP2801K4-DIM/Sunricher,SR-ZGP2801K2-DIM/Sunricher,8718696743133/Philips,ZLGP17/ZLGP18/Legrand,9133/LED-Trading,PTM 215ZE/EnOcean,PTM 215Z/EnOcean
[2025-04-06 12:54:18] debug: 	zhc: Candidates for 0x000000005a7ee76b/GreenPower_2: SR-ZGP2801K-5C/Sunricher,SR-ZGP2801K4-DIM/Sunricher,SR-ZGP2801K2-DIM/Sunricher,8718696743133/Philips,ZLGP17/ZLGP18/Legrand,9133/LED-Trading,PTM 215ZE/EnOcean,PTM 215Z/EnOcean
[2025-04-06 12:54:18] info: 	z2m: Device '0x000000005a7ee76b' joined
[2025-04-06 12:54:18] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x000000005a7ee76b/payload/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x000000005a7ee76b"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000005a7ee76b","via_device":"zigbee2mqtt_bridge_0x00124b002a2f0dad"},"name":"Payload","object_id":"0x000000005a7ee76b_payload","origin":{"name":"Zigbee2MQTT","sw":"2.2.1-dev","url":"https://www.zigbee2mqtt.io"},"state_topic":"zigbee2mqtt/0x000000005a7ee76b","unique_id":"0x000000005a7ee76b_payload_zigbee2mqtt","value_template":"{{ value_json.payload | default('',True) | string | truncate(254, True, '', 0) }}"}'
[2025-04-06 12:54:18] info: 	z2m: Successfully interviewed '0x000000005a7ee76b', device has successfully been paired
[2025-04-06 12:54:18] warning: 	z2m: Device '0x000000005a7ee76b' with Zigbee model 'GreenPower_2' and manufacturer name 'undefined' is NOT supported, please follow https://www.zigbee2mqtt.io/advanced/support-new-devices/01_support_new_devices.html
[2025-04-06 12:54:18] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"applicationInfo":0,"currentContactStatus":0,"deviceID":2,"extendedOptions":243,"genericSwitchConfig":0,"gpdClientClusters":{"data":[],"type":"Buffer"},"gpdCommandIdList":{"data":[],"type":"Buffer"},"gpdServerClusters":{"data":[],"type":"Buffer"},"keyMic":1605105441,"manufacturerID":0,"modelID":0,"numClientClusters":0,"numGpdCommands":0,"numServerClusters":0,"options":137,"outgoingCounter":21025,"securityKey":{"data":[43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32],"type":"Buffer"}},"commandID":224,"frameCounter":33,"gppGpdLink":10,"gppNwkAddr":24404,"options":2048,"payloadSize":43,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:18] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x000000005a7ee76b","ieee_address":"0x000000005a7ee76b"},"type":"device_joined"}'
[2025-04-06 12:54:18] debug: 	zh:controller: Green power device '{"sourceID":1518266219,"deviceID":2,"networkAddress":59243,"securityKey":{"type":"Buffer","data":HIDDEN}}' joined
[2025-04-06 12:54:18] debug: 	zh:controller: Received payload: clusterID=33, address=59243, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=80, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":44,"commandIdentifier":4},"payload":{"options":2048,"srcID":1518266219,"frameCounter":33,"commandID":224,"payloadSize":43,"commandFrame":{"deviceID":2,"options":137,"extendedOptions":243,"securityKey":{"type":"Buffer","data":[43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32]},"keyMic":1605105441,"outgoingCounter":21025,"applicationInfo":0,"manufacturerID":0,"modelID":0,"numGpdCommands":0,"gpdCommandIdList":{"type":"Buffer","data":[]},"numServerClusters":0,"numClientClusters":0,"gpdServerClusters":{"type":"Buffer","data":[]},"gpdClientClusters":{"type":"Buffer","data":[]},"genericSwitchConfig":0,"currentContactStatus":0},"gppNwkAddr":62729,"gppGpdLink":142},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:18] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{"applicationInfo":0,"currentContactStatus":0,"deviceID":2,"extendedOptions":243,"genericSwitchConfig":0,"gpdClientClusters":{"data":[],"type":"Buffer"},"gpdCommandIdList":{"data":[],"type":"Buffer"},"gpdServerClusters":{"data":[],"type":"Buffer"},"keyMic":1605105441,"manufacturerID":0,"modelID":0,"numClientClusters":0,"numGpdCommands":0,"numServerClusters":0,"options":137,"outgoingCounter":21025,"securityKey":{"data":[43,252,48,100,196,92,128,148,84,64,15,116,85,56,234,32],"type":"Buffer"}},"commandID":224,"frameCounter":33,"gppGpdLink":142,"gppNwkAddr":62729,"options":2048,"payloadSize":43,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:18] debug: 	zh:zstack:unpi:parser: <-- [254,25,68,129,0,0,33,0,84,95,242,242,0,142,0,186,231,205,0,0,5,0,116,11,1,137,84,95,29,12]
[2025-04-06 12:54:18] debug: 	zh:zstack:unpi:parser: --- parseNext [254,25,68,129,0,0,33,0,84,95,242,242,0,142,0,186,231,205,0,0,5,0,116,11,1,137,84,95,29,12]
[2025-04-06 12:54:18] debug: 	zh:zstack:unpi:parser: --> parsed 25 - 2 - 4 - 129 - [0,0,33,0,84,95,242,242,0,142,0,186,231,205,0,0,5,0,116,11,1,137,84,95,29] - 12
[2025-04-06 12:54:18] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":24404,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":0,"linkquality":142,"securityuse":0,"timestamp":13494202,"transseqnumber":0,"len":5,"data":{"type":"Buffer","data":[0,116,11,1,137]}}
[2025-04-06 12:54:18] debug: 	zh:controller:greenpower: [NO_CMD/PASSTHROUGH] command=0xb from=24404
[2025-04-06 12:54:18] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:18] debug: 	zh:controller: Data is from unknown green power device with address '65535' (undefined), skipping...
[2025-04-06 12:54:18] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Automatically generated definition for Green Power","exposes":[{"access":1,"description":"Payload of the command","item_type":{"access":1,"description":"Byte","label":"Payload","name":"payload","type":"numeric"},"label":"Payload","name":"payload","property":"payload","type":"list"},{"access":1,"category":"diagnostic","description":"Triggered action (e.g. a button click)","label":"Action","name":"action","property":"action","type":"enum","values":["identify","recall_scene0","recall_scene1","recall_scene2","recall_scene3","recall_scene4","recall_scene5","recall_scene6","recall_scene7","store_scene0","store_scene1","store_scene2","store_scene3","store_scene4","store_scene5","store_scene6","store_scene7","off","on","toggle","release","move_up","move_down","step_up","step_down","level_control_stop","move_up_with_on_off","move_down_with_on_off","step_up_with_on_off","step_down_with_on_off","move_hue_stop","move_hue_up","move_hue_down","step_hue_up","step_huw_down","move_saturation_stop","move_saturation_up","move_saturation_down","step_saturation_up","step_saturation_down","move_color","step_color","lock_door","unlock_door","press11","release11","press12","release12","press22","release22","short_press11","short_press12","short_press22","press_8bit_vector","release_8bit_vector","attribute_reporting","manufacture_specific_attr_reporting","multi_cluster_reporting","manufacturer_specific_mcluster_reporting","request_attributes","read_attributes_response","zcl_tunneling","compact_attribute_reporting","any_sensor_command_a0_a3","commissioning","decommissioning","success","channel_request","application_description"]},{"access":1,"category":"diagnostic","description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"GreenPower_2","options":[],"supports_ota":false,"vendor":""},"friendly_name":"0x000000005a7ee76b","ieee_address":"0x000000005a7ee76b","status":"successful","supported":false},"type":"device_interview"}'
[2025-04-06 12:54:18] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/sensor/0x000000005a7ee76b/linkquality/config', payload '{"availability":[{"topic":"zigbee2mqtt/bridge/state","value_template":"{{ value_json.state }}"}],"device":{"identifiers":["zigbee2mqtt_0x000000005a7ee76b"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000005a7ee76b","via_device":"zigbee2mqtt_bridge_0x00124b002a2f0dad"},"enabled_by_default":false,"entity_category":"diagnostic","icon":"mdi:signal","name":"Linkquality","object_id":"0x000000005a7ee76b_linkquality","origin":{"name":"Zigbee2MQTT","sw":"2.2.1-dev","url":"https://www.zigbee2mqtt.io"},"state_class":"measurement","state_topic":"zigbee2mqtt/0x000000005a7ee76b","unique_id":"0x000000005a7ee76b_linkquality_zigbee2mqtt","unit_of_measurement":"lqi","value_template":"{{ value_json.linkquality }}"}'
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: <-- [254,42,68,129,0,0,33,0,84,95,242,242,0,142,0,48,220,208,0,0,22,17,53,4,48,11,107,231,126,90,42,82,0,0,91,0,84,95,214,250,176,174,235,84,95,29,53]
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --- parseNext [254,42,68,129,0,0,33,0,84,95,242,242,0,142,0,48,220,208,0,0,22,17,53,4,48,11,107,231,126,90,42,82,0,0,91,0,84,95,214,250,176,174,235,84,95,29,53]
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --> parsed 42 - 2 - 4 - 129 - [0,0,33,0,84,95,242,242,0,142,0,48,220,208,0,0,22,17,53,4,48,11,107,231,126,90,42,82,0,0,91,0,84,95,214,250,176,174,235,84,95,29] - 53
[2025-04-06 12:54:21] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":24404,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":0,"linkquality":142,"securityuse":0,"timestamp":13687856,"transseqnumber":0,"len":22,"data":{"type":"Buffer","data":[17,53,4,48,11,107,231,126,90,42,82,0,0,91,0,84,95,214,250,176,174,235]}}
[2025-04-06 12:54:21] debug: 	zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x21 srcID=1518266219 gpp=24404 rssi=22 linkQuality=Excellent
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:21] debug: 	zh:controller: Received payload: clusterID=33, address=24404, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=false, linkQuality=142, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":53,"commandIdentifier":4},"payload":{"options":2304,"srcID":1518266219,"frameCounter":21034,"commandID":33,"payloadSize":0,"commandFrame":{},"gppNwkAddr":24404,"gppGpdLink":214},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:21] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":33,"frameCounter":21034,"gppGpdLink":214,"gppNwkAddr":24404,"options":2304,"payloadSize":0,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:21] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000005a7ee76b', payload '{"action":"on","linkquality":142,"payload":[]}'
[2025-04-06 12:54:21] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/device_automation/0x000000005a7ee76b/action_on/config', payload '{"automation_type":"trigger","device":{"identifiers":["zigbee2mqtt_0x000000005a7ee76b"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000005a7ee76b","via_device":"zigbee2mqtt_bridge_0x00124b002a2f0dad"},"origin":{"name":"Zigbee2MQTT","sw":"2.2.1-dev","url":"https://www.zigbee2mqtt.io"},"payload":"on","subtype":"on","topic":"zigbee2mqtt/0x000000005a7ee76b/action","type":"action"}'
[2025-04-06 12:54:21] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000005a7ee76b/action', payload 'on'
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: <-- [254,42,68,129,0,0,33,0,107,231,242,242,1,83,0,63,228,208,0,0,22,17,45,4,48,11,107,231,126,90,42,82,0,0,91,0,9,245,150,250,176,174,235,9,245,29,1]
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --- parseNext [254,42,68,129,0,0,33,0,107,231,242,242,1,83,0,63,228,208,0,0,22,17,45,4,48,11,107,231,126,90,42,82,0,0,91,0,9,245,150,250,176,174,235,9,245,29,1]
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --> parsed 42 - 2 - 4 - 129 - [0,0,33,0,107,231,242,242,1,83,0,63,228,208,0,0,22,17,45,4,48,11,107,231,126,90,42,82,0,0,91,0,9,245,150,250,176,174,235,9,245,29] - 1
[2025-04-06 12:54:21] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":59243,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":1,"linkquality":83,"securityuse":0,"timestamp":13689919,"transseqnumber":0,"len":22,"data":{"type":"Buffer","data":[17,45,4,48,11,107,231,126,90,42,82,0,0,91,0,9,245,150,250,176,174,235]}}
[2025-04-06 12:54:21] debug: 	zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x21 srcID=1518266219 gpp=62729 rssi=22 linkQuality=High
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:21] debug: 	zh:controller: Received payload: clusterID=33, address=59243, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=83, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":45,"commandIdentifier":4},"payload":{"options":2304,"srcID":1518266219,"frameCounter":21034,"commandID":33,"payloadSize":0,"commandFrame":{},"gppNwkAddr":62729,"gppGpdLink":150},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:21] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":33,"frameCounter":21034,"gppGpdLink":150,"gppNwkAddr":62729,"options":2304,"payloadSize":0,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,2,0,103]
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,2,0,103]
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 2 - [0] - 103
[2025-04-06 12:54:21] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequestExt - {"status":0}
[2025-04-06 12:54:21] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:23] debug: 	zh:zstack:unpi:parser: <-- [254,42,68,129,0,0,33,0,84,95,242,242,0,138,0,61,172,211,0,0,22,17,54,4,48,11,107,231,126,90,51,82,0,0,178,0,84,95,209,106,118,10,226,84,95,29,64]
[2025-04-06 12:54:23] debug: 	zh:zstack:unpi:parser: --- parseNext [254,42,68,129,0,0,33,0,84,95,242,242,0,138,0,61,172,211,0,0,22,17,54,4,48,11,107,231,126,90,51,82,0,0,178,0,84,95,209,106,118,10,226,84,95,29,64]
[2025-04-06 12:54:23] debug: 	zh:zstack:unpi:parser: --> parsed 42 - 2 - 4 - 129 - [0,0,33,0,84,95,242,242,0,138,0,61,172,211,0,0,22,17,54,4,48,11,107,231,126,90,51,82,0,0,178,0,84,95,209,106,118,10,226,84,95,29] - 64
[2025-04-06 12:54:23] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":24404,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":0,"linkquality":138,"securityuse":0,"timestamp":13872189,"transseqnumber":0,"len":22,"data":{"type":"Buffer","data":[17,54,4,48,11,107,231,126,90,51,82,0,0,178,0,84,95,209,106,118,10,226]}}
[2025-04-06 12:54:23] debug: 	zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x21 srcID=1518266219 gpp=24404 rssi=17 linkQuality=Excellent
[2025-04-06 12:54:23] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:23] debug: 	zh:controller: Received payload: clusterID=33, address=24404, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=false, linkQuality=138, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":54,"commandIdentifier":4},"payload":{"options":2304,"srcID":1518266219,"frameCounter":21043,"commandID":33,"payloadSize":0,"commandFrame":{},"gppNwkAddr":24404,"gppGpdLink":209},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:23] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":33,"frameCounter":21043,"gppGpdLink":209,"gppNwkAddr":24404,"options":2304,"payloadSize":0,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:23] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000005a7ee76b', payload '{"action":"on","linkquality":138,"payload":[]}'
[2025-04-06 12:54:23] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000005a7ee76b/action', payload 'on'
[2025-04-06 12:54:24] debug: 	zh:zstack:unpi:parser: <-- [254,42,68,129,0,0,33,0,107,231,242,242,1,83,0,203,179,211,0,0,22,17,46,4,48,11,107,231,126,90,51,82,0,0,178,0,9,245,151,106,118,10,226,9,245,29,168]
[2025-04-06 12:54:24] debug: 	zh:zstack:unpi:parser: --- parseNext [254,42,68,129,0,0,33,0,107,231,242,242,1,83,0,203,179,211,0,0,22,17,46,4,48,11,107,231,126,90,51,82,0,0,178,0,9,245,151,106,118,10,226,9,245,29,168]
[2025-04-06 12:54:24] debug: 	zh:zstack:unpi:parser: --> parsed 42 - 2 - 4 - 129 - [0,0,33,0,107,231,242,242,1,83,0,203,179,211,0,0,22,17,46,4,48,11,107,231,126,90,51,82,0,0,178,0,9,245,151,106,118,10,226,9,245,29] - 168
[2025-04-06 12:54:24] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":59243,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":1,"linkquality":83,"securityuse":0,"timestamp":13874123,"transseqnumber":0,"len":22,"data":{"type":"Buffer","data":[17,46,4,48,11,107,231,126,90,51,82,0,0,178,0,9,245,151,106,118,10,226]}}
[2025-04-06 12:54:24] debug: 	zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x21 srcID=1518266219 gpp=62729 rssi=23 linkQuality=High
[2025-04-06 12:54:24] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:24] debug: 	zh:controller: Received payload: clusterID=33, address=59243, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=83, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":46,"commandIdentifier":4},"payload":{"options":2304,"srcID":1518266219,"frameCounter":21043,"commandID":33,"payloadSize":0,"commandFrame":{},"gppNwkAddr":62729,"gppGpdLink":151},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:24] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":33,"frameCounter":21043,"gppGpdLink":151,"gppNwkAddr":62729,"options":2304,"payloadSize":0,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:24] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,2,0,103]
[2025-04-06 12:54:24] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,2,0,103]
[2025-04-06 12:54:24] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 2 - [0] - 103
[2025-04-06 12:54:24] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequestExt - {"status":0}
[2025-04-06 12:54:24] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: <-- [254,42,68,129,0,0,33,0,84,95,242,242,0,142,0,240,203,214,0,0,22,17,55,4,48,11,107,231,126,90,60,82,0,0,193,0,84,95,209,196,164,156,96,84,95,29,254]
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --- parseNext [254,42,68,129,0,0,33,0,84,95,242,242,0,142,0,240,203,214,0,0,22,17,55,4,48,11,107,231,126,90,60,82,0,0,193,0,84,95,209,196,164,156,96,84,95,29,254]
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --> parsed 42 - 2 - 4 - 129 - [0,0,33,0,84,95,242,242,0,142,0,240,203,214,0,0,22,17,55,4,48,11,107,231,126,90,60,82,0,0,193,0,84,95,209,196,164,156,96,84,95,29] - 254
[2025-04-06 12:54:27] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":24404,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":0,"linkquality":142,"securityuse":0,"timestamp":14076912,"transseqnumber":0,"len":22,"data":{"type":"Buffer","data":[17,55,4,48,11,107,231,126,90,60,82,0,0,193,0,84,95,209,196,164,156,96]}}
[2025-04-06 12:54:27] debug: 	zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x20 srcID=1518266219 gpp=24404 rssi=17 linkQuality=Excellent
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:27] debug: 	zh:controller: Received payload: clusterID=33, address=24404, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=false, linkQuality=142, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":55,"commandIdentifier":4},"payload":{"options":2304,"srcID":1518266219,"frameCounter":21052,"commandID":32,"payloadSize":0,"commandFrame":{},"gppNwkAddr":24404,"gppGpdLink":209},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:27] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":32,"frameCounter":21052,"gppGpdLink":209,"gppNwkAddr":24404,"options":2304,"payloadSize":0,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:27] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000005a7ee76b', payload '{"action":"off","linkquality":142,"payload":[]}'
[2025-04-06 12:54:27] info: 	z2m:mqtt: MQTT publish: topic 'homeassistant/device_automation/0x000000005a7ee76b/action_off/config', payload '{"automation_type":"trigger","device":{"identifiers":["zigbee2mqtt_0x000000005a7ee76b"],"manufacturer":"","model":"Automatically generated definition for Green Power","model_id":"GreenPower_2","name":"0x000000005a7ee76b","via_device":"zigbee2mqtt_bridge_0x00124b002a2f0dad"},"origin":{"name":"Zigbee2MQTT","sw":"2.2.1-dev","url":"https://www.zigbee2mqtt.io"},"payload":"off","subtype":"off","topic":"zigbee2mqtt/0x000000005a7ee76b/action","type":"action"}'
[2025-04-06 12:54:27] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000005a7ee76b/action', payload 'off'
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: <-- [254,42,68,129,0,0,33,0,107,231,242,242,1,83,0,29,212,214,0,0,22,17,47,4,48,11,107,231,126,90,60,82,0,0,193,0,9,245,148,196,164,156,96,9,245,29,10]
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --- parseNext [254,42,68,129,0,0,33,0,107,231,242,242,1,83,0,29,212,214,0,0,22,17,47,4,48,11,107,231,126,90,60,82,0,0,193,0,9,245,148,196,164,156,96,9,245,29,10]
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --> parsed 42 - 2 - 4 - 129 - [0,0,33,0,107,231,242,242,1,83,0,29,212,214,0,0,22,17,47,4,48,11,107,231,126,90,60,82,0,0,193,0,9,245,148,196,164,156,96,9,245,29] - 10
[2025-04-06 12:54:27] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":59243,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":1,"linkquality":83,"securityuse":0,"timestamp":14079005,"transseqnumber":0,"len":22,"data":{"type":"Buffer","data":[17,47,4,48,11,107,231,126,90,60,82,0,0,193,0,9,245,148,196,164,156,96]}}
[2025-04-06 12:54:27] debug: 	zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x20 srcID=1518266219 gpp=62729 rssi=20 linkQuality=High
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:27] debug: 	zh:controller: Received payload: clusterID=33, address=59243, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=83, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":47,"commandIdentifier":4},"payload":{"options":2304,"srcID":1518266219,"frameCounter":21052,"commandID":32,"payloadSize":0,"commandFrame":{},"gppNwkAddr":62729,"gppGpdLink":148},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:27] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":32,"frameCounter":21052,"gppGpdLink":148,"gppNwkAddr":62729,"options":2304,"payloadSize":0,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,2,0,103]
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,2,0,103]
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 2 - [0] - 103
[2025-04-06 12:54:27] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequestExt - {"status":0}
[2025-04-06 12:54:27] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: <-- [254,42,68,129,0,0,33,0,84,95,242,242,0,112,0,21,113,217,0,0,22,17,56,4,48,11,107,231,126,90,69,82,0,0,2,0,84,95,210,58,184,90,45,84,95,29,143]
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --- parseNext [254,42,68,129,0,0,33,0,84,95,242,242,0,112,0,21,113,217,0,0,22,17,56,4,48,11,107,231,126,90,69,82,0,0,2,0,84,95,210,58,184,90,45,84,95,29,143]
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --> parsed 42 - 2 - 4 - 129 - [0,0,33,0,84,95,242,242,0,112,0,21,113,217,0,0,22,17,56,4,48,11,107,231,126,90,69,82,0,0,2,0,84,95,210,58,184,90,45,84,95,29] - 143
[2025-04-06 12:54:30] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":24404,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":0,"linkquality":112,"securityuse":0,"timestamp":14250261,"transseqnumber":0,"len":22,"data":{"type":"Buffer","data":[17,56,4,48,11,107,231,126,90,69,82,0,0,2,0,84,95,210,58,184,90,45]}}
[2025-04-06 12:54:30] debug: 	zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x20 srcID=1518266219 gpp=24404 rssi=18 linkQuality=Excellent
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:30] debug: 	zh:controller: Received payload: clusterID=33, address=24404, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=false, linkQuality=112, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":56,"commandIdentifier":4},"payload":{"options":2304,"srcID":1518266219,"frameCounter":21061,"commandID":32,"payloadSize":0,"commandFrame":{},"gppNwkAddr":24404,"gppGpdLink":210},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:30] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":32,"frameCounter":21061,"gppGpdLink":210,"gppNwkAddr":24404,"options":2304,"payloadSize":0,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:30] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000005a7ee76b', payload '{"action":"off","linkquality":112,"payload":[]}'
[2025-04-06 12:54:30] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/0x000000005a7ee76b/action', payload 'off'
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: <-- [254,42,68,129,0,0,33,0,107,231,242,242,1,83,0,244,120,217,0,0,22,17,48,4,48,11,107,231,126,90,69,82,0,0,2,0,9,245,149,58,184,90,45,9,245,29,141]
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --- parseNext [254,42,68,129,0,0,33,0,107,231,242,242,1,83,0,244,120,217,0,0,22,17,48,4,48,11,107,231,126,90,69,82,0,0,2,0,9,245,149,58,184,90,45,9,245,29,141]
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --> parsed 42 - 2 - 4 - 129 - [0,0,33,0,107,231,242,242,1,83,0,244,120,217,0,0,22,17,48,4,48,11,107,231,126,90,69,82,0,0,2,0,9,245,149,58,184,90,45,9,245,29] - 141
[2025-04-06 12:54:30] debug: 	zh:zstack:znp: <-- AREQ: AF - incomingMsg - {"groupid":0,"clusterid":33,"srcaddr":59243,"srcendpoint":242,"dstendpoint":242,"wasbroadcast":1,"linkquality":83,"securityuse":0,"timestamp":14252276,"transseqnumber":0,"len":22,"data":{"type":"Buffer","data":[17,48,4,48,11,107,231,126,90,69,82,0,0,2,0,9,245,149,58,184,90,45]}}
[2025-04-06 12:54:30] debug: 	zh:controller:greenpower: [UNHANDLED_CMD/PASSTHROUGH] command=0x20 srcID=1518266219 gpp=62729 rssi=21 linkQuality=High
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:30] debug: 	zh:controller: Received payload: clusterID=33, address=59243, groupID=0, endpoint=242, destinationEndpoint=242, wasBroadcast=true, linkQuality=83, frame={"header":{"frameControl":{"frameType":1,"manufacturerSpecific":false,"direction":0,"disableDefaultResponse":true,"reservedBits":0},"transactionSequenceNumber":48,"commandIdentifier":4},"payload":{"options":2304,"srcID":1518266219,"frameCounter":21061,"commandID":32,"payloadSize":0,"commandFrame":{},"gppNwkAddr":62729,"gppGpdLink":149},"command":{"ID":4,"parameters":[{"name":"options","type":25},{"name":"srcID","type":35,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":0}]},{"name":"gpdIEEEAddr","type":240,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"gpdEndpoint","type":32,"conditions":[{"type":"bitFieldEnum","param":"options","offset":0,"size":3,"value":2}]},{"name":"frameCounter","type":35},{"name":"commandID","type":32},{"name":"payloadSize","type":32},{"name":"commandFrame","type":1009,"conditions":[{"type":"bitMaskSet","param":"options","mask":48,"reversed":true},{"type":"bitMaskSet","param":"options","mask":512,"reversed":true}]},{"name":"gppNwkAddr","type":33,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"gppGpdLink","type":24,"conditions":[{"type":"bitMaskSet","param":"options","mask":2048}]},{"name":"mic","type":35,"conditions":[{"type":"bitMaskSet","param":"options","mask":512}]}],"name":"commissioningNotification"}}
[2025-04-06 12:54:30] debug: 	z2m: Received Zigbee message from '0x000000005a7ee76b', type 'commandCommissioningNotification', cluster 'greenPower', data '{"commandFrame":{},"commandID":32,"frameCounter":21061,"gppGpdLink":149,"gppNwkAddr":62729,"options":2304,"payloadSize":0,"srcID":1518266219}' from endpoint 242 with groupID 0
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,2,0,103]
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,2,0,103]
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 2 - [0] - 103
[2025-04-06 12:54:30] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequestExt - {"status":0}
[2025-04-06 12:54:30] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:32] debug: 	z2m:mqtt: Received MQTT message on 'zigbee2mqtt/bridge/request/permit_join' with data '{"device":"Ikea Light","time":0,"transaction":"b4zu9-3"}'
[2025-04-06 12:54:32] info: 	z2m: Zigbee: disabling joining new devices.
[2025-04-06 12:54:32] debug: 	zh:controller: Disable joining
[2025-04-06 12:54:32] debug: 	zh:zstack:znp: --> SREQ: AF - dataRequestExt - {"dstaddrmode":2,"dstaddr":"0x000000000000fffd","destendpoint":242,"dstpanid":0,"srcendpoint":242,"clusterid":33,"transid":87,"options":0,"radius":30,"len":6,"data":{"type":"Buffer","data":[25,117,2,10,0,0]}}
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:writer: --> frame [254,26,36,2,2,253,255,0,0,0,0,0,0,242,0,0,242,33,0,87,0,30,6,0,25,117,2,10,0,0,54]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: <-- [254,1,100,2,0,103]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,100,2,0,103]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 4 - 2 - [0] - 103
[2025-04-06 12:54:32] debug: 	zh:zstack:znp: <-- SRSP: AF - dataRequestExt - {"status":0}
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: <-- [254,3,68,128,0,242,87,98]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,68,128,0,242,87,98]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 4 - 128 - [0,242,87] - 98
[2025-04-06 12:54:32] debug: 	zh:zstack:znp: <-- AREQ: AF - dataConfirm - {"status":0,"endpoint":242,"transid":87}
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:writer: --> frame [254,5,37,54,15,252,255,0,1,27]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: <-- [254,1,101,54,0,82,254,3,69,182,0,0,0,240,254,10,69,255,0,0,0,54,128,0,114,0,0,0,116]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --- parseNext [254,1,101,54,0,82,254,3,69,182,0,0,0,240,254,10,69,255,0,0,0,54,128,0,114,0,0,0,116]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --> parsed 1 - 3 - 5 - 54 - [0] - 82
[2025-04-06 12:54:32] debug: 	zh:zstack:znp: <-- SRSP: ZDO - mgmtPermitJoinReq
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --- parseNext [254,3,69,182,0,0,0,240,254,10,69,255,0,0,0,54,128,0,114,0,0,0,116]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --> parsed 3 - 2 - 5 - 182 - [0,0,0] - 240
[2025-04-06 12:54:32] debug: 	zh:zstack:znp: <-- AREQ: ZDO - mgmtPermitJoinRsp
[2025-04-06 12:54:32] debug: 	zh:controller: Received ZDO response: clusterId=PERMIT_JOINING_RESPONSE, status=SUCCESS, payload=undefined
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --- parseNext [254,10,69,255,0,0,0,54,128,0,114,0,0,0,116]
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --> parsed 10 - 2 - 5 - 255 - [0,0,0,54,128,0,114,0,0,0] - 116
[2025-04-06 12:54:32] debug: 	zh:zstack:znp: <-- AREQ: ZDO - msgCbIncoming
[2025-04-06 12:54:32] debug: 	zh:zstack:unpi:parser: --- parseNext []
[2025-04-06 12:54:32] info: 	z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"device":"Ikea Light","time":0},"status":"ok","transaction":"b4zu9-3"}'

Once pairing is disabled, messages are discarded - they start coming through after pairing is enabled again

@Nerivec
Copy link
Collaborator

Nerivec commented Apr 6, 2025

Let's move the conversation about permit join troubles to #25620 since this is no longer about the Moes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new device support New device support request
Projects
None yet