Santiago,
What information do you need? Convert frequency into band? Something like 3.500 -> 80M ?
73, Andreas, N6NU
toggle quoted message
Show quoted text
On Jul 22, 2020, at 4:56 PM, Santiago Mejia via < hi8smx@...> wrote:
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
|
Andrew Mitchell added folder VA3CW
|
Re: FRStack Web APIs for RPi with FRStack Node Red Flows
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
|
Re: FRStack Web APIs for RPi with FRStack Node Red Flows
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
|
The following files have been uploaded to
the Files area of the [email protected] group.
By: Alan Blind
Description:
Updated PG-XL Flow with some more status outputs working now. Still WIP
|
Re: FRStack Web APIs for RPi with FRStack Node Red Flows
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
|
Re: FRStack Web APIs for RPi with FRStack Node Red Flows
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
|
Re: FRStack Web APIs for RPi with FRStack Node Red Flows
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
|
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
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
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
|
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
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
|
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
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
|
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
|
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
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
|
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
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
|
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
|
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.?
toggle quoted message
Show quoted text
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
toggle quoted message
Show quoted text
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
|