¿ªÔÆÌåÓý

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

Re: Scheduling A Node Red Zoom Trainng Session?

RUSS GUIDRY K5OA
 

¿ªÔÆÌåÓý

Would love to watch the process.
Thanks for your organizing?
Russ K5OA?



On Aug 2, 2021, at 20:55, David De Coons wo2x <RocketNJ@...> wrote:

?Hi Rusty,

I am in New Jersey, USA. Let¡¯s pick a time and see if there is a date and time that is convenient for others. For our European friends, I am available in afternoons which is evening there. We can do two different sessions.?

I¡¯ve done an ad hoc Zoom meeting which is recorded but wasn¡¯t done with any script. I have it recorded on my YouTube channel. Kyle AA0Z also has some ham radio YouTube videos.

I think if we do a Zoom meeting taking a freshly loaded Pi then showing how to load the VITA49 and FlexRadio flows, then go through various parts of the flows, showing how we get the data from the radio, extract (parse) the needed info, and then what is done with the data, such as how to filter to get only payloads you want, how to split to send certain payloads to one branch and the remainder to another, how to format data to send to the dash, and last, how to send commands to the radio and get the responses and interpret them.

Seems like a lot, but once we start it will make sense.

I am also available for some one on one.

There were a couple of members who had reached out to me for assistance. I will be contacting those members tomorrow. I had been tied up with another project (I like to keep busy).

If anyone has suggestions on the Zoom meeting, please respond to this thread.

73
Dave wo2x


On Aug 2, 2021, at 11:02 PM, Rusty Schlagheck via groups.io <w3us@...> wrote:

?Apologize for the delayed response, but absolutely I am interested in learning the basics.? de rusty - W3US


Re: Changing font color by value of msg.payload

 

Oh.....RUB IT IN...hi hi. I'm very happy with my little KPA500. It really has enhanced ham radio for me. All those Asian countries that had been out of reach are now in the log. Just about to cross the 200 DXCC mark. Very pleased with the station. No big yagi or tower here, just a EFHW up 50'. When I first installed the amp, I was having some RFI issues, but with some tweaks to the feedline length and a LPF, it's pretty much gone.?

I wonder if there is an API for sending data to the Maestro.....would really like to send PA output power and SWR to its screen.


73 de Charlie KB8CR


Re: Scheduling A Node Red Zoom Trainng Session?

 

¿ªÔÆÌåÓý

Hi Rusty,

I am in New Jersey, USA. Let¡¯s pick a time and see if there is a date and time that is convenient for others. For our European friends, I am available in afternoons which is evening there. We can do two different sessions.?

I¡¯ve done an ad hoc Zoom meeting which is recorded but wasn¡¯t done with any script. I have it recorded on my YouTube channel. Kyle AA0Z also has some ham radio YouTube videos.

I think if we do a Zoom meeting taking a freshly loaded Pi then showing how to load the VITA49 and FlexRadio flows, then go through various parts of the flows, showing how we get the data from the radio, extract (parse) the needed info, and then what is done with the data, such as how to filter to get only payloads you want, how to split to send certain payloads to one branch and the remainder to another, how to format data to send to the dash, and last, how to send commands to the radio and get the responses and interpret them.

Seems like a lot, but once we start it will make sense.

I am also available for some one on one.

There were a couple of members who had reached out to me for assistance. I will be contacting those members tomorrow. I had been tied up with another project (I like to keep busy).

If anyone has suggestions on the Zoom meeting, please respond to this thread.

73
Dave wo2x


On Aug 2, 2021, at 11:02 PM, Rusty Schlagheck via groups.io <w3us@...> wrote:

?Apologize for the delayed response, but absolutely I am interested in learning the basics.? de rusty - W3US


Re: Changing font color by value of msg.payload

 

¿ªÔÆÌåÓý

Well you could
Probably use some of Alan¡¯s tricks to use a msg.topic to set color. Before sending msg.payload to the dash you would need to set msg.topic based on range of number. I format SWR to two decimal places.?

It¡¯s more fun when you get SWR from the Power Genius or Tuner Genius. It is in return loss then you have to convert it.?

Have fun!

Dave wo2x

Sent from my waxed string and tin cans.?

On Aug 2, 2021, at 11:21 PM, Charlie Rubenstein <charlier@...> wrote:

?Hi Dave:

Yea, I have the meter on the dashboard, but wanted a real simple display with just large numbers for PA output and PA SWR. Really wish we would somehow send that information back to be displayed on the screen of the Maestro (like the PGXL) ha ha.

Charlie


Re: Changing font color by value of msg.payload

 

BTW, Dave......I've been using the Elecraft utilities to run the KPA500/KAT500 set for a while, but decided I prefer the dashboard on NR. (Acutally was sorta QRT for? while taking care of some medical issues and my 92 yr old mom).
I couldn't get the flow to work at all when I hooked it back up to the PI. Alan helped me get the serial (USB) ports talking, and then I realized I needed to update some things for the new firmware. Got it all running in short order after that.? For a full-sized screen, the dash is great. But I'd like to make just a small touch screen to display PWR OUT from the amp, and the SWR, as well as a button switch OPERATE/STANDBY. I could do it on a small Pi and sit it next to my Meastro.

Charlie


Re: Changing font color by value of msg.payload

 

Hi Dave:

Yea, I have the meter on the dashboard, but wanted a real simple display with just large numbers for PA output and PA SWR. Really wish we would somehow send that information back to be displayed on the screen of the Maestro (like the PGXL) ha ha.

Charlie


Re: Changing font color by value of msg.payload

 

¿ªÔÆÌåÓý

Hi Charlie,

I have used the ui-level node for power and SWR meters. I set meter to go from 1 to 5.
Green 1 to 2, yellow 2 to 3, and red 3 to 5.

Gives a good bar graph with ability to have numerical value underneath.

73
Dave wo2x


On Aug 2, 2021, at 10:32 PM, Charlie Rubenstein <charlier@...> wrote:

?I'm trying to make my OUTPUT SWR font change from GREEN to YELLOW to ORANGE to RED as the SWR value climbs past certain levels. Here is what I've been trying to use, but it doesn't work.?

Charlie KB8CR
<font-color-flow.json>


Re: Scheduling A Node Red Zoom Trainng Session?

 

Apologize for the delayed response, but absolutely I am interested in learning the basics.? de rusty - W3US


Looking for this K6HN azimuth flow

 

I am looking for just the azimuth flow in this group, I scoured the file section but don't see it.

.


Changing font color by value of msg.payload

 

I'm trying to make my OUTPUT SWR font change from GREEN to YELLOW to ORANGE to RED as the SWR value climbs past certain levels. Here is what I've been trying to use, but it doesn't work.?

Charlie KB8CR


Re: introductions

 

¿ªÔÆÌåÓý

Hi Roger.?

Check out the file section on this site. Alan posts his flow there. (I do need to start working on ¡°housecleaning¡± there).

73
Dave wo2x


On Aug 2, 2021, at 8:10 AM, Roger NK1I <rogerfrommaine@...> wrote:

?Hi Alan,

Your github link seem to take me to a 404 error.? I'm new to Node-RED and trying to learn by looking at other folks flows.

73 and good DX,

de Roger, NK1I


Re: introductions

 

Hi Alan,

Your github link seem to take me to a 404 error.? I'm new to Node-RED and trying to learn by looking at other folks flows.

73 and good DX,

de Roger, NK1I


Re: ERROR:Input not a JSON Array (FRSTACK)

 

I figured it out, the tabs showed disabled because they were ...wait for it.... DISABLED. Thanks Alan for you help, you put me on the right track.


Re: ERROR:Input not a JSON Array (FRSTACK)

 

Alan, that helped alot, Since those json files were included in the same folder where I got the sample file frstackNodeRedV108.json,? I thought I had to import those also (only at this for 5 days). I? added the IP address of my raspberry pi that frstack is installed on with port 5025? in the connection tab as you mentioned. The problem I can't figure out is why a bunch of the flow tabs are inactive as shown in the attachment. All other features of frstack seem to be working with my? 6700.


Re: ERROR:Input not a JSON Array (FRSTACK)

 

First the "ERROR:Input not a JSON Array" message. ?Typicaly means the nodes that parse to JSON are not seeing an input from FRStack.

Confirm you are running FRStack on a Linux (Raspberry Pi" device. ?If you are running on Window, there are different setups.

Confirm FRStack is running: ?run command, "systemctl status FRStackWebApi" and look for the "active" status. If not, reinstall dot.net and FRStack.

Perhaps you did not set up the IP to your device running FRStack. ?On the Connection Tab, double click the "Set Parameters here" node. ?Enter the IP address of the device running FRStrack, port 5025.



Now for the other "errors".

appsettings.json

FRStackWebApi.deps.json

FRStackWebApi.runtimeconfig.json

These are not errors, rather files contained in the " /usr/local/frstack" directory. ?Strange you are seeing these.

Alan. WA9WUD


Serial Control of the ERC-4 Rotator Controller

 
Edited

Hello Everyone,
I have uploaded a flow to control my ERC-4 Rotor Controller via a USB Serial output of my Raspberry Pi running Node-Red.
I haven't posted much on Groups.io, so I hope it shows up.? Hopefully it will be in the wb0smx Flows directory.? (Note** Moved to !1! Flows by Type/ROTORS/ERC Controller) This is the first Node-Red programming I have attempted.? While I have some experience with older structural languages, I am finding the Node-Red process intriguing.? I really like having the web interface.

ERC_Control.json
This flow is used to send commands to and receive responses from an ERC-4 Rotator Controller made by https://www.schmidt-alba.de/eshop/
The flow uses the Yeasu GS232B protocol to talk to the controller via a serial data connection.

This flow is an adaptation of one created by WO2X located in the [email protected] filesystem.? The original was in the wo2x Flows directory and named PSTRotator.json

Dave's original flow used network connections to talk to the PSTRotator program running on a Windows machine.

I took Dave's flow and modified it to talk directly with the ERC4 Rotator Controller via the serial USB port on my Raspberry PI 4. That way I didn't need a Windows machine in the picture.

There are two major functions involved in rotor control. ?
1.? You must send commands to and receive responses from the control box.
2.? You must interface with the human by accepting input and presenting output.

#1 is accomplished by a Serial Request Node that accepts inputs from a variety of buttons and input nodes that the human manipulates.? Commands are sent out the chosen USB port as a serial stream, and the program waits for a response from the controller.? There is a 2-second configurable timeout, in case no response is received.

One of the inputs to the Serial Request node is a periodic request for an Azimuth position from the controller.? I have this set at 1-second rate, and it runs all the time.

The other inputs are commands to Start Rotation CW or CCW, Stop Rotation, or Rotate to specific headings input or selected by the operator.? Once one of these commands are sent out, the flow continues polling for azimuth position data.

#2 is accomplished via a set of buttons dedicated to moving to specific azimuth headings, 1 for Europe, 1 for Russia, 1 for North Africa, etc...
There are other buttons for starting CW or CCW rotation without a target.
Anther button sends a STOP command to the rotator controller.
There are two input fields to manually enter a heading.? The top one is a numeric heading that may be stepped up or down one with arrow keys.? The other is a text input field that lets you freely type in a new heading. A tab or key will send the heading out.

The headings entered are all validated to insure that they are in the range of 0 - 360 degrees, and that only numbers were input.? If non-numeric data is encountered, or the heading is out of range, no command to move is generated.

Finally, response from the ERC-4 controller is parsed to extract only the numeric heading, and sent to a compass control for display.


--
Randy WB0SMX


ERROR:Input not a JSON Array (FRSTACK)

 
Edited

frstackNodeRedV108.json? imported fine.?



Three of the FRSTACK flows show this error when attempting to import.

ERROR:Input not a JSON Array

appsettings.json

FRStackWebApi.deps.json

FRStackWebApi.runtimeconfig.json

I am only five days into NodeRed, is there something common to look for when this happens?



File /ERC_Control.json uploaded #file-notice

[email protected] Notification
 

The following files have been uploaded to the Files area of the [email protected] group.

By: wb0smx <rdpecken@...>

Description:
Flow to control Rotator with Serial based ERC-4 Rotor Controller


Re: Pi 4 Image Error

 

I was and I keep getting an error at boot up. See screenshots.






Santiago
______________
73 de Santiago
GLAARG VE 2791E
HI8O (former HI8SMX) & KB8SM
web:?
YouTube: hamworldonline
Twitter: @hamworldonline
Instagram: hamworldonline


Re: Node Red article in QST September issue

 

Congratulations Dave and Mike!!! looking forward to the article.
--
______________
73 de Santiago
GLAARG VE 2791E
HI8O (former HI8SMX) & KB8SM
web:?
YouTube: hamworldonline
Twitter: @hamworldonline
Instagram: hamworldonline