Modul: 74_UnifiSwitch - Auslesen und Steuern von UnifiSwitches (USW)

Begonnen von Wuehler, 12 Mai 2018, 00:37:44

Vorheriges Thema - Nächstes Thema

der-Lolo

Hallo Wuehler,
wenn ich nun einen POE port per

set SwitchBuero poeMode off

ausschalte oder per

set SwitchBuero poeMode auto

einschalte bekomme ich im FHEM-Log folgendes...

2018.07.15 17:30:20 1: UnifiController (Unifi_Write) - executed with Unifi_RestJson_Send
2018.07.15 17:30:05 1: UnifiController (Unifi_Write) - executed with Unifi_RestJson_Send
2018.07.15 17:22:59 1: UnifiController (Unifi_Write) - executed with Unifi_RestJson_Send
2018.07.15 17:22:43 1: UnifiController (Unifi_Write) - executed with Unifi_RestJson_Send


Benutze ich die funktion falsch? Stimmt noch was mit meiner Installation nicht?
Warum bekomme ich diese Log Einträge unter verbose 1? Meiner meinung nach gehören dort nur wirklich kritische vorkomnisse hinein...

der vollständigkeit halber noch ein List vom Switch
Internals:
   CFGFN     
   CODE       SwitchBuero
   DEF        SwitchBuero
   IODev      UnifiController
   LASTInputDev UnifiController
   MODEL      US8P60
   MSGCNT     217
   NAME       SwitchBuero
   NR         1928
   STATE      connected
   TYPE       UnifiSwitch
   UnifiController_MSGCNT 217
   UnifiController_TIME 2018-07-15 17:57:33
   VERSION    0.91
   READINGS:
     2018-07-15 17:57:33   port_01_name    Uplink
     2018-07-15 17:57:33   port_01_state   1000 Mbps
     2018-07-15 17:57:33   port_02_name    Port 2
     2018-07-15 17:57:33   port_02_state   disconnected
     2018-07-15 17:57:33   port_03_name    Port 3
     2018-07-15 17:57:33   port_03_state   disconnected
     2018-07-15 17:57:33   port_04_name    Port 4
     2018-07-15 17:57:33   port_04_state   disconnected
     2018-07-15 17:57:33   port_05_name    GardenDoorESP
     2018-07-15 17:57:33   port_05_poe_current 6.83
     2018-07-15 17:57:33   port_05_poe_mode auto
     2018-07-15 17:57:33   port_05_poe_power 0.33
     2018-07-15 17:57:33   port_05_poe_voltage 48.13
     2018-07-15 17:57:33   port_05_state   100 Mbps
     2018-07-15 17:57:33   port_06_name    Port 6
     2018-07-15 17:57:33   port_06_poe_current 0.00
     2018-07-15 17:57:33   port_06_poe_mode auto
     2018-07-15 17:57:33   port_06_poe_power 0.00
     2018-07-15 17:57:33   port_06_poe_voltage 0.00
     2018-07-15 17:57:33   port_06_state   disconnected
     2018-07-15 17:57:33   port_07_name    Port 7
     2018-07-15 17:57:33   port_07_poe_current 0.00
     2018-07-15 17:57:33   port_07_poe_mode auto
     2018-07-15 17:57:33   port_07_poe_power 0.00
     2018-07-15 17:57:33   port_07_poe_voltage 0.00
     2018-07-15 17:57:33   port_07_state   disconnected
     2018-07-15 17:57:33   port_08_name    Port 8
     2018-07-15 17:57:33   port_08_poe_current 0.00
     2018-07-15 17:57:33   port_08_poe_mode auto
     2018-07-15 17:57:33   port_08_poe_power 0.00
     2018-07-15 17:57:33   port_08_poe_voltage 0.00
     2018-07-15 17:57:33   port_08_state   disconnected
   usw:
     _id        5b4b4fe6e4b0bc41424d8c06
     _uptime    7501
     board_rev  6
     bytes      3262672
     cfgversion 7952747e8842c55a
     connect_request_ip 192.168.1.8
     connect_request_port 42128
     considered_lost_at 1531670368
     device_id  5b4b4fe6e4b0bc41424d8c06
     fw_caps    187941
     general_temperature 0
     guest-num_sta 0
     inform_authkey df79e437fdabcfc176a59090c007c6b8
     inform_ip  192.168.1.3
     inform_url http://unifi:8080/inform
     ip         192.168.1.8
     known_cfgversion 7952747e8842c55a
     last_seen  1531670230
     led_override default
     license_state registered
     mac        78:8a:20:7f:b2:d8
     model      US8P60
     name       SwitchBuero
     next_heartbeat_at 1531670276
     num_sta    0
     outdoor_mode_override default
     rx_bytes   1224602
     serial     788A207FB2D8
     site_id    594e2b79744eee3df4737ed5
     state      1
     stp_priority 32768
     stp_version rstp
     tx_bytes   2038070
     type       usw
     uplink_depth 1
     uptime     7501
     user-num_sta 0
     version    3.9.19.8123
     x_authkey  df79e437fdabcfc176a59090c007c6b8
     x_fingerprint 66:66:a8:8e:a0:7f:dd:da:79:ad:3a:9f:43:b4:7e:d2
     config_network:
       dns1       192.168.1.1
       dns2       8.8.8.8
       gateway    192.168.1.1
       ip         192.168.1.8
       netmask    255.255.255.0
       type       static
     dhcp_server_table:
     downlink_table:
     ethernet_table:
       HASH(0x1da942c8)
       HASH(0x1da8b348)
     last_uplink:
       uplink_mac f0:9f:c2:12:cd:0c
     port_overrides:
       HASH(0x1daf4c68)
       HASH(0x1daeff08)
       HASH(0x1da92e60)
     port_table:
       HASH(0x1daee070)
       HASH(0x1daf0238)
       HASH(0x1da5a510)
       HASH(0x1dae2fd0)
       HASH(0x1db248a0)
       HASH(0x1db24090)
       HASH(0x1db35f98)
       HASH(0x1dadde20)
     ssh_session_table:
     stat:
       bytes      5282713
       datetime   2018-07-15T13:45:00Z
       duration   7814000
       o          sw
       oid        78:8a:20:7f:b2:d8
       port_1-rx_broadcast 2889
       port_1-rx_bytes 2082396
       port_1-rx_multicast 4602
       port_1-rx_packets 11447
       port_1-tx_broadcast 299
       port_1-tx_bytes 1265797
       port_1-tx_multicast 4031
       port_1-tx_packets 7887
       port_5-rx_broadcast 160
       port_5-rx_bytes 79092
       port_5-rx_errors 1
       port_5-rx_packets 666
       port_5-tx_broadcast 2851
       port_5-tx_bytes 1855428
       port_5-tx_multicast 7937
       port_5-tx_packets 11603
       rx_broadcast 3049
       rx_bytes   2161488
       rx_crypts  0
       rx_dropped 0
       rx_errors  1
       rx_frags   0
       rx_multicast 4602
       rx_packets 12113
       site_id    594e2b79744eee3df4737ed5
       sw         78:8a:20:7f:b2:d8
       time       1531662300000
       tx_broadcast 3150
       tx_bytes   3121225
       tx_dropped 0
       tx_errors  0
       tx_multicast 11968
       tx_packets 19490
       tx_retries 0
     sys_stats:
       loadavg_1  1.51
       loadavg_15 1.56
       loadavg_5  1.57
       mem_buffer 0
       mem_total  262516736
       mem_used   157089792
     system-stats:
       cpu        55.9
       mem        59.8
       uptime     7501
     uplink:
       ip         192.168.1.8
       mac        78:8a:20:7f:b2:d8
       max_speed  1000
       media      GE
       name       eth0
       netmask    255.255.255.0
       num_port   8
       port_idx   1
       rx_bytes   2038070
       rx_bytes-r 257
       rx_dropped 0
       rx_errors  0
       rx_multicast 0
       rx_packets 11000
       speed      1000
       tx_bytes   1224602
       tx_bytes-r 235
       tx_dropped 0
       tx_errors  0
       tx_packets 7455
       type       wire
Attributes:
   group      Unifi
   room       99-Controller

Wuehler

Moin Lolo,

Bin gerade nicht im Lande. Danke für den Hinweis. Schaue ich mir nächste Woche dann an. Ist ja nichts Priomäßiges.

Viele Grüße,
Dirk

roedert

Zitat von: der-Lolo am 15 Juli 2018, 18:00:13
set SwitchBuero poeMode off

ausschalte oder per

set SwitchBuero poeMode auto

einschalte

...da fehlt doch die Portnummer!
set SwitchBuero poeMode <Port> off

der-Lolo

Ja, sorry roedert - aber nur hier im post!


Wuehler

Morgen im Update ein kleiner BugFix des Unifi-Controller-Moduls mit dem richtigen Loglevel für die von Lolo genannte Meldung.

Eisix

Hallo,

Ich habe eine Frage


set switch poeMode 6 off
set switch poeMode 6 auto


funktioniert!


set switch poeMode 6 restart


Funktioniert nicht!

Habe ich einen Fehler in der syntax oder ist das Kommando nicht implementiert?

Gruß
Eisix

Wuehler

#51
Hi,

Habe eben mal in den übernommenen code geschaut:

      } elsif( $setVal2 eq 'restart' ) {#TODO: Was wir hier gemacht? Funktioniert das noch?
        IOWrite($hash, "Unifi_RestJson_Send", {cmd => 'power-cycle', mac => $apRef->{mac}, port_idx => $setVal+0});

;D
Der Kommentar sagt es ja schon fast.
Muss ich mir die Tage dann mal genauer ansehen.

VG,
Dirk

Eisix

Hallo,

von der App oder GUI aus funktioniert es noch, wenn dir das was hilft. Melde dich wenn ich testen soll!

Gruß
Eisix

Wuehler

Hi Eisix,

das wird für mich etwas schwieriger nachzustellen. Aktuell nutze ich poe nicht. Power-cycle kann man aber nur auswählen, wenn der Port auch Strom zieht. Kann das also gerade auf der Unifi-UI nicht ausprobieren. Kannst du mal mit den Entwicklertools des Browsers mitschneiden, welche URL beim restart eines ports aufgerufen wird uns welches json gesendet wird.

Danke,
Dirk

Eisix

Hallo,

Unifi Server Version ist: unifi_5.10.17

Bin kein Experte für die Entwicklertools

Das ist der HTML Code der ausgeführt wird zum restart.

<tr class="clickable" collection-view-repeat="model in switchPropertiesPortListCtrl.view.getModels()" collection-view-repeat-watch-all="switchPropertiesPortListCtrl.columnStore.getColumns()" ng-attr-id="portRow{{switchPropertiesPortListCtrl.model.get('_id')}}-{{::model.get('port_idx')}}" ng-class="{'is-row-selected': highlightedPort === model.get('port_idx')}" ng-click="toggleHighlightedPort(model)" id="portRow5ada26b692e74007bd290ff6-1"><!----><td class="portCheckbox ubntTableCell--checkbox" ng-if="attrs.withBatchEdit" ng-show="(switchPropertiesPortListCtrl.model | canConfigureDevice)"><input class="mr-0" type="checkbox" ng-checked="switchPropertiesPortListCtrl.isBatchEditSelected(model)" ng-click="switchPropertiesPortListCtrl.toggleBatchEdit(model); $event.stopPropagation();" ng-disabled="!isPortSelectable({model: model})"></td><!----><!----><!----><td class="portName type-ellipsis" ng-if="::switchPropertiesPortListCtrl.isColumnVisible('name')" style="max-width: 200px">Port 1</td><!----><!----><td class="portStatus" ng-if="::switchPropertiesPortListCtrl.isColumnVisible('status')"><div class="positionRelative ubntPort unifiPortDiagramPort clickable ubntPort--withBorder ubntPort--1000" ng-class="{    'clickable': !isDisabled &amp;&amp; !!portModel,    'is-selected': isSelected,    'ubntPort--withBorder': withBorder,    'ubntPort--disconnected': portModel.get('enable') &amp;&amp; !portModel.get('up'),    'ubntPort--100': portLedColor === 'amber',    'ubntPort--1000': portLedColor === 'green',    'ubntPort--10000': portLedColor === 'white',    'unifiPortDiagramPort--has2': icons.length === 2,    'unifiPortDiagramPort--has3': icons.length === 3,    'is-spacer': isSpacer  }" ng-mouseenter="isActive = true" ng-mouseleave="isActive = false" unifi-switch-port-diagram-model="switchPropertiesPortListCtrl.model" unifi-switch-port-diagram-port-model="model" unifi-switch-port-diagram-with-border="true"><!----><div class="unifiPortDiagramPort__icon d-flex justify-center align-center" ng-switch="::portDiagramIconCtrl.icon" ng-repeat="icon in icons" unifi-port-diagram-icon="icon" unifi-port-diagram-icon-class="['ubntIcon']"><!----><!----><!----><!----><!----><!----><!----><!----><svg ng-switch-when="uplink" ng-class="{&quot;ubntIcon&quot;:true}" viewBox="0 0 306 306" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" class="ubntIcon"><polygon points="35.7 247.4 153 130.1 270.3 247.4 306 211.7 153 58.7 0 211.7 " fill="currentColor"></polygon></svg><!----><!----></div><!----><!----></div></td><!----><!----><!----><!----><td class="portPoe" ng-if="attrs.isPoeSupported &amp;&amp; switchPropertiesPortListCtrl.isColumnVisible('poe_mode')"></td><!----><!----><td class="portActions ubntTableCell--withActions ubntTableCell--smash"><div class="ubntTableCell__actions ubntTableCell__actions--inline"><div class="ubntButtonGroup ubntButtonGroup--cozy mr-2"><!----><button class="ubntButton ubntButton--link" ng-if="(switchPropertiesPortListCtrl.model | canConfigureDevice) &amp;&amp; !model.get('masked') &amp;&amp; !model.get('attr_no_edit')" ng-click="switchPropertiesPortListCtrl.edit(model)" title="Edit"><span class="button__icon icon ubnt-icon--pencil"></span></button><!----><!----><!----></div></div></td></tr>


Und das wurde dann in der Console angezeigt.

components.v5.10.17.1.js:62 XHR finished loading: POST "https://192.168.1.1:8443/api/s/default/cmd/devmgr".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
dispatch @ components.v5.10.17.1.js:136
d.handle @ components.v5.10.17.1.js:136
18XHR finished loading: GET "<URL>".
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/stat/device/fc:ec:da:04:28:c3".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
completeTask @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
setTimeout (async)
p.defer @ components.v5.10.17.1.js:62
$evalAsync @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
c @ components.v5.10.17.1.js:62
e @ components.v5.10.17.1.js:62
z @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
g @ components.v5.10.17.1.js:62
_resolve @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
requestAnimationFrame (async)
p @ components.v5.10.17.1.js:62
n @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
p @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:7
push @ components.v5.10.17.1.js:7
leave @ components.v5.10.17.1.js:62
n.leave @ base.v5.10.17.1.js:1
(anonymous) @ components.v5.10.17.1.js:91
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
completeTask @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
setTimeout (async)
p.defer @ components.v5.10.17.1.js:62
$evalAsync @ components.v5.10.17.1.js:62
i @ components.v5.10.17.1.js:82
dispatch @ components.v5.10.17.1.js:136
d.handle @ components.v5.10.17.1.js:136
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/stat/sta".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/self/sites".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/stat/health".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/get/setting".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/stat/sysinfo".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/stat/widget/warnings".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/cnt/alarm?archived=false".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/stat/current-channel".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/stat/ccode".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/status".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/rest/networkconf".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/rest/wlangroup".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/rest/wlanconf".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/rest/tag".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/rest/portconf".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/rest/radiusprofile".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
components.v5.10.17.1.js:62 XHR finished loading: GET "https://192.168.1.1:8443/api/s/default/stat/device".
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62
$digest @ components.v5.10.17.1.js:62
$apply @ components.v5.10.17.1.js:62
(anonymous) @ components.v5.10.17.1.js:62



Hilft dir das irgendwie weiter? Wenn nicht dann sehe ich zwei Möglichkeiten entweder versuchst du mir es genauer zu erklären oder wir machen eine Teamviewer-session und du machst es selbst.

Gruß
Eisix

Wuehler

Hi,

nee, reicht leider nicht ;-)
Für Chrome in den Entwicklertools:
- Console auswählen
- Bei den Einstellungen der Console (rechts das Zahnrad) muss ein Haken sein bei "Log XMLHttpRequests"
- Dann klickst du dich bis zur Stelle mit dem restart-Link, aber noch nicht draufdrücken
- In der Console ein clear (Stop-Symbol) ausführen
- Im Reiter Network ebenfalls clear
- zurück zur Console
- Jetzt auf den restart link klicken
- In der console wird es mehrere Einträge geben, der erste ist Interessant, müsste auf /default/rest/device/...ID... enden
- In der console auf diesen Eintrag klicken, du kommst nach Network
- dort rechte Moustaste-> copy -> copy as PowerShell
- Das Ergebnis hier posten.

Viel Erfolg,
Dirk

Wuehler

Hi Eisix,

versuch mal die Datei im Anhang. Habe mal schnell etwas geändert, bin mir aber nicht wirklich sicher.

Gruß,
Dirk

Eisix

Hallo,

sehe keine Änderung. Verbose 5 beim Switch und Server bring auch nichts. Wird nur das set Kommando angezeigt aber kein Error.

Gruß
Eisix

Wuehler

Das wäre ja dann auch zu einfach gewesen.  ;)
Ich werde mal nen AP abbauen und an meinen Switch hängen, geht ja eigentlich schnell. Dann kann ich das Problem nachstellen.
Wenn ich es richtig sehe ist es für dich aber auch nicht super dringend, oder?
Mich würde dein Anwendungsfall interessieren. Wann braucht man einen pie-piwer-cycle?

Viele Grüße,
Dirk

Eisix

Habe ein Allnet Poe Tablet in die Wand gebaut und da kommt man so schlecht an den Powerbutton  :-\.
Momentan mache ich ein off und auto des Ports wenn ich einen reboot brauche. Ich weiss nicht ob das wirklich das gleiche ist. Gehe mal davon aus das off einfach den Strom wegnimmt, ob der Powercycle vorher noch eine Art shutdown schick??

Da das aber nicht so oft vorkommt ist es nicht dringend, lass dir Zeit.

Gruß
Eisix