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
- 17.4K All Categories
- 107 Community Topics
- 2K New Ideas
- 225 The Flea Market
- 5.9K Software
- 5.2K SmartSDR for Windows
- 79 SmartSDR for Maestro and M models
- 161 SmartSDR for Mac
- 171 SmartSDR for iOS
- 171 SmartSDR CAT
- 91 DAX
- 299 SmartSDR API
- 7.5K Radios and Accessories
- 6.2K FLEX-6000 Signature Series
- 604 Maestro
- 22 FlexControl
- 758 FLEX Series (Legacy) Radios
- 308 Genius Products
- 202 Power Genius XL Amplifier
- 98 Tuner Genius XL
- 8 Antenna Genius
- 75 Shack Infrastructure
- 40 Networking
- 155 Remote Operation (SmartLink)
- 74 Contesting
- 217 Peripherals & Station Integration
- 75 Amateur Radio Interests
- 508 Third-Party Software