FHEM Forum

FHEM => Anfängerfragen => Thema gestartet von: n0bbi am 29 November 2018, 12:10:11

Titel: [gelöst] ZWDongle gelöscht => FHEM nicht mehr erreichbar
Beitrag von: n0bbi am 29 November 2018, 12:10:11
Hallo,

ich räume aktuell meine Installation etwas auf und bin auf folgendes (reproduzierbares) Problem gestoßen: Sobald ich das Device ZWDongle (also meinen Zwave-Stick) über die Weboberfläche lösche und FHEM anschließend neu starte, ist die Weboberfläche nicht mehr erreichbar. Sicherung wiederherstellen funktioniert.

Hier das Log, nachdem ich die Definition gelöscht habe und FHEM neu starte:

2018.11.29 12:03:17 1: Including fhem.cfg
2018.11.29 12:03:17 3: telnetPort: port 7072 opened
2018.11.29 12:03:17 3: WEB: port 8083 opened
2018.11.29 12:03:17 3: WEBphone: port 8084 opened
2018.11.29 12:03:17 3: WEBtablet: port 8085 opened
2018.11.29 12:03:17 2: eventTypes: loaded 4551 events from ./log/eventTypes.txt
2018.11.29 12:03:21 1: HMLAN_Parse: hmusb new condition disconnected
2018.11.29 12:03:21 3: Opening hmusb device 127.0.0.1:1234
2018.11.29 12:03:21 1: HMLAN_Parse: hmusb new condition init
2018.11.29 12:03:21 3: hmusb device opened
2018.11.29 12:03:22 3: Opening myJeeLink device /dev/ttyUSB0
2018.11.29 12:03:22 1: myJeeLink: Can't open /dev/ttyUSB0: No such file or directory
2018.11.29 12:03:22 3: Sensor.Schlafzimmer: I/O device is myJeeLink
2018.11.29 12:03:22 3: Sensor.Wohnzimmer: I/O device is myJeeLink
2018.11.29 12:03:22 3: Sensor.Waschraum: I/O device is myJeeLink
2018.11.29 12:03:22 3: Sensor.Aussen: I/O device is myJeeLink
2018.11.29 12:03:22 3: Sensor.Bad: I/O device is myJeeLink
2018.11.29 12:03:22 1: dewpoint dew_all: attribute 'absFeuchte' is deprecated, please use 'absoluteHumidity'
2018.11.29 12:03:22 3: TelegramBot_Define telebot: called
2018.11.29 12:03:22 3: HUEGroup1: I/O device is hue
2018.11.29 12:03:22 3: HUEDevice1: I/O device is hue
2018.11.29 12:03:22 3: HUEDevice2: I/O device is hue
2018.11.29 12:03:22 3: HUEDevice3: I/O device is hue
2018.11.29 12:03:22 3: HUEDevice4: I/O device is hue
2018.11.29 12:03:22 3: HUEDevice5: I/O device is hue
2018.11.29 12:03:22 3: HUEGroup2: I/O device is hue
2018.11.29 12:03:22 3: Sensor.Kinderzimmer.Ben: I/O device is myJeeLink
2018.11.29 12:03:22 3: Opening fb_callmonitor device 192.168.178.1:1012
2018.11.29 12:03:22 3: Sensor.Tiefkuehltruhe: I/O device is myJeeLink
2018.11.29 12:03:22 2: ONKYO_AVR onkyo: Registering ONKYO_AVR for webhook URI ?/ONKYO_AVR ...
2018.11.29 12:03:22 3: Opening onkyo device 192.168.178.33:60128
2018.11.29 12:03:22 3: HUEDevice7: I/O device is hue
2018.11.29 12:03:22 3: HUEDevice8: I/O device is hue
2018.11.29 12:03:22 3: HUEDevice9: I/O device is hue
2018.11.29 12:03:22 3: HUEGroup3: I/O device is hue
2018.11.29 12:03:22 3: HUEGroup5: I/O device is hue
2018.11.29 12:03:22 3: HUEGroup4: I/O device is hue
2018.11.29 12:03:22 3: HUEGroup0: I/O device is hue
2018.11.29 12:03:22 3: HUEDevice10: I/O device is hue
2018.11.29 12:03:22 3: HUEGroup6: I/O device is hue
2018.11.29 12:03:22 3: HUEGroup7: I/O device is hue
2018.11.29 12:03:24 3: saugroboter_wz: initialized, using AES
2018.11.29 12:03:24 3: ZoneMinder - Initialize done ...
2018.11.29 12:03:24 3: Opening zm device 192.168.178.38:6802
2018.11.29 12:03:24 1: zm: Can't connect to 192.168.178.38:6802: Connection refused
2018.11.29 12:03:24 3: AptToDate (NUC) - defined
2018.11.29 12:03:24 3: TPLinkHS110: wlansteckdose defined.
2018.11.29 12:03:24 3: HUEDevice11: I/O device is hue
2018.11.29 12:03:24 3: HUEDevice12: I/O device is hue
2018.11.29 12:03:24 3: HUEGroup8: I/O device is hue
2018.11.29 12:03:24 3: HUEDevice13: I/O device is hue
2018.11.29 12:03:24 3: HUEGroup9: I/O device is hue
2018.11.29 12:03:24 1: Including ./log/fhem.save
2018.11.29 12:03:24 3: No I/O device found for EG.licht.vitrine
2018.11.29 12:03:24 3: No I/O device found for EG.licht.couch
2018.11.29 12:03:24 3: Device Bewegungsmelder1 added to ActionDetector with 000:10 time
2018.11.29 12:03:24 3: Device EG.fk.kueche added to ActionDetector with 030:00 time
2018.11.29 12:03:24 3: Device EG.fk.seite added to ActionDetector with 030:00 time
2018.11.29 12:03:24 3: Device EG.fk.terrasse added to ActionDetector with 030:00 time
2018.11.29 12:03:24 3: Device EG.fk.wc added to ActionDetector with 030:00 time
2018.11.29 12:03:24 3: Device Rauchmelder1 added to ActionDetector with 099:00 time
2018.11.29 12:03:24 3: Device Rauchmelder2 added to ActionDetector with 099:00 time
2018.11.29 12:03:24 3: Device hm_funksteckdose1 added to ActionDetector with 000:10 time
2018.11.29 12:03:24 3: harmonyhub: connected
2018.11.29 12:03:25 1: usb create starting
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS0
2018.11.29 12:03:25 1: PERL WARNING: can't getattr: Input/output error at FHEM/DevIo.pm line 420.
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS0: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS1
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS1: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS10
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS10: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS11
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS11: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS12
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS12: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS13
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS13: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS14
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS14: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS15
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS15: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS16
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS16: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS17
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS17: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS18
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS18: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS19
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS19: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS2
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS2: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS20
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS20: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS21
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS21: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS22
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS22: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS23
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS23: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS24
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS24: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS25
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS25: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS26
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS26: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS27
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS27: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS28
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS28: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS29
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS29: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS3
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS3: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS30
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS30: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS31
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS31: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS4
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS4: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS5
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS5: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS6
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS6: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS7
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS7: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS8
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS8: Input/output error
2018.11.29 12:03:25 3: Probing CUL device /dev/ttyS9
2018.11.29 12:03:25 1: CUL: Can't open /dev/ttyS9: Input/output error
2018.11.29 12:03:25 3: Probing TCM_ESP3 device /dev/ttyUSB1
2018.11.29 12:03:25 3: Probing TCM_ESP2 device /dev/ttyUSB1
2018.11.29 12:03:25 3: Probing FHZ device /dev/ttyUSB1
2018.11.29 12:03:25 3: Probing TRX device /dev/ttyUSB1
2018.11.29 12:03:26 3: Probing ZWDongle device /dev/ttyUSB1
2018.11.29 12:03:26 3: Probing FRM device /dev/ttyUSB1


Es macht keinen Unterschied, ob der Stick tatsächlich im PC steckt oder nicht.

Vielleicht hat jemand einen Tipp für mich, was das Problem sein könnte? Den Stick benötige ich aktuell nicht, weil alle ZWAVE-Komponenten momentan nicht genutzt werden.

Vielen Dank!
Titel: Antw:ZWDongle gelöscht => FHEM nicht mehr erreichbar
Beitrag von: Beta-User am 29 November 2018, 12:32:05
Das hat vermutlich nicht speziell was mit dem ZWDongle zu tun, sondern mit initialusbcheck. Das solltest du LÖSCHEN (oder disablen).

Dann nochmal versuchen.

Ansonsten: USB-Geräte am besten "by-id" einbinden (siehe wiki), evtl. kommt deswegen irgendwas aus dem Tritt...
Titel: Antw:ZWDongle gelöscht => FHEM nicht mehr erreichbar
Beitrag von: n0bbi am 29 November 2018, 12:58:45
attr initialUsbCheck disable 1


Danke das wars :)
Titel: Antw:ZWDongle gelöscht => FHEM nicht mehr erreichbar
Beitrag von: Beta-User am 29 November 2018, 13:21:43
Danke für die Rückmeldung.

Nur interessehalber: Warum hast du das notify nicht gleich gelöscht?

Du wirst es vermutlich nie mehr aktivieren und der Befehl, den das notify aufruft (usb create), könnte man bei Bedarf auch manuell starten... Ist also schlicht Ballast (meine Meinung).
Titel: Antw:ZWDongle gelöscht => FHEM nicht mehr erreichbar
Beitrag von: n0bbi am 29 November 2018, 13:25:40
Weil ich nicht wirklich verstanden habe was es macht.

Habe mich jetzt versucht einzulesen und welche Nachteile das Nichtvorhandensein hat und habe es jetzt guten Gewissens gelöscht. Danke dir :)
Titel: Antw:ZWDongle gelöscht => FHEM nicht mehr erreichbar
Beitrag von: Beta-User am 29 November 2018, 13:30:43
 :)

Bitte dann aber nochmal nach Abstöpseln des Dongles und einem Reboot prüfen, ob alle verbliebenen USB-Geräte (da gab es noch eines, oder?) sauber eingebunden sind. Wenn du da Zweifel hast, was gemeint ist, das Stichwort steht im ersten meiner Posts hier ;) .
Titel: Antw:ZWDongle gelöscht => FHEM nicht mehr erreichbar
Beitrag von: n0bbi am 29 November 2018, 13:56:15
Tatsache, mein Jeelink wurde nicht mehr erkannt. Dank deines Tipps gings aber relativ fix wieder, nochmal danke :)

Und falls jemand mal das gleiche Problem haben sollte: https://wiki.fhem.de/wiki/Trick_der_Woche#CUL_.26_CO_.C3.BCber_Serial_ID-einbinden
Titel: Antw:ZWDongle gelöscht => FHEM nicht mehr erreichbar
Beitrag von: Beta-User am 29 November 2018, 14:09:29
 ;) ; war zu vermuten...

Die Langform zum Trick der Woche: https://wiki.fhem.de/wiki/Mehrere_USB-Ger%C3%A4te_einbinden
Setzt du den Thread noch auf [gelöst]? (1. Beitrag editieren)