¿ªÔÆÌåÓý

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

Re: FRStack Web APIs for RPi with FRStack Node Red Flows

 



On Wed, Jul 22, 2020 at 6:51 PM Alan Blind via <a.alan.blind=[email protected]> wrote:
Mark

Amazing.? You married two of my favorite ham programs, FRStack on a Pi, and Node-Red.? You are a Genius!

I will install ?PI FRStack tomorrow.? Two quick questions:

1- If we already have a working pi with Node-Red, should we start the install at the "Install FRStack on RPI" step?

2- In W10 FRStack, for devices, such as the SteppIR, we must go into the options/settings page to configure the basic settings, like port numbers and type of antenna.? How do we set up the device configurations in Pi FRStack?? I do see the SteppIR commands, but no configuration commands?

Alan
WA9WUD

On Wed, Jul 22, 2020 at 5:33 PM Mark Hanson <mkcmsoftware@...> wrote:
Flex Node Red fans,

I have developed a FRStack Web API service for Raspberry Pi.

I have included a set of Node Red Flows for these Web APIs.
The file in the ZIP is called frstackNodeRedV100.json

The following HTML file contains the information to install .NET Core 3.1, Node Red and FRStack Web APIs Service on your RPi.






Since this service provides some of the same functionality that FRStack3 for Windows provides make sure you only enable those duplication options on one of the instances.

Have fun and good luck.

73,
Mark
W3II


Re: FRStack Web APIs for RPi with FRStack Node Red Flows

 

Mark

FYI, In the meantime, I am building a new Raspian Operating System from scratch. ? That way we will know my OS is not corrupted.

Unless you see something in the previously sent responses that need attention on your end....perhaps the permission issue with downloading rpiFRStack.

Alan

On Thu, Jul 23, 2020 at 7:35 AM Alan Blind via <a.alan.blind=[email protected]> wrote:
Hi Mark

A couple of apparent problems getting started, detailed below.

Alan
WA9WUD

.NetCore returns ?"Name of Service Not Known"

pi@raspberrypi:/usr/local/frstack $ wget aspnetcore-runtime-3.1.5-linux-arm.tar.gz

--2020-07-23 07:28:56--?

Resolving aspnetcore-runtime-3.1.5-linux-arm.tar.gz (aspnetcore-runtime-3.1.5-linux-arm.tar.gz)... failed: Name or service not known.

wget: unable to resolve host address ¡®aspnetcore-runtime-3.1.5-linux-arm.tar.gz¡¯

pi@raspberrypi:/usr/local/frstack $ sudo mkdir -p /opt/dotnet

pi@raspberrypi:/usr/local/frstack $ sudo tar -zxf aspnetcore-runtime-3.1.5-linux-arm.tar.gz -C /opt/dotnet

tar (child): aspnetcore-runtime-3.1.5-linux-arm.tar.gz: Cannot open: No such file or directory

tar (child): Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error is not recoverable: exiting now

pi@raspberrypi:/usr/local/frstack $ sudo ln -s /opt/dotnet/dotnet /usr/bin

ln: failed to create symbolic link '/usr/bin/dotnet': File exists

pi@raspberrypi:/usr/local/frstack $?




MKAM web download of FRStack "Permission Denied":

pi@raspberrypi:/usr/local/frstack $ wget

--2020-07-23 07:23:12--?

Resolving ()... 168.62.180.173

Connecting to ()|168.62.180.173|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1043756 (1019K) [application/x-zip-compressed]

FRStackWebApiRpi.zip: Permission denied




On Wed, Jul 22, 2020 at 5:33 PM Mark Hanson <mkcmsoftware@...> wrote:
Flex Node Red fans,

I have developed a FRStack Web API service for Raspberry Pi.

I have included a set of Node Red Flows for these Web APIs.
The file in the ZIP is called frstackNodeRedV100.json

The following HTML file contains the information to install .NET Core 3.1, Node Red and FRStack Web APIs Service on your RPi.






Since this service provides some of the same functionality that FRStack3 for Windows provides make sure you only enable those duplication options on one of the instances.

Have fun and good luck.

73,
Mark
W3II


Re: FRStack Web APIs for RPi with FRStack Node Red Flows

 

Hi Mark

A couple of apparent problems getting started, detailed below.

Alan
WA9WUD

.NetCore returns ?"Name of Service Not Known"

pi@raspberrypi:/usr/local/frstack $ wget aspnetcore-runtime-3.1.5-linux-arm.tar.gz

--2020-07-23 07:28:56--?

Resolving aspnetcore-runtime-3.1.5-linux-arm.tar.gz (aspnetcore-runtime-3.1.5-linux-arm.tar.gz)... failed: Name or service not known.

wget: unable to resolve host address ¡®aspnetcore-runtime-3.1.5-linux-arm.tar.gz¡¯

pi@raspberrypi:/usr/local/frstack $ sudo mkdir -p /opt/dotnet

pi@raspberrypi:/usr/local/frstack $ sudo tar -zxf aspnetcore-runtime-3.1.5-linux-arm.tar.gz -C /opt/dotnet

tar (child): aspnetcore-runtime-3.1.5-linux-arm.tar.gz: Cannot open: No such file or directory

tar (child): Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error is not recoverable: exiting now

pi@raspberrypi:/usr/local/frstack $ sudo ln -s /opt/dotnet/dotnet /usr/bin

ln: failed to create symbolic link '/usr/bin/dotnet': File exists

pi@raspberrypi:/usr/local/frstack $?




MKAM web download of FRStack "Permission Denied":

pi@raspberrypi:/usr/local/frstack $ wget

--2020-07-23 07:23:12--?

Resolving ()... 168.62.180.173

Connecting to ()|168.62.180.173|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 1043756 (1019K) [application/x-zip-compressed]

FRStackWebApiRpi.zip: Permission denied




On Wed, Jul 22, 2020 at 5:33 PM Mark Hanson <mkcmsoftware@...> wrote:
Flex Node Red fans,

I have developed a FRStack Web API service for Raspberry Pi.

I have included a set of Node Red Flows for these Web APIs.
The file in the ZIP is called frstackNodeRedV100.json

The following HTML file contains the information to install .NET Core 3.1, Node Red and FRStack Web APIs Service on your RPi.






Since this service provides some of the same functionality that FRStack3 for Windows provides make sure you only enable those duplication options on one of the instances.

Have fun and good luck.

73,
Mark
W3II


Re: FRStack Web APIs for RPi with FRStack Node Red Flows

 

I wanted to thank Mark for all the time and effort he put into this.??

This is really cool stuff.

Mike va3mw

On Wed, Jul 22, 2020 at 5:33 PM Mark Hanson <mkcmsoftware@...> wrote:
Flex Node Red fans,

I have developed a FRStack Web API service for Raspberry Pi.

I have included a set of Node Red Flows for these Web APIs.
The file in the ZIP is called frstackNodeRedV100.json

The following HTML file contains the information to install .NET Core 3.1, Node Red and FRStack Web APIs Service on your RPi.






Since this service provides some of the same functionality that FRStack3 for Windows provides make sure you only enable those duplication options on one of the instances.

Have fun and good luck.

73,
Mark
W3II


Re: FRStack Web APIs for RPi with FRStack Node Red Flows

 

If your RPi has Node Red already then just the .NET Core install and FRStack install steps are needed.
I have not create a Node Red Flow for SPE Amp and SteppIR but the Web APIs are there for you to create one.
Let me know how it works out.

73,
Mark
W3II


Re: introductions

 

On Thu, Jul 9, 2020 at 04:04 PM, David De Coons wo2x wrote:
I¡¯d take a look at the data but doing an emergency road trip to the next state. ?Will check it tomorrow.?


?Dave, did you find how to parse the band data from Flex? I want to put it next to MODE and TX VFO in the dashboard, but haven¡¯t found what to parse.?


santiago?
______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: FRStack Web APIs for RPi with FRStack Node Red Flows

 

Mark

Question #2, asked and answered.? OK, I see there is ?a configuration page you included with the instructions.

Alan

On Wed, Jul 22, 2020 at 6:51 PM Alan Blind via <a.alan.blind=[email protected]> wrote:
Mark

Amazing.? You married two of my favorite ham programs, FRStack on a Pi, and Node-Red.? You are a Genius!

I will install ?PI FRStack tomorrow.? Two quick questions:

1- If we already have a working pi with Node-Red, should we start the install at the "Install FRStack on RPI" step?

2- In W10 FRStack, for devices, such as the SteppIR, we must go into the options/settings page to configure the basic settings, like port numbers and type of antenna.? How do we set up the device configurations in Pi FRStack?? I do see the SteppIR commands, but no configuration commands?

Alan
WA9WUD

On Wed, Jul 22, 2020 at 5:33 PM Mark Hanson <mkcmsoftware@...> wrote:
Flex Node Red fans,

I have developed a FRStack Web API service for Raspberry Pi.

I have included a set of Node Red Flows for these Web APIs.
The file in the ZIP is called frstackNodeRedV100.json

The following HTML file contains the information to install .NET Core 3.1, Node Red and FRStack Web APIs Service on your RPi.






Since this service provides some of the same functionality that FRStack3 for Windows provides make sure you only enable those duplication options on one of the instances.

Have fun and good luck.

73,
Mark
W3II


Re: FRStack Web APIs for RPi with FRStack Node Red Flows

 

Mark

Amazing.? You married two of my favorite ham programs, FRStack on a Pi, and Node-Red.? You are a Genius!

I will install ?PI FRStack tomorrow.? Two quick questions:

1- If we already have a working pi with Node-Red, should we start the install at the "Install FRStack on RPI" step?

2- In W10 FRStack, for devices, such as the SteppIR, we must go into the options/settings page to configure the basic settings, like port numbers and type of antenna.? How do we set up the device configurations in Pi FRStack?? I do see the SteppIR commands, but no configuration commands?

Alan
WA9WUD

On Wed, Jul 22, 2020 at 5:33 PM Mark Hanson <mkcmsoftware@...> wrote:
Flex Node Red fans,

I have developed a FRStack Web API service for Raspberry Pi.

I have included a set of Node Red Flows for these Web APIs.
The file in the ZIP is called frstackNodeRedV100.json

The following HTML file contains the information to install .NET Core 3.1, Node Red and FRStack Web APIs Service on your RPi.






Since this service provides some of the same functionality that FRStack3 for Windows provides make sure you only enable those duplication options on one of the instances.

Have fun and good luck.

73,
Mark
W3II


FRStack Web APIs for RPi with FRStack Node Red Flows

 

Flex Node Red fans,

I have developed a FRStack Web API service for Raspberry Pi.

I have included a set of Node Red Flows for these Web APIs.
The file in the ZIP is called frstackNodeRedV100.json

The following HTML file contains the information to install .NET Core 3.1, Node Red and FRStack Web APIs Service on your RPi.






Since this service provides some of the same functionality that FRStack3 for Windows provides make sure you only enable those duplication options on one of the instances.

Have fun and good luck.

73,
Mark
W3II


Re: PG-XL Flow; WIP

 

¿ªÔÆÌåÓý

Wizard?

Hope you had fun with the flow building exercise this morning.?

Thanks for uploading.?

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Jul 22, 2020, at 2:11 PM, Alan Blind <a.alan.blind@...> wrote:

?OK, Mike, you said it was OK. ?

I have uploaded my PG-XL Node-Red Flow. ?It is "ugly", but it works, mostly, for what I need.

I received my PG-XL yesterday and learned that when I use my Node-Red Dashboard "Tune Button" the PG-XL stays in "operate", so I get many watts when tuning that way.

This is not a problem when using any of the devices that Flex has interfaced with the PG-XL to because there is a "handy" button available to easily change the mode of the amp.

So....I "Sharked" the PG-XL, found the commands and responses, and with the help of the "parsing wizard of Jersy", built an "Amp Mode" button. ? I then tied the "amp mode button" into my "Tune" button, so when I tune, from the Node-Red dashboard, the amp goes to "standby". ?

I added an additional 50ms (80ms total) to the PTT delay on the Flex PTT settings for good measure to make sure the Node-Red commands were complete before RF goes out the pipe.

The tune button background changes based on the status response from the PG-XL to confirm there was an actual mode change. ?Using the status also provides the data for the button to "toggle" between "Operate" and "Standby".

The rest of the flow was an attempt to extract the remaining status messages from the PG-XL. ?As you will see, some make sense, like "band" and "VAC", others do not......like I said, WIP.

Alan
WA9WUD


Re: DLI Webswitch alternate flow

 


Bret, I use an OpenWeather flow, with a free OpenWeather API yo can get with them.?



Santiago
______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: DLI Webswitch alternate flow

 

Santiago just curious?of what?Weather and Lightning station / Monitor your using to get this data for the Flow, You probably?said what it was but this group is getting so BUSY??

that it's hard to keep track of it all.?

Thanks a lot
Bret
WX7Y


On Wed, Jul 22, 2020 at 7:23 AM Santiago Mejia via <hi8smx=[email protected]> wrote:
Thanks all for the help and guidance. Like Alan said, if it wasn't for you guys I would have not started this adventure. I?ll try to explain my process.?

I have a OpenWeather flow that I adapted with Alan?s help to monitor weather at my QTH and in case of a given event (Rain, Thunder, Clouds, etc..) can do certain things. In my case I?ve configured an email when Thunder is on the weather report with a message ("Thunder at QTH. Please disconnect"), and as of yesterday, it also sends instructions to my DLI flow to shut down the sockets. For that I used a Gate node and a Link node to the DLI flow. I also added a switch after the gate and before the Link so I can bypass it if I want (ie. false weather report). The flow includes a led alert (courtesy of Alan) to give a quick visual aid on the weather status.

Here are some pictures:



At the DLI flow, I included a Link from the Weather flow before the switch nodes and in the specific case of the Flex Power Supply I added a delay of 10 seconds just to? make sure it doesn't turn off before the Flex Remote is off, in other words, to make sure the radio power supply does not go off with the radio on. In this flow I found on the web a function to make sure the switches retain the previous states after refreshing (which was a headache at first).




At the dashboard end, it looks like this:







As I mentioned, I?m not sure if this is the most efficient way of making this work, but I?m just happy enough it works. Finally here is a picture of my current main dashboard.




Files have been updated in the file section of this group. The names of the files are self explanatory? :-)

Feel free to change it for your needs.

Santiago?

______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


New to Node Red

 

Hi. Name is Charlie KB8CR. I am new to Node-Red, but have some experience with Raspberry Pi.?
Equipment here is a Flex 6400, a Flex 3000, and an Icom 7100. (all in a rack cabinet in the basement below the study (shack)
I use a KMTronics Web relay (8 port) which does the following from its web interface:
-Turn 6400 on/off (soft on/off from RCA jack on back)
-Turn 3000 on/off (hard relay switching)
-Switches another relay board to switch antenna (coaxial relay) from 6400 to 3000, Switches local Speaker output from 6400->3000, and local PTT from 6400->3000
-Turns power to 7100 on/off (it is on a separate HF antenna system)
-Switches VHF/UHF antenna (coaxial relay) between 7100 and a scanner.

The 6400 is usually controlled by a i5 Lenovo Mini PC (Win10-64bit), and the 3000 by a MacMini i5 running Win10-64bit because it has a firewire port for the 3000.
Both computers are used headless via VNC.

What I would like to do is have a 'dashboard' that controls the KMtronic relays, displays the Power, SWR, and Temps of the 6400 (and 3000 if that's possible)
Future items would be to control a KPA500 amplifier, and perhaps a KAT500 tuner.? (right now antennas are tuned by SGC tuners mounted at the feedpoints of the antennas.?

Remote audio and CW keying for the 3000 is done with Remoterig boxes from Sweeden.

Are there tutorial videos anywhere?.....or are there 'pre-done' modules for the 6400 or 3000 (or that KMtronic relay boar) here (or somewhere)?

Thanks,

de Charlie KB8CR


PG-XL Flow; WIP

 

OK, Mike, you said it was OK. ?

I have uploaded my PG-XL Node-Red Flow. ?It is "ugly", but it works, mostly, for what I need.

I received my PG-XL yesterday and learned that when I use my Node-Red Dashboard "Tune Button" the PG-XL stays in "operate", so I get many watts when tuning that way.

This is not a problem when using any of the devices that Flex has interfaced with the PG-XL to because there is a "handy" button available to easily change the mode of the amp.

So....I "Sharked" the PG-XL, found the commands and responses, and with the help of the "parsing wizard of Jersy", built an "Amp Mode" button. ? I then tied the "amp mode button" into my "Tune" button, so when I tune, from the Node-Red dashboard, the amp goes to "standby". ?

I added an additional 50ms (80ms total) to the PTT delay on the Flex PTT settings for good measure to make sure the Node-Red commands were complete before RF goes out the pipe.

The tune button background changes based on the status response from the PG-XL to confirm there was an actual mode change. ?Using the status also provides the data for the button to "toggle" between "Operate" and "Standby".

The rest of the flow was an attempt to extract the remaining status messages from the PG-XL. ?As you will see, some make sense, like "band" and "VAC", others do not......like I said, WIP.

Alan
WA9WUD


File /Wd9gym.json uploaded #file-notice

[email protected] Notification
 

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

By: Marty Boroff

Description:
Flows for a Flex 6600 in Mundelein. Rem O/Off, Disconnect/Connect antenna and Tuner


New Flows

 

?I finally got registered into the group. I have uploaded my flows for managing my environment for my Flex 6600.

73, Marty WD9GYM


Re: Pi3 backp and protection considerations

 

Santiago - Re your question on backups and protecting data.

I do several actions:

- I use a one Pi for development/learning / and trying new stuff.

- I have my shack control running on another, seperate, pi.? I leave this pi alone unless moving a new flow into "production"

- I backup the individual flows, from the production pi, by selecting the flow, selecting "export" then "selected flow", ?"to file".? I move the file into a computer folder that is backed up via my regular computer backups. (in case I mess up a flow)

- I back up all of the production pi's flows, into one file, by selecting "export", then "export all flows" to file, as above. (in case I need to build a new pi)

- When I initially built the Raspberry Pi system, I?backed up its image, with Node-Red installed to a computer file as above.? This gives me a "fresh" image of the Raspberry Pi operating system (back to ground zero). (In case my Raspberry Pi operating system becomes corrupted or failed?SD Card.)

- I periodically?back up?the production Pi image to a computer file.

Alan



On Wed, Jul 22, 2020 at 10:52 AM Santiago Mejia via <hi8smx=[email protected]> wrote:
Good morning, as I am going deeper in the use of Node Red for my remote operations and monitoring I know I?m putting a lot of pressure on my Raspi and my card as plenty of the shack will depend on the Raspi being there. I exported all my flows to a safe place, but if Raspi or card fails I?m left with nothing.

What do you recommend that I do to better protect my flows, my Pi3 and my card? Should I see how long this card and/or Pi3 goes or should I begin to plan for an upgrade, keep multiple cards, external drive, etc...

My current memory situation is as follows:



Will be looking for your recommendations.

______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: DLI Webswitch alternate flow

 

Glad to be of help.?

______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: Pi3 backp and protection considerations

 

Santiago

Go to the TGIF network page. Select the Nextion choice. Then select the raspberry pi setup. The tip clone procedure will do a complete backup to a SD card mount to a USB adapter. No need for a pc. I keep on on my wiki pi and when changes have put in production I run the backup script.

73, MARTY WD9GYM?




On Wednesday, July 22, 2020, 10:04 AM, David De Coons wo2x <RocketNJ@...> wrote:

Use an adapter to put the Pi microSD card in your computer (I use a PC) and use a program such as Win32 Disk Imager (it is free) and can be downloaded from

?

Follow instructions below to make an image of your card.

?

73

Dave wo2x

?

Writing Your Own Custom SD Card Setup To A File

Run Win32DiskImager.exe

Ensure the Device drop down box has the drive your card is inserted into.

Press the folder button and select the folder and filename you want to use to write your image file to.

Press the Read button.

?

?

From: [email protected] <[email protected]> On Behalf Of Santiago Mejia via groups.io
Sent: Wednesday, July 22, 2020 10:52 AM
To: [email protected]
Subject: [nodered-hamradio] Pi3 backp and protection considerations

?

Good morning, as I am going deeper in the use of Node Red for my remote operations and monitoring I know I?m putting a lot of pressure on my Raspi and my card as plenty of the shack will depend on the Raspi being there. I exported all my flows to a safe place, but if Raspi or card fails I?m left with nothing.

What do you recommend that I do to better protect my flows, my Pi3 and my card? Should I see how long this card and/or Pi3 goes or should I begin to plan for an upgrade, keep multiple cards, external drive, etc...

My current memory situation is as follows:



Will be looking for your recommendations.

______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx


Re: DLI Webswitch alternate flow

 

¿ªÔÆÌåÓý

Santiago,

this is brilliant! I never thought of the a weather app and antenna disconnect.

73, Andreas, N6NU

On Jul 22, 2020, at 4:51 AM, Santiago Mejia via <hi8smx@...> wrote:


Yesterday I completed an update on this flow and the weather flow Alan helped me with in order to shutdown the sockets in case of thunderstorms in the weather flow. Later today I will post pictures and will update files on the files folder if you are interested.

i don¡¯t know if my flows are the simpler they can be but at least it works and I¡¯m still surprised I could made it.

Santiago
______________
73 de Santiago
HI8SMX - KB8SMX
web:?
YouTube: HI8SMX?
Twitter: @hi8smx
Instagram: hi8smx