Keyboard Shortcuts
Likes
- Nodered-Hamradio
- Messages
Search
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. |
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@... 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,
|
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:
|
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:
|
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   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:
|
Re: Dashboard Alignment Issues
Dave: First, thanks for taking a look at this. I'm also using the "Node Red Theme Everywhere" setting. 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   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.
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: |
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
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.
Gennady RM3DA
08.06.2022 2:47, David De Coons wo2x
§á§Ú§ê§Ö§ä:
flows-HRDCommander7873-20220609-0006.json
flows-HRDCommander7873-20220609-0006.json
flows-HRD-DXCC-20220608-1112.json
flows-HRD-DXCC-20220608-1112.json
|
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   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: 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). K0LO |