Zigbee Device Monitoring Flow

Go to context and go under flow and refresh that and see what actually exists. You’re looking for what begins with dh*_

They need to be listed in there.
image

the 0 is for more information, but won’t be necessary after this.

does your flow include the inject nodes?

Yes, I have the inject nodes. I was looking at the stuff under Globals, not Flow. All the stuff under Flow seems to be correct.

What’s the difference between the data under flow and global (for the flow, I know generally).

Also, why does the STATUS inject node delete all the data under globals?

The status inject node just injects status through. Doesn’t delete it.

can you provide screenshots?

Before inject

After inject

Yes, if they are off line, it will delete them from global.

Can you give me a screen shot of that entire context window on the right hand side of node red? Refresh flow. I’d like to see everything that will fit in a screenshot.

Context Flow, before.

Globals, before

Context Flow, after
no change

Globals after

we’re clearly missing something here. But we can’t see the whole picture the way that we need. Maybe we’ll need to do a chat to sort it out later.

1 Like

The current function expects last_seen to be set to “epoch”, you have it set to “ISO8601”. Either the function node needs to be updated or the setting in Z2M changed:
image

Having the ISO8601 string in there is definitely more human-friendly, so maybe it could be worth making changes to the function node…

1 Like