Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
SmartSDR v3.2.39 and the SmartSDR v3.2.39 Release Notes | SmartSDR v2.7.6 and the SmartSDR v2.7.6 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes | Power Genius XL Release Notes v3.6.21
Power Genius XL Utility v3.6.21 | Tuner Genius XL Utility v1.1.1
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
- 17K All Categories
- 97 Community Topics
- 2K New Ideas
- 203 The Flea Market
- 5.8K Software
- 5.1K SmartSDR for Windows
- 71 SmartSDR for Maestro and M models
- 149 SmartSDR for Mac
- 164 SmartSDR for iOS
- 163 SmartSDR CAT
- 84 DAX
- 295 SmartSDR API
- 7.4K Radios and Accessories
- 6.1K FLEX-6000 Signature Series
- 593 Maestro
- 19 FlexControl
- 756 FLEX Series (Legacy) Radios
- 261 Genius Products
- 188 Power Genius XL Amplifier
- 68 Tuner Genius XL
- 5 Antenna Genius
- 68 Shack Infrastructure
- 33 Networking
- 135 Remote Operation (SmartLink)
- 64 Contesting
- 205 Peripherals & Station Integration
- 72 Amateur Radio Interests
- 486 Third-Party Software