homebridge-unifi-kids-cry's People
homebridge-unifi-kids-cry's Issues
UDM Pro compatability?
Cant seem to get this going with UDM pro. Unifi controller no longer uses ports to separate protect and network controller anymore
Error: ERR_HTTP_INVALID_HEADER_VALUE
Hello
I have currently this problem when i run your plugin. I have a Unifi DreamMachine Pro and i will control my AppleTV.
[20/01/2021, 19:05:13] [UnifiMacBlocker] TypeError [ERR_HTTP_INVALID_HEADER_VALUE]: Invalid value "undefined" for header "cookie" at ClientRequest.setHeader (_http_outgoing.js:561:3) at new ClientRequest (_http_client.js:251:14) at Object.request (https.js:313:10) at HttpClient.requestRawWithCallback (/usr/local/lib/node_modules/homebridge-unifi-mac-block/node_modules/typed-rest-client/HttpClient.js:310:35) at /usr/local/lib/node_modules/homebridge-unifi-mac-block/node_modules/typed-rest-client/HttpClient.js:289:18 at new Promise (<anonymous>) at HttpClient.requestRaw (/usr/local/lib/node_modules/homebridge-unifi-mac-block/node_modules/typed-rest-client/HttpClient.js:282:16) at HttpClient.<anonymous> (/usr/local/lib/node_modules/homebridge-unifi-mac-block/node_modules/typed-rest-client/HttpClient.js:207:43) at Generator.next (<anonymous>) at /usr/local/lib/node_modules/homebridge-unifi-mac-block/node_modules/typed-rest-client/HttpClient.js:9:71 { code: 'ERR_HTTP_INVALID_HEADER_VALUE' }
My config.json looks like this
{ "platform": "UnifiMacBlocker", "base": "192.168.88.1", "username": "USER-FROM-WEBGUI", "password": "PASS-FROM-WEBGUI", "site": "default", "refreshInterval": 5, "devices": [ { "name": "AppleTV", "mac": "90:dd:5d:a5:65:3c" } ] }
Have you a idea whats my problem?
regards
Issue - multiple devices fail?
I assumed that since "devices" is an array I could do:
"devices": [
{
"name": "Charles - iPhone",
"mac": "00:00:00:00:00:01"
},
{
"name": "Chloe - iPad",
"mac": "00:00:00:00:00:02"
}
],
But sadly it looks to error:
Jul 2 06:29:38 pecan hoobs[299]: Error: Cannot add a bridged Accessory with the same UUID as another bridged Accessory: 7257520b-1c86-498f-a23c-edc9309359e8
Jul 2 06:29:38 pecan hoobs[299]: at Bridge.Accessory._this.addBridgedAccessory (/usr/lib/node_modules/@hoobs/hoobs/node_modules/hap-nodejs/dist/lib/Accessory.js:286:27)
Jul 2 06:29:38 pecan hoobs[299]: at Server.configCachedPlatformAccessories (/usr/lib/node_modules/@hoobs/hoobs/bridge/server.js:348:25)
Jul 2 06:29:38 pecan hoobs[299]: at Server.run (/usr/lib/node_modules/@hoobs/hoobs/bridge/server.js:94:14)
Jul 2 06:29:38 pecan hoobs[299]: at module.exports (/usr/lib/node_modules/@hoobs/hoobs/bridge/cli.js:84:12)
Jul 2 06:29:38 pecan hoobs[299]: at Object.<anonymous> (/usr/lib/node_modules/@hoobs/hoobs/bin/hoobs:95:81)
Jul 2 06:29:38 pecan hoobs[299]: at Module._compile (internal/modules/cjs/loader.js:1138:30)
Jul 2 06:29:38 pecan hoobs[299]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
Jul 2 06:29:38 pecan hoobs[299]: at Module.load (internal/modules/cjs/loader.js:986:32)
Jul 2 06:29:38 pecan hoobs[299]: at Function.Module._load (internal/modules/cjs/loader.js:879:14)
Jul 2 06:29:38 pecan hoobs[299]: at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
Jul 2 06:29:38 pecan hoobs[299]: at internal/main/run_main_module.js:17:47
What am I missing?
2FA does not allow this?
Thank you for creating this plugin, its just what I need to be able to easily turn off the wifi for my kids.
The only problem I have is when 2FA is enable on Unifi, the plugin doesn’t work. Is there a work around for this without having to turn off 2FA?
Thanks in advance.
Barns
Blocked Undefined Errors
Thank you for this tool! I've been trying to use it with Homekit Automation and I'm getting strange results. When I try to unlock a device, I get a message 'xx:xx:xx:xx:xx:xx blocked undefined'. The Unfit GUI says it's unblocked, the device connects to the wifi access points, but it can't connect to the internet. The clients don't show as locked in the Insights view. I'm using Controller 6.0.43 (now 6.0.45) with a USG, Unifi Switch, and Access Points.
Problem with Icon-Symbol in the Home-App when using a Unifi-Controller
Hi,
thanks for this nice homebridge plugin. I have a small problem/question.
Using the Home-app to block/unblock devices everything seems to work great.
But if I use the Unifi-Controller app to block/unblock devices then only the text-status in the iOS Home-App will be updated correctly BUT the corresponding status-symbol in the Home-App shows only a spinning-wheel and the symbol will never be updated.
When opening the Home-App you can see in the homebridge log that your plugin receive the correct status (set with Unifi-controller) but as mentioned the status-symbol icon in the Home-App will not be updated (shows a spinning wheel only).
[8/14/2019, 7:19:28 AM] [UnifiMacBlocker] 00:11:22:33:44:55 blocked true
[8/14/2019, 7:19:52 AM] [UnifiMacBlocker] 00:11:22:33:44:55 blocked false
Old "Unifi Kids Cry" plugin?
If you search for "unifi" plugins in the Homebridge app you will also be pointed to your old(?), same(?) Unifi Kids Cry plugin.
As far as I understood "Cry Kids" was the first, old name of the plugin but the active development is now under the "Unifi Mac Block" name.
Is this right? If yes I think it would be better to remove the Cry Kids plugin from a Homebridge search, otherwise new users get be confused which version to use.
Thanks again for your plugin and Kind Regards
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.