Comments (9)
@Draygv2 Danke für den Issue. Um das Problem zu lokaliseren benötige ich weitere Infos.
- Welche UniFi Geräte hast Du im Einsatz?
- Kannst Du Dich bitte einmal in Deinem UniFi Controller anmelden, anschließend folgende URL im Browser aufrufen https://<UNIFI_IP_UND_PORT>/api/stat/sites und dann die Antwort hier posten? <UNIFI_IP_UND_PORT> natürlich durch die richtigen Werte ersetzen.
from iobroker.unifi.
@braindead1 Danke für die schnelle Antwort
Ich habe einen UniFi Switch 24 POE-250W, ein UniFi Security Gateway 3P und ein paar APs
{"meta":{"rc":"ok"},"data":[{"_id":"5c9eaa296cd37e0ec3f0f23a","name":"default","desc":"Default","attr_hidden_id":"default","attr_no_delete":true,"location_lat":0.52242929435006,"location_lng":0.890564882208992,"location_accuracy":0,"health":[{"subsystem":"wlan","num_user":9,"num_guest":0,"num_iot":0,"tx_bytes-r":12277,"rx_bytes-r":2553,"status":"ok","num_ap":4,"num_adopted":4,"num_disabled":0,"num_disconnected":0,"num_pending":0},{"subsystem":"wan","num_gw":1,"num_adopted":1,"num_disconnected":0,"num_pending":0,"status":"ok","wan_ip":"xxxxx","gateways":["xxxxx"],"netmask":"255.255.248.0","nameservers":["127.0.0.1"],"num_sta":23,"tx_bytes-r":4889,"rx_bytes-r":15761,"gw_mac":"b4:fb:e4:22:52:b7","gw_name":null,"gw_system-stats":{"cpu":"4","mem":"32","uptime":"3100939"},"gw_version":"4.4.50.5272448"},{"subsystem":"www","status":"ok","tx_bytes-r":4889,"rx_bytes-r":15761,"latency":27,"uptime":740957,"drops":1,"xput_up":62.586,"xput_down":189.324,"speedtest_status":"Success","speedtest_lastrun":1586906549,"speedtest_ping":29,"gw_mac":"b4:fb:e4:22:52:b7"},{"subsystem":"lan","lan_ip":"192.168.1.1","status":"ok","num_user":14,"num_guest":0,"num_iot":0,"tx_bytes-r":27725,"rx_bytes-r":3343,"num_sw":1,"num_adopted":1,"num_disconnected":0,"num_pending":0},{"subsystem":"vpn","status":"ok","remote_user_enabled":true,"remote_user_num_active":0,"remote_user_num_inactive":0,"remote_user_rx_bytes":0,"remote_user_tx_bytes":0,"remote_user_rx_packets":0,"remote_user_tx_packets":0,"site_to_site_enabled":false}],"num_new_alarms":0}]}
Meine IP habe ich durch xxxxx ersetzt. Ich hoffe das ist die einzige sensitive Info darin, ansonsten bitte ändern
from iobroker.unifi.
Im Einsatz sind 1x USG 3P, 1x AP-AC Pro, 1x Switch 16 POE-150W, 1x CloudKey Gen. 1
{"meta":{"rc":"ok"},"data":[{"_id":"5a3003c685a83f082397e54e","name":"default","desc":"Frogtie","attr_hidden_id":"default","attr_no_delete":true,"location_lat":0.22171538421918,"location_lng":0.594311887731578,"location_accuracy":0,"health":[{"subsystem":"wlan","num_user":9,"num_guest":0,"num_iot":0,"tx_bytes-r":169352,"rx_bytes-r":20600,"status":"ok","num_ap":1,"num_adopted":1,"num_disabled":0,"num_disconnected":0,"num_pending":0},{"subsystem":"wan","num_gw":1,"num_adopted":1,"num_disconnected":0,"num_pending":0,"status":"ok","wan_ip":"xx.xx.xx.xx","gateways":["xx.xx.xxx.xxx"],"netmask":"255.255.255.0","nameservers":["127.0.0.1"],"num_sta":16,"tx_bytes-r":10435,"rx_bytes-r":263739,"gw_mac":"80:2a:a8:cd:c1:a0","gw_name":null,"gw_system-stats":{"cpu":"0","mem":"26","uptime":"2706406"},"gw_version":"4.4.50.5272448"},{"subsystem":"www","status":"ok","tx_bytes-r":10435,"rx_bytes-r":263739,"latency":16,"uptime":9006,"drops":226,"xput_up":16.722,"xput_down":214.029,"speedtest_status":"Success","speedtest_lastrun":1587220358,"speedtest_ping":30,"gw_mac":"80:2a:a8:cd:c1:a0"},{"subsystem":"lan","lan_ip":"192.168.1.1","status":"ok","num_user":7,"num_guest":0,"num_iot":0,"tx_bytes-r":34366,"rx_bytes-r":34690,"num_sw":1,"num_adopted":1,"num_disconnected":0,"num_pending":0},{"subsystem":"vpn","status":"ok","remote_user_enabled":true,"remote_user_num_active":0,"remote_user_num_inactive":0,"remote_user_rx_bytes":0,"remote_user_tx_bytes":0,"remote_user_rx_packets":0,"remote_user_tx_packets":0,"site_to_site_enabled":false}],"num_new_alarms":0}]}
from iobroker.unifi.
@Draygv2 und @SoerenR82 Ich habe das Problem lokalisiert: Ihr habt Eurem USG im UniFi Controller keinen Aliasnamen gegeben und damit kam der Adapter nicht klar. Könnt Ihr bitte den Adapter einmal von GitHub installieren und testen, ob er jetzt bei Euch funktioniert. Und falls Ihr dem USG jetzt einen Aliasnamen geben wollt, wartet bitte damit, bis der Adapter läuft. :-)
from iobroker.unifi.
@braindead1 du bist mein Held.
Habe keine Fehler mehr und sehe alle Devices.
Danke für deine super Leistung!!!
from iobroker.unifi.
@braindead1
Ich bin nicht sicher ob das noch damit zu tun hat.
Wenn ich Werte überschreiben möchte, dann werden diese nicht angepasst und wieder zurück geschrieben. Habe ich etwas vergessen? ZB. stelle ich devices.xxxx.disabled auf true und beim update wird wieder false geschrieben.
from iobroker.unifi.
@Draygv2 Hier liegt wahrscheinlich ein Missverständnis vor: In der jetzigen Version ist es nicht möglich Werte im UniFi Controller zu ändern. Deshalb werden die States im ioBroker auch wieder überschrieben. Ich gucke mal, ob ich die States auf read-only setzen kann, so dass es gar nicht erst möglich ist, diese im ioBroker zu ändern.
from iobroker.unifi.
@braindead1
Ahhh ok. Schade dann bringt mir der Adapter nicht viel. Ist das nicht möglich oder was ist der Grund dafür, dass man nicht schreiben kann?
from iobroker.unifi.
@Draygv2 Möglich ist das schon und geplant auch, aber alles Schritt für Schritt. Das grundsätzliche Vorgehen beim Adapter habe ich im ioBroker Forum beschrieben: https://forum.iobroker.net/topic/32205/major-update-unifi-adapter-v0-4-x
from iobroker.unifi.
Related Issues (20)
- Adapter Iobroker geht nicht Online. HOT 6
- Error 401 - " Unauthorized" - After updating UDM Pro to UniFi OS 3.2.7, HOT 3
- CPU sehr hoch HOT 4
- TypeError: Cannot read properties of undefined (reading 'blockClient')
- Error: failed to detect UniFiOS status HOT 2
- AxiosError: Request failed with status code 500
- TypeError: Cannot read properties of undefined (reading 'reconnectClient')
- TypeError: Cannot read properties of undefined (reading 'unblockClient')
- TypeError: data.map is not a function
- Error timeout Axios HOT 23
- Update stable version in repo from 0.6.6 to 0.6.7 HOT 1
- AxiosError: timeout of 10000ms exceeded HOT 1
- Warning for alarm sync - Excessive number of states created HOT 1
- Online status of adapter not showing correctly HOT 2
- 2FA not Working HOT 5
- multi-factor authentication - beginning July 22, 2024 HOT 1
- error: timeout of 5000ms exceeded, stack: AxiosError Adapter Absturz HOT 2
- Update stable version in repo from 0.6.7 to 0.7.0 HOT 1
- Turn on / off switch port
- State "blocked" is missing on wired devices
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.
from iobroker.unifi.