¿ªÔÆÌåÓý

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

Re: SPE Linear V1.1 flow uploaded to files section

 

Hi Ron;

I'm new to Node Red, and learning quickly (drinking from the fire hose, as it were).? As a means of jumping in with both feet, I installed your SPE Linear flow as the beginning of a Dashboard that I'm building for my station.? I'm running Node Red on a Pi 4B (2GB), and your flow started working as soon as I configured it, which is great, but I do have one minor issue.

Everything seems to work except the temp gauges.? I initially commented out the Centigrade line and un-commented the Fahrenheit line in the initialization node, but that didn't work at all ¡ª the gauges all still showed ranges of 25 to 65, and none of them showed any reading.? I then restored the default for Centigrade in the Initialization node, but now I see no reading on the Temp (Lower) and Temp (Combiner) gauges, and a reading of 73 (which seems more like Fahrenheit than Celsius) on Temp (Upper).

Have you seen anything like this before?? Any suggestions on how I should debug this?

?

Thanks es 73,
Frank N6OI


Re: K3NG arduino-based rotator interface via Pi4 with NodeRed?

 

¿ªÔÆÌåÓý

I don¡¯t believe TailScale passes the broadcast packets from the radio.?

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Dec 28, 2022, at 5:22 PM, C Romocea <cromocea@...> wrote:

?Alan, I got it to work. Thanks for your great help. I needed to convert the 192.168.... address to the tailscale-generated PI address 100.10...as per your example.?

Next challenge will be to see if I can get FlexRadio 6400 to work using tailscale. SmartLink doesn't work because the router at the remote site doesn't allow port forwarding.


Re: K3NG arduino-based rotator interface via Pi4 with NodeRed?

 

From any PC, also running and logged into Tailscale:

In a web browser, enter the Raspberry Pi's Tailscalale address, port 1880. ?And a /ui at the end to go to the dashboard.

Or, id you are local, with both PCs on the same subnet, just use the IP address of the Raspberry Pi.

For example:

100.4.3.5:1880 ? goes to the Node Red Editor
100.4.3.5:1880/ui ? goes to the Node-Red Dashboard.

Alan


Re: K3NG arduino-based rotator interface via Pi4 with NodeRed?

 

Did you "authenticate" your Tailscale on the Raspberry Pi? ?If not, on the Pi, run this command:

sudo tailscale up

You will get a URL for a web connection, plug that into a browser, and that will take to a page to authenticate the Raspberry Pi TailScale to your account.

Now on the Windows side, in the bottom right tray, right-click on the Tail-scale Icon:



You will see a "log in" line. ?Go to that and authenticate your Windows Tailscale.

You connect devices by using the "Tailscale" IP address for the device. ?This will work from device to device via the Internet or on your LAN.

To find the Tailscal IP address for the desired device, again, right-click on the Tailscale Icon in the lower right tray and to the "Admin Console." ?Here you will find a slit of your devices, their status, and their TailScale IP address.



Alan


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

 

HI Kyle

I have the ser2net and K3ng Arduino board running....?However, after reboot, the `ser2net` service isn't running and I have add the command line in the [Unit]

any idea what is wrong at my place ???




73" OZ1CT Ben


Re: K3NG arduino-based rotator interface via Pi4 with NodeRed?

 

¿ªÔÆÌåÓý

On pain meds in hospital currently so if any typos in reply, I am sorry.?

I would recommend all external equipment to be connected to the Node Red server.?

Then Node Red server (PI4) be on same LAN as radio and other network equipment.?

Now when you want to access and monitor the dashboard you have several ways. The most secure is to use a VPN to access the LAN IP of the Pi followed by:1880/ui?

You can use a service such as TailScale which is free. TailScale allows only registered devices outside your LAN to access other registered devices on your LAN. You control the actual devices that have access via the TailScale VPN. So you can enable the Pi for TailScale and your remote laptop but not your home PC which may contain more secure information. Your decision.?

Another way is to password protect Node Red editor and dashboard then poorer forward a non-standard port to the Pi¡¯s LAN¡¯s Ip and port 1880. Not as secure as a VPN.?

Others can make decisions on various ways you can do it, then choose best method you would like.?

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Dec 27, 2022, at 11:46 PM, C Romocea <cromocea@...> wrote:

?

[Edited Message Follows]

Hi Dave,

I've now managed to access the various flows designed for my antenna switch, rotator and the KLA amp, and they all work but only when my laptop is connected to the same IP router that the RPi is. As soon as I connect from another IP address or internet router or via 4G there is no access to the flows. Any idea why that is??

?
<my flow.JPG>


Any flows available for the Kessler AT-Auto tuner

 

I asked this question a year ago and was wondering if anyone has discovered a way to control the AT-Auto (not to be confused with the HF-Auto) via node red.
Thanks for any comments.

Bob, KN4HH?


Re: How to change default name for FTDI USB serial node to use cable ID

 

Hey Pablo,

Just saw this.? Thanks for the info.? We will have 1 remote box and 3 rotators in our final configuration, all connected via a RasPi.? I'll be looking for your tutorial.

Kyle
AA0Z


Re: SVG Graphic Help - North Centered Rotator Graphic

 

I built a "Universal" Rotor Graphic. ?You will see all of the various options for each element.

/g/nodered-hamradio/files/%211%21%20Flows%20by%20Type/SVG%20Based%20Flows

I loaded your image as the default. ?You will also see you can also "inject" different images. ?Just convert the PNG file to a base64, and add it to the available images to ia function, as shown in the other image examples.

You must adjust the pointer bearings to work on the new image.

The flow, with your image as the default, is attached.



Alan. WA9WUD


SVG Graphic Help - North Centered Rotator Graphic

 

SVG graphics gurus....need some help.

Just got our EA4TX rotator box attached to our Tail Twister and everything is working great.? Looks like we can keep local control through the Tail Twister and remote via the EA4TX boxes.

Since our TT are North centered, we'd like to have the Node Red graphic to mimic the TT needle.? I've attached the graphic.? The graphic is here.



Can someone help me build a SVG graphic that has a swinging indicator like below?? Is it even possible??


73
Kyle
AA0Z



Re: Sending Hex to Icom 7300 with Streamdeck

 

¿ªÔÆÌåÓý

I don't know anything? about the Streamdeck, but since you mention MS PowerShell, I thought maybe some command-line tricks for accessing a COM port might help you if you are able to generate custom commands from the button pushes.? A quick Google turned up this potential solution for Windows. I haven't tried it, but the article explains the commands they are using pretty well and it sounds like it might be what you're looking for, assuming there is a fixed COM port that you are targeting.


mode COM22 BAUD=38400 PARITY=n DATA=8
set /p x="hello" <nul >\\.\COM22


On 12/24/2022 12:17, Raymond Mikula wrote:
I'm not yet using Nodered and would like to accomplish this task without it at this point.

?I have a Streamdeck and would like to send a hex stream to an Icom 7300.? One example would be to set the output power.? Right now, I'm looking for the path of least resistance.??
Could this be done simply with Microsoft PowerShell.? Opening a COM port, setting baud rate and sending appropriate HEX characters?

Could the above be done with Visual Basic?

I'm looking to minimize the learning curve.

Thoughts very much appreciated.? ?Merry Christmas to all.

Ray
W9NZ


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

 

¿ªÔÆÌåÓý

Hi

?

As a curiosity related to the ser2net program. I contacted its author Corey in 2019 since I was looking for the option of being able to support several simultaneous connections, so that it would allow several TCP connections to the serial port. Corey provided me with version 3.5, which was already working, although he told me that V4 would be coming soon. At the configuration level they are very different since, for example, version 4 is configured from a YAML file, so it is very different.

?

But the greatest anecdote is that Corey belongs to our community, he is AE5KM

?

73s Pablo EA4TX

?

De: [email protected] <[email protected]> En nombre de Kyle K
Enviado el: s¨¢bado, 24 de diciembre de 2022 16:34
Para: [email protected]
Asunto: Re: [nodered-hamradio] How To : ser2net - Serial to Network Media Converter with a Raspberry Pi

?

Ah ah!!!! Perfect Warren! Thanks for the update and insight.? I knew there had to be a way to accept more than 1 TCP connection.? Awesome!!!!??

I'm running version 4.3.3, which I think is the newest.? I'll add the max-connections under options to my config file.?

Kyle
AA0Z


Re: How to change default name for FTDI USB serial node to use cable ID

 

¿ªÔÆÌåÓý

Hi Kyle,

?

When you have several of my devices connected to the same RsPi, I recommend that you use the UDEV service, because it will allow you to assign a nmemonic to each device so that you can identify each one of the boxes by serial number.

?

As you can imagine if you have only one device (for example a RemoteBox) you will find that when connected it appears as /dev/ttyACM0. When connecting a second (for example an ARS motor controller), it appears as /dev/ttyACM1, and so on with others. But the problem is that you can never know if a device is assigned to ttyACM0 or ttyACM1.

?

The solution is to use the UDEV service. All RemoteBox, ARS, StackMain, or any EA4TX device use the same Microchip microprocessor, so they have the same VID (Vendor Id) "04d8" and PID (Product Id) "000a" but they have the serial number recorded in the USB descriptor, then using that option in the UDEV service, you can customize and identify each device, so that you can associate a name to each device, for example in your case ARS01 and RB2x8.

?

And with this specific configuration in UDEV, you can make the ser2net service instead of using the generic and ambiguous name /dev/ttyACM0 and /dev/ttyACM0, can use /dev/ARS01 and /dev/RB2x8

?

Example of a UDEV file for 4 devices:

?

I have pending to include a help tutorial on the operation of the UDEV file during these holidays

?

73s Pablo EA4TX

?

?

De: [email protected] <[email protected]> En nombre de Kyle K
Enviado el: lunes, 19 de diciembre de 2022 14:54
Para: [email protected]
Asunto: Re: [nodered-hamradio] How to change default name for FTDI USB serial node to use cable ID

?

Thanks to Dave for putting out that video.? I'm going to use it on my RCS-4 replacement flow I'm starting.??

...but another question now has emerged on another project that I did some digging around in.

I got to looking at my pi in the amp rack that has a couple of EA4TX boxes (2x6 pack antenna & tail twister rotator) control.??

I'm using ser2net to send the serial data over the network to another pi running Node Red, so the Pi in the amp rack is basically a serial to network media converter. Works great.??

In the /dev/by-id folder, I only see 1 of my EA4TX boxes.

pi@elayerrack:/dev/serial/by-id $ ls -lah

total 0

drwxr-xr-x 2 root root 60 Dec 18 15:09 .

drwxr-xr-x 4 root root 80 Dec 18 14:17 ..

lrwxrwxrwx 1 root root 13 Dec 18 15:09 usb-EA4TX_USB_Serial_22465-if00 -> ../../ttyACM1

pi@elayerrack:/dev/serial/by-id $

?


but in the /dev/by-path folder, I see both of them.

pi@elayerrack:/dev/serial/by-path $ ls -lah

total 0

drwxr-xr-x 2 root root 80 Dec 18 15:09 .

drwxr-xr-x 4 root root 80 Dec 18 14:17 ..

lrwxrwxrwx 1 root root 13 Dec 18 14:17 platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.3:1.0 -> ../../ttyACM0

lrwxrwxrwx 1 root root 13 Dec 18 15:09 platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0 -> ../../ttyACM1

pi@elayerrack:/dev/serial/by-path $


Any ideas on why that is?

Kyle
AA0Z


Sending Hex to Icom 7300 with Streamdeck

 

I'm not yet using Nodered and would like to accomplish this task without it at this point.

?I have a Streamdeck and would like to send a hex stream to an Icom 7300.? One example would be to set the output power.? Right now, I'm looking for the path of least resistance.??
Could this be done simply with Microsoft PowerShell.? Opening a COM port, setting baud rate and sending appropriate HEX characters?

Could the above be done with Visual Basic?

I'm looking to minimize the learning curve.

Thoughts very much appreciated.? ?Merry Christmas to all.

Ray
W9NZ


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

 

¿ªÔÆÌåÓý

Kyle, once you make the changes, send me the write up and I will add it to the WiKi section. Thanks to both you and Warren for sharing!

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Dec 24, 2022, at 10:34 AM, Kyle K <kylekrieg@...> wrote:

?Ah ah!!!! Perfect Warren! Thanks for the update and insight.? I knew there had to be a way to accept more than 1 TCP connection.? Awesome!!!!??

I'm running version 4.3.3, which I think is the newest.? I'll add the max-connections under options to my config file.?

Kyle
AA0Z


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

 

Ah ah!!!! Perfect Warren! Thanks for the update and insight.? I knew there had to be a way to accept more than 1 TCP connection.? Awesome!!!!??

I'm running version 4.3.3, which I think is the newest.? I'll add the max-connections under options to my config file.?

Kyle
AA0Z


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

 

Kyle,

There is a downside.? It's a 1:1 communication path to network to serial device, or at least my experience is every device I've tried.? Unless that's an advanced setting within the connection config in the yaml file, once a device is communicating through the ser2net service via TCP, no other devices can communicate to that serial device.??
You might consider adding the max-connections option to increase the allowed number of TCP connections.? ? This allows the Node-Red connection and the OEM software at the same time.

connection: &nr8001
? ? accepter: tcp,8001
? ? enable: on
? ??
options:
? ? ? ?max-connections: 3
? ? connector: serialdev,
? ? ? ? ? ? ? ?/dev/ttyACM0,
? ? ? ? ? ? ? ?38400n81,local


If you are still on version 3.5 ser2net (or older), the old conf file (/etc/ser2net.conf) format would look something like this:
ipv4,6000:raw:600:/dev/ttyUSB_rotor:4800 8DATABITS NONE 1STOPBIT max-connections=3

This also starts the TCP listener only on ipv4 instead of both ipv4 and ipv6

Warren, KD4Z


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

 

Kyle, nicely done. I wonder if this would be worth posting as a "how to" in the Wiki section.?

Happy holidays!
Ron WB2WGH?

On Fri, Dec 23, 2022, 10:36 PM Kyle K <kylekrieg@...> wrote:
Thought I'd share some my experiences with setting up the ser2net service on my raspberry pi to act like a USB/serial to network media converter.

I installed the ser2net service with one command : sudo apt-get install ser2net

The config file is located at /etc/ser2net.yaml.? I removed almost all of the default config and started from scratch.? If you do this, save the original with sudo cp /etc/ser2net.yaml /etc/ser2net.yaml_old.

%YAML 1.1
---
# This is a ser2net configuration file, tailored to be rather
# simple.
#
# Find detailed documentation in ser2net.yaml(5)
# A fully featured configuration file is in
# /usr/share/doc/ser2net/examples/ser2net.yaml.gz
#
# If you find your configuration more useful than this very simple
# one, please submit it as a bugreport
?
define: &banner \r\nser2net port \p device \d [\B] (Debian GNU/Linux)\r\n\r\n
?
admin:
? ? accepter: tcp,8000
?
connection: &nr8001
? ? accepter: tcp,8001
? ? enable: on
? ? connector: serialdev,
? ? ? ? ? ? ? ?/dev/ttyACM0,
? ? ? ? ? ? ? ?38400n81,local
?
connection: &nr8002
? ? accepter: tcp,8002
? ? enable: on
? ? connector: serialdev,
? ? ? ? ? ? ? ?/dev/ttyACM1,
? ? ? ? ? ? ? ?38400n81,local


Let's break down one of the serial to network configs

connection: &nr8001 - this is the name of the connection.? I used nr for Node Red and the port number
accepter: tcp,8001 - this is what protocol to listen on the network side and what port number to use to make a connection to the connector.? In the example, it's listening on tcp port 8001.
enable: on - this is to enable connections
connector -? this is the other side of the connection
?- serialdev - specifying a serial device
?- /dev/ttyAMC1 - this is the path to the device (I would substitute the full path here, check Dave WO2X's video on how to find the full ID path)
?- 38400n81 - this is the speed, baud rate, polarity and stop bits
?- local - specifying the device is local?

The man page for ser2net calls out all the different connection types (there is a lot).

There is bug in the bullseye distribution Raspberry Pi config and sometimes the ser2net starts up before the networking starts up, so we need to add the following lines in the /lib/systemd/system/ser2net.service file

Add these two lines in the [Unit] stanza
After=network-online.target
Wants=network-online.target

pi@elayerrack:/lib/systemd/system $ more ser2net.service
[Unit]
Description=Serial port to network proxy
Documentation=man:ser2net(8)
After=network-online.target
Wants=network-online.target
?
[Service]
EnvironmentFile=-/etc/default/ser2net
ExecStart=/usr/sbin/ser2net -n -c $CONFFILE -P /run/ser2net.pid
Type=exec
Restart=on-failure
?
[Install]
WantedBy=multi-user.target
pi@elayerrack:/lib/systemd/system $

After your done editing all the files, restart the service with sudo systemctl restart ser2net.service or?sudo service ser2net restart.

Issuing the command netstat -l will show you all the ports your Pi is listening on.? Look for the TCP ports specified in your ser2net.yaml config file.? You should see something like the below (but more output).

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address? ? ? ? ? ?Foreign Address? ? ? ? ?State
tcp6? ? ? ?0? ? ? 0 [::]:8002? ? ? ? ? ? ? ?[::]:*? ? ? ? ? ? ? ? ? LISTEN
tcp6? ? ? ?0? ? ? 0 [::]:8001? ? ? ? ? ? ? ?[::]:*? ? ? ? ? ? ? ? ? LISTEN
tcp6? ? ? ?0? ? ? 0 [::]:8000? ? ? ? ? ? ? ?[::]:*? ? ? ? ? ? ? ? ? LISTEN
Active UNIX domain sockets (only servers)

Now you can replace the serial nodes with TCP nodes.? For example.


There is a downside.? It's a 1:1 communication path to network to serial device, or at least my experience is every device I've tried.? Unless that's an advanced setting within the connection config in the yaml file, once a device is communicating through the ser2net service via TCP, no other devices can communicate to that serial device.??

Troubleshooting : if you telnet into port 8000 (the admin port) you can monitor the TCP or serial side.? Be aware anything you type will be echoed out to the screen.? Typing help at the command prompt will get you a list of commands.?

73
Kyle
AA0Z

?


Where to link Frequency Send Out on Alan's SD Freq Entry Flow

 

Good morning friends on this cold Christmas eve.?

My Stream Deck Frequency Entry flow, written by Alan, was not working so I deleted the old one and installed the one from the files section.?

If you are using this flow will you please tell me where the Frequency Send Out Link (red box) should link in to??

73,

Mack

W4AX


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

 

Freakin' great document!

Thanks and best regards to all for? the holidays!

Neal
K3NC


On Fri, Dec 23, 2022 at 10:36 PM Kyle K <kylekrieg@...> wrote:
Thought I'd share some my experiences with setting up the ser2net service on my raspberry pi to act like a USB/serial to network media converter.

I installed the ser2net service with one command : sudo apt-get install ser2net

The config file is located at /etc/ser2net.yaml.? I removed almost all of the default config and started from scratch.? If you do this, save the original with sudo cp /etc/ser2net.yaml /etc/ser2net.yaml_old.

%YAML 1.1
---
# This is a ser2net configuration file, tailored to be rather
# simple.
#
# Find detailed documentation in ser2net.yaml(5)
# A fully featured configuration file is in
# /usr/share/doc/ser2net/examples/ser2net.yaml.gz
#
# If you find your configuration more useful than this very simple
# one, please submit it as a bugreport
?
define: &banner \r\nser2net port \p device \d [\B] (Debian GNU/Linux)\r\n\r\n
?
admin:
? ? accepter: tcp,8000
?
connection: &nr8001
? ? accepter: tcp,8001
? ? enable: on
? ? connector: serialdev,
? ? ? ? ? ? ? ?/dev/ttyACM0,
? ? ? ? ? ? ? ?38400n81,local
?
connection: &nr8002
? ? accepter: tcp,8002
? ? enable: on
? ? connector: serialdev,
? ? ? ? ? ? ? ?/dev/ttyACM1,
? ? ? ? ? ? ? ?38400n81,local


Let's break down one of the serial to network configs

connection: &nr8001 - this is the name of the connection.? I used nr for Node Red and the port number
accepter: tcp,8001 - this is what protocol to listen on the network side and what port number to use to make a connection to the connector.? In the example, it's listening on tcp port 8001.
enable: on - this is to enable connections
connector -? this is the other side of the connection
?- serialdev - specifying a serial device
?- /dev/ttyAMC1 - this is the path to the device (I would substitute the full path here, check Dave WO2X's video on how to find the full ID path)
?- 38400n81 - this is the speed, baud rate, polarity and stop bits
?- local - specifying the device is local?

The man page for ser2net calls out all the different connection types (there is a lot).

There is bug in the bullseye distribution Raspberry Pi config and sometimes the ser2net starts up before the networking starts up, so we need to add the following lines in the /lib/systemd/system/ser2net.service file

Add these two lines in the [Unit] stanza
After=network-online.target
Wants=network-online.target

pi@elayerrack:/lib/systemd/system $ more ser2net.service
[Unit]
Description=Serial port to network proxy
Documentation=man:ser2net(8)
After=network-online.target
Wants=network-online.target
?
[Service]
EnvironmentFile=-/etc/default/ser2net
ExecStart=/usr/sbin/ser2net -n -c $CONFFILE -P /run/ser2net.pid
Type=exec
Restart=on-failure
?
[Install]
WantedBy=multi-user.target
pi@elayerrack:/lib/systemd/system $

After your done editing all the files, restart the service with sudo systemctl restart ser2net.service or?sudo service ser2net restart.

Issuing the command netstat -l will show you all the ports your Pi is listening on.? Look for the TCP ports specified in your ser2net.yaml config file.? You should see something like the below (but more output).

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address? ? ? ? ? ?Foreign Address? ? ? ? ?State
tcp6? ? ? ?0? ? ? 0 [::]:8002? ? ? ? ? ? ? ?[::]:*? ? ? ? ? ? ? ? ? LISTEN
tcp6? ? ? ?0? ? ? 0 [::]:8001? ? ? ? ? ? ? ?[::]:*? ? ? ? ? ? ? ? ? LISTEN
tcp6? ? ? ?0? ? ? 0 [::]:8000? ? ? ? ? ? ? ?[::]:*? ? ? ? ? ? ? ? ? LISTEN
Active UNIX domain sockets (only servers)

Now you can replace the serial nodes with TCP nodes.? For example.


There is a downside.? It's a 1:1 communication path to network to serial device, or at least my experience is every device I've tried.? Unless that's an advanced setting within the connection config in the yaml file, once a device is communicating through the ser2net service via TCP, no other devices can communicate to that serial device.??

Troubleshooting : if you telnet into port 8000 (the admin port) you can monitor the TCP or serial side.? Be aware anything you type will be echoed out to the screen.? Typing help at the command prompt will get you a list of commands.?

73
Kyle
AA0Z

?