addon-node-red icon indicating copy to clipboard operation
addon-node-red copied to clipboard

Zigbee2Mqtt Topic stopped working after 18.1.1 update

Open Marcos-kp opened this issue 1 year ago • 5 comments

Problem/Motivation

All my Zigbee buttons that have a mqtt node stopped working.

Expected behavior

When a button is pressed, I expect an action to appear in Node-red trough the mqtt node.

Actual behavior

Nothing happens, no output at all. When listening to events in HA, I get: event_type: state_changed data: entity_id: sensor.botao_escritorio_action old_state: entity_id: sensor.botao_escritorio_action state: single attributes: icon: mdi:gesture-double-tap friendly_name: Botão Escritório Action last_changed: "2024-10-03T17:11:06.599855+00:00" last_reported: "2024-10-03T17:11:06.599855+00:00" last_updated: "2024-10-03T17:11:06.599855+00:00" context: id: 01J99NT9K71DGK3F56MDYJDPFG parent_id: null user_id: null new_state: entity_id: sensor.botao_escritorio_action state: "" attributes: icon: mdi:gesture-double-tap friendly_name: Botão Escritório Action last_changed: "2024-10-03T17:11:06.601384+00:00" last_reported: "2024-10-03T17:11:06.601384+00:00" last_updated: "2024-10-03T17:11:06.601384+00:00" context: id: 01J99NT9K978F00V8XEEC4JDG0 parent_id: null user_id: null origin: LOCAL time_fired: "2024-10-03T17:11:06.601384+00:00" context: id: 01J99NT9K978F00V8XEEC4JDG0 parent_id: null user_id: null Logs: 3 Oct 14:33:32 - [error] [api-call-service:Desliga Luz Escritório] InputError: Invalid action format: single 3 Oct 14:33:33 - [error] [api-call-service:Liga Luz Escritório] InputError: Invalid action format: double 3 Oct 14:36:46 - [error] [api-call-service:Desliga Luz Escritório] InputError: Invalid action format: single Also looking at the Mqtt integration I see the action when pressing the button.

Marcos-kp avatar Oct 03 '24 17:10 Marcos-kp

The same here, with a response from a Yale device (door lock). It returns:

action: "unlock" action_source: 2 action_source_name: "manual" action_user: 0 auto_relock_time: null battery: 100 battery_low: null linkquality: 120 lock_state: "locked" pin_code: null sound_volume: null state: "LOCK"

and I receive error message about the "action" node, and I really don't know how could I fix it (should be fixed in the Z2M? In the Node Red add-on?)

"InputError: Invalid action format: unlock"

gregolin avatar Oct 03 '24 19:10 gregolin

Issue I reported looks to be the same. https://github.com/hassio-addons/addon-node-red/issues/1959#issue-2561004792

dacorde avatar Oct 03 '24 21:10 dacorde

Just confirming that rolling back to 18.0.5, things work again. I also had an issue where I wasn't able to interact with inject nodes.

Marcos-kp avatar Oct 04 '24 13:10 Marcos-kp

Hi everyone. Any news here?

gregolin avatar Oct 09 '24 20:10 gregolin

Just confirming that rolling back to 18.0.5, things work again. I also had an issue where I wasn't able to interact with inject nodes.

does it look like this? https://github.com/hassio-addons/addon-node-red/issues/1962#issuecomment-2400876693

and has anyone found a workaround? 18.1.1 does not seem to work for me.

Dodoooh avatar Oct 14 '24 14:10 Dodoooh

does it look like this? #1962 (comment)

Yes, it does! Still nothing from the developers, and I have no idea if these issues have been looked at.

Marcos-kp avatar Nov 05 '24 21:11 Marcos-kp

Also, I updated all my Node-RED palettes, updated Node-RED again to check, and still the issue with Z2MQTT persists but fixes the inject node issue. Rolling back to 18.0.5 makes things work again.

Marcos-kp avatar Nov 05 '24 21:11 Marcos-kp

Figured the issue: and its described here

Marcos-kp avatar Nov 05 '24 22:11 Marcos-kp