开云体育

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

Re: FRStack Errors

 

Thanks Dave / Alan.? I will give the debug node a shot.? I have had debug on alot in the last few days and don't see any those errors.? They are being written to /var/log files.

Alan i was looking at your clock code and I must say your write very clean code.? I was impressed.? I changed the way had my code to use <p> instead of <span>.? I was able to eliminate alot of extra code with that.? I added solar data to the toolbar.??

?

Regards


Re: FRStack Errors

 

Mick

I cannot help with your specific log alarms.

I start by going to the Pallet?tool and finding any nodes that need to be updated.? I update each.

Re-Boot.

Then, I open a debug node on each Node-Red tab, looking for error messages.? Then, I click on the message to find the offending Node.

Then, I try to fix whatever is upsetting the node.

Repeat for each Node-Red editor tab.

Alan. WA9WUD


Re: FRStack Errors

 

开云体育

The WiKi was updated to show how to load .Net 5.0.8.
Don’t know if that will help.

My Green Heron RT21 just arrived and will be wiring that up. When done I wanted to build a new Pi4 using 32 bit OS. Right now using 64 bit with Node Red 1.3.5

73
Dave wo2x


On Jul 29, 2021, at 5:05 PM, Mick - W8BE <w8bea2b2c2@...> wrote:

?I recently upgraded to Node-RED 2.03 and? dotnet 5.0.5.? ?I noticed I am getting error msgs like below:

Jul 29 16:55:44 raspberrypi dotnet: Radio Meter AM Signal strength after AM - NO Data Ready handler
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (band_zoom=0)
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (segment_zoom=0)
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (daxiq_channel=0)
Jul 29 16:55:44 raspberrypi dotnet: Slice::StatusUpdate: Key not parsed (sample_rate=24000)
Jul 29 16:55:44 raspberrypi dotnet: RXRemoteAudioStream::StatusUpdate: Invalid key/value pair ()
Jul 29 16:55:44 raspberrypi dotnet: RXRemoteAudioStream::StatusUpdate: Key not parsed (ip=10.0.0.55)
Jul 29 16:55:44 raspberrypi dotnet: ParseInterlockStatus: Error - Invalid reason (OUT_OF_PA_RANGE)
Jul 29 16:56:10 raspberrypi dotnet: ParseInterlockStatus: Error - Invalid reason (OUT_OF_PA_RANGE)

I loaded up a new pi with dotnet 5.0.3 and the latest Node-Red / FRStack and still see the errors.? I then loaded Mark's json to test and? see if something in my flow could be the issue but I see the same errors using the Mark's json.? ?I see the same errors using his flows as well.? ?I am curious if anyone has notice this.? ?I have not lost any functionality, I just don't like to see errors eating up cpu ticks to post a message to /var/log.? ?

Regards,
Mick
?


FRStack Errors

 
Edited

I recently upgraded to Node-RED 2.03 and? dotnet 5.0.5.? ?I noticed I am getting error msgs like below:

Jul 29 16:55:44 raspberrypi dotnet: Radio Meter AM Signal strength after AM - NO Data Ready handler
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (band_zoom=0)
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (segment_zoom=0)
Jul 29 16:55:44 raspberrypi dotnet: Waterfall::StatusUpdate: Key not parsed (daxiq_channel=0)
Jul 29 16:55:44 raspberrypi dotnet: Slice::StatusUpdate: Key not parsed (sample_rate=24000)
Jul 29 16:55:44 raspberrypi dotnet: RXRemoteAudioStream::StatusUpdate: Invalid key/value pair ()
Jul 29 16:55:44 raspberrypi dotnet: RXRemoteAudioStream::StatusUpdate: Key not parsed (ip=10.0.0.55)
Jul 29 16:55:44 raspberrypi dotnet: ParseInterlockStatus: Error - Invalid reason (OUT_OF_PA_RANGE)
Jul 29 16:56:10 raspberrypi dotnet: ParseInterlockStatus: Error - Invalid reason (OUT_OF_PA_RANGE)

I loaded up a new pi with dotnet 5.0.3 and the latest Node-Red / FRStack and still see the errors.? I then loaded Mark's json to test and? see if something in my flow could be the issue but I see the same errors using the Mark's json.? ? ?I am curious if anyone has notice this.? ?I have not lost any functionality, I just don't like to see errors eating up cpu ticks to post a message to /var/log.? ?

Regards,
Mick
?


Re: File /wo2x flows/Kenwood CAT to relay example.json uploaded #file-notice

 

Read the comment node for info on replacing the inject and TCP Request nodes with a USB request node for your usb to serial adapter (Kenwood radio CAT needs to connect to the Pi.) If you need to share Kenwood CAT with other programs then you can take the Kenwood CAT payload and send back to a PC.

Think of Node Red as a flow chart. Input data, pass it to next node, do something with dat, pass it along, do something, etc.

Do Google searches for example Node Red flows, especially for Home Automation. They will give you an idea on how Node Red works. It is very easy once you start playing around. There are plenty of flows in the file section which will give ideas on how to accomplish a number of things.

73
Dave wo2x

On Jul 29, 2021, at 2:52 PM, Dave / NR1DX <manuals@...> wrote:

?David

thanks ...... I'll send another thankyou once I figure out how to load this into my node-red library and what it all means ... 8^)

I finally found a good beginners tutorial <Workshops.opto22.com> which helped me a lot. Though I usually dislike U-Boob videos this kid's Midwest accent was flat enough and his voice had enough bass for my 160M static damaged ears to understand

Thanks again as this sounds exactly what I was going to try and do

Cheers
Dave

On 7/29/2021 11:41 AM, [email protected] Notification wrote:

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

* /wo2x flows/Kenwood CAT to relay example.json
</g/nodered-hamradio/files/wo2x flows/Kenwood CAT
to relay example.json>

*By:* David De Coons wo2x <RocketNJ@...>

*Description:*
Read the Comment node for information. An example of how to take Kenwood CAT and give a numerical output for each band that can be used to drive relays (GPIO, external relay module, etc)
--
Dave Manuals@... www.ArtekManuals.com

--
This email has been checked for viruses by Avast antivirus software.







Re: File /wo2x flows/Kenwood CAT to relay example.json uploaded #file-notice

 

David

thanks ...... I'll send another thankyou once I figure out how to load this into my node-red library and what it all means? ... 8^)

I finally found a good beginners tutorial <Workshops.opto22.com> which helped me a lot.? Though I usually dislike U-Boob videos this kid's Midwest accent was flat enough and his voice had enough bass for my 160M static damaged ears to understand

Thanks again as this sounds exactly what I was going to try and do

Cheers
Dave

On 7/29/2021 11:41 AM, [email protected] Notification wrote:

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

* /wo2x flows/Kenwood CAT to relay example.json
</g/nodered-hamradio/files/wo2x flows/Kenwood CAT
to relay example.json>

*By:* David De Coons wo2x <RocketNJ@...>

*Description:*
Read the Comment node for information. An example of how to take Kenwood CAT and give a numerical output for each band that can be used to drive relays (GPIO, external relay module, etc)

--
Dave Manuals@... www.ArtekManuals.com
--
This email has been checked for viruses by Avast antivirus software.


Re: File Notifications #file-notice

 

I just looked at all the tools on Github...Looks like it's SmartSDR for linux...Have you run flexclient and all the other tools on a linux device?? I am thinking this can't run on a pi effectively.??

Regards
Mick


File Notifications #file-notice

[email protected] Notification
 

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

By: Alan Blind, WA9WUD <a.alan.blind@...>

Description:
DAX / CAT Flow with MQTT. You can only have one instance of the Node-Red, "exec", and it must be installed on the same device running nDAX & nCAT. This flow allows you to install the flow on a second, or more, devices, to control the "exec" Node from multiple devices. Remember, on the "Remote" devices, disable or remove the Node-Red "exec" Nodes.


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

By: Alan Blind, WA9WUD <a.alan.blind@...>

Description:
nCAT and nDAX Install Steps. The steps are also included on the Node-Red flow, "Settings".


File //Node-Red DAX and CAT/nDAX nCAT.json updated #file-notice

[email protected] Notification
 

The following files have been updated in the Files area of the [email protected] group.

By: Alan Blind, WA9WUD <a.alan.blind@...>

Description:
Cleaned up Flow and moved to a new file location. Node-Red Flow DAX and CAT on Linux Machine with Dashboard Controls. Uses KC2G nDAX and nCAT. Install instructions are included on the Flow, "Settings" section.


File /wo2x flows/Kenwood CAT to relay example.json uploaded #file-notice

[email protected] Notification
 

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

By: David De Coons wo2x <RocketNJ@...>

Description:
Read the Comment node for information. An example of how to take Kenwood CAT and give a numerical output for each band that can be used to drive relays (GPIO, external relay module, etc)


Kenwood frequency to relay example flow

 

开云体育

Hi All,


Someone was asking about taking Kenwood CAT and driving relays.

?

Here is an example of how to take KenWood CAT, convert it to band, then send a different number for each band. To test this I created a CAT TCP port in SmartSDR CAT so you will see an Inject node set to send a string of IF; when clicked. This goes into a TCP request node set to the IP of the PC running SmartSDR CAT and the port for CAT.

These would be replaced with a serial in node for the connection to the Kenwood radio. When adding the serial in, change the baud rate to match your radio and set the timeout to 500 ms.

?

The output is a number from 1 to 11 starting at 160 meters and going up through 6 meters. This includes 60, 30, 17, and 12 meter WARC bands.

?

Again, this is something I whipped up this morning to give you an idea on how to accomplish driving relays from CAT frequency. You would use the number out to then do something like a function node to send the proper formatted payload to set the appropriate relays for that band. Don’t forget to “unset” all relays before setting the active relays.

?

You can copy contents below and import to Node Red.

?

73

Dave wo2x

?

?

?

[

??? {

??????? "id": "747e5501.ce75cc",

??????? "type": "tab",

??????? "label": "Kenwood CAT to relay",

??????? "disabled": false,

??????? "info": ""

??? },

??? {

??????? "id": "b31c58f5.f5bae8",

??????? "type": "tcp request",

??????? "z": "747e5501.ce75cc",

??????? "server": "10.0.0.119",

??????? "port": "60000",

??????? "out": "sit",

??????? "splitc": " ",

??????? "name": "",

??????? "x": 420,

??????? "y": 120,

??????? "wires": [

??????????? [

??????????????? "76a0b654.199db8"

??????????? ]

??????? ]

??? },

??? {

??????? "id": "41b546bf.3798c8",

??????? "type": "debug",

??????? "z": "747e5501.ce75cc",

??????? "name": "",

??????? "active": true,

??????? "tosidebar": true,

??????? "console": false,

??????? "tostatus": false,

??????? "complete": "payload",

??????? "targetType": "msg",

??????? "statusVal": "",

??????? "statusType": "auto",

??????? "x": 770,

??????? "y": 300,

??????? "wires": []

??? },

??? {

??????? "id": "16d8cf90.c273b",

??????? "type": "inject",

??????? "z": "747e5501.ce75cc",

??????? "name": "",

??????? "props": [

??????????? {

??????????????? "p": "payload"

??????????? }

??????? ],

??????? "repeat": "",

??????? "crontab": "",

??????? "once": false,

??????? "onceDelay": 0.1,

??????? "topic": "",

??????? "payload": "IF;",

??????? "payloadType": "str",

??????? "x": 210,

??????? "y": 120,

??????? "wires": [

??????????? [

??????????????? "b31c58f5.f5bae8"

??????????? ]

??????? ]

??? },

??? {

??????? "id": "76a0b654.199db8",

??????? "type": "function",

??????? "z": "747e5501.ce75cc",

??????? "name": "Hex to String",

??????? "func": "msg.payload = msg.payload.toString('utf8');\nmsg.payload = (parseInt(msg.payload.substr(5,5)))/1000;\nmsg.payload = parseFloat(msg.payload).toFixed(3);\nreturn msg;",

??????? "outputs": 1,

??????? "noerr": 0,

??????? "initialize": "",

??????? "finalize": "",

??????? "libs": [],

??????? "x": 650,

??????? "y": 120,

??????? "wires": [

??????????? [

??????????????? "4e299156.7471a8"

??????????? ]

??????? ]

??? },

??? {

??????? "id": "4e299156.7471a8",

??????? "type": "function",

??????? "z": "747e5501.ce75cc",

??????? "name": "Frequency to Band to relay",

??????? "func": "var frequency=parseFloat(msg.payload) * 1000;\nvar band=\"\";\n\nswitch (true) {\n??????? \n??? case (frequency >=? 1800 && frequency <=? 2000): band=\"160M\"; break;\n??? case (frequency >=? 3500 && frequency <=? 4000): band=\"80M\"; break;\n??? case (frequency >=? 5330 && frequency <=? 5405): band=\"60M\"; break;\n??? case (frequency >=? 7000 && frequency <=? 7300): band=\"40M\"; break;\n??? case (frequency >= 10100 && frequency <= 10150): band=\"30M\"; break;\n??? case (frequency >= 14000 && frequency <= 14350): band=\"20M\"; break;\n??? case (frequency >= 18068 && frequency <= 18168): band=\"17M\"; break;\n??? case (frequency >= 21000 && frequency <= 21450): band=\"15M\"; break;\n??? case (frequency >= 24890 && frequency <= 24990): band=\"12M\"; break;\n??? case (frequency >= 28000 && frequency <= 29700): band=\"10M\"; break;\n??? case (frequency >= 50000 && frequency <= 54000): band=\"6M\"; break;\n??? \n??? default: band=\" GEN\";\n }\n \nvar relay = '';\nswitch(band) {\ncase \"160M\":\n??? relay = 1;\nbreak;\ncase \"80M\":\n??? relay = 2;\nbreak;\ncase \"60M\":\n??? relay = 3;\nbreak;\ncase \"40M\":\n??? relay = 4;\nbreak;\ncase \"30M\":\n??? relay = 5;\nbreak;\ncase \"20M\":\n??? relay = 6;\nbreak;\ncase \"17M\":\n??? relay = 7;\nbreak;\ncase \"15M\":\n??? relay = 8;\nbreak;\ncase \"12M\":\n??? relay = 9;\nbreak;\ncase \"10M\":\n??? relay = 10;\nbreak;\ncase \"6M\":\n??? relay = 11;\n}\n\nmsg.payload = relay\nreturn msg;",

??????? "outputs": 1,

??????? "noerr": 0,

??????? "initialize": "",

??????? "finalize": "",

??????? "libs": [],

??????? "x": 400,

??????? "y": 300,

??????? "wires": [

??????????? [

??????????????? "41b546bf.3798c8"

??????????? ]

??????? ]

??? }

]

?

?


Re: KMTRONIC FLOW

 

You can use the EXEC node to run batch files on a Windows install as a work around.



73, Marty WD9GYM

On Thursday, July 29, 2021, 08:58:57 AM CDT, Nick M via groups.io <w7nik@...> wrote:


The 8 relay switch I have is a Lan connection, UDP , I also run PstrotatorAz for automatic antenna switching based on band choice .
Dave still working great ?thank you for all the work you do .
W7nik

On Jul 29, 2021, at 5:16 AM, g0ggg via groups.io <g0ggg@...> wrote:

?there are number of KMTRONIC 8 way switches I have an usb version (windows version node-red))
?
I found it easy to control via windows batch file? eg?

c:\kmtronic\USBRelay.exe -c:10 -r:2#1

Then in node-red just exec the batch file.

hope this helps
g0ggg? ? @yahoo.co.uk
neil

--
Nick
W7NIK?


Re: KMTRONIC FLOW

 

开云体育

The 8 relay switch I have is a Lan connection, UDP , I also run PstrotatorAz for automatic antenna switching based on band choice .
Dave still working great ?thank you for all the work you do .
W7nik

On Jul 29, 2021, at 5:16 AM, g0ggg via groups.io <g0ggg@...> wrote:

?there are number of KMTRONIC 8 way switches I have an usb version (windows version node-red))
?
I found it easy to control via windows batch file? eg?

c:\kmtronic\USBRelay.exe -c:10 -r:2#1

Then in node-red just exec the batch file.

hope this helps
g0ggg? ? @yahoo.co.uk
neil

--
Nick
W7NIK?


Re: File /nDAX nCAT.json uploaded #file-notice

 

Provides a Dashboard interface to setup and use the KC2G nDAX and nCAT for Linux machines. ?I am using it to provide DAX and CAT for WSJT-X running on my Raspberry Pi.

Must be used with Flex Firmware v3.XXX. ? Works with multiplexed Clients.



nDAX and nCAT install and configure instructions are included on the flow "Setup" notes.

Normally, by default, the KC2G apps use the VITA49 UDP for discovery, however, I found our use of the same on other Node-Red flows caused the default discovery for nDAX and nCAT to ?not work. ?You will see my Node-Red flow uses the Flex VITA49 UDP broadcast to make a list of possible Clients and uses a pull down selector to choose which multiplex client will send audio and be the controlling device for nDAX and nCAT.

nDAX will provide RX audio (flex.sliceA.rx and TX audio (flex.sliceAtx). ?The names will be adjusted to show the Slice you have selected from the Dashboard "Slice Selector".



nCAT loads "hamlib" for controlling the Flex via CAT. ?So, on WSJT-X, use the "hamlib NET rigctl" rig and port 4532



Alan. WA9WUD


File /nDAX nCAT.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, WA9WUD <a.alan.blind@...>

Description:
Node-Red Flow DAX and CAT on Linux Machine with Dashboard Controls. Uses KC2G nDAX and nCAT. Install instructions are included on the Flow, "Settings" section.


Re: KMTRONIC FLOW

 

there are number of KMTRONIC 8 way switches I have an usb version (windows version node-red))
?
I found it easy to control via windows batch file? eg?

c:\kmtronic\USBRelay.exe -c:10 -r:2#1

Then in node-red just exec the batch file.

hope this helps
g0ggg? ? @yahoo.co.uk
neil


Re: KMTRONIC FLOW

 

开云体育

Without loading it I believe it was for the Ethernet version. Also there is a 1.0 and 1.1 version (hardware)’

Gotta get some sleep. Catch u tomorrow. ?

Dave wo2x


Sent from my waxed string and tin cans.?

On Jul 29, 2021, at 1:24 AM, NY8T <llavaseur@...> wrote:

?Is this KMTronic flow for a ethernet or USB switch?


Re: KMTRONIC FLOW

 

开云体育

The readme was a mistake. I used the DLI as a basis for the KMTronic. What issue u having problem with? I’m just heading to bed. Now 1:22 am. Feel free to email me direct at my call at arrl dot net

I’ll be around tomorrow.?

73
Dave wo2x

Sent from my waxed string and tin cans.?

On Jul 29, 2021, at 1:20 AM, NY8T <llavaseur@...> wrote:

?Ok, this one I am trying to use is called?KMTronic 8 relay UDP.json and it has this note in it thats why I was confused.

<kmtronic.JPG>


Re: KMTRONIC FLOW

 

Is this KMTronic flow for a ethernet or USB switch?


Re: KMTRONIC FLOW

 

Ok, this one I am trying to use is called?KMTronic 8 relay UDP.json and it has this note in it thats why I was confused.