-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
PTVO CC2530 does not work after update #3877
Comments
@ptvoinfo can you check this? |
@Koenkk @PetrP2B I've renamed 'old-style' topic names like bottom_right to l1..l8. Also, I've updated HA integration. The end-user should change the old configuration manually. But the documentation (https://www.zigbee2mqtt.io/devices/ptvo.switch.html) is not updated yet. |
I have te same Issue (I use Domoticz) . |
Thanks to 9zigen I fix it.... The problem is in the zigbee2mqtt plugin: PTVOID = {'input1' : 'l1', Then restart Domoticz. Now I'm able to open and close my garage door ;-) |
How can I fix this in Home Assistant? |
At te bottom of this page, you will find the config: https://www.zigbee2mqtt.io/devices/ptvo.switch.html I think you need to replace bottom-right etc by l1, l2, etc. |
There has been a breaking change in the PTVO firmware and zigbee2mqtt. So after your zigbee2mqtt has been upgraded to > 1.14.1 the switch.0x00000_switch_bottom_left no longer functions, just replace this with switch.0x00000_switch_l1. switch.0x00000_switch_bottom_left => switch.0x00000_switch_l1 |
After the update, everything works. Thank you |
where it should be replaced ? |
In all the files where it has been used like : Automation, scripts and lovelace |
In HA switch panel, pvto switch entities are not functional, when I try to switch them on/off it causes an exception in zigbee2mqtt :
I can change entity ID from, say, "switch.relay_one_switch_bottom_left" to "switch.relay_one_switch_l1", but, mqtt event is still "zigbee2mqtt/relay_one/bottom_left/set ON" .
no automation / scripts are used at this moment, an attempt to create one leads to the same problem -- I am adding "Action" with Device, relay_one, toggle the switch entity, and get the same zigbee2mqtt error. HA and Z2M are running in docker containers, images were refreshed yesterday, MQTT persistent messages are cleared. What else I can do? |
ok, i see what happened, lib/extension/homeassistant.js survived docker image update and it still contained old definition of ptvo.switch . |
After the upgrade z2m from 1.10 to 1.14, the cc2530 modules with the PTVO firmware stopped working. When reverting a version of z2m to an older one, everything works fine. I also tried the latest version of PTVO, but without success.
Log: zigbee2mqtt: error 2020-07-08 22:48:18: Failed to call 'EntityPublish' 'onMQTTMessage' (AssertionError [ERR_ASSERTION]: Endpoint name 'bottom_right' is given but device has no such endpoint
at Zigbee.resolveEntity (/app/lib/zigbee.js:202:25)
at EntityPublish.onMQTTMessage (/app/lib/extension/publish.js:59:44)
at Controller.callExtensionMethod (/app/lib/controller.js:360:44)
at Controller.onMQTTMessage (/app/lib/controller.js:254:14)
at MQTT.emit (events.js: 315: 20)
at MQTT.onMessage (/app/lib/mqtt.js:95:14)
at MqttClient.emit (events.js: 315: 20)
at MqttClient._handlePublish (/app/node_modules/mqtt/lib/client.js:1269:12)
at MqttClient._handlePacket (/app/node_modules/mqtt/lib/client.js:409:12)
at work (/app/node_modules/mqtt/lib/client.js:320:12))
The text was updated successfully, but these errors were encountered: