I have a zigbee doorbell, its default action is "single" click. And it is the default state. So when I restart node-red it triggers the doorbell. This is annoying as I don't want this to happen when im updating the server etc.
Any suggestions on disabling the doorbell update on the start? Maybe using a startup timer?
I don't understand exactly what is happening. Do you mean that on startup something is sending a message? Add debug nodes to work out exactly what is happening. If it is a contrib node that is sending a message then tell us what it is.
Also please export and post just the nodes in your flow that are causing the problem. That should not need to be more than about five nodes.
Ok ive found my issue was that mosquitto persistence setting was enabled. Whenever a mqtt connection was established, all the signals would be sent to the client. In my case triggering the doorbell through node-red.
Is there an option to ignore all the initial messages when node-red connects to an mqtt server?