Alan,
Yes, Node Red is communicating with both the HL2 and my amplifier. The HL2 sends out the FA CAT command. You need to get one of the DB9 interface kits for the Hardrock 50 interface, which sets the correct TTL level. I then used a TTL to USB converter to connect to the USB port on the Raspberry Pi that is running Node Red (you could also connect it directly to the GPIO serial pins).
I configured a node to parse the FA command. My amplifier is a homebrew 1KW solid state and it has an Arduino microcontroller for monitoring and protection,. I wrote a desk top application, using Visual Studio, to monitor and control the amp. Node Red was later used to replace Visual Studio. When I wrote the Arduino software, I was running an Elecraft KX3 which has a serial port for interfacing to an external amplifier. I used a CAT command that was unique to Elecraft, the band command, BN: I send a BN; to the radio and it responds with the band number, which I then use to select the correct low pass filter.
I later replaced the KX3 with a K3, which also supports the BN command. I am generating the BN command in
Node Red. I parse the FA command to get the frequency and then use switch statements to generate the BN command.
The other commands that I send back and forth from the amplifier to Node Red are just very basic serial strings.
My Node Red flow is still a work in progress. I use a FreqEZ remote antenna switch controller, which also runs on a Raspberry Pi, with a Visual Studio desktop console. FreqEZ can communicate with a logging program or DX Labs Commander, using UDP XML packets. I have added that functionality to my Node Red flow but it isn't working correctly. I generate what looks to me to be the correct serial string but FreqEZ isn't accepting it. Hopefully I can get that working soon. There is some additional cosmetic work that I want to do for the buttons.
73,
Don K9AQ