zachowj / hass-node-red

Companion Component for node-red-contrib-home-assistant-websocket to help integrate Node-RED with Home Assistant Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

after upgrade to 3.01 device trigger stopped working in nodered

kgiedrius opened this issue · comments

I use zigbee2mqtt and device trigger node in nodered to trigger state changes from zigbee devices.
After upgrading to 3.0.1 - this node do not react at all.
Downgraded to 2.x version and everything works again

commented

Are you running node-red-contrib-home-assistant-websocket 0.57+?

https://github.com/zachowj/hass-node-red/releases/tag/v3.0.0

issue with this one: https://github.com/zachowj/hass-node-red/releases/tag/v3.0.1
With nodered 14.5.0

where to check: node-red-contrib-home-assistant-websocket ?

commented

Under manage palette in Node-RED

image

Not sure if this is related. I have 0.57.2 for the websocket node. I noticed that the "trigger: state" doesn't let me check the current state of a helper of type input_boolean against a boolean:
image
If I match it against a string "on", it works.
image

It also explains why in my case, some stopped working while others (where I had it set to "on") happily work.

image

So then you first need to upgrade that module, then update this custom integration in HACS, then stop Node-Red, restart HA, and start Node-Red. For me, that solved the problem.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.