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
|
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
toggle quoted message
Show quoted text
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
|
Mark
Question #2, asked and answered.? OK, I see there is ?a configuration page you included with the instructions.
Alan
toggle quoted message
Show quoted text
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
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
|
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
|
I wanted to thank Mark for all the time and effort he put into this.??
This is really cool stuff.
Mike va3mw
toggle quoted message
Show quoted text
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
|
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
toggle quoted message
Show quoted text
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
|
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
toggle quoted message
Show quoted text
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
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
|
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
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
|
Hi Alan, I ran into the same problems.?? 1.? aspnetcore-runtime-3.1.5-linux-arm.tar.gz
- I went here to find the most recent version?
- Find the version you want - I needed ARM32 for my Pi
- I also changed to sudo wget
2.? wget
- Again, I found I needed to do sudo wget
That got me to the point where I could start node red and in import the .json file.? I deployed it - and while it's started it has completed brought the RPi4 to its knees.? The Pi is still running but it's so slow that I'm not able to take control of node-red in order to disable to the new flows.? I'm still a noob so there's a high probability that I've messed something up. 73 Andy
|
You should be in your Pi download folder:?cd ~/Downloads/ wget aspnetcore-runtime-3.1.5-linux-arm.tar.gz? is a place holder for the runtime you need for your RPi As Andrew comment above the following website has this info.?
Here is the current one for ARM32 devices The remainder of the instruction are executed from the Downloads folder
sudo mkdir -p /opt/dotnet
sudo tar -zxf aspnetcore-runtime-3.1.5-linux-arm.tar.gz -C /opt/dotnet
sudo ln -s /opt/dotnet/dotnet /usr/bin
|
Running the entire FRStack Node Red flows takes about 25% CPU between NodeRed and DotNet on my Raspberry Pi Model 3B Plus
By no way do you need to run all of the flows. Just run the ones you want. Also I have the polling fast so you could slow down the nodered flows.
# this will report your model cat /proc/device-tree/model # this will report your CPU info cat /proc/cpuinfo
# this will show running processes top
|
Hi Mark,
Importantly, thank you for taking the time to put the FRStack flows together and sharing them with the group!? There's clearly a lot of though and effort invested in what you've done.
Thanks also for the additional info specific to my project. I got overzealous and fired up the whole enchilada, excited that I was able to get it all imported.? ?I'm running a Pi4 but I'm compounding the CPU load because I'm accessing it headless via VNC and there's also a DXSpider instance running at the same time.? FRStack isn't all to blame here - it's me too! :)
I restarted in --safe and disabled the flows and as you suggested, I'll look at enabling the individual flows and reducing the refresh rates where it makes sense.
73 Andy
VA3CW
|
Mark and Andrew
Making slow progress.? I downloaded the Net3.1 file and extracted it to the opt/dotnet directory.
Now, when I run the link command, I get an error.....? What now?
pi@raspberrypi:~/Downloads $ sudo ln -s /opt/dotnet/dotnet /usr/bin
ln: failed to create symbolic link '/usr/bin/dotnet': File exists
Alan
toggle quoted message
Show quoted text
You should be in your Pi download folder:?cd ~/Downloads/
wget aspnetcore-runtime-3.1.5-linux-arm.tar.gz? is a place holder for the runtime you need for your RPi As Andrew comment above the following website has this info.?
Here is the current one for ARM32 devices
The remainder of the instruction are executed from the Downloads folder
sudo mkdir -p /opt/dotnet
sudo tar -zxf aspnetcore-runtime-3.1.5-linux-arm.tar.gz -C /opt/dotnet
sudo ln -s /opt/dotnet/dotnet /usr/bin
|
I am back from a 300 mile emergency road trip. Looking forward to trying to get this running tomorrow.
Thanks Mark! It looks like the perfect addition to our various flows. Thanks again for the hard work.
Question, is it possible to run FRStack on PC at the same time with PC version to only run Stream Deck?
73
toggle quoted message
Show quoted text
On Jul 23, 2020, at 1:40 PM, Alan Blind <a.alan.blind@...> wrote:
? Mark and Andrew
Making slow progress.? I downloaded the Net3.1 file and extracted it to the opt/dotnet directory.
<Screen Shot 2020-07-23 at 1.33.53 PM.png>
Now, when I run the link command, I get an error.....? What now?
pi@raspberrypi:~/Downloads $ sudo ln -s /opt/dotnet/dotnet /usr/bin
ln: failed to create symbolic link '/usr/bin/dotnet': File exists
Alan You should be in your Pi download folder:?cd ~/Downloads/
wget aspnetcore-runtime-3.1.5-linux-arm.tar.gz? is a place holder for the runtime you need for your RPi As Andrew comment above the following website has this info.?
Here is the current one for ARM32 devices
The remainder of the instruction are executed from the Downloads folder
sudo mkdir -p /opt/dotnet
sudo tar -zxf aspnetcore-runtime-3.1.5-linux-arm.tar.gz -C /opt/dotnet
sudo ln -s /opt/dotnet/dotnet /usr/bin
|
Yes, you can run FRStack on PC at the same time but you have to make sure you do not configure the same feature there and on RPi. You could also point stream deck to your RPi if you don't want to run FRStack on PC for Memories or Scanning, Squelch, etc.
73, Mark W3II
|
Very cool! I see a lot more tinkering with Node Red in my future
Dave wo2x Sent from my waxed string and tin cans.?
toggle quoted message
Show quoted text
On Jul 23, 2020, at 10:48 PM, Mark Hanson <mkcmsoftware@...> wrote:
?Yes, you can run FRStack on PC at the same time but you have to make sure you do not configure the same feature there and on RPi. You could also point stream deck to your RPi if you don't want to run FRStack on PC for Memories or Scanning, Squelch, etc.
73, Mark W3II
|
Hi Mark
Thanks for the help yesterday. ? Also, thanks to Andrew.
Are you looking for feedback from users?? I know RPI FRStack is "work in progress", so I give my observations, with that view.
Windows FRStack was not running during these observations.
1 - As you know, the radio selector does not show the radio
2- Using multiplex, the client selector would not change the client.? I tried to "disconnect" between client changes, but after connecting, the client selector would always return to the first client to bind.
3 - Looking at the meter web-socket output, most of the meters are not working or providing incorrect data.? The "+13.8A" and "PATEMPC", appear to be good.? FWD, REF, SWR, and PATEMPF are not working.
4 - Global Profiles would not command the selected profile to the Flex Server
Alan WA9WUD
toggle quoted message
Show quoted text
Yes, you can run FRStack on PC at the same time but you have to make sure you do not configure the same feature there and on RPi. You could also point stream deck to your RPi if you don't want to run FRStack on PC for Memories or Scanning, Squelch, etc.
73, Mark W3II
|
Sorry about the initial drop issues. I made some last minute changes that broke radio selection and meter display. If you have the first version installed you only need to update the FRStackWebApi.dll file from the ZIP into the /usr/local/frstack directory. Stop the daemon, update the DLL and flow json files, start the daemon.
sudo systemctl stop FRStackWebApi
cd /usr/local/frstack sudo rm FRStackWebApiRpi.zip
sudo wget # get only the updated file, leave off DLL and json filenames to get all files sudo?unzip? FRStackWebApiRpi.zip FRStackWebApi.dll frstackNodeRedV101.json
sudo systemctl start FRStackWebApi
The update node red flows are named frstackNodeRedV101.json and they are in the ZIP file. Remove the old flows and use the new ones. 73, Mark? W3II
|
Mark
I think I want to build a new system.
Will the latest MKAM download have the updates?
I have been working to build a new system and get stuck on the "unzip -fo FRStackWebApiRpi" command.? I am in the user/local/frstack directory.? The downloaded file, "FRStackWebApiRpi.zip" is in the same frstack directory.? When I run the unzip command, it does not work.? I am expecting to see the individual files unpack and populate the frstack directory....but they do not.
Could you clarify the unzip steps in the instructions?
Alan WA9WUD
toggle quoted message
Show quoted text
Sorry about the initial drop issues. I made some last minute changes that broke radio selection and meter display. If you have the first version installed you only need to update the FRStackWebApi.dll file from the ZIP into the /usr/local/frstack directory.
Stop the daemon, update the DLL and flow json files, start the daemon.
sudo systemctl stop FRStackWebApi
cd /usr/local/frstack sudo rm FRStackWebApiRpi.zip
sudo wget # get only the updated file, leave off DLL and json filenames to get all files sudo?unzip? FRStackWebApiRpi.zip FRStackWebApi.dll frstackNodeRedV101.json
sudo systemctl start FRStackWebApi
The update node red flows are named frstackNodeRedV101.json and they are in the ZIP file.
Remove the old flows and use the new ones.
73, Mark? W3II
|
Please note the new command line in my last message.
sudo?unzip? FRStackWebApiRpi.zip FRStackWebApi.dll frstackNodeRedV101.json
|