How to config AP radio with OpenAPI

How to config AP radio with OpenAPI

How to config AP radio with OpenAPI
How to config AP radio with OpenAPI
2025-05-27 13:19:57 - last edited 2025-06-03 01:59:27
Model: OC200  
Hardware Version:
Firmware Version:

Hello,

 

I'm having a hard time trying to configure an AP radio using Omada OpenAPI.

No matter how I send my request, I've got a success reply but I see that requested changes are ineffective.

Alternatively, when using Omada controller's GUI, changes on radio settings are immediate.

 

I'm using a Python program at the moment and I'm planning to use Ansible later on.

 

The core of my program is

 

radio_settings = {'wp2g': {
                        'radioEnable': True,
                        'channelWidth': 20,                        
                        'channel': '5',
                        'txPower': '18',                        
                        'txPowerLevel': '3',
                        'channelLimitEnable': False,
                        #'freq': 2462,
                        'wirelessMode': -2},
                       'wp5g': {
                        'radioEnable': False}}

response = session.patch(URL6, headers=headers6, data=json.dumps(radio_settings), verify=False)

 

I've tried so many combinations of values in radio_settings dict (with or without quotes arround integer values, with  txPower or txPowerLevel alone or with both , ...) I'm wondering if my method is correct.

 

My method is to focus first on a simple setting, then include a second one and so one.

The first parameter I tried to change is txPower in 2.4GHz band.

For the EAP 610 I'm testing with, txPower mapping is 9dB for Low level, 14 for Medium and 20 for High.

 

Do you have any working example, of any kind ?

Suggestion ?

 

Best regards

  0      
  0      
#1
Options
1 Accepted Solution
Re:How to config AP radio with OpenAPI-Solution
2025-05-28 09:11:40 - last edited 2025-06-03 01:59:27

Hi  @Oliv2831 

 

As I mentioned in the other post, when the txpower lelel is 3, txpower is not needed. Please delete it to see if it works:

 

if still no help, please kindly send us the full response to locate the reason. Thanks.

Recommended Solution
  0  
  0  
#2
Options
4 Reply
Re:How to config AP radio with OpenAPI-Solution
2025-05-28 09:11:40 - last edited 2025-06-03 01:59:27

Hi  @Oliv2831 

 

As I mentioned in the other post, when the txpower lelel is 3, txpower is not needed. Please delete it to see if it works:

 

if still no help, please kindly send us the full response to locate the reason. Thanks.

Recommended Solution
  0  
  0  
#2
Options
Re:How to config AP radio with OpenAPI
2025-05-31 08:01:05

Hi  @Oliv2831 

 

Did the suggestions above help?

  0  
  0  
#3
Options
Re:How to config AP radio with OpenAPI
2025-06-02 11:30:56

  @Vincent-TP 

Yes thanks to your above replies, I could successfully configure radio settings as I pleased, from a remote host, without touching the GUI.

 

For those reading this thread, key take away is:

 

- use the appropriate client mode when connecting to the controller,

- you don't need to include in requests, settings that you don't change.

 

Best regards

  1  
  1  
#4
Options
Re:How to config AP radio with OpenAPI
2025-06-03 01:57:34

Hi  @Oliv2831 

 

Great to hear that the issue has been resolved! If you encounter any further problems or have additional questions, feel free to reach out. We're here to help! 😊

  0  
  0  
#5
Options