OC200: WLAN, Finer adjustment of the Time range

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

OC200: WLAN, Finer adjustment of the Time range

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
OC200: WLAN, Finer adjustment of the Time range
OC200: WLAN, Finer adjustment of the Time range
2023-02-16 15:37:32 - last edited 2023-02-16 15:38:37
Model: OC200  
Hardware Version:
Firmware Version:

Is it possible to set the time ranges more finely than with the slider in 15-minute steps? For our constellation I need at least 5-minute steps.

  0      
  0      
#1
Options
4 Reply
Re:OC200: WLAN, Finer adjustment of the Time range
2023-02-16 18:37:21

  @WJh 

 

Your fastest path would probably be to try to modify the time range afterwards using the Omada API and a script, and that's assuming they didn't hardcode the event scheduler on a 15min interval.

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#2
Options
Re:OC200: WLAN, Finer adjustment of the Time range
2023-02-16 18:50:20

  @d0ugmac1 
Thank you for your suggestion - I will take a closer look.

  0  
  0  
#3
Options
Re:OC200: WLAN, Finer adjustment of the Time range
2023-02-16 21:46:07

  @WJh 

 

It dawned on me that the latest API doc (5.4.6 from what I can see) wouldn't have the Time Profiles defined in it...so I did a little sleuthing for v5.8.4 controllers:

 

URL to set a Time ACL

 

HTTP 1.1 POST to your ControllerIP:PORT /{your_controller_id}/api/v2/sites/{your_site_id}/setting/profiles/timeranges 

 

For example

 

https://192.168.0.100:8043/{your_controller_id}/api/v2/sites/{your_site_id}/setting/profiles/timeranges 

 

Here's the JSON structure of the POST payload:

 

Text: 

 {"name":"test2","dayMode":0,"timeList":[{"dayType":0,"startTimeH":8,"startTimeM":0,"endTimeH":18,"endTimeM":0}],"dayMon":true,"dayTue":true,"dayWed":true,"dayThu":true,"dayFri":true,"daySat":true,"daySun":true}

 

<< Paying it forward, one juicy problem at a time... >>
  5  
  5  
#4
Options
Re:OC200: WLAN, Finer adjustment of the Time range
2023-02-16 21:48:53

  @WJh 

 

So things are looking pretty good for setting Time Profiles down to the 1-minute increment.

 

There are a number of Omada SDN script projects out there if you need further help to get started on the basic authentication to your controller.

<< Paying it forward, one juicy problem at a time... >>
  0  
  0  
#5
Options

Information

Helpful: 0

Views: 302

Replies: 4

Related Articles