Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No button in Home app #2

Open
FaceMan4 opened this issue Aug 17, 2018 · 12 comments
Open

No button in Home app #2

FaceMan4 opened this issue Aug 17, 2018 · 12 comments

Comments

@FaceMan4
Copy link

In homebridge it was loading Guest WiFi fine, but there was no button published in my HomeApp? Did i miss any step? Thanks :)

@lyonlai
Copy link
Owner

lyonlai commented Aug 22, 2018

@FaceMan4 can you show me your config?

@FaceMan4
Copy link
Author

Homebridge: 0.4.43
node -v
v8.11.3

[2018-8-30 18:08:28] ---
[2018-8-30 18:08:31] Loaded plugin: homebridge-unifi-guest-wlan-switch
homebridge API version: 2.2
[2018-8-30 18:08:31] Registering platform 'homebridge-unifi-guest-wifi-platform.UnifyGuestWifiPlatform'
[2018-8-30 18:08:31] ---

[2018-8-30 18:08:36] [WLAN] Logged into Unifi Controller
[2018-8-30 18:08:36] [WLAN] loading guest wifies
[2018-8-30 18:08:36] [WLAN] loaded wlan settings []
[2018-8-30 18:08:36] [WLAN] Setting up update interval: 60000
[2018-8-30 18:08:36] [WLAN] DidFinishLaunching

Here is my config:

{
"platform": "UnifyGuestWifiPlatform",
"name": "WLAN",
"controller": {
"address": "192.168.2.3",
"port": 8443,
"username": "admin",
"password": "****",
"updateInterval": 60000
}
},

@OBenned
Copy link

OBenned commented Nov 22, 2018

Im having the same issue:

Homebridge: 0.4.45
Node: v11.2.0

Config:

    {
        "platform": "UnifyGuestWifiPlatform",
        "name": "Guest Controller",
        "controller": {
            "address": "10.0.0.10",
            "port": 8443,
            "username": "admin",
            "password": "*******",
            "updateInterval": 60000
        }
    }

@OBenned
Copy link

OBenned commented Nov 22, 2018

Update:

Im also seeing this error on homebridge startup:

[11/22/2018, 6:48:12 PM] [Guest Controller] getting service switch undefined, undefined [11/22/2018, 6:48:12 PM] [Guest Controller] error loading guest wifies TypeError: Cannot read property 'getCharacteristic' of undefined at UnifyGuestWifiPlatform.setupAccessory (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:211:39) at UnifyGuestWifiPlatform._callee4$ (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:296:18) at tryCatch (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:62:40) at Generator.invoke [as _invoke] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:296:22) at Generator.prototype.(anonymous function) [as next] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:114:21) at step (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:17:30) at /usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:35:14 at new Promise (<anonymous>) at new F (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/core-js/library/modules/_export.js:36:28) at UnifyGuestWifiPlatform.<anonymous> (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/babel-runtime/helpers/asyncToGenerator.js:14:12) at UnifyGuestWifiPlatform.addGuestWifiAccessory (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:309:18) at /usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:164:29 at Array.map (<anonymous>) at UnifyGuestWifiPlatform._callee2$ (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/dist.js:161:39) at tryCatch (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:62:40) at Generator.invoke [as _invoke] (/usr/lib/node_modules/homebridge-unifi-guest-wlan-switch/node_modules/regenerator-runtime/runtime.js:296:22)

@OBenned
Copy link

OBenned commented Nov 22, 2018

Also my unifi controller is running version: 5.9.29.0

@Standarduser
Copy link

Same issue here.
I'm running homebridge-unifi-guest-wlan-switch with ioBroker and its ham-module.

Looks like connection and identifying the networks is working well, but there is no button (or state) for guest wifis

ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] DidFinishLaunching ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] Setting up update interval: 60000 ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] Guest Wifi: default-wifi-name2, exists, updating value instead ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] Adding Guest Wifi: default-wifi-name2 ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] Guest Wifi: default-wifi-name1, exists, updating value instead ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] Adding Guest Wifi: default-wifi-name1 ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] adding 2 guest wifi [ { _id: '5a2ed1cf25acxxxxxxxxxxxx', attr_hidden_id: 'default', attr_no_delete: true, desc: 'Zuhause', name: 'default', r ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] loaded 2 wlans [ 'wifi-name1', 'wifi-name2' ] ham.0 2019-01-09 18:14:20.896 debug [2019-1-9 18:14:20] [Guest Controller] loaded wlan settings [ { _id: '5b926f8aaab7xxxxxxxxxxxx', bc_filter_enabled: true, bc_filter_list: [], dtim_mode: 'default', dtim_na: 1, dtim ham.0 2019-01-09 18:14:20.815 debug [2019-1-9 18:14:20] [Guest Controller] loading guest wifies ham.0 2019-01-09 18:14:20.815 debug [2019-1-9 18:14:20] [Guest Controller] Logged into Unifi Controller ham.0 2019-01-09 18:14:20.313 debug [2019-1-9 18:14:20] [Guest Controller] Logging into Unifi Controller 192.168.243.41 8443

@OBenned
Copy link

OBenned commented Jan 10, 2019

I think this project is dead, since there hasn't been any activity since last year

@lyonlai
Copy link
Owner

lyonlai commented Jan 11, 2019

Well, the important part of an open source project is contribution. If you can submit a pull request instead of whinging the inactivity of this project that would be much more welcome.

@OBenned
Copy link

OBenned commented Jan 11, 2019

Sorry I you feel like I’m whining, that was not the intention. I’ll keep my mouth shut

@nielsth
Copy link

nielsth commented Oct 27, 2019

I'm having the same issue. Wouldn't know how to fix this myself unfortunately.

Has anyone made any progress with this (or found a different plug-in to achieve the same result)?

@enricomueller
Copy link

Same thing with package.json 1.0.1.

@Lling
Copy link

Lling commented Dec 2, 2020

same issue. I think its a dead project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants