I¡¯m late to the party on this conversation. Been hectic here (and they say you relax in retirement).
?
In the future use the debug node liberally to look at data at every point in the flow. In the debug panel you would see the payload as buffer, string, or number.
?
The debug node is also good for people new to Node Red so they can import a flow for equipment they have and see how each node affects the ¡°payload¡± as the data moves between nodes. It helps you understand how flows are written. Kind of like reverse engineering the flow. Everything in Node Red is in the public domain so plagiarism is OK ?
From:[email protected] <[email protected]> On Behalf Of George / W7GES Sent: Thursday, July 7, 2022 5:54 PM To:[email protected] Subject: Re: [nodered-hamradio] Global variable initialized as number errors as NaN
?
I looked over the flows again today.
I found a spot in one of the first flow function nodes that was set to flow.get instead of global.get.?
For some reason it worked for a while...? After changing the function to look up the global variable the flows started working again.