node-unifiapi
node-unifiapi copied to clipboard
UniFi API ported to Node.JS
I have a Unifi Controller installation that I have not previously configured (just installed on an Ubuntu server). When attempting to login with unifi.login('ubnt', 'ubnt'), I'm getting the following error:...
Hi Delian, first of all, thank you for your effort to create the scripts related unifi. Unfortunately Ubiquiti looks lazy to do that. I can able to connect and send...
Comparing the `stat_session` function (show login sessions for clients), with the PHP version of the Unifi API class, I noticed that the PHP version lets you perform a search of...
So looks like there're some typos in this function, here: https://github.com/delian/node-unifiapi/blob/34662c589f2a9b0e8aa2069a2fd202e9be55476b/index.js#L332 The current code looks like so: ``` UnifiAPI.prototype.stat_sta_sessions_latest = function(mac = '', limit = 5, sort = '-asoc-time', site...
**Running your example code for the cloudapi I get these errors right after starting the node app.** ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL ALSA lib control.c:953:(snd_ctl_open_noupdate) Invalid CTL ALSA lib control.c:953:(snd_ctl_open_noupdate)...
Hi ! Good Day I'm using unifi 5.7.2 node 6.10.0 My issue is i can't get the voucher code after using the create_voucher function.. it only returns the created time.....
Non-cloud version is working well, but I wanted to ssh into a device. Tried to run the list_aps() and got the following error. ``` SyntaxError: Unexpected end of JSON input...
Using the following `let UnifiAPI = require('node-unifiapi'); let unifi = UnifiAPI({ baseUrl: 'https://127.0.0.1:8443', // The URL of the Unifi Controller username: 'ubnt', password: 'ubnt', debug: true, // More debug of...
When I run the example for the Cloud Access with my credentials I get this error: `Segmentation fault (core dumped)` When I change the credentials to be incorrect I just...
Attempting to run this lib on a linux machine results in a SegFault 139: `Segmentation fault (core dumped) npm ERR! Linux 4.4.0-83-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR!...