[geloest] neue FHEM Installation streikt

Begonnen von micomat, 15 Juni 2016, 08:29:53

Vorheriges Thema - Nächstes Thema

micomat

Hallo zusammen,

ich wollte vorhin auf meinem Volkszaehler-PI auch FHEM (fuer ein FHEM2FHEM) installieren, aber er weigert sich.
Installiert per Package-Installation von fhem.de heruntergeladen.

So nun zum Problem: fhem startet, log sieht sauber aus (is ja auch noch ne leere Installation) aber ich komme weder per telnet noch per web (8083) an fhem ran =(

hier mal ein Schwung ausgaben:


netstat -ano
tcp        0      0 0.0.0.0:7072            0.0.0.0:*               LISTEN      off (0.00/0/0)
tcp        0      0 0.0.0.0:8082            0.0.0.0:*               LISTEN      off (0.00/0/0)
tcp        0      0 0.0.0.0:8083            0.0.0.0:*               LISTEN      off (0.00/0/0)
tcp        0      0 0.0.0.0:8084            0.0.0.0:*               LISTEN      off (0.00/0/0)
tcp        0      0 0.0.0.0:8085            0.0.0.0:*               LISTEN      off (0.00/0/0)

pi@energypi ~ $ curl -vv http://localhost:8083
* Rebuilt URL to: http://localhost:8083/
* Hostname was NOT found in DNS cache
*   Trying ::1...
* connect to ::1 port 8083 failed: Connection refused
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 8083 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:8083
> Accept: */*
>
^C
pi@energypi ~ $ curl -vv http://localhost:7072
* Rebuilt URL to: http://localhost:7072/
* Hostname was NOT found in DNS cache
*   Trying ::1...
* connect to ::1 port 7072 failed: Connection refused
*   Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 7072 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:7072
> Accept: */*
>
^C

/etc/network/interfaces
auto lo
iface lo inet loopback

iface eth0 inet static
        address 192.168.178.52
        netmask 255.255.255.0
        gateway 192.168.178.1
        dns-nameservers 192.168.178.1



ich komm grad echt nicht mehr weiter...
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200

micomat

Hier noch das Log vom Start mit verbose 5

2016.06.15 08:35:29 5: Initializing Type Library:
2016.06.15 08:35:29 1: Including fhem.cfg
2016.06.15 08:35:29 5: Cmd: >attr global logfile ./log/fhem-%Y-%m.log<
2016.06.15 08:35:29 5: Cmd: >attr global modpath .<
2016.06.15 08:35:29 5: Cmd: >attr global statefile ./log/fhem.save<
2016.06.15 08:35:29 5: Cmd: >attr global verbose 5<
2016.06.15 08:35:29 5: Cmd: >attr global updateInBackground<
2016.06.15 08:35:29 5: Cmd: >define telnetPort telnet 7072 global<
2016.06.15 08:35:29 5: Loading ./FHEM/98_telnet.pm
2016.06.15 08:35:29 3: telnetPort: port 7072 opened
2016.06.15 08:35:29 5: Cmd: >define WEB FHEMWEB 8083 global<
2016.06.15 08:35:29 5: Loading ./FHEM/01_FHEMWEB.pm
2016.06.15 08:35:29 3: WEB: port 8083 opened
2016.06.15 08:35:29 5: Cmd: >define WEBphone FHEMWEB 8084 global<
2016.06.15 08:35:29 3: WEBphone: port 8084 opened
2016.06.15 08:35:29 5: Cmd: >attr WEBphone stylesheetPrefix smallscreen<
2016.06.15 08:35:29 5: Cmd: >define WEBtablet FHEMWEB 8085 global<
2016.06.15 08:35:29 3: WEBtablet: port 8085 opened
2016.06.15 08:35:29 5: Cmd: >attr WEBtablet stylesheetPrefix touchpad<
2016.06.15 08:35:29 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m.log fakelog<
2016.06.15 08:35:29 5: Loading ./FHEM/92_FileLog.pm
2016.06.15 08:35:29 5: Cmd: >define autocreate autocreate<
2016.06.15 08:35:29 5: Loading ./FHEM/98_autocreate.pm
2016.06.15 08:35:29 5: Cmd: >attr autocreate filelog ./log/%NAME-%Y.log<
2016.06.15 08:35:29 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2016.06.15 08:35:29 5: Loading ./FHEM/91_eventTypes.pm
2016.06.15 08:35:29 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2016.06.15 08:35:29 5: Cmd: >define initialUsbCheck notify global:INITIALIZED usb create<
2016.06.15 08:35:29 5: Loading ./FHEM/91_notify.pm
2016.06.15 08:35:29 1: Including ./log/fhem.save
2016.06.15 08:35:29 5: Cmd: >setstate Logfile active<
2016.06.15 08:35:29 5: Cmd: >setstate autocreate active<
2016.06.15 08:35:29 5: Cmd: >setstate eventTypes active<
2016.06.15 08:35:29 5: Cmd: >setstate global <no definition><
2016.06.15 08:35:29 5: Cmd: >setstate initialUsbCheck 2016-06-15 08:21:05<
2016.06.15 08:35:29 5: Cmd: >setstate initialUsbCheck 2016-06-15 08:21:05 state active<
2016.06.15 08:35:29 5: Triggering global (1 changes)
2016.06.15 08:35:29 5: Notify loop for global INITIALIZED
2016.06.15 08:35:29 5: Triggering initialUsbCheck
2016.06.15 08:35:29 4: initialUsbCheck exec usb create
2016.06.15 08:35:29 5: Cmd: >usb create<
2016.06.15 08:35:29 1: usb create starting
2016.06.15 08:35:30 4: ### ttyAMA0: checking if it is a CUL
2016.06.15 08:35:30 3: Probing CUL device /dev/ttyAMA0
2016.06.15 08:35:30 5: SW: 0a
2016.06.15 08:35:30 5: SW: 560a
2016.06.15 08:35:30 4: got wrong answer for a CUL
2016.06.15 08:35:30 4: ### ttyAMA0: checking if it is a TCM_ESP3
2016.06.15 08:35:30 3: Probing TCM_ESP3 device /dev/ttyAMA0
2016.06.15 08:35:30 5: SW: 5500010005700838
2016.06.15 08:35:30 4: got wrong answer for a TCM_ESP3
2016.06.15 08:35:30 4: ### ttyAMA0: checking if it is a FRM
2016.06.15 08:35:30 3: Probing FRM device /dev/ttyAMA0
2016.06.15 08:35:30 5: SW: f9
2016.06.15 08:35:35 5: SW: f079f7
2016.06.15 08:35:36 4: got wrong answer for a FRM
2016.06.15 08:35:36 4: ### ttyUSB0: checking if it is a TCM_ESP3
2016.06.15 08:35:36 3: Probing TCM_ESP3 device /dev/ttyUSB0
2016.06.15 08:35:36 5: SW: 5500010005700838
2016.06.15 08:35:36 4: got wrong answer for a TCM_ESP3
2016.06.15 08:35:36 4: ### ttyUSB0: checking if it is a TCM_ESP2
2016.06.15 08:35:36 3: Probing TCM_ESP2 device /dev/ttyUSB0
2016.06.15 08:35:36 5: SW: a55aab5800000000000000000003
2016.06.15 08:35:36 4: got wrong answer for a TCM_ESP2
2016.06.15 08:35:36 4: ### ttyUSB0: checking if it is a FHZ
2016.06.15 08:35:36 3: Probing FHZ device /dev/ttyUSB0
2016.06.15 08:35:36 5: SW: 8105044fc90185
2016.06.15 08:35:36 4: got wrong answer for a FHZ
2016.06.15 08:35:36 4: ### ttyUSB0: checking if it is a TRX
2016.06.15 08:35:36 3: Probing TRX device /dev/ttyUSB0
2016.06.15 08:35:36 5: SW: 0d00000000000000000000000000
2016.06.15 08:35:37 5: SW: 0d00000102000000000000000000
2016.06.15 08:35:37 4: got wrong answer for a TRX
2016.06.15 08:35:37 4: ### ttyUSB0: checking if it is a ZWDongle
2016.06.15 08:35:37 3: Probing ZWDongle device /dev/ttyUSB0
2016.06.15 08:35:37 5: SW: 01030020dc
2016.06.15 08:35:38 4: got wrong answer for a ZWDongle
2016.06.15 08:35:38 4: ### ttyUSB0: checking if it is a FRM
2016.06.15 08:35:38 3: Probing FRM device /dev/ttyUSB0
2016.06.15 08:35:38 5: SW: f9
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200

MadMax-FHEM

Hast CULs etc. bzw. USB-Devices stecken die du mit fhem verwenden möchtest??

Wenn nicht, dann vielleicht mal initialUsbCheck deaktivieren...
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

micomat

wow, das hats gebracht. danke!
was geht denn da schief? es haengen noch zwei SML-USB lesekoepfe am PI. Koennen die daran Schuld tragen?
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200

MadMax-FHEM

Hallo,

was genau schief läuft weiß ich nicht.
Habe nur etwas ähnliches (Logeinträge) in einem anderen Thread gelesen und dachte: kann ja nicht schaden... ;-)

Aber soweit ich das weiß wird (wenn aktiviert) beim Hochfahren auf die "üblichen Verdächtigen" (CUL, etc.) "geprüft" (ob was neues dazu gekommen ist).
Und vielleicht ist einer deiner Sticks so, dass fhem an der Stelle "blockiert"...

Dumm halt, wenn du zukünftig mal USB-Devices mit fhem verwenden willst...
Denn dann wieder usbcheck zu aktivieren wird dich wohl wieder zu dem Problem führen...

Musst halt dann das gewünschte "Device" mittels 'define' (wie meist im wiki etc. angegeben) "maunell definieren" (muss man bei Windows glaube ich eh, da gibt es keinen usbcheck??)...

Gruß, Joachim
FHEM PI3B+ Bullseye: HM-CFG-USB, 40x HM, ZWave-USB, 13x ZWave, EnOcean-PI, 15x EnOcean, HUE/deCONZ, CO2, ESP-Multisensor, Shelly, alexa-fhem, ...
FHEM PI2 Buster: HM-CFG-USB, 25x HM, ZWave-USB, 4x ZWave, EnOcean-PI, 3x EnOcean, Shelly, ha-bridge, ...
FHEM PI3 Buster (Test)

micomat

Danke :)
Die SML Lesekoepfe funktionieren einwandfrei nachdem der initialUsbCheck deaktiviert ist.
CUL oder so ist an dem System aktuell nicht geplant.
Synology DS218+ with fhem+iobroker in docker, 2x RasPi w. ser2net, CUL433+868, IT, EGPM2LAN, THZ/LWZ, FB_Callmonitor, HMS100TF, Homematic, 2x TX3-TH, Pushover, USB-IR-SML-Head, SONOS, GHoma, MBus, KLF200