¿ªÔÆÌåÓý

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

HamLib and Node Red

 

A really good video on how to install HamLib on a Raspberry Pi and use a standard set of commands no matter what device you plug in.
?
?
73
Kyle
AA0Z
?
?


Re: Hamvention 2025 Node Red Presentations

 

If you missed my Node Red at Hamvention, here it is:
?
We did something a bit different for this forum.? I didn't want to run through the slides that I've presented over and over so we tried a LIVE demo.? Which is always dangerous.? LOL.??
?
We connected my KX3 to a Raspberry Pi and controlled it via Node Red.
?
73
Kyle
AA0Z
?
?


Re: How To : ser2net - Serial to Network Media Converter with a Raspberry Pi

 

Sorry for the delay here.? Hamvention has delayed everything as I'm just getting back into the swing of things.? The CP2102N should be included in the kernel.? Not sure why it's not showing up.? I don't think it matters but have you tried another USB port on the Pi???
?
I control my WA4MCM switches with no issues.? We are using Triplite USB hubs and plug 3 of them into that.??
?
Once you get it working I'd be interested to hear what the issue was.
?
73
Kyle
AA0Z
?


Re: How To : ser2net - Serial to Network Media Converter with a Raspberry Pi

 

¿ªÔÆÌåÓý

The Silicon Labs CP2102N driver is included in the Linux kernel. It's part of the standard USB serial driver that ships with Linux kernels starting from version 2.6.12. This driver allows the CP2102N, which is a USB-to-UART bridge, to function as a virtual COM port (VCP).

  • Finding the Driver:
    The driver source code can be found in the Linux kernel's source code under?drivers/usb/serial/cp210x.c.?
To check if your kernel has the driver:
  • You can use the?sudo lsmod?command to list loaded modules.?The CP210x driver should be in the list if it's loaded.

73


vk4tux

On 20/5/25 05:53, Domenick Fusca via groups.io wrote:

Silicon Labs CP2102N


Re: How To : ser2net - Serial to Network Media Converter with a Raspberry Pi

 

Doing some more research I'm thinking I need to install the USB driver for the Silicon Labs CP2102N onto my nodered RaspPi.? I downloaded the linux driver and have these instructions. I'm not sure which instructions to follow ubuntu or Redhat?? Or perhaps there is a single line command I can enter similar to the single line command I entered to install Ser2Net?
?
I think Ubuntu step #1 is to execute the file Makefile.? An executable came with the download of the driver called Makefile. At least I think it is an executable file.
?
Makefile content:
obj-m = cp210x.o
KDIR = /lib/modules/`uname -r`/build
SRCDIR = $(PWD)
# try this instead if you don't have PWD defined
# SRCDIR = $(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
all:
? ? $(MAKE) -C $(KDIR) M=$(SRCDIR) modules
clean:
? ? $(MAKE) -C $(KDIR) M=$(SRCDIR) clean
?
Build instructions:
Ubuntu:
1. make ( your cp210x driver )
2. cp cp210x.ko to /lib/modules/<kernel-version>/kernel/drivers/usb/serial
3. insmod /lib/modules/<kernel-version/kernel/drivers/usb/serial/usbserial.ko
4. insmod cp210x.ko
?
RedHat:
1. yum update kernel* ?//need to update the kernel first otherwise your header won't match
2. yum install kernel-devel kernel-headers ?//get the devel and header packages.
3. reboot ?//your build link should be fixed after your system come back
4. make ( your cp210x driver ) ?// should be able to build successfully at this point
5. cp cp210x.ko to /lib/modules/<kernel-version>/kernel/drivers/usb/serial
6. insmod /lib/modules/<kernel-version/kernel/drivers/usb/serial/usbserial.ko
6. insmod cp210x.ko
7. sudo chmod 666 /dev/ttyUSB0
8. sudo chmod 666 /dev/ttyUSB1
?
Thanks Giorgio for suggesting an alternative method.? From what I've seen so far I believe it should be possible to communicate with the WA4MCM RAAS-8 via the Rasp Pi USB port.? I'd prefer that approach, avoiding the need to add hardware.? Thanks for taking the time to explain an alternative.
--
Domenick - WA2GOT? ? 73s


Re: How To : ser2net - Serial to Network Media Converter with a Raspberry Pi

 

If I understood correctly your needs I solved 232->Eth conversion between my Node Red "Acom 600s web console" and the PA via its rs232 port by using an external (cheap) box (). It's really useful and easy to implement by its administration web page. From node red I drive it via a TCP in TCP Out nodes and the module cares of converting into rs232 buffering and so on, absolutely transparent. Unique limitation is that it handles only rs232 Rx-Tx lines (so no control lines). Power it On and nothing else is required. For more details download my flow here: https://www.ik1bxn.it/wp/2025/02/13/acom-600s-lan-web-console-v-2-3-cat-synch-to-flrig-macloggerdx-rumlog-n1mm-flow-cleanup/
?
73 Giorgio


Re: How To : ser2net - Serial to Network Media Converter with a Raspberry Pi

 

Hi Dave.? Been a while.? I originally had the RAAS-8a plugged into a PC and was using WA4MCM application to control it.? It worked well from the PC.? When I plug it back into the PC I see the followed defined for ports.? The Silicon Labs one is the RAAS-8a.
?
?
?
The by-path directory is present and this is what is in there.? I'm not familar with an USB HID device.
--
Domenick - WA2GOT? ? 73s


Re: How To : ser2net - Serial to Network Media Converter with a Raspberry Pi

 

¿ªÔÆÌåÓý

Hi Domenick

Is it possible the USB device is showing as a USB HID device?

The LP700 wattmeter is like that.?

What happens when you plug it into a USB port on the PC?

73
Dave wo2x
Sent from my waxed string and tin cans.?

On May 15, 2025, at 11:23?AM, Domenick Fusca via groups.io <domenickfusca@...> wrote:

?
Hello.? Thanks Kyle for the information!? I'm following your instructions and also using the YouTube video to install Ser2Net.? My goal is to make use of the NodeRed flow to control the RAAS-8a Antenna Switch by WA4MCM.? ?I have the RAAS plug into my RASP PI's USB port.? The Rasp Pi is also running Nodered.? I have run into snag.? The? /dev/serial/by-id folder is not present.? The RAAS-8a is the only item plugged into any of the Rasp Pi USB ports.? How can I get the folder by-id to be present??
--
Domenick - WA2GOT? ? 73s


Re: How To : ser2net - Serial to Network Media Converter with a Raspberry Pi

 

Hello.? Thanks Kyle for the information!? I'm following your instructions and also using the YouTube video to install Ser2Net.? My goal is to make use of the NodeRed flow to control the RAAS-8a Antenna Switch by WA4MCM.? ?I have the RAAS plug into my RASP PI's USB port.? The Rasp Pi is also running Nodered.? I have run into snag.? The? /dev/serial/by-id folder is not present.? The RAAS-8a is the only item plugged into any of the Rasp Pi USB ports.? How can I get the folder by-id to be present??
--
Domenick - WA2GOT? ? 73s


Re: Solar 2.0 Released

 

Version 2.1 addresses a minor bug that occurred when the probability of the predicted R value for 1-2 and 3-5 was the same but very small (e.g. 1%). This brings up a problem with a lot of APIs that I work with. They are not well documented. It's easy to call the API and see what the returned fields are, but often I don't know all of the possible values that those fields can have. This was one of those cases. I had considered doing more error checking on the predicted R value, but having a predicted value of R be 1% for R1/2 and also 1% for R3/5 made no sense to me. The code was modified to handle these fringe cases better.
?
73,
Scott
AK5SD
?
?


Dashboard for Kuhne MKU2424B up converter

 

Dear group,

G0ABI asked me to also announce in this group. I created a dashboard for the Kuhne Electronic 2.4GHz up converter to visualize some of its values available on the serial port. The code has just been pushed to github. The repo is at:



Feedback / pull requests welcome.

vy73 de Florian DF2ET

--
Florian Wolters, DF2ET
LOC: JO31ol



Re: W8BE Toolbar Flow

 

Craig,
?
Attached is my flow for the navbar.? ?The flow shows the current solar idx's along with any geo magnetic storm alerts.? ? ?It uses OpenWx for the current temp,? wind direction, conditions, and barometric trend (up, down, flat).? You will have to get an api key from them.? ?The lightning indicator shows the current radius and last strike time if the icon is green.? When the icon is red it shows the actual strike distance and updates the last strike time.? ?There is a default configuration in the flow and a page where you can dynamically set the parameters.??
?
? In addition,? I have css code for all the flows in the attached flow.? ?If it blows up please disable the css ui template.? You will have to modify it or use your own template in such a case.?
?
?
Please see the attached flow


W8BE Toolbar Flow

 

Hi,
?
Does anyone have a copy of the ToolbarSolarWxLightningUtcClock.json flow created by Mick, W8BE?
?
It's not available in the files section anymore...?Original link: /g/nodered-hamradio/files/w8be/ToolbarSolarWxLightningUtcClock%20.json
?
Thanks
?
Craig, M1FDS


Re: Hamvention 2025 Node Red Presentations

 

Thanks Kyle. Unfortunately, I will just be arriving around the time of that forum so will probably not be able to be there. However, I look forward to watching it on Youtube after the fact. Thanks for all you do for us all !
73 de Arnie W8DU


Re: Hamvention 2025 Node Red Presentations

 

Thanks for posting these!
?
I can¡¯t make the morning one, but hope to join in the afternoon.
?
?Be seeing you there!


Re: Flex6xxx and ESPHome or ESP_Async_TCP_Webserver

 

¿ªÔÆÌåÓý

And to add a V3 layer of security, you can use TailScale or other VPN to access the Node Red web page. I do that with both remote accessible stations.?

TailScale works very well.?

73
Dave wo2x
Sent from my waxed string and tin cans.?

On May 12, 2025, at 10:03?PM, Stefan / AF6SA via groups.io <af6sa.radio@...> wrote:

?
?
You can build each of your antenna switch / rotator boards with a ESP_Async_TCP_Webserver, using websocket and create a simple WEB server to control it.
?
Then you can make a noder-red flow that connects to each board websocket and present it on one web page to display and control them all.
This way you will need just one port to forward and it can be secured.
?
Look at? WAS6 Antenna switch flow and WRC Rotator?controller flows in the files section for examples.
?
BTW is your "ex.military FLP PA with 10 electromechanical memories"? from the USSR R-140 mobile transmitter?
?
--
Stefan / AF6SA


Re: Flex6xxx and ESPHome or ESP_Async_TCP_Webserver

 

?
You can build each of your antenna switch / rotator boards with a ESP_Async_TCP_Webserver, using websocket and create a simple WEB server to control it.
?
Then you can make a noder-red flow that connects to each board websocket and present it on one web page to display and control them all.
This way you will need just one port to forward and it can be secured.
?
Look at? WAS6 Antenna switch flow and WRC Rotator?controller flows in the files section for examples.
?
BTW is your "ex.military FLP PA with 10 electromechanical memories"? from the USSR R-140 mobile transmitter?
?
--
Stefan / AF6SA


Re: Flex6xxx and ESPHome or ESP_Async_TCP_Webserver

 

It's possible to control it, but you need to design your web page.
ESP_Async_TCP_Webserver with fast websocket is the way.
?
On other hand Node-red is a better way.
I have 3x Tuner / Antenna switch / Power / SWR meters, 3x WiFi rotators and PAmp with a Wi-Fi network based on ESP8266.
Using Node-red and UDP datagrams to collect all the information form all 7 nodes and display it on one web page.
?
--
Stefan / AF6SA


Re: Hamvention 2025 Node Red Presentations

 

Correction.? They changed the rooms on me!!!!??
?
Saturday Forum Room #2 at 9:15am Remote Ham Radio.
?
Saturday Forum Room #4 at 2:40pm Node Red Hands On How To
?
Sorry about that...
?
Kyle
?


Hamvention 2025 Node Red Presentations

 

Hamvention is upon us!? Hope you can make the show.? If you want to learn more about Node Red at the show, here are some things you might want to put on your calendar.
?
Saturday Forum Room #4 at 9:15am - Remote Ham Radio.? Mike Walker (VA3MW) and myself will be presenting how to remote your radio, with a special guest on a new product announcement!? You don't want to miss this announcement.? We'll be touching on some Node Red flows within the presentation.?
?
Saturday Forum Room #4 at 2:40pm - Node Red How To.? I'll be presenting a few slides at the beginning of the forum and then head directly into a hands on demo.? I'm not going to side show you to death with this one.? I've already done that and the guy in the front row napping after lunch in the air conditioning made it real clear the slides were a substitute for some Trazodone pills, so we are changing it up.? We'll start with a blank canvas and build some easy flows then we will plug in a KX3 and control the radio from Node Red with only a few nodes.? Easy stuff.? We will also load some flows we downloaded from the files section in this group for a KMTronics 8 port relay board and control the relays.? At the end we will take 15 mins to talk about the Sierra Radio Station Controller Node Red install and talk about some real world uses.
?
If you want to see the full Node Red presentation from years past: https://youtu.be/0G1RXr9k_jA?si=UJiJ37heXNCLK4Kb
?
I think some of the forums will be streamed live and/or recorded for later posting.? Watch the Hamvention YouTube page for those streams. ?
?
Come say hello before or after the forums!??
?
73
Kyle
AA0Z
?