SmartSDR v3.8.19 and the SmartSDR v3.8.19 Release Notes | SmartSDR v2.12.1 and the SmartSDR v2.12.1 Release Notes
SmartSDR v1.12.1 and the SmartSDR v1.12.1 Release Notes
Power Genius XL Utility v3.8.8 and the Power Genius XL Release Notes v3.8.8
Tuner Genius XL Utility v1.2.11 and the Tuner Genius XL Release Notes v1.2.11
Antenna Genius Utility v4.1.8
Need technical support from FlexRadio? It's as simple as Creating a HelpDesk ticket.
FRStackWebApi
I need to be able to use 2 raspi pi's for 2 flex radios on the same network. I have looked at the available documentation and I have not found a way to configure the FRStackWebApi.service to only work with a specific ip address.
I have tried changing the service parameters to use the ip address of the radio but that has not worked.
[Service] Type=notify WorkingDirectory=/usr/local/frstack2 ExecStart=/usr/bin/dotnet FRStackWebApi.dll --urls "http://*:5026"
I have also edited the /usr/local/frstack/appsettings.json to the ip of the radio and found out that configures which hosts can access the web api.
"AllowedHosts": "*",
I see where you can add a 2nd instance on another port and that implies to me using 2 radios. However I can't figure out how to point the service to a specific radio ip address.
Hopefully some one here has worked that out.
Regards
Best Answer
-
Alan, the modifications I made did not work the way I expected. However I was watching the load on the pi when both radios were running and it was not that much more than one radio so I think I am going to go back to the original config.
Regards
0
Answers
-
I think I have it now..
You do have to change the service to point to the flex radio ..
pi@raspberrypi:/lib/systemd/system $ sudo systemctl status FRStackWebApi
● FRStackWebApi.service - FRStack Web APIs
CGroup: /system.slice/FRStackWebApi.service
└─6661 /usr/bin/dotnet FRStackWebApi.dll --urls http://192.168.1.210:5025
Then you have to go into the flows and set the parameter node to the ip of the radio and also the web socket nodes.
It seems to work fine with this config. Tomorrow I will test turn on the new Flex and see if it ignores the ip data from it.
Regards
0 -
Mick
Look at the set of FRStack/Flex Node-Red flows Mark includes in the FRStack download directory.
Mark's example flows have a radio selector and a client selector. Adapt these portions to your flow.
Alan WA9WUD
0 -
Thanks Alan, I want to keep the the pi's separate one for each radio due to the overhead I have on the 1st Pi that is a Nginx webserver as well. I will report back tomorrow if it does what I think it will do.
Regards
0
Leave a Comment
Categories
- All Categories
- 289 Community Topics
- 2.1K New Ideas
- 535 The Flea Market
- 7.5K Software
- 6K SmartSDR for Windows
- 146 SmartSDR for Maestro and M models
- 360 SmartSDR for Mac
- 249 SmartSDR for iOS
- 231 SmartSDR CAT
- 172 DAX
- 352 SmartSDR API
- 8.8K Radios and Accessories
- 7K FLEX-6000 Signature Series
- 28 FLEX-8000 Signature Series
- 850 Maestro
- 44 FlexControl
- 847 FLEX Series (Legacy) Radios
- 797 Genius Products
- 417 Power Genius XL Amplifier
- 277 Tuner Genius XL
- 103 Antenna Genius
- 243 Shack Infrastructure
- 166 Networking
- 404 Remote Operation (SmartLink)
- 130 Contesting
- 631 Peripherals & Station Integration
- 125 Amateur Radio Interests
- 870 Third-Party Software