Simple Open AND and Close Flow

This is for Open and Close Gate
I'm having an issue with a flow in which I can't solve. I have tried several configuration but unable to get it done correctly. Here is change node set as
image
and here are the debug errors I'm receiving
image

Your post does not say what node.
Please post a simple flow showing issue, so we can see what is occurring.
How to import/export a flow

I have edited the topic category as this is not about developing a node.

Pure guessing: msg.payload isn't an object, but coming in e.g. as string.
Insert a debug node before the change node to verify the msg object that is sent.

Here is the node

Well it certainly won't work if you inject a timestamp into the change node, as msg.payload.status will not exist.

Here it is working.


Can you see the issue of posting an image?

2 Likes

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.