Keyboard Shortcuts
Likes
- Nodered-Hamradio
- Messages
Search
Re: Flex Radio Auto AGC Flow.
开云体育Alan, ?I was going through some old email and wondered if you finished the Auto AGC flow for SmartSDR?Also, I am interested in a flow to adjust RX Gain in SmartSDR to tune to a specific Gain setting in WSJT-X ?(I run 30-40 dB). ?I typically run two WSJT-X windows using Slice Master and when I change to a different profile, I have to adjust the RX Gain setting in SmartSDR most every time. ?Are you aware of any such flow? I presently run Shack Control which Dave helped me set up for my station. ?I am a neophyte in the development side of Node Red. Thanks and... 73,? Jim, W4TE ______________________ Jim Kauten, MD, W4TE kautenmd@... ______________________
|
Re: ERROR - global.get("subport")
开云体育Also, for example, I am on 20 meters on Ant1. Looking at the global context variable data subport is an array of [5,0,1,0] which means band 5 (20 meters) and antenna 1 (my Yagi). On startup of the flow, it sends the commands band list, antenna list, sub port all, along with other commands to the AG. ? Last, does the AG app show proper info? ? 73 Dave wo2x ? ? From: [email protected] <[email protected]> On Behalf Of Bill - N1HKO via groups.io
Sent: Monday, April 21, 2025 3:51 PM To: [email protected] Subject: [nodered-hamradio] ERROR - global.get("subport") ? Hi All, Who can tell me where the? global var "subport" is defined? The function "Title - Band display" in the AG2x8v4 flow is returning the error - "TypeError: Cannot read properties of undefined (reading '0')" I have searched the AG2x8v4 and Tuner Genius XL flows and found nothing. I'm guessing this may come from a Flex radio flow yet I don't see any connection to such a flow. No flex radios here. Just an AG on BCD and a TGXL on CI-V. ? TIA & 73, -- Bill - N1HKO |
Re: ERROR - global.get("subport")
开云体育I wrote most of the flow and up Dated it from the V3 firmware to V4. ? Look at the two function nodes to the right of the switch node all the way on right side of the AGv4 flow. There are subport A and B decode. Check the startup inject node. Click the box on the left of the startup inject to resend the startup commands to AG. ? Also, what version firmware is the AG? Does the TCP Request node show connected? ? 73 Dave wo2x ? ? ? From: [email protected] <[email protected]> On Behalf Of Bill - N1HKO via groups.io
Sent: Monday, April 21, 2025 3:51 PM To: [email protected] Subject: [nodered-hamradio] ERROR - global.get("subport") ? Hi All, Who can tell me where the? global var "subport" is defined? The function "Title - Band display" in the AG2x8v4 flow is returning the error - "TypeError: Cannot read properties of undefined (reading '0')" I have searched the AG2x8v4 and Tuner Genius XL flows and found nothing. I'm guessing this may come from a Flex radio flow yet I don't see any connection to such a flow. No flex radios here. Just an AG on BCD and a TGXL on CI-V. ? TIA & 73, -- Bill - N1HKO |
ERROR - global.get("subport")
Hi All,
Who can tell me where the? global var "subport" is defined?
The function "Title - Band display" in the AG2x8v4 flow is returning the error - "TypeError: Cannot read properties of undefined (reading '0')"
I have searched the AG2x8v4 and Tuner Genius XL flows and found nothing.
I'm guessing this may come from a Flex radio flow yet I don't see any connection to such a flow. No flex radios here. Just an AG on BCD and a TGXL on CI-V.
?
TIA & 73,
--
Bill - N1HKO |
Re: Pi4 vs. Pi5
On Mon, Apr 21, 2025 at 09:04 AM, Bill - N1HKO wrote:
The Raspberry Pi guys changed the recommended GPIO lib for Pi5. Another issues using RPI GPIO pins to operate relays, is the "reboot" stage give random relay positions.
?
For a RPI 5 solution and solving the random relay during reboot issue, consider what I do.
?
I use a simple RPI-3 and its GPIO pins to operate my relays.....all located in remote locations. ?These are on a UPS power supply and I have not rebooted them in years.
?
At my station Node-Red, in your case running on the RPI-5, use MQTT to send the GPIO position variable, on/off, 1/0, true/false, etc, to the remote pi using the GPIO pins to operate the remote relays.
?
Also, I often reboot the station Node-Red, and doing so does not cause random operation of the remote Pi-3 and its GIPO driven relays.
?
Alan. WA9WUD |
Node-red and Modbus over TCP Relays
I have two different relay boards with ethernet ports. One I have working fine using the modbus-flex-getter and the modbus-flex-write. The manual is good enough that I even understand how it works. The other however seems to connect OK but always says "timed out" in Node-red when I try and send to or read from it. The relay device however does show as connected in the device relay web-server.
?
I'll start with what I think is a simple question at my level of understanding. If I want to turn all relays on (12 of them on the board). The rather poor manual says I need to send 01 06 00 00 07 00 8B FA. If I do this using NetAssist to the required IP and port, it works. What I need to know is what to fill in in the function node preceding the modbus-flex-write node. So I understand that the string above is as follows;?
?
msg.payload = {
? ? 'value' :xxxx, (I don't know what should be entered in here in decimal to represent the 07 00 hex pairs above.... I know it needs to be a decimal number)
? ? 'fc' : 6, (function codes which should be 06 as the 2nd hex pair)
? ? 'unitid' : 1, (first byte of the hex string above being the unit ID, which I've checked is set to 1 on the board)
? ? 'address' : 0, ( I am guessing this should be 0 to reference the register 00 00 being the 3rd and 4th hex pairs above)
? ? 'quantity' : 2 (is this the number of data bytes? and if so what do I enter for the hex string above?)
};
return msg;
?
I am ignoring the 8B FA as that is just the crc and is not needed as far as I understand it in MODBUS TCP
?
Or, am I understanding the hex string content incorrectly?
?
I've attached the MODBUS programming manual to aid somebody in helping how I should address this relay board. The other relay board that works is made by Dingtian and they provided worked Node-Red examples. Those examples do not work with the board I'm having trouble with. All the hex strings in the manual work OK if I connect to
it as a MODBUS client with NetAssist, so in that sense I can send and receive data from the board. Just for clarity everything is on the same private subnet. The MODBUS relay board is set up as TCP Server on a private IP of 192.168.0.42 port 10502. I have two node red instances, one on a Synology server at 192.168.0.21 and a Pi on 192.168.0.132.
Both just say "node timeout" when sending anything from the MODBUS Node-Red flex-Writer or trying to trying to read status with the flex-getter. However, the bytes received count on the webserver of the Relay board increases each time I try and read or write. The bytes sent however always remains at zero so the board is seeing the incoming data but not acting on it or
sending anything back to Node-Red.
?
Any help would be appreciated.
?
Sorry, the snipping tool seems to change the colours a bit but basically, it is an inject node followed by a flex-write node followed by the modbus response node. The latter never shows anything which is no surprise given that the board is not sending any return data.
?
73
G8PFR
Mike
?
?
|
Re: Sending VOX on/off command
toggle quoted message
Show quoted text
|
Re: Pi4 vs. Pi5
开云体育Good to know Bill. Post if anything changes. I use external (network) relays and switches for antennas, filters, AC and DC.?73 Dave wo2x Sent from my waxed string and tin cans.? On Apr 21, 2025, at 11:04?AM, Bill - N1HKO via groups.io <bill@...> wrote:
|
Re: Pi4 vs. Pi5
Hi All,
Interesting and good to know there are some benefits.
?
I recently started my Pi journey with a Pi5. I have since learned that the GPIO functionality is not reliable under Node RED. I had to downgrade to a Pi4 to get the GPIO working. The Raspberry Pi guys changed the recommended GPIO lib for Pi5. Node RED requires a node rewrite that will not be backward compatible. It appears we have sort of a standoff - Node RED is waiting for the lib authors to fix the lib and the authors claim it is compatible. I would say barely compatible and not stable or capable of anything requiring precision.
?
Anyone needing GPIO functionality may be better with a Pi4 and should be cautious with regard to a Pi5.
--
Bill - N1HKO |
Re: Pi4 vs. Pi5
开云体育If you want even more performance, get one of the cases that support an nVME in PCIe 3 mode. That is my production Pi.?Development Pi is a Pi500.? 73 Dave wo2x Sent from my waxed string and tin cans.? On Apr 21, 2025, at 1:17?AM, Patrick Lenn via groups.io <nwmtech@...> wrote:
|
Pi4 vs. Pi5
Thought I'd give some input on this. I just upgraded my Pi4 16GB to a Pi5 16GB. This is a dedicated Pi running only NR off of a 64GB card. I have 24 separate flows going on in my dashboard so I'd say I'm a fairly decent judge of performance. Previously I was cycling between 15-45% CPU usage on the Pi4. Now I'm between 5-15% with the same flows. Performance difference is very evident. Reboots are 5x faster. I did do a fresh install on the Pi5 of NR and just imported my flows. Took a little bit to get all my nodes back, but overall the process wasn't too bad. So if you're a fairly intensive NR user I can genuinely say that even if you're not pegging the CPU usage on the Pi4 you will notice a nice performance increase going to the Pi5
|
Re: 4O3A_Azimuth_Magnetic_Sensor.json
Hi Barry,
?
I got also some emails.
The JSON file you will find here: /g/nodered-hamradio/files/%211%21%20Flows%20by%20Type/ROTORS/4O3A_Azimuth_Magnetic_Sensor.json ?
We use it for remote and multi OP usage, therefore we don?t use the USB Dongle.
With the original SW we had on two different computers trouble. That is also the reason we use the Dashboard.? ?
I ordered the 2x RS232/485 Ethernet adapter.? like that:
?
With one RS-485 to Ethernet Adapter? we could share the sensor data on each person who has access to the dashboard.?
Our rotors and amplifire are also connected via Lantronix.? 73 Tom? DL5NEN |
Re: 4O3A_Azimuth_Magnetic_Sensor.json
开云体育Tom:I happen to have the 4O3A Azimuth Magnetic Sensor but have yet to set it up. ?It is currently mounted on my KT-36 Triband yagi but have yet to place it in service. ?Your posting has rekindled my interest in perhaps utilizing the sensor. Questions: 1. ?Which Waveshare ?RS485 to Ethernet User are you using?? 2. ?With RS485, is it possible to “share” the magnetic sensor with two RS485 interfaces? ?I’m thinking of getting a RS-485 to USB adapter to connect to a PC in order to use the 403A software to display direction on a PC as well as utilize a RS-485 to Ethernet adapter for Node Red. ?I don’t believe the 403A software on a PC will recognize an ethernet connection. ? Thoughts/comments? ? Thanks, Barry, WD4ASW
|
4O3A_Azimuth_Magnetic_Sensor.json
Hi everyone, I'm new here, and I'd like to share a project I've been working on over the last four weeks. For years, our club station has experienced issues with our Create rotors. To address this, we decided to implement the 4O3A Azimuth Magnetic Sensor, which offers improved precision and reliability. ?I developed a Node-RED flow to read data from the sensor via the RS485 communication protocol. ?
The JSON file I created can be found here: [email protected] | Files I'm looking forward to receiving feedback or ideas on this project. Hopefully, it can help others solve similar challenges! Best regards, Tom DL5NEN ?
|
Re: Band_Activity flow
Hello Fabian, is there any swagger? or another description? I need to
toggle quoted message
Show quoted text
know what is available. Regards, Ondra ?t 17. 4. 2025 v 8:38 odesílatel Fabian/EB1TR via groups.io <fabian@...> napsal:
--
73 Ondra OK1CDJ |
Re: Band_Activity flow
toggle quoted message
Show quoted text
|
Re: SteppIR Yagi flow needed
开云体育Hi PatrickI was checking the Hawaii station today. Seems I have an intermittent “bug” with the SteppIR flow I wrote. I am going to load yours and modify for the 6400.? I’ll let you know what I find.? I do have the documentation on the SDA2000 API commands which are same as the SDA100 so shouldn’t be hard to figure out.? 73 & thanks again.? Dave wo2x Sent from my waxed string and tin cans.? On Apr 12, 2025, at 4:11?PM, Dave <rocketnj@...> wrote:
|