Keyboard Shortcuts
Likes
- Nodered-Hamradio
- Messages
Search
File /freq to band.json uploaded
#file-notice
[email protected] Notification
The following files have been uploaded to the Files area of the [email protected] group. By: Alan Blind Description: |
Re: introductions
Andreas - Nice! Note; ?Most of us are using Dave's flow to get the VFO frequency and he outputs in MHZ.? So for your flow, we need to multiply by 1000. ?? "var frequency=parseFloat(msg.payload) * 1000" I tried it and it works just fine. Alan On Thu, Jul 23, 2020 at 3:49 PM Andreas Junge <andreas@...> wrote:
|
Re: introductions
¿ªÔÆÌåÓýSantiago, Stick this into a function node. It will take a frequency in and a band string out.? var frequency=parseFloat(msg.payload); var band=""; switch (true) { ? ? ? ?? ? ? case (frequency >= ?1800 && frequency <= ?2000): band="160M"; break; ? ? case (frequency >= ?3500 && frequency <= ?4000): band="80M"; break; ? ? case (frequency >= ?5330 && frequency <= ?5405): band="60M"; break; ? ? case (frequency >= ?7000 && frequency <= ?7300): band="40M"; break; ? ? case (frequency >= 10100 && frequency <= 10150): band="30M"; break; ? ? case (frequency >= 14000 && frequency <= 14350): band="20M"; break; ? ? case (frequency >= 18068 && frequency <= 18168): band="17M"; break; ? ? case (frequency >= 21000 && frequency <= 21450): band="15M"; break; ? ? case (frequency >= 24890 && frequency <= 24990): band="12M"; break; ? ? case (frequency >= 28000 && frequency <= 29700): band="10M"; break; ? ? case (frequency >= 50000 && frequency <= 54000): band="6M"; break; ? ?? ? ? default: band=" GEN"; ?} ? msg.payload=band; return msg; 73, Andreas, N6NU
|
Re: introductions
On Thu, Jul 23, 2020 at 11:56 AM, Andreas Junge wrote:
Hi Andreas,??Exactly. I would like to include Band in my dashboard, next to Mode and Tx VFO.? ? ______________ 73 de Santiago HI8SMX - KB8SMX web:? YouTube: HI8SMX? Twitter: @hi8smx Instagram: hi8smx |
Re: introductions
¿ªÔÆÌåÓýSantiago,What information do you need? Convert frequency into band? Something like 3.500 -> 80M ? 73, Andreas, N6NU
|
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 On Thu, Jul 23, 2020 at 9:31 AM Mark Hanson <mkcmsoftware@...> wrote:
|
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 |
File /PG-XL flows-13.json uploaded
#file-notice
[email protected] Notification
The following files have been uploaded to the Files area of the [email protected] group. By: Alan Blind Description: |
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 |
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
|
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
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:
|
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:
|
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, |
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, |
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.?
|
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:
|
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, |