¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

Kyle, I got it working after a clean install.? Thanks for your help.


Re: https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

Hey, that's ok.? Thanks much for your help, your videos, and this project.? I'm looking forward to using it at our club (W9ATG) winter field day.? I think at this point I'll just start over and bake a new pi (hi hi).? I probably screwed something up the first time.? 73's jon


Re: https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

Jon,

You're above my troubleshooting level now.? Maybe someone else can chime in here as I think you've got some deeper issues of just trying to load the dashboard as it's not installing or recognizing some of your pallet nodes.? There is also a Node Red forum on the Node Red website that you can probably muster up some help, as there are back end developers that monitor that forum.

Thanks
Kyle
AA0Z


Re: https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

After the uninstall, I rebooted it.? Then in user settings, searched for node-red-node-sqlite and it says it is still installed.? So, I can't install it via the GUI.


Re: https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

Thanks for your help, Kyle.?? Can I ignore these warnings on the uninstall?:

?

pi@raspberrypi:~ $ sudo npm uninstall node-red-node-sqlite

npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'

npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'

npm WARN pi No description

npm WARN pi No repository field.

npm WARN pi No README data

npm WARN pi No license field.

I also notice a file, package-lock.json,? in the home/pi directory.? Is that normal?

Jon, WB9CNE


Re: https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

I would remove the sqlite node and reinstall.? You might need to remove the sqlite node manually via the command prompt.? I think all the nodes in Node Red are installed though the npm manager.

I would try issuing sudo npm uninstall node-red-node-sqlite and let it do it's thing, reboot and try installing again letting the install finish with the GUI before moving on.? It will take a while.? Maybe 15 mins or so.

Kyle
AA0Z


Re: https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

Yes, everything was done from the Pi login.? I did the reboot but get the same error message.? Also, on user settings, under nodes tab, on the node-red-node-sqlite node, it reads "MODULE_NOT_FOUND" with "remove" and "disable all" buttons on the right.


Re: https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

Jon, I've never seen that error before, so I'm going out on a limb here, but you installed Node Red and installed sqlite back end server under the same username, correct??

I would do a reboot of the Pi to make sure there isn't something hung up on your install.? Keep in mind, it takes around 15 mins to install sqlite node on a 3b+.

Kyle
AA0Z


Re: Global variable initialized as number errors as NaN

 

¿ªÔÆÌåÓý

Hi George,

?

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 ?

?

73

Dave wo2x

?

?

?

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.

Thanks,

George / W7GES


https://github.com/kylekrieg/Node-Red-Contesting-Dashboard

 

I created a new project and cloned .? I get an error "flows stopped due to missing node types" sqlitedb and sqlite.? In manage dependencies node-red-node-sqlite is on the list but greyed out and the only action is to "remove from project".? Under manage palett install tab, I search for it and it indicates it is installed.? I have tried to re-clone the dashboard twice with no change.?? I uninstalled and re-installed node-red-node_Why can't it find the node types?
Node red just installed yesterday on raspberry pi 3b+ with new install of raspberry pi os.? I followed install instructions in? install.md file at github.


Denkovi 16 port relay board & intellnet 8 Port Intelligent PDU

 

Hello,

any one using node-red flows for?Denkovi 16 port relay board & intellinet 8 Port Intelligent PDU ?

?




Thanks


Re: 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.

Thanks,

George / W7GES


Re: File /!1! Flows by Type/SVG Based Flows/Tuner Sweep.json uploaded #file-notice

 

Thanks, Bret

It would be easy enough to add Antenna information to the Tuner Sweep Dashboard, but for now, I think it would take away from the Tuner Sweep's KISS approach. ?Dave, what do you think?

Our next big idea is to have the frequency bars change colors to show the SWR levels and other stuff.....I sent Dave the HTML code, and Dave is working out the details of the color schemes and "other stuff". ? ?Stand by for the next update.

Alan. WA9WUD


Re: File /!1! Flows by Type/SVG Based Flows/Tuner Sweep.json uploaded #file-notice

 

This looks very good indeed?and really takes advantage of the Capabilities of the Tuner Genius and a huge thanks to you Alan and Dave.
I was thinking maybe if there was a way to add the Antenna Genius Antenna selected to show in the Flow somewhere? and there could be a way to step through the Antenna ports?

Thanks again guys and I would be available?to test?your flows if you need someone to test stuff, Not a very good code writer?for sure but I can usually muddle my way through if I have something to look at.

73's
Bret
WX7Y


--
YMMV
73
Bret
WX7Y


Re: File Notifications #file-notice

 

Added the WO2X modified "Skinny" Bar Chart and made it the default chart. ?The "Fat" Bar Chart is available but not wired in:


Also, on the Tuner Sweep, added a display to show "Tuner Solution" status, with a five-second countdown. ?If you have a segment of frequency set up in the Tuner Genius, set to not tune (because tuning is not required) when the Tuner Sweep sequencer reaches this segment, the "Tuner Solution" will display, "Tuner Solution-None," and after five seconds, will continue to finish the remaining frequency sweep sequence.

Here is the new dashboard, with "Skinny" bars and the new Tune Solution status:



Here is the "Tuner Solution" status, when it encounters a frequency that has been bypassed in the Tuner. ?After five seconds, the sequencer will move onto the next frequency:



Dave, WO2X, will be making a video on his integrated Flex/Tuner Genius/Tuner Sweep flow set. ?That set has been posted in the Tuner Section.

Alan. WA9WUD


File Notifications #file-notice

Group Notification
 

The following files and folders have been updated in the Files area of the [email protected] group.

By: Alan Blind, WA9WUD <a.alan.blind@...>

Description:
Update> Added the WO2X "Skinny" Bar Chart as the default. The "Fat" Bar Chart function is also available but not wired in>> SVG Based SWR Sweep Flow. Will work stand alone with any Flex Radio? The SVG SWR Sweep portion will work with any radio type that can receive Tune and Set Radio Commands from Node-Red. Please E-Mail me for specific help with your radio.


The following files and folders have been updated in the Files area of the [email protected] group.

By: Alan Blind, WA9WUD <a.alan.blind@...>

Description:
Update> Added the WO2X "Skinny" Bar Chart as the default. The "Fat" Bar Chart function is also available but not wired in. Added Tuner Solution Status to the Dashboard and sequencer >>Tuner Sweep. Using the 403A, Flex, Tuner Genius, teaches the TG-XL tuner the tuning solution for any range of frequencies and step size within the selected frequency range. Requires the WO2X Tuner Genius Flow.


The following files and folders have been uploaded to the Files area of the [email protected] group.

By: Alan Blind, WA9WUD <a.alan.blind@...>

Description:
I am uploading the integrated Flex Tuner Genius Package per Dave's request. We integrated three flows, WO2X Flex Radio, WO2X Tuner Genius, and WA9WUD Tuner Sweep.


Re: Global variable initialized as number errors as NaN

 

¿ªÔÆÌåÓý

Thanks Mick,

? My issue is the other way around. ?

? My Node Red function is sending the Non Numeric to the MOAS II server.?

? I will try adding the node.status anyway to see what is being sent instead of the sequence number. ??

? I will also try hard coding a number to see if that confirms the problem is truly with my Node Red flow and not the MOAS II server.?

Thanks again,

George / W7GES?

On Jul 6, 2022, at 6:06 PM, Mick - W8BE <w8bea2b2c2@...> wrote:

?George,

It sounds like the MOAS II server is not sending the numeric data the function is looking for.? ?Even if you set it to a default number then server may be overwriting the variable with NaN when the msg arrives.? ?You can add this to your code to see the status of the variable on the node in the editor

node.status({text:(?"txstatus"?+?variable_a)});

Then you will see the status on the function:

dummyfile.0.part

This may help your debug.

Regards
--
Mick, W8BE


Re: Global variable initialized as number errors as NaN

 

George,

It sounds like the MOAS II server is not sending the numeric data the function is looking for.? ?Even if you set it to a default number then server may be overwriting the variable with NaN when the msg arrives.? ?You can add this to your code to see the status of the variable on the node in the editor

node.status({text:(?"txstatus"?+?variable_a)});

Then you will see the status on the function:



This may help your debug.

Regards
--
Mick, W8BE


Global variable initialized as number errors as NaN

 

Hi,

I worked on a couple of flows a few months ago that have been working pretty well.

They interface with my YCCC MOAS II switch and N1MM UDP packets to show me the available antennas for each of my SO2R radios and allow me to pick the available antenna combination I would like to use for each radio.

I use two flows as I want my dashboard to show available antennas for the left rig and right rig on the appropriate side of the dashboard. The data the flows get from the N1MM UDP packets and the YCCC MOAS II switch are shared between the 2 flows with connectors.

I use Node Red global variables to store some of the data that needs to be used between nodes and flows.

The YCCC MOAS II switch reads and writes JSON messages.

The message that is sent to change antennas uses a sequence number. I don¡¯t think this is a critical number used for any special purpose but there is an informational message the server displays if the message is received out of numerical sequence or if I just hard code a sequence number.

For a few months now the flows have worked very well. Whether I change the rig frequency via N1MM or the rig front panel the Node Red flow updates with the correct antenna as shown on the YCCC MOAS II windows client.

If I select a different antenna via the client or the Node Red flow the appropriate antenna is changed.

About a week ago I started getting a message in the MOAS II server that the sequence number from the Node Red flow was not numeric. I checked the JSON object Sequence Number field in the Node Red information panel and sure enough it confirms that field is NaN (not a number).

I double-checked the Config node that initiates the global variable is set to numeric. I checked the flow function nodes where I get the variable, create the json object with the variable and increment the variable (variable + 1, write global variable).

I also added a ParseInt to the function variable just before creating the JSON message.

I¡¯m still getting the non numeric error from the MOAS II server and the JSON object still shows NaN in the sequence number field when I look at the information pane in Node Red.

I thought rebooting the Node Red computer might resolve an issue in case there was some kind of memory leak problem but that didn¡¯t work either.

I¡¯m running Node Red on a Debian install using a mini-pc.

My other flows have been working before and after this problem with my numeric Global Variable.

Have any of you seen a similar problem?

73,

George / W7GES


This is a pick of the working MOAS II flows, the buttons are all grayed out with no labels when the flow sends non numeric sequence numbers.


Re: File /!1! Flows by Type/SVG Based Flows/Tuner Sweep.json uploaded #file-notice

 

¿ªÔÆÌåÓý

Alan and I are continuing to tweak the Auto Tune flow (it is more than just an SWR sweep at this time). Alan is adding ability to show a success/fail for each tuning memory when performing the auto tune.

?

Alan, feel free to upload the zip file with my radio and TG XL flows when you are completed.

?

The three flows in the zip file will work together as there are link in & out nodes between the flows. You would need to uninstall the Flex Radio and Tuner Genius flows first, deploy, then import the three flows in the zip.

?

We¡¯ll come up with some documentation as Alan has standard and customizable features in his auto tune flow. I am going to do a video of it in action as well.

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Alan Blind, WA9WUD
Sent: Tuesday, July 5, 2022 6:23 PM
To: [email protected]
Subject: Re: [nodered-hamradio] File /!1! Flows by Type/SVG Based Flows/Tuner Sweep.json uploaded #file-notice

?

Dave

I agree, links are better then MQTT....in my case, two different machines...so....MQTT.

FYI, here are screenshots of the WO2X TG-XL Flow connections to the Sweep Flow:

Alan