Reply
New Member
Posts: 11
Registered: ‎06-13-2018

Call back of voucher / user expiry of data or time limit

Hi guru's,

 

is there any api callback on the controller that will let us know  if a device has used up its authorized dataor time limit?

 

this would be an extremely useful functionality towards solving a shared usage by a family.

 

Regards

Byron

 

 

Senior Member
Posts: 21,431
Registered: ‎08-04-2017
Kudos: 4039
Solutions: 1039

Re: Call back of voucher / user expiry of data or time limit

Hello @ByronCoetzee,

 

Maybe @slooffmaster's API tool can help.

 

 

Regards,

Glenn R.

Cloud Hosted Controllers | Glenn R. | UniFi Installation/Easy Update Scripts | UniFi-Video Installation Scripts | UniFi-VoIP Installation Scripts
USG-XG-8 • USG-4-PRO • USG
US-XG-16 • US-48-500W • US-24-POE-250W 2x • US-16-POE-150W 3x • US-24 • US-8-150W • US-8
UAP XG • UAP-SHD • UAP-HD • UAP-NanoHD 2x • UAP-AC-PRO 2x • UAP-AC-LITE • UAP-AC-IW • UAP-AC-M • UAP-AC-M-PRO 2x
UAS-XG • UCK-G2-PLUS • UCK-G2 • UCK
Veteran Member
Posts: 4,966
Registered: ‎06-13-2015
Kudos: 1343
Solutions: 234

Re: Call back of voucher / user expiry of data or time limit


@ByronCoetzee wrote:

Hi guru's,

 

is there any api callback on the controller that will let us know  if a device has used up its authorized dataor time limit?

 

this would be an extremely useful functionality towards solving a shared usage by a family.

 

Regards

Byron


@ByronCoetzee As I stated in the other thread; no there isn’t.

 

The only way to do this is by using the current voucher system where you continuously poll the API for an update on where each guest device is with their usage. That will put a bit of extra load on your controller though. 

Art of WiFi
Check out our UniFi API browser tool on GitHub. The PHP API client which it uses, can be found here on GitHub.
The thread on our UniFi Device Search tool can be found here, also check out our Captive Portal solutions for UniFi.
Reply