开云体育

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

Re: Interest in Zoom presentation on loading nodes, flows and dashboard customizations?

 

开云体育

Hi Dave,

?

Welcome aboard!

?

I am doing a 1 hour Zoom presentation tomorrow night on exactly what you are asking. I am going to load a new Raspberry Pi 4 following the WiKi before the presentation then go through the steps to load necessary nodes, Flex Radio flows, and show how to access and customize the dashboard.

?

The Zoom meeting will be at 01:00 GMT (UTC) Thursday, which is 8 p.m. Eastern US Wednesday.

I know it is late for you so I will be recording the presentation and get it uploaded to YouTube.

I have sent the Zoom link in a separate email.

?

73

Dave wo2x

?

From: [email protected] <[email protected]> On Behalf Of Dave Spencer
Sent: Thursday, January 21, 2021 4:56 PM
To: [email protected]
Subject: Re: [nodered-hamradio] Interest in Zoom presentation on loading nodes, flows and dashboard customizations?

?

+1 from me please!
I'd really like to see some basic integration with a Flex from scratch.
I'm a total noob when it comes to programming so haven't got a clue how to interrogate the Flex with Node Red, though I do have it installed on a Pi4 8Gb and managed to get it to boot and shut down using Alexa via a relay board to the rear Rem On port

Cheers,

73
Dave M1SKA


Re: Interest in Zoom presentation on loading nodes, flows and dashboard customizations?

 

+1 from me please!
I'd really like to see some basic integration with a Flex from scratch.
I'm a total noob when it comes to programming so haven't got a clue how to interrogate the Flex with Node Red, though I do have it installed on a Pi4 8Gb and managed to get it to boot and shut down using Alexa via a relay board to the rear Rem On port

Cheers,

73
Dave M1SKA


Node Red Training - Getting Started After Loading Your Raspberry Pi

 

Hi all,

?I am going to host a 1 hour Zoom meeting tomorrow night, Wednesday January 27th at 8 p.m. Eastern U.S.?
?
?(That is 01:00 GMT January 28th)
?
?

I am going to cover what the next steps are after loading the Raspberry Pi with an operating system, Node Red, and FRStack. This will include:

- how to load additional nodes
- loading flows
- accessing dashboard
- customizing the dashboard

?

This is limited to 100 members but I will be recording the presentation for members to be able to watch at a later date.

?Here is the link.

?

?

73

Dave wo2x

?

David Decoons is inviting you to a scheduled Zoom meeting.

?

Topic: Node Red Training

Time: Jan 27, 2021 08:00 PM Eastern Time (US and Canada)

?

Join Zoom Meeting

?

Meeting ID: 849 5937 1020

Passcode: 823072

One tap mobile

+13017158592,,84959371020#,,,,*823072# US (Washington DC)

+13126266799,,84959371020#,,,,*823072# US (Chicago)

?

Dial by your location

??????? +1 301 715 8592 US (Washington DC)

??????? +1 312 626 6799 US (Chicago)

??????? +1 929 205 6099 US (New York)

??? ????+1 253 215 8782 US (Tacoma)

??????? +1 346 248 7799 US (Houston)

??????? +1 669 900 6833 US (San Jose)

Meeting ID: 849 5937 1020

Passcode: 823072

Find your local number:


Re: Getting started with Node Red

 

Thanks. Very helpful. I have graduated to 4th grade arithmetic and can now multiply numbers (LOL)!?
I'll move my future questions to a different thread

Fred?
K9SO


Re: Help with Modified MKCM SPE Amp.json

 

Success!

And success using the USB cable!

The secret sauce was making sure that the "SPEComPort" setting had the complete device path! I don't know why that was so difficult, but thanks for everyone who helped.

Now it's time to see if I can get fancy!

Scott,?W5NJK


Re: Added Folder /Array Solutions Stack Match With REST Commands #file-notice

 

My bad. ? ?Looked up a different "Scott" on QRZ.com

Alan

On Tue, Jan 26, 2021 at 11:04 AM Scott Dickson <w5wz@...> wrote:
No Stream Deck here!? No big deal.? Curious as to what led to that conclusion?

--Scott, W5WZ


Re: Added Folder /Array Solutions Stack Match With REST Commands #file-notice

 

No Stream Deck here!? No big deal.? Curious as to what led to that conclusion?

--Scott, W5WZ


Re: Array Solutions Stack Match ?

 

Scott

I think the problem you describe has been fixed. ?Please take a look at my latest version, including REST commands. ?

/g/nodered-hamradio/files/Array%20Solutions%20Stack%20Match%20With%20REST%20Commands

Alan


Re: Array Solutions Stack Match ?

 

Alan,

Wow!? That's going above and beyond!? I have only taken a quick look at it, and only see a minor issue.? It appears that once the AUX is turned on (Green) that there is no way to turn it off.? Granted, I'm only playing with it via the dashboard (and I'm operating my shack PC remotely, so there is no hardware, other the the RasPi connected).

--Scott, W5WZ


Re: Help with Modified MKCM SPE Amp.json

 

开云体育

yes that's correct.? I did sudo reboot not shutdown (but will have tried that by the time you read this :D )

Scott

On 1/25/2021 12:23 PM, David De Coons wo2x wrote:

OK, with USB cable plugged into the PC the Windows version works.

?

Next, to confirm, you did move the USB to the Pi? Did you reboot the Pi after plugging in the USB? Not just restart FRStack. From the terminal prompt

sudo shutdown -fr now

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Scott - W5NJK via groups.io
Sent: Monday, January 25, 2021 1:02 PM
To: [email protected]
Subject: Re: [nodered-hamradio] Help with Modified MKCM SPE Amp.json

?

Yes I did do the restarting (even reboot, although I know it's overkill).

I have the spe utility running on my windows machine, I'm not aware on a Linux version.

Ill look again for a firmware update, and may try and see if using the remote serial interface works any different.

Thanks for all your help!


Sent from ProtonMail mobile



-------- Original Message --------
On Jan 25, 2021, 11:46 AM, Alan Blind, WA9WUD < a.alan.blind@...> wrote:

?

Scott - Another thought.

?

Are you shutting down and restarting?FRStack after each change to the config file?

?

Shutdown Command. ? ??sudo systemctl stop FRStackWebApi

?

Start Command. ? ? ??sudo systemctl start FRStackWebApi

?

And then, make sure FRStack is running:

?

Status Command. ??systemctl status FRStackWebApi

?

?

Word of caution.? FRstack will fail to start if there are any syntax errors in the appsettings.json config file.? Good to check FRStack is running.

?

Alan?

-- 
--- Sent with ProtonMail Secure Email ---


Re: Help with Modified MKCM SPE Amp.json

 

开云体育

OK, with USB cable plugged into the PC the Windows version works.

?

Next, to confirm, you did move the USB to the Pi? Did you reboot the Pi after plugging in the USB? Not just restart FRStack. From the terminal prompt

sudo shutdown -fr now

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Scott - W5NJK via groups.io
Sent: Monday, January 25, 2021 1:02 PM
To: [email protected]
Subject: Re: [nodered-hamradio] Help with Modified MKCM SPE Amp.json

?

Yes I did do the restarting (even reboot, although I know it's overkill).

I have the spe utility running on my windows machine, I'm not aware on a Linux version.

Ill look again for a firmware update, and may try and see if using the remote serial interface works any different.

Thanks for all your help!


Sent from ProtonMail mobile



-------- Original Message --------
On Jan 25, 2021, 11:46 AM, Alan Blind, WA9WUD < a.alan.blind@...> wrote:

?

Scott - Another thought.

?

Are you shutting down and restarting?FRStack after each change to the config file?

?

Shutdown Command. ? ??sudo systemctl stop FRStackWebApi

?

Start Command. ? ? ??sudo systemctl start FRStackWebApi

?

And then, make sure FRStack is running:

?

Status Command. ??systemctl status FRStackWebApi

?

?

Word of caution.? FRstack will fail to start if there are any syntax errors in the appsettings.json config file.? Good to check FRStack is running.

?

Alan?


Re: Getting started with Node Red

 

开云体育

That was for addition.

?

In Alan’s example it would be msg.payload = xyz * abc;

Return msg:

?

?

From: [email protected] <[email protected]> On Behalf Of Alan Blind, WA9WUD
Sent: Monday, January 25, 2021 1:00 PM
To: [email protected] Group Moderators <[email protected]>
Subject: Re: [nodered-hamradio] Getting started with Node Red

?

Fred

?

Read up on variable types.? There are very good tutorials on the Node-Red.org web site:

?

?

In your case, you want to do the math on two variables.? The problem is getting both variables into the same node at the same time.

?

-Messages "flow" through?the nodes.? They only exist in the node in one instant of time, then pass to the next node.

?

- Context variables are stored in Node-Red memory and can be called into a function for doing the math.? As Dave points out, you must first get your variables stored in "context", then pull each into a function to do the math.

?

There are lots of ways to get a message to a context variable.? A common way is to use the change node.? Say you want to put the payload into a context location called ""

?

?

Then to add "xyz" to "abc" in a function node and output the result to "msg.payload"

?

?

Alan

?

On Mon, Jan 25, 2021 at 12:38 PM wa9mvz via <wa9mvz=[email protected]> wrote:

Sure. It's easy to start writing flows similar to BLINK and turn an LED on from an input. But once I get past that point it's like drinking from a fire hose.

I've been trying to figure out how to do a simple task like multiply two numbers together. I have a data stream coming in through a Serial port that is working and using a CALCULATOR node I can divide that by a constant. But I need to multiply it by a number from an INJECT node. I haven't found any tutorial that tells me how to do that that doesn't assume I'm an expert in NODE RED and JAVA.

Can anyone point me in the right direction? It's obvious I'm missing something very fundamental here. This should be easy.

Fred
K9SO


Re: Help with Modified MKCM SPE Amp.json

 

Yes I did do the restarting (even reboot, although I know it's overkill).

I have the spe utility running on my windows machine, I'm not aware on a Linux version.

Ill look again for a firmware update, and may try and see if using the remote serial interface works any different.

Thanks for all your help!


Sent from ProtonMail mobile



-------- Original Message --------
On Jan 25, 2021, 11:46 AM, Alan Blind, WA9WUD < a.alan.blind@...> wrote:

Scott - Another thought.

Are you shutting down and restarting?FRStack after each change to the config file?

Shutdown Command. ? ??sudo systemctl stop FRStackWebApi

Start Command. ? ? ??sudo systemctl start FRStackWebApi

And then, make sure FRStack is running:

Status Command. ??systemctl status FRStackWebApi

Screen Shot 2021-01-25 at 12.37.14 PM.png

Word of caution.? FRstack will fail to start if there are any syntax errors in the appsettings.json config file.? Good to check FRStack is running.

Alan?


Re: Getting started with Node Red

 

Fred

Read up on variable types.? There are very good tutorials on the Node-Red.org web site:



In your case, you want to do the math on two variables.? The problem is getting both variables into the same node at the same time.

-Messages "flow" through?the nodes.? They only exist in the node in one instant of time, then pass to the next node.

- Context variables are stored in Node-Red memory and can be called into a function for doing the math.? As Dave points out, you must first get your variables stored in "context", then pull each into a function to do the math.

There are lots of ways to get a message to a context variable.? A common way is to use the change node.? Say you want to put the payload into a context location called ""

Screen Shot 2021-01-25 at 12.55.13 PM.png

Then to add "xyz" to "abc" in a function node and output the result to "msg.payload"

Screen Shot 2021-01-25 at 12.57.06 PM.png

Alan

On Mon, Jan 25, 2021 at 12:38 PM wa9mvz via <wa9mvz=[email protected]> wrote:
Sure. It's easy to start writing flows similar to BLINK and turn an LED on from an input. But once I get past that point it's like drinking from a fire hose.

I've been trying to figure out how to do a simple task like multiply two numbers together. I have a data stream coming in through a Serial port that is working and using a CALCULATOR node I can divide that by a constant. But I need to multiply it by a number from an INJECT node. I haven't found any tutorial that tells me how to do that that doesn't assume I'm an expert in NODE RED and JAVA.

Can anyone point me in the right direction? It's obvious I'm missing something very fundamental here. This should be easy.

Fred
K9SO


Re: Help with Modified MKCM SPE Amp.json

 

Scott - Another thought.

Are you shutting down and restarting?FRStack after each change to the config file?

Shutdown Command. ? ??sudo systemctl stop FRStackWebApi

Start Command. ? ? ??sudo systemctl start FRStackWebApi

And then, make sure FRStack is running:

Status Command. ??systemctl status FRStackWebApi

Screen Shot 2021-01-25 at 12.37.14 PM.png

Word of caution.? FRstack will fail to start if there are any syntax errors in the appsettings.json config file.? Good to check FRStack is running.

Alan?


Re: Getting started with Node Red

 

开云体育

Many ways to get there.?

From the Inject, take that msg.payload and you can use a Change node to set the msg.payload to flow.x (or any other name).

Feed the msg.payload to a function node.

var y = flow.get(“x”);

msg.payload = (msg.payload * y);

return msg;

You could probably condense into single function node.?

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Jan 25, 2021, at 12:38 PM, wa9mvz via groups.io <wa9mvz@...> wrote:

?Sure. It's easy to start writing flows similar to BLINK and turn an LED on from an input. But once I get past that point it's like drinking from a fire hose.

I've been trying to figure out how to do a simple task like multiply two numbers together. I have a data stream coming in through a Serial port that is working and using a CALCULATOR node I can divide that by a constant. But I need to multiply it by a number from an INJECT node. I haven't found any tutorial that tells me how to do that that doesn't assume I'm an expert in NODE RED and JAVA.

Can anyone point me in the right direction? It's obvious I'm missing something very fundamental here. This should be easy.

Fred
K9SO


Re: Getting started with Node Red

 

Sure. It's easy to start writing flows similar to BLINK and turn an LED on from an input. But once I get past that point it's like drinking from a fire hose.

I've been trying to figure out how to do a simple task like multiply two numbers together. I have a data stream coming in through a Serial port that is working and using a CALCULATOR node I can divide that by a constant. But I need to multiply it by a number from an INJECT node. I haven't found any tutorial that tells me how to do that that doesn't assume I'm an expert in NODE RED and JAVA.

Can anyone point me in the right direction? It's obvious I'm missing something very fundamental here. This should be easy.

Fred
K9SO


Re: Help with Modified MKCM SPE Amp.json

 

Scott

Since you have only one Com connection to the RPi, you can try to just use the default port path:

/dev/ttyUSB0

Next, Dave, WO2X, said to test the SPE amp USB port by downloading the SPE utility. ?Make sure the SPE amp and the Utility work OI, that way you know your USB connection is good.

And last, another ham on this list had the same equipment and problems you are having, and in the end said he found a later version of firmware, that solved his connection issues.. ? ?I forget who it was, so maybe they will see this and jump in.

Alan


Re: Help with Modified MKCM SPE Amp.json

 

开云体育

Both rebooted....

far as I can tell there's no config option for the baud rate in FRStack, and the amplifier is supposed to be auto-baud detecting...


On 1/25/2021 9:09 AM, David De Coons wo2x wrote:
Baud rate issue?

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Jan 25, 2021, at 10:06 AM, Scott - W5NJK via groups.io <w5njk@...> wrote:

?The amplifier is the only device I have plugged into the Pi, and??I did follow the instructions at the bottom of the wiki for assigning the link to the USB serial port (assigning ttyUSB_AMP by VID, PID, and SN).? I also just tried your method and I'm still getting the empty payload issue. And I'm using the ?built-in USB port (which does enumerate to an FTDI serial port), and not the "Port" connector which has the "remoting USF" serial interface.

This is a version 1 amplifier, but it does have the latest firmware.? I've tried setting the "SPEProtocolV1" to both false and true, though I think true is the correct setting.

Scott
-- 
--- Sent with ProtonMail Secure Email ---


Re: Help with Modified MKCM SPE Amp.json

 

开云体育

Reboot the amp and the pi.?


On Jan 25, 2021, at 10:06 AM, Scott - W5NJK via groups.io <w5njk@...> wrote:

?The amplifier is the only device I have plugged into the Pi, and??I did follow the instructions at the bottom of the wiki for assigning the link to the USB serial port (assigning ttyUSB_AMP by VID, PID, and SN).? I also just tried your method and I'm still getting the empty payload issue. And I'm using the ?built-in USB port (which does enumerate to an FTDI serial port), and not the "Port" connector which has the "remoting USF" serial interface.

This is a version 1 amplifier, but it does have the latest firmware.? I've tried setting the "SPEProtocolV1" to both false and true, though I think true is the correct setting.

Scott