Keyboard Shortcuts
Likes
- Nodered-Hamradio
- Messages
Search
Moderated
Re: Copying flows for a new Pi
Assuming your nodes are recognized,? I would check which group the nodes are in.? Usually I see that when I import flows,? only 2 things really get in the way,? I do not have the correct nodes installed and or they are in a group 'unassigned'.? Node red will throw an error when this occurs.? ?Use the drop down to see what group the offending nodes are in.? Odds are it is in an unassigned group.? If this still does not resolve the error, then post the actual error message you are seeing.
Mick, W8BE |
Moderated
Copying flows for a new Pi
I exported all my working flows, and wanted to put them all on a new Pi that I can mount in my rack with the radios.
I used "Export All Flows", then I imported them into the new Pi. There were a lot of Unrecognized Nodes. I tried installing those in the palette but the whole thing isn't right.? When I tried to deploy, it says that several items are not configured correctly. Am I doing this all wrong? Charlie KB8CR |
Re: Sub Meter SWR
My idea to move the SWR to 4998 actually worked.? ?Now Fan speed and SWR don't step all over each other.? ?I need to clean the code up to get the start up sequence for each udp port done but that should be easy..
I learned a couple of things doing this.? ?1st when you are looking for data in the array and expect varying size look at the node look at the node buffer size.? This will tell you which msg differs in size.? 2nd.? is you can run multiple tcp connects into port 4992 into the Flex. Mick |
Re: Sub Meter SWR
Thanks to Mark,? I am now able to do the math to get the correct SWR value,? however I ran into an interesting situation.? ?I am subscribing to 2 meters 'fanspeed' and 'swr'.? ?I noticed that the return values seemed to be stepping on each other.? Take a look at this debug output... The first payload has 32 bytes and is the SWR output.? 30: 0 and 31:144.? ?The math gives you an swr of 1.125.? ?I am subscribe to 2 meters and the data does not come in at the same time.? I found that when there is no fan speed data the swr data comes on byte 30 and 31.? ?The 2nd payload is 36 bytes and contains both fan speed and swr data.? However when the fan reports it's data it occupies that array slot and now the swr data move to the 35 and 36 byte slot.? Also the data in that array is now in hex not decimal.? ?
I am thinking maybe the way to go is to run the swr on a different udp port (i.e 4998).? ?Wondering if anyone has ran into this..?? Mick, W8BE |
Re: Node Red Overview Zoom (Youtube) Summary
Just to add to the above comments...
Node-Red can run on any computer and likely many of us do have it running on multiple machines for testing and development. A Raspberry PI is attractive as it is inexpensive, is easy to maintain OS software, it can left running indefinitely without the need for a monitor or keyboard, and lastly, the IO interface built into a PI can be used for direct interface to control external hardware together with the fact that a PI is so small, it can also be deployed remotely. 73 Dwayne |
Re: Node Red Overview Zoom (Youtube) Summary
¿ªÔÆÌåÓýNeal, ? Excellent info. I would like to incorporate your comments into an article I am writing. I will be sure to quote you on your key statements. ? 73 Dave ? From: [email protected] <[email protected]> On Behalf Of Neal Pollack
Sent: Sunday, February 7, 2021 2:18 PM To: [email protected] Subject: Re: [nodered-hamradio] Node Red Overview Zoom (Youtube) Summary ? Dave: ? Here is an idea to help the new people that don't yet grasp what is going on with Node Red: ? Do you notice how many times we get questions about "Why do you run Node Red on a Raspberry Pi? There is a natural tendency for most people to think of any computer topic as "A Program", a single part ? But why: This is because (in my opinion), that none of the introductory videos or articles start off explaining with a diagram ? 1.? ?The controlling User Interface:? ?A Web Browser ? The four major benefits that are creating the popularity seem to be: ? 1.? Node Red can easily interface to and control a wide array of dissimilar hardware, sensors, and control ? 2.? I can run it on very low cost, small, and inexpensive to run (24 x 7) micro-computers like the RPi. ? 3.? Using a web browser user interface, I can talk to it (control it) from my cell phone, tablets, or any PC ? 4.? I can develop/edit/create in Node Red using a web browser based graphical Editor, again, from anywhere. ? Extra Credit: ? = = = = = =? ? If more of the first timer, first day, tutorials and introductions started off with JUST THAT ABOVE, people would ? Cheers, ? Neal N6YFM ? ? On Sun, Feb 7, 2021 at 11:03 AM David De Coons wo2x <RocketNJ@...> wrote:
|
Re: Node Red Overview Zoom (Youtube) Summary
Dave: Here is an idea to help the new people that don't yet grasp what is going on with Node Red: Do you notice how many times we get questions about "Why do you run Node Red on a Raspberry Pi? Why don't more people run it on their Windows 10 PC?" There is a natural tendency for most people to think of any computer topic as "A Program", a single part thing that you put on your windows PC and just click to run. But why: This is because (in my opinion), that none of the introductory videos or articles start off explaining with a diagram that there are TWO parts to any node red installation (and that is what makes it so popular): 1.? ?The controlling User Interface:? ?A Web Browser 2.? ?The Flow:? A collection of javascript and node.js code that runs on a computer. AND, that #1 and #2 do not need to be on the same computer.? ? AND, that since we want "The FLOW" listening 24 x 7 (just like Alexa), we usually?place the FLOW on a small computer that wastes very little electricity, hence a Raspberry Pi 3 or 4. The four major benefits that are creating the popularity seem to be: 1.? Node Red can easily interface to and control a wide array of dissimilar hardware, sensors, and control boxes and relays.? It can easily tie all your dissimilar station equipment together for remote or local control. 2.? I can run it on very low cost, small, and inexpensive to run (24 x 7) micro-computers like the RPi. 3.? Using a web browser user interface, I can talk to it (control it) from my cell phone, tablets, or any PC anywhere (you can even tie it into Alexa for voice control). 4.? I can develop/edit/create in Node Red using a web browser based graphical Editor, again, from anywhere. Extra Credit: 5.? There is a large and growing community of users, who share ideas on forums and have a passion for helping each other. = = = = = =? If more of the first timer, first day, tutorials and introductions started off with JUST THAT ABOVE, people would have much less confusion during their first week or two of Node Red learning. Cheers, Neal N6YFM On Sun, Feb 7, 2021 at 11:03 AM David De Coons wo2x <RocketNJ@...> wrote:
|
Re: Node Red Overview Zoom (Youtube) Summary
¿ªÔÆÌåÓýThanks Kyle, very nice! I have added these to the notes on youTube. This will help others to find various topics. ? I am considering on what to do next via Zoom. I am thinking on building on the video Mike Walker did on a simple flow to control the 4 relay hat you can buy for the Pi. Go through the steps to build it from scratch. I am open to other ideas. ? 73 Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of Kyle K
Sent: Saturday, February 6, 2021 3:35 PM To: [email protected] Subject: [nodered-hamradio] Node Red Overview Zoom (Youtube) Summary ? Here are my notes from the Zoom overview session.? I wasn't able to attend this latest one but thanks to Dave for the info. |
Re: Sub Meter SWR
¿ªÔÆÌåÓýIt should be the raw returned value for SWR, DB, DBM, DBFS divided by 128 raw_value / 128.0f ? Temp is divided by 64 ? Volts and Amps is / 256 unless version is less than 1.11 then 1024 ? ? Mark W3II ? ? From: Mick - W8BE
Sent: Sunday, February 7, 2021 11:26 AM To: [email protected] Subject: [nodered-hamradio] Sub Meter SWR ? I have been experimenting with subscribing to the sub meter swr.? ?I have a 6600 and I am using the following sub meter: ? |
Re: USB serial for Pi-4?
¿ªÔÆÌåÓýYou definitely want a 'real' FTDI chip
set. They all work.
AL, K0VM On 2/6/2021 9:23 PM, Michael Walker wrote:
|
Sub Meter SWR
I have been experimenting with subscribing to the sub meter swr.? ?I have a 6600 and I am using the following sub meter:
20.src=TX-#20.num=3#20.nam=SWR#20.low=1.0#20.hi=999.0#20.desc=RF SWR#20.unit=SWR#20.fps=20# Currently to test this I only have the swr meter subscribed to.??"C20|sub meter 20\r"; When I examine the array output in RX mode I see: When I parse the array while xmitting a 1.1 swr into a dummy load I see: When I parse the array while xmitting into a 2.0 swr I see: Has any one parsed the sub meter swr and dealt with the array position / math? needed to calculate the SWR?? I looked at Daves revised flow and did not see it.? Maybe I missed it. Mick, W8BE |
Re: USB serial for Pi-4?
¿ªÔÆÌåÓý? Any of the Startech units are FTDI chipset.? You can find them on Amazon. I use a four port one.? Mike On Feb 6, 2021, at 9:50 PM, Neal Pollack <nealix@...> wrote:
|
Re: USB serial for Pi-4?
When you say "device", are you talking USB to RS-232 dongle or cable?? ?The FTDI units, REAL, not ebay china fake, work real well. Neal On Sat, Feb 6, 2021 at 6:38 PM K6HN Gary <gary@...> wrote: Can anyone recommend a good reliable usb-rs232 serial port device for the Pi-4? |
Node Red Overview Zoom (Youtube) Summary
Here are my notes from the Zoom overview session.? I wasn't able to attend this latest one but thanks to Dave for the info.
Dave, if you want to put this in the description of the YouTube Zoom chat, it will automatically create chapter bookmarks for the time stamps and make the correct links. 00:00 Start of stream 2:00 GUI and saving projects 3:04 Flow programming screen 4:40 Pallet layout 5:10 Timestamp & debug nodes 7:45 UDP in for Flex flow 9:28 Serial In/Out info 12:10 Loading nodes into the pallet 14:19 Pallet layout 14:55 msg.payload info 15:39 VITA49 flow intro 16:10 Loading your first flow 17:19 Dashboard info 18:17 VITA49 info #2 19:18 Split node discussion 20:19 Switch node discussion & Matches RegEx 21:09 Function node discussion & If Than Else example 26:59 Dashboard node assignment 27:33 Comment node discussion 28:30 Importing Flex Radio node 28:59 Resolving node import errors 32:08 Flex flow dashboard info & meters info 34:00 VITA49 recap 34:33 Q: How to reset a flow (reconnect a client) 35:04 How to restart Node Red from command prompt 36:39 Ping command node in VITA49 37:55 3 deploy actions (full deploy, changes only, flow only) 38:50 Flex IP discussion in node 42:00 Flex UDP port info 45:17 Global variables sending data from one flow to another 47:02 Flow variables sending data within a flow 48:30 KPA1500 flow discussion 50:54 Q: Why use Node Red? - Integration!!! 54:55 Dashboard node parameters 55:25 Dashboard basics 56:05 Dashboard groups and tabs 58:10 Dashboard group assignments 1:00:54 Bar graph dashboard node discussion 1:01:52 Q: Is the dashboard separate from the flows? 1:03:38 Q: When loading a flow, is everything contained in the JSON data file? 1:06:00 KPA1500 dashboard discussion 1:07:00 Moving dashboard nodes 1:07:40 Creating dashboard groups 1:08:04 Dashboard customization 1:08:54 Q: Can you copy dashboard nodes? 1:10:15 Disabling nodes from the dashboard 1:11:06 Dashboard layout discussion 1:11:53 Resizing dashboard nodes 1:12:00 Dashboard widget widths 1:13:29 Dashboard spacers 1:14:30 Using spacers for dashboard constraints 1:16:14 Project discussion 1:16:23 How to update Node Red 1:16:48 Projects and GIT 1:17:40 Dashboard customization Site tab 1:19:17 Group dashboard layout width (revisited) 1:19:48 Smartphone dashboard layout discussion 1:21:00 48 units is width of dashboard 1:21:25 Dashboard themes 1:25:52 Assigning dashboard nodes to groups (revisited) 1:28:24 How to backup Node Red & restore 1:34:20 Running NR on a Pi vs PC? 1:39:00 Pi serial port discussion 1:40:55 Q: What versions of SSDR is compatible with NR 1:42:20 FRStack & MultiFlex discussion 1:46:40 Meters flow discussion and review 1:49:15 Linear scale dashboard node discussion 1:51:49 Zeroing out Flex meters discussion Kyle AA0Z |
simple flows Amplitec remote antenna switch + YAESU GS232 rotor
¿ªÔÆÌåÓýI uploaded the following two flows: ?
The switch is available with in several versions with 4/6/8 antenna ports and consist of the switch itself and a seperate control box. Both are connected via a 9-pin DSub 1:1 cable. The control box has a USB port, which is connected to my Raspberry. Antennas can be switched manual via the control box or via web browser. Current settings are updated every second. ?
I am using a ERC Mini DX interface with my Yaesu G2800 which uses standard GS232 protocol. The simple flow shows the antenna direction and buttons to turn the antenna. ? Both flows are very simple and do not contain any error handling. I am sure there¡¯s an easier way to do it, but it works. ? ? 73, Michael |
Re: Rasp PI
¿ªÔÆÌåÓýThanks Dave. It takes a lot to excite me and I have to confess I am very excited after I came across you guys and node-red is bringing everything together in one GUI was always my hope. 73 NJ0F ? From: [email protected]
[mailto:[email protected]] On Behalf Of David De Coons wo2x
Sent: Friday, February 05, 2021 7:55 AM To: [email protected] Subject: Re: [nodered-hamradio] Rasp PI ? I will chime in on this with a comment. ? I have a flow which sends the radio¡¯s TX frequency to a GHE antenna switch. I wrote that for Santiago. That flow can probably be used as a starting point for having the Pi talk to the GHE equipment across the network, then build the interface to the equipment in Node Red to consolidate all normally used controls, meters, etc on a single web based dashboard. ? Dave wo2x ? ? From: [email protected]
<[email protected]> On Behalf Of Alan Blind, WA9WUD ? Andre ? Best we talk on the phone.? Lots of questions?and lot of options depending on what your goals are how much time you want to spend. ? I looked over your QRZ page and I see you have lot of devices! ? my phone is 269-303-6396.? I am available up to 9AM Eastern, then all afternoon. ? alan ? On Fri, Feb 5, 2021 at 8:24 AM Andre VanWyk via <nj0f=[email protected]> wrote:
|
Re: N1MM SO2R radio indicator
You will want either fans or heat-sinks. You almost certainly don't need a fan if you use heat-sinks. I don't run fans, but I do run with little stick-on aluminum heat-sinks. They are included with the CanaKit. There are also full rpi cases you can buy that are made of aluminum and have excellent heat dissipation. I use one of those for my home automation pi which constantly has high cpu. If your pi is in a server closet with poor ventilation then perhaps fans would be helpful. On Fri, Feb 5, 2021 at 12:25 PM Tyler Stewart K3MM via <k3mm=[email protected]> wrote:
|
Re: N1MM SO2R radio indicator
Some prefer it but I would recommend having a pi be dedicated to only node-red+frstack. I say this because it's easy to wind up with different software stacks that require different versions of system libraries or that cause temporary high periods of CPU/memory/disk-io. This happened to me when I was running node-red+FRStack on the same pi as some home automation software. There would be CPU spikes at random times which prevented me from SSHing in or accessing the dashboard during extended QSOing. The pis are inexpensive enough and I really don't want them to stall out while controlling my rather expensive radio equipment. My node-red+frstack is based heavily on Alan WA9WUD's flows and it runs quite comfortably on a pi4 with 2gb of ram. On Fri, Feb 5, 2021 at 11:55 AM David De Coons wo2x <RocketNJ@...> wrote:
|