Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
SmartSDR v3.1.12 and the SmartSDR v3.1.12 Release Notes. | SmartSDR v2.6.2 and the SmartSDR v2.6.2 Release Notes.
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes. | Power Genius XL Firmware v3.5.23. | Power Genius XL Utility v2.2.10.
FRStack REST API Access: Node-Red Example
With these changes, we can now access Mark’s library of easy to use REST commands available on FRStack using Node-Red. This compliments Mark’s UDP broadcast of Flex Meter Data.
The same could be accomplished by writing code to access the Flex API directly, but I found that mostly over my head and by using FRStack as the “in-between”, I can take advantage of the simplicity and added functionality that FRStack provides.
As an example, I wanted to add a “Tune” button to my Node-Red Dashboard for control of my Palstar LA1K amp. I wanted to inhibit the RCA TX3 when I push the button, to prevent the amp from transmitting during the tuning process.
To do this, I added the command, “http://192.168.50.150:13522/api/radio/tune?param=1" to a Node-Red HTTP request node ("0" to stop tuning). To provide the RCA TX3 inhibits while tuning, I used the options menu on FRStack, “Tune RCA TX Control” to inhibit TX3 when tuning. All done…..simple.
Another example of the functionality of Node-Red, I added a “PTT Gate” to the LA1K PTT output from RCA TX3. The gate closes if the TX power of the Flex is above 50% power. I do this with a relay and a GPIO pin output from Node-Red. This ensures I do not overdrive the LA1K amp. I have an LED on my dashboard to show the power set point and if the gate is open or closed.
Here is a screenshot of my control dashboard, including the Tune Button and Flex Meter data, derived from FRStack.
I can share any portion of this as anyone requests
Leave a Comment
- 15.9K All Categories
- 64 Community Topics
- 1.9K New Ideas
- 139 The Flea Market
- 5.4K Software
- 4.9K SmartSDR for Windows
- 39 SmartSDR for Maestro and M models
- 96 SmartSDR for Mac
- 144 SmartSDR for iOS
- 152 SmartSDR CAT
- 71 DAX
- 280 SmartSDR API
- 7.1K Radios and Accessories
- 5.8K FLEX-6000 Signature Series
- 562 Maestro
- 14 FlexControl
- 729 FLEX Series (Legacy) Radios
- 163 Power Genius Products
- 126 Power Genius XL Amplifier
- 14 Power Genius Utility
- 23 Tuner Genius
- 45 Shack Infrastructure
- 24 Networking
- 95 Remote Operation (SmartLink)
- 50 Contesting
- 147 Peripherals & Station Integration
- 64 Amateur Radio Interests
- 425 Third-Party Software