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

Wlan lässt sich nicht de-/aktivieren #601

Closed
JHD47804 opened this issue Aug 31, 2022 · 5 comments
Closed

Wlan lässt sich nicht de-/aktivieren #601

JHD47804 opened this issue Aug 31, 2022 · 5 comments

Comments

@JHD47804
Copy link

Hallo,

seit dem Update auf 0.6.1 lässt sich WLAN nicht mehr sowohl de- als aktivieren. Folgene Fehlermeldung kommt:

unifi.0 | 2022-08-31 16:59:54.041 | error | [updateWlanStatus site default] error: Request failed with status code 400, stack: undefined
unifi.0 | 2022-08-31 16:59:54.040 | error | Error site default (data): {"meta":{"rc":"error","msg":"api.err.IdInvalid"},"data":[]}

Was kann man da machen?

Ich nutze admin 6.2.17
nodejs v16.17.0
npm v8.15.0

Danke für Feedback.

@KaJuGG
Copy link

KaJuGG commented Sep 21, 2022

Hallo,

ich habe das selbe Problem mit der Version 0.6.1. Es lassen sich auch keine Voucher mehr erzeugen. Die Fehlermeldung ist die gleiche wie oben.

edit: ich habe es noch mal mit der Version 0.6.0 getestet. Hier zeigt sich der Fehler leider auch.

Ich nutze admin 6.2.22
Node.js v16.17.0
NPM 8.15.0

Danke

@Lucifor1976
Copy link

Lucifor1976 commented Nov 13, 2022

Ich vermute der Adapter muss angepasst werden, das ganze geht seit dem Unifi Network Update 6.2.64 nicht mehr.
Auch bei mir geht es nicht mehr, ich meine mit 6.2.62 ging es noch und mit 6.2.64 nicht mehr. Jetzt ist gerade 7.2.95 aktuell (Unifi/Network) und es geht nach wie vor nicht.
Wäre schon wenn sich das beheben ließe.

Edit: Bei mir folgende Fehlermeldungen wenn ich über eine Vis das Gast-W-Lan schalten möchte:

2022-11-14 04:12:26.777 error Error site default (data): "Unauthorized"
2022-11-14 04:12:26.779 error [updateWlanStatus site default] error: Request failed with status code 401, stack: AxiosError: Request failed with status code 401 at settle (/opt/iobroker/node_modules/node-unifi/node_modules/axios/lib/core/settle.js:19:12) at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/node-unifi/node_modules/axios/lib/adapters/http.js:495:11) at IncomingMessage.emit (events.js:412:35) at IncomingMessage.emit (domain.js:475:12) at endReadableNT (internal/streams/readable.js:1333:12) at processTicksAndRejections (internal/process/task_queues.js:82:21)
2022-11-14 04:15:08.820 error [updateWlanStatus site default] error: Cannot read property 'disableWLan' of undefined, stack: TypeError: Cannot read property 'disableWLan' of undefined at Unifi.setWlanStatus (/opt/iobroker/node_modules/iobroker.unifi/main.js:959:51) at Unifi.updateWlanStatus (/opt/iobroker/node_modules/iobroker.unifi/main.js:930:13) at Unifi.onStateChange (/opt/iobroker/node_modules/iobroker.unifi/main.js:127:21)
2022-11-14 04:15:43.650 error [updateWlanStatus site default] error: Cannot read property 'disableWLan' of undefined, stack: TypeError: Cannot read property 'disableWLan' of undefined at Unifi.setWlanStatus (/opt/iobroker/node_modules/iobroker.unifi/main.js:959:51) at Unifi.updateWlanStatus (/opt/iobroker/node_modules/iobroker.unifi/main.js:930:13) at Unifi.onStateChange (/opt/iobroker/node_modules/iobroker.unifi/main.js:127:21)
  2022-11-14 04:22:41.941 error [updateWlanStatus site default] error: Request failed with status code 400, stack: AxiosError: Request failed with status code 400 at settle (/opt/iobroker/node_modules/node-unifi/node_modules/axios/lib/core/settle.js:19:12) at IncomingMessage.handleStreamEnd (/opt/iobroker/node_modules/node-unifi/node_modules/axios/lib/adapters/http.js:495:11) at IncomingMessage.emit (events.js:412:35) at IncomingMessage.emit (domain.js:475:12) at endReadableNT (internal/streams/readable.js:1333:12) at processTicksAndRejections (internal/process/task_queues.js:82:21)
unifi.0 2022-11-14 04:22:41.886 error Error site default (data): {"meta":{"rc":"error","msg":"api.err.IdInvalid"},"data":[]}

@777Timo
Copy link

777Timo commented Feb 24, 2023

Moin zusammen,
mit der Aktuellen Version besteht das Problem weiterhin.
Unifi OS 2.5.16
Network : 7.3.83
Der Status wird zwar geholt, aber man kann nicht schalten.

wuliwux added a commit to wuliwux/ioBroker.unifi that referenced this issue Mar 2, 2023
jens-maus pushed a commit that referenced this issue Mar 2, 2023
@jens-maus
Copy link
Collaborator

Problem sollte in nächster kommenden version beseitigt sein.

@smarthausleben
Copy link

Für wann ist denn die nächste Version geplant?

jens-maus added a commit that referenced this issue Mar 31, 2023
* (jens-maus) Bumped node-unifi to latest 2.4.0
* (wuliwux) fixed issue in setWlanStatus not working (#665, #601)
* (pafade89) New feature for whitelisting client objects (#651)
* (Scrounger) client block / unblock added
* (Scrounger) restart device added
* (Scrounger) led override added
* (Scrounger) port power cycle added
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

6 participants