¿ªÔÆÌåÓý

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

Re: Getting started with Node Red

 

Also, and to correct my first response. ?I just noticed the id text were blue in the debug window. ?This means they are a "number" variable type. ?If they were red text, they would be a variable type of "string".

In the switch node, you must specify the type of variable you are using. ?Here is a corrected screenshot using a variable type of "number". ?My first response showed a variable type of "string".

Alan


Re: Getting started with Node Red

 

Glenn

An easy method is to use the "Switch" node.

I see the the "id" comes thru as "msg.payload.id". ? FYI, if you expand the JSON by clicking the small arrow next to the object in the debug window, you can see a more straightforward path to the desired variable. ?Click on the "copy path" to move that into the switch node, "Property" box.

The switch node can use "msg.payload.id" property, to only allow the full object to flow, only if the value meets the value set in the selection. ?Here is an example using your data. ?Each sensor's variable will flow to the respective output of the switch as msg.payload, or whatever you have set up in the source nodes.

Alan. WA9WUD


Re: Getting started with Node Red

 

Hey there?
Great group here
I am taking the advice and starting small before i get onto bigger things
So i have started with taking the weather data from an sdr dongle
I can get it to display no problem but it mixes the values
i have been trying to use RTL-433 as the inject to display weather on my shack display.
The problem i have is the temperature value coming from the SDR is mixing multiple sensors.
So the same display rotates the different temps from the different sensors .
the sensors have different channels and different ID's. if i try and block the ID it seems to block everything
one sensor is?id:?339746605 the other id:?-2139593976
i thought the obvious way would be to block the alternate ID
maybe its too late in the night but i just cant seem to divert one sensor?
i have attached the map?
any tips would be good
I have been trying everything but my json knowledge is poor.
I tried functions/gates/seperate switches/filters but cant think of the correct way to do it?
Glenn VK2HTV

Gl


Re: Background color problem

 

¿ªÔÆÌåÓý

I¡¯ve been trying to figure this out. What is your Node Red version and dashboard node version?

?

Node Red version can be found by clicking on three horizontal lines in upper right of editor. Current version is 2.2.2. To check dashboard node click the three horizontal lines and select Manage Palette. Scroll down to node-red-dashboard. Current version is 3.1.7 If older, there is a button to upgrade it.

?

To upgrade the Node Red version run this script for a Pi, go to this page and run the bash script from a terminal window on Pi.

?

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of W8DU_Arnie
Sent: Thursday, June 9, 2022 9:36 AM
To: [email protected]
Subject: [nodered-hamradio] Background color problem

?

My UI page is rendered by all the major browsers with a white background, regardless of that I have specified the Dark Theme for the dashboard.
Can anyone suggest what the problem may be??
Tnx es 73 de Arnie W8DU


Background color problem

 

My UI page is rendered by all the major browsers with a white background, regardless of that I have specified the Dark Theme for the dashboard.
Can anyone suggest what the problem may be??
Tnx es 73 de Arnie W8DU


Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi_2022.06.08.2130.json updated #file-notice

 

Hi Adrian,

?

I see from your list of get/set commands that I will need to change the available commands that NodeRed displays to match the connected Radio.

?

Greg


New Chat: Node red Title bar - display payload #chat-notice

Group Notification
 

A new chat has been created:

Hi if anyone can help i need assistance displaying the payload on the title bar together with the time and other text.

By: cgaetsewe@...

View/Join This Chat

Do not reply to this message to post to the chat. You can participate in chats only through the group's website.


Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated #file-notice

 

Hi Adrian,

Regarding the sliders, my FT-847 doesn't have that capability, and the Demo FT-2000 doesn't seem to actually send data when the sliders are moved.? ??

If you could capture traffic on your loopback address while you "slide" each slider, that will provide the data I need.

When I capture data, I apply a "frame" filter in Wireshark and look for the words "get" and "set".? ?(i.e. frame 00:65:00:74:00:20:00, which finds all the "et ").

Post any get and set calls, and I'll add these in.? ? Or send me the capture file. :)

Regards,


Greg VE9GFI


Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi_2022.06.08.2130.json updated #file-notice

 

Adrian, you can also copy/paste multiple nodes by selecting multiple nodes. Either hold left mouse button down and drag mouse to select nodes of interest or select multiple nodes ny holding the control key down. Combination of the two also work, select a group with the mouse drag then unselected unwanted nodes with control. BTW, Node interconnects between selected nodes are preserved on the paste.

Ron WB2WGH?

On Wed, Jun 8, 2022, 11:52 PM David De Coons wo2x <RocketNJ@...> wrote:
Yes, to copy a node from one flow to another, click the node to be copied hit CTRL-C to copy it. Go to flow where you want it and hit CTRL-V to paste.

Dave wo2x


On Jun 8, 2022, at 11:31 PM, Adrian Fewster <vk4tux@...> wrote:

?Thankyou Greg, Is it possible to copy paste a node from one flow to another ?

73

Adrian Fewster


Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi_2022.06.08.2130.json updated #file-notice

 

¿ªÔÆÌåÓý

Yes, to copy a node from one flow to another, click the node to be copied hit CTRL-C to copy it. Go to flow where you want it and hit CTRL-V to paste.

Dave wo2x


On Jun 8, 2022, at 11:31 PM, Adrian Fewster <vk4tux@...> wrote:

?Thankyou Greg, Is it possible to copy paste a node from one flow to another ?

73

Adrian Fewster


Re: Dashboard Alignment Issues

 

Dave:

Running on a Pi3 B+. OS is Rasbian 9 (Stretch). Have two of them and they both behave identically.
--
Mark

K0LO


Re: Dashboard Alignment Issues

 

¿ªÔÆÌåÓý

I¡¯ll post the site section of mine later tonight.
What are you running Node Red server on?

I didn¡¯t change any fonts. I replaced the &nbsp with a space.

I¡¯m using a Pi 4. I think it has something to do with your layout. I know my dash is set to 48x48. Will check rest later.


73
Dave wo2x


Dave wo2x


On Jun 8, 2022, at 9:02 PM, Mark Wharton, K0LO <markwharton@...> wrote:

?

Dave:

First, thanks for taking a look at this. I'm also using the "Node Red Theme Everywhere" setting.

Here's the contents of the Site section in the json file:
"site": {
??????????? "name": "Node-RED Dashboard",
??????????? "hideToolbar": "false",
??????????? "allowSwipe": "false",
??????????? "lockMenu": "false",
??????????? "allowTempTheme": "true",
??????????? "dateFormat": "DD/MM/YYYY",
??????????? "sizes": {
??????????????? "sx": 36,
??????????????? "sy": 36,
??????????????? "gx": 4,
??????????????? "gy": 4,
??????????????? "cx": 4,
??????????????? "cy": 6,
??????????????? "px": 0,
??????????????? "py": 0
??????????? }
??????? }
??? },

Using a group width of 3 instead of 4 results in the Group Heading "Camp K Switch" word-wrapping onto two lines, and the same for some of the button labels. Apparently you must also have to change the text size to make it fit. Is that what you did in your picture?

If I use a space in the button labels, the label wraps to the next line. Even if I enter "a b", the a is on the first line and the b is on the next line. So that's why I used &nbsp instead of a space in the labels.

I have looked at the site with Firefox, Edge, and Chromium (on the Pi). Firefox and Edge render the page identically. Chromium requires a different number of spaces to line the buttons up, but it acts like the other browsers in that the button is placed immediately to the right of the text and is not right-justified.


Mark

K0LO


Re: Dashboard Alignment Issues

 

Dave:

First, thanks for taking a look at this. I'm also using the "Node Red Theme Everywhere" setting.

Here's the contents of the Site section in the json file:
"site": {
??????????? "name": "Node-RED Dashboard",
??????????? "hideToolbar": "false",
??????????? "allowSwipe": "false",
??????????? "lockMenu": "false",
??????????? "allowTempTheme": "true",
??????????? "dateFormat": "DD/MM/YYYY",
??????????? "sizes": {
??????????????? "sx": 36,
??????????????? "sy": 36,
??????????????? "gx": 4,
??????????????? "gy": 4,
??????????????? "cx": 4,
??????????????? "cy": 6,
??????????????? "px": 0,
??????????????? "py": 0
??????????? }
??????? }
??? },

Using a group width of 3 instead of 4 results in the Group Heading "Camp K Switch" word-wrapping onto two lines, and the same for some of the button labels. Apparently you must also have to change the text size to make it fit. Is that what you did in your picture?

If I use a space in the button labels, the label wraps to the next line. Even if I enter "a b", the a is on the first line and the b is on the next line. So that's why I used &nbsp instead of a space in the labels.

I have looked at the site with Firefox, Edge, and Chromium (on the Pi). Firefox and Edge render the page identically. Chromium requires a different number of spaces to line the buttons up, but it acts like the other browsers in that the button is placed immediately to the right of the text and is not right-justified.


Mark

K0LO


Re: Dashboard Alignment Issues

 

Alan:

Here's an example of the first switch node in graphical and json formats.
--
Mark

K0LO


File /!1! Flows by Type/RADIOS/HRD_ve9gfi_2022.06.08.2130.json updated #file-notice

Group Notification
 

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

By: ve9gfi@...

Description:
Ham Radio Deluxe integration. v.1.0 Requires: MQTT Description: Polls HRD and extracts the radio's frequency. Tracks the HRD Context and self-recovers if HRD is restarted. You can set the frequency via a dashboard menu. Developed using DM780 and a FT-847, as a part of larger Amplifier project. If you have additional commands that could be added, please DM me. June 6 2022 - Initial June 8 2022 - added Mode Selection


Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated #file-notice

 

I just uploaded a new flow that includes the Mode Selection.


Re: File /!1! Flows by Type/MISCELLANEOUS/flows-HRDCommander7873-20220607-2004.json uploaded #file-notice

 

¿ªÔÆÌåÓý

Hello, Dave


Please find in attached file the flow with fixed HRDCommander.
Now, then you click on a spotin HRD Logbook you will have not only cw mode on your radio.
It is not nice solution, but it works.
I absolutely agree with you, DXCluster window in HRD Logbook is? not something I would like to use, so I use a different flow (HRD DXCC) for filtering spots (attached also). HRD-DXCC flow is still in development. By click on the spot you would check confirmed band-mode slots. Next to do is make push notification and command for my Flex to go to the freq and the mode.


The main reason why I preferred HRD Logbook is the storage of the log in the SQL database. I store SQL database at the dedicated Server and? have remote access to the SQL database with my log from any places, even from any of my Node-Red flows.


with regards,
Gennady
RM3DA



08.06.2022 2:47, David De Coons wo2x §á§Ú§ê§Ö§ä:

Hi Gennady,

?

HRD Logbook still has bug that mode mapping is not correct. Clicking on spot in HRD DX cluster 14.074 sets CW instead of DIGIU. This is an HRD bug and not a problem with your connector flow.

?

I have opened a support ticket with HRD. This is why I stopped using HRD several years ago.

?

73

Dave wo2x

?

?

From: [email protected] <[email protected]> On Behalf Of Gennady Kupinsky
Sent: Tuesday, June 7, 2022 6:04 PM
To: [email protected]
Subject: Re: [nodered-hamradio] File /!1! Flows by Type/MISCELLANEOUS/flows-HRDCommander7873-20220607-2004.json uploaded #file-notice

?

Hi

?

TCP Node returned string already.

?

regards

Gennady

RM3DA

?

07.06.2022 22:17, David De Coons wo2x §á§Ú§ê§Ö§ä:

Hi Gennady

?

I have it working now but need to test all the features.

I needed to add a hex to string function after the Flex TCP CAT node.

?

Once I verify everything I will post the updated flow.

?

Thank you

?

Dave wo2x

?

?

?

From: [email protected] <[email protected]> On Behalf Of Group Notification
Sent: Tuesday, June 7, 2022 1:12 PM
To: [email protected]
Subject: [nodered-hamradio] File /!1! Flows by Type/MISCELLANEOUS/flows-HRDCommander7873-20220607-2004.json uploaded #file-notice

?

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

  1. /!1! Flows by Type/MISCELLANEOUS/flows-HRDCommander7873-20220607-2004.json

By: Gennady Kupinsky <gek1925@...>

Description:
Node-Red flow to substitute HRD main program. You can use HRD Log app with interface to you radio via Node-Red.


Re: File /!1! Flows by Type/RADIOS/HRD_ve9gfi.json updated #file-notice

 

Dave,

Where do I find this source code?

Greg VE9GFI


Re: Dashboard Alignment Issues

 

¿ªÔÆÌåÓý

OK, I loaded these in my production Pi.

?

First, you don¡¯t need &nbsp for a space character in the names. I changed it to just a space.

Next, I adjusted the group width to 3 instead of 4 (buttons are set at width of 3).

?

Below is screenshot on my dashboard. Everything is lined up. Note colors are not set due to no comm to the relays.

?

?

Under Dashboard and Site tab I am using Node Red Theme Everywhere

?

My guess is something in you CSS head settings is causing the issue.

?

Look if you have any UI templates set to Added To Site <Head> Section. Try disabling them which will disable custom CSS and see if it makes a difference. If so, then something in those CSS settings is causing the alignment issue.

?

Last, try a different browser or try it from your phone or tablet.

?

73

Dave wo2x

?

?

?

From: [email protected] <[email protected]> On Behalf Of Mark Wharton, K0LO
Sent: Wednesday, June 8, 2022 9:53 AM
To: [email protected]
Subject: Re: [nodered-hamradio] Dashboard Alignment Issues

?

Dave:

Upon checking what I sent you last time, I forgot to attach a picture to show what I see. I only sent you the flows.

Here's what part of the Dashboard looks like without adding spaces following the text labels. Nothing like the right-aligned buttons in your figure above (June 4).

--
Mark

K0LO


Re: Dashboard Alignment Issues

 

Mark

It looks like your switch icon is part of the label text instead of a separate icon for the switch.

Could you send me an example switch node from your flow to take a look at?

Alan. WA9WUD