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

The device DIYRuZ_rspm does not respond to commands from Zigbee2Mqtt #5632

Closed
khaidakin opened this issue Jan 8, 2021 · 12 comments
Closed
Labels
problem Something isn't working

Comments

@khaidakin
Copy link

What happened

The DIYRuZ_rspm device passes the interview normally, connects to the network, but does not respond to commands from zigbee2mqtt

What did you expect to happen

On earlier versions of z2m everything worked without problems, but on versions zigbee2mqtt@1.16.2 and later an error appears

How to reproduce it (minimal and precise)

Connect the device DIYRuZ_rspm and try to control it via z2m

Debug info

Zigbee2MQTT version: zigbee2mqtt@1.16.2
Adapter hardware: CC2538, CC2652-E72
Adapter firmware version: 20200921 (Egony)
https://pastebin.com/8r5YvnV4

@khaidakin khaidakin added the problem Something isn't working label Jan 8, 2021
@Koenkk
Copy link
Owner

Koenkk commented Jan 8, 2021

Does it correctly work with z2m 1.16.1?

@khaidakin
Copy link
Author

I just checked, on version 1.16.1 everything works fine

@Koenkk
Copy link
Owner

Koenkk commented Jan 8, 2021

Can you provide the same log as https://pastebin.com/8r5YvnV4 for z2m 1.16.1?

@khaidakin
Copy link
Author

Yes of course. Here you are https://pastebin.com/nQ4tyAYx

@Koenkk
Copy link
Owner

Koenkk commented Jan 8, 2021

@khaidakin
Copy link
Author

Yes, it's the same stick. At the moment I am doing this on a test machine with a cc2538 stick and firmware https://github.com/jethome-ru/zigbee-firmware/blob/master/ti/coordinator/cc2538_cc2592/JH_2538_2592_ZNP_USB_20201010.hex
I can't sniff the traffic, since I don't have equipment for this. Sorry.

@khaidakin
Copy link
Author

On another working Raspberry I have a stick CC2652-E72 with firmware version: 20200921 (Egony) installed and there is a similar problem with the DIYRuZ_rspm

@Koenkk
Copy link
Owner

Koenkk commented Jan 8, 2021

Sorry, but I don't see a way to debug this without sniff. From the logs it looks like the device does just not respond to the requests

@khaidakin
Copy link
Author

Here is another log on the 2652 stick on version 1.16.1 https://pastebin.com/6FfU9D8r
I can now update the z2m version to the latest and send a log with an error on the stick 2652

@khaidakin
Copy link
Author

khaidakin commented Jan 8, 2021

Here's what I have done now. After the device worked fine for me on the stick 2652 and z2m 1.16.1, I updated the system to version 1.17.0. And after that everything worked fine for me again !!!
But then I removed DIYRuZ_rspm from the network and reconnected. Here is the join log: https://pastebin.com/AxMcBaHj
And after rejoin, I again have the same error: https://pastebin.com/GZAjsTZ1
And here you can clearly see that the problem is in z2m.

@Koenkk
Copy link
Owner

Koenkk commented Jan 8, 2021

Can you try updating the entry in devices.js to below?

{
    zigbeeModel: ['DIYRuZ_rspm'],
    model: 'DIYRuZ_rspm',
    vendor: 'DIYRuZ',
    description: '[DIYRuZ relay switch power meter](https://modkam.ru/?p=1309)',
    fromZigbee: [fz.diyruz_rspm],
    toZigbee: [tz.on_off],
    exposes: [e.switch(), e.power(), e.current(), e.cpu_temperature(), e.action(['hold', 'release'])],
    endpoint: (device) => {
        return {default: 8};
    },
},

@khaidakin
Copy link
Author

Everything works great again! Thank you very much!

Koenkk added a commit to Koenkk/zigbee-herdsman-converters that referenced this issue Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
problem Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants