zigbee2mqtt icon indicating copy to clipboard operation
zigbee2mqtt copied to clipboard

ptvo.switch stops working after Z2MQTT upgrade (from 1.30.4-1 to 1.31.0-1)

Open OskarL83 opened this issue 3 years ago • 21 comments

What happened?

Device (ptvo.switch) do not show anything more than linkquality after upgrade of Z2MQTT. After restore from backup, to previous version of Z2MQTT, it's working again - and everything is exposed.

What did you expect to happen?

That the device kept working after Z2MQTT upgrade.

How to reproduce it (minimal and precise)

Install 1.31.0-1

Zigbee2MQTT version

1.31.0-1

Adapter firmware version

20211217

Adapter

SONOFF ZigBee 3.0 USB DONGLE PLUS (TI CC2652P+CP2002N)

Debug log

No response

OskarL83 avatar Jun 06 '23 05:06 OskarL83

Same issue, under status it only displays link quality. Contacts are not working and only action or off (general) are displayed.

Dennisd80 avatar Jun 10 '23 16:06 Dennisd80

I have the same problem.

C09038 avatar Jun 15 '23 20:06 C09038

Same issue here. Also with Sonoff stick which is on version 20220219.

Update to Zigbee2MQTT 1.31.2 did not solve the problem. Reconfiguration of the device did not fix the problem either.

Logs display no problems. Latest log info: 2023-06-15 22:14:09MQTT publish: topic 'zigbee2mqtt/fuse box relay', payload '{"last_seen":"2023-06-15T22:14:09+02:00","linkquality":47,"state":"ON","state_action":"OFF","state_l1":"OFF","state_l2":"OFF","state_l3":"OFF","state_l4":"OFF","state_l5":"OFF","state_l6":"OFF","state_l7":"OFF","state_l8":"OFF"}'

My board has push buttons. Manually turning on either of the 4 relays seem to trigger "state" from "OFF" to "ON". It doesn't matter which of the 4 relays and how many are turned on. "state_I1" through "state_I8" never seem to change.

jvan1268 avatar Jun 15 '23 20:06 jvan1268

@ptvoinfo I think this broke due to https://github.com/Koenkk/zigbee-herdsman-converters/pull/5792

Koenkk avatar Jun 17 '23 07:06 Koenkk

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[bot] avatar Jul 18 '23 00:07 github-actions[bot]

the fix does not work for me, commented in the other issue: https://github.com/Koenkk/zigbee-herdsman-converters/pull/5894#issuecomment-1640917805

kasprk avatar Jul 18 '23 20:07 kasprk

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[bot] avatar Aug 19 '23 00:08 github-actions[bot]

Not stale.

PetrP2B avatar Aug 19 '23 07:08 PetrP2B

The latest version of Edge with PTVO firmware works. It was necessary to wipe the device and pair it again. Everything works through HA, but in Z2M it reports an error. obrazek

PetrP2B avatar Aug 29 '23 17:08 PetrP2B

Everything works correctly in the latest version of Edge and Stable. Thanks

PetrP2B avatar Sep 05 '23 07:09 PetrP2B

Everything works correctly in the latest version of Edge and Stable. Thanks

OK. Without wipe and re-pair of devices?

OskarL83 avatar Sep 05 '23 07:09 OskarL83

I installed the latest versions of Z2M and everything was running. I didn't have to remove and pair the device again.

PetrP2B avatar Sep 05 '23 07:09 PetrP2B

I installed the latest versions of Z2M and everything was running. I didn't have to remove and pair the device again.

Didn't work here. :-(

OskarL83 avatar Sep 05 '23 10:09 OskarL83

It worked with the Edge version, available on 29/08/2023, but could not get to the interface, see the image above, in this version (1.33.0-dev commit: 3285850) it works correctly for me. obrazek obrazek

PetrP2B avatar Sep 05 '23 10:09 PetrP2B

Ok. I got this on stable, 1.33.0-1. IMG_20230905_213718

OskarL83 avatar Sep 05 '23 19:09 OskarL83

I just had one of these delivered and was intending to use it to monitor a few switch inputs; however, Z2M registers it as a ptvo.switch and only exposes the 4 digital outputs. A change of state on the digital inputs comes through as an action only, and that action is immediately overwritten by an empty string or the next thing to occur so I can't view the current state of any input.

Is there something I'm missing to get these inputs available in Z2M and therefore Home Assistant?

I have tried on 1.33.0 as well as the Edge release (development branch, as of today).

triosniolin avatar Sep 12 '23 23:09 triosniolin

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[bot] avatar Oct 13 '23 00:10 github-actions[bot]

Not stale

OskarL83 avatar Oct 21 '23 00:10 OskarL83

@OskarL83 Please describe again what is not working in your case. I'm sorry, but I cannot read error messages in your language from the screenshot.

ptvoinfo avatar Oct 21 '23 05:10 ptvoinfo

After upgrade, the multi channel relay is not working.

Before upgrade: Screenshot_2023-10-21-11-04-02-153_io homeassistant companion android Screenshot_2023-10-21-11-04-27-665_io homeassistant companion android Screenshot_2023-10-21-11-03-13-473_io homeassistant companion android Screenshot_2023-10-21-11-03-28-054_io homeassistant companion android

After upgrade: Screenshot_2023-10-21-09-08-35-832_io homeassistant companion android Screenshot_2023-10-21-09-08-44-553_io homeassistant companion android Screenshot_2023-10-21-09-09-23-144_io homeassistant companion android

OskarL83 avatar Oct 21 '23 09:10 OskarL83