Git Product home page Git Product logo

unifi-hotspot-manager's Introduction

UniFi HotSpot Manager

This is a HotSpot Manager like the default one of UniFi Ubiquiti, but this one has some advantages and is easier to use.

Latest stable release PayPal.me

Features

  • allow different Usergroups via Voucher prefixes with just one Ubiquiti Controller ;)
  • own user access control, no need for users to get a real admin account on the Ubiquiti Controller
  • variable printing, creating, filtering and deleting of vouchers
  • deleting multiple vouchers with one click just works, but the needed time is about 0.8 seconds per voucher :(
  • blocking, unblocking and re-connecting of users (the default HotSpot system misses these functions, but the admin interface has, yes I know... but this is not for users)
  • ... a lot more, this is just the first writing of that README

Included libraries

Used libraries via CDN

All CDN libraries I am including are using the MIT license, so I use it also ;)

Requirements

Installation

  • clone the repository git clone https://github.com/mcmilk/UniFi-HotSpot-Manager
  • the private folder can be setup to some private directory (not meant to stay in webroot)
  • the file index.php should be copied to your web folder
  • edit the file then, and set up the private path
  • then go to your private path an take a look into the file config.sample.php
  • modify that file and rename it to config.php
  • start your browser and you should get the login form
  • take a look into the file userdb.json, search for pass = [ and use this password together with the username admin
  • for creating an own qr-code of the WiFi settings for your network on the vouchers, just use the script provided here: contrib/qr-gen.sh

Todo

  • show some more information on the "list_clients" action
  • the same for the "list_guest_aps" site

Screenshots

  • creating vouchers and language selection p1
  • user management p2
  • translating the web user interface is supported also p3
  • list current guests in your network, you can also block or unblock them p4
  • same guest list, but a much smaller screen, responsive design ;) p5

Sample voucher lists

License and redistribution

This HotSpot Manager is licensed under the MIT license, Copyright (c) 2017 Tino Reichardt.

unifi-hotspot-manager's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unifi-hotspot-manager's Issues

UniFi-HotSpot-Manager under Ubuntu 22.04.2

Hi Tino,
I am using the UniFi API browser which works perfectly but I am not able to login to the HotSpot Manager. I guess the userdb.json-file is missing or at least not created yet. An old problem. However I cannot find a solution. Could you help to solve the issue. Is there something I have to install. Do you have a clue?
Thx in advance, Matthias

Amazing!

First of all, congratulations for this project. It's really cool.

I have one question: is it possible to add or del users from third application?

Issue with the JSON

Hi mcmilk,

I receive the following error on the unifi page can you help me to fix it? I have redownload your files and setup the config file but still the same. I run the script on ubuntu with xampp. When I create a voucher it will show in the unifi controler but not on the page vouchers then it will give this error:

DataTables warning: table id=myTable - Invalid JSON response. For more information about this error, please see http://datatables.net/tn/1

PHP errors on login attempts

Hi all

PHP errors on login attempts

Notice: Undefined variable: generate_json_i18n in /var/www/UniFi-HotSpot-Manager/private/hotspot-i18n.php on line 99

Notice: Undefined index: username in /var/www/UniFi-HotSpot-Manager/private/session.php on line 106

Printen op ESC/POS

Goedenavond @mcmilk ,

Bedankt voor het script! Is het ook mogelijk om een optie te maken om te printen naar een terminal printer?

Alvast bedankt

Voucher prefixes

You mention "different Usergroups via Voucher prefixes"

how is this implemented?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.