I'm a beginner of Node-Red and I just a little help here.
I have a power monitor node with the two events below. After this node I created a message with cast node. Actually I get two messages from the power monitor node, when it's start and when it's stopped. But I just need a "signal" when it's stopped (event: "stop").
How can I filter this so that my message became active when the event: "stop" appears?
I tried switch node without success. Could somebody help me?
See below for reference, but in short - copy the path to the event property, paste it into a switch node property, check that it ==stop
There’s a great page in the docs that will explain how to use the debug panel to find the right path to any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
As a new user, I recommend watching this playlist: Node-RED Essentials. The videos are done by the developers of node-red. They're nice & short and to the point. You will understand a whole lot more in about 1 hour. A small investment for a lot of gain.