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

[EnOcean PTM 216Z] Cannot read properties of undefined (reading 'raw') #17104

Closed
Thib1404 opened this issue Mar 21, 2023 · 4 comments
Closed
Labels
problem Something isn't working stale Stale issues

Comments

@Thib1404
Copy link

What happened?

I have a Zigbee Green Power switch, a EnOcean PTM 216Z.
The device is supported.
I followed the pairing intructions for channel 25 as mentioned on this two links ;
https://www.zigbee2mqtt.io/devices/PTM_216Z.html
https://www.enocean.com/wp-content/uploads/downloads-produkte/en/products/enocean_modules_24ghz/ptm-216z/user-manual-pdf/PTM-216Z-User-Manual-1.pdf
-> Section 5.2

The device pairs and appears in the list of devices.
I have a philips Hue on the network. A Gu10 white and color. I also tried with a e25 w&c and a hue play bar.

When pressing any button on the switch I have this error

Zigbee2MQTT:error 2023-03-21 20:47:57: Exception while calling fromZigbee converter: Cannot read properties of undefined (reading 'raw')}
Zigbee2MQTT:debug 2023-03-21 20:47:57: TypeError: Cannot read properties of undefined (reading 'raw')
at Object.convert (/app/node_modules/zigbee-herdsman-converters/converters/fromZigbee.js:4886:62)
at Receive.onDeviceMessage (/app/lib/extension/receive.ts:143:51)
at EventEmitter.emit (node:events:525:35)
at EventBus.emitDeviceMessage (/app/lib/eventBus.ts:102:22)
at Controller. (/app/lib/zigbee.ts:106:27)
at Controller.emit (node:events:513:28)
at Controller.selfAndDeviceEmit (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:515:14)
at Controller.onZclOrRawData (/app/node_modules/zigbee-herdsman/src/controller/controller.ts:726:18)

image

What did you expect to happen?

Not an error

image

How to reproduce it (minimal and precise)

No response

Zigbee2MQTT version

1.30.2

Adapter firmware version

6.10.3.0 build 297

Adapter

SONOFF ZBDongle-E

Debug log

log.txt

@Thib1404 Thib1404 added the problem Something isn't working label Mar 21, 2023
@github-actions
Copy link
Contributor

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

@github-actions github-actions bot added the stale Stale issues label Apr 21, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 29, 2023
@GhisHD
Copy link

GhisHD commented Oct 1, 2023

Hello @Thib1404
I am facing the same issue .

Did you solve the issue finally ?

@sebastienserre
Copy link

Same issue here

@danielpetrovic
Copy link

No problems here, but I am using the Niko FriendsOfHue which are based on the PTM 215Z .

Keep in mind that for Zigbee Green Power to work, that your button needs to be in the region of the Hue lamp that you want to use as 'translator' for the Zigbee Green Power messages. Simply having the Hue lamps inside your Zigbee network is not enough. You don't need to control that specific light with it, it is just the translator.

When pairing it is advisable to select a specific Hue light to 'pair' it with instead of through 'all' . This way you are only sending unicast Zigbee signals and this will enhance your performance greatly, especially on bigger Zigbee networks.

We have only Hue lights, 47 all across the house and outside, so I can place the Friends of Hue buttons anywhere and have currently 12 of them working with 0 issues. We are using them to control our Somfy RTS and IO motors through HA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working stale Stale issues
Projects
None yet
Development

No branches or pull requests

4 participants