[gelöst] RPi 3B fhem installation geht nicht

Begonnen von Edi77, 02 Mai 2021, 23:44:56

Vorheriges Thema - Nächstes Thema

Edi77

Wollte gerade mal wieder auf einem RPi 3B fhem installieren und hab mich mal an diese Anleitung gehalten https://smart-live.net/fhem-auf-raspberry-pi-installieren/
Aber im Browser kommt nichts

FHEM läuft aber


root@raspberrypi:/home/pi# systemctl status fhem.service
● fhem.service - FHEM Home Automation
   Loaded: loaded (/etc/systemd/system/fhem.service; enabled; vendor preset: enabled)
   Active: active (running) since Sun 2021-05-02 23:36:29 CEST; 2min 56s ago
  Process: 5944 ExecStart=/usr/bin/perl fhem.pl fhem.cfg (code=exited, status=0/SUCCESS)
Main PID: 5945 (perl)
    Tasks: 1 (limit: 2062)
   CGroup: /system.slice/fhem.service
           └─5945 /usr/bin/perl fhem.pl fhem.cfg


fhem.log

021.05.02 23:36:29 1: Including fhem.cfg
2021.05.02 23:36:30 3: WEB: port 8083 opened
2021.05.02 23:36:30 2: eventTypes: loaded 0 events from ./log/eventTypes.txt
2021.05.02 23:36:31 1: usb create starting
2021.05.02 23:36:31 3: Probing ZWDongle device /dev/serial1
2021.05.02 23:36:31 3: Probing CUL device /dev/ttyAMA0
2021.05.02 23:36:31 3: Probing TCM_ESP3 device /dev/ttyAMA0
2021.05.02 23:36:31 3: Probing ZWDongle device /dev/ttyAMA0
2021.05.02 23:36:31 3: Probing SIGNALDuino device /dev/ttyAMA0
2021.05.02 23:36:31 3: Probing MYSENSORS device /dev/ttyAMA0
2021.05.02 23:36:32 3: Probing ArduCounter device /dev/ttyAMA0
2021.05.02 23:36:32 3: Probing ElsnerWS device /dev/ttyAMA0
2021.05.02 23:36:33 3: Probing FRM device /dev/ttyAMA0
2021.05.02 23:36:38 3: Probing TCM_ESP3 device /dev/ttyUSB0
2021.05.02 23:36:38 3: Probing TCM_ESP2 device /dev/ttyUSB0
2021.05.02 23:36:38 3: Probing FHZ device /dev/ttyUSB0
2021.05.02 23:36:38 3: Probing TRX device /dev/ttyUSB0
2021.05.02 23:36:39 3: Probing ZWDongle device /dev/ttyUSB0
2021.05.02 23:36:39 3: Probing SIGNALDuino device /dev/ttyUSB0
2021.05.02 23:36:39 3: Probing MYSENSORS device /dev/ttyUSB0
2021.05.02 23:36:40 3: Probing ArduCounter device /dev/ttyUSB0
2021.05.02 23:36:40 3: Probing ElsnerWS device /dev/ttyUSB0


fhem.cfg

attr global logfile ./log/fhem-%Y-%m.log
attr global modpath .
attr global verbose 3
attr global statefile ./log/fhem.save

define WEB FHEMWEB 8083 global

# Fake FileLog entry, to access the fhem log from FHEMWEB
define Logfile FileLog ./log/fhem-%Y-%m.log fakelog

define autocreate autocreate
attr autocreate filelog ./log/%NAME-%Y.log

define eventTypes eventTypes ./log/eventTypes.txt

# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create


Hab die aktuelle Raspian Versionen getestet vom März 2021

Hat jemand eine Idee?
Master FHEM 6 als VM auf ESX Ubuntu 20.04 LTS mit MAXCube/MAX!/FS20|TabletUI|Flightradar|Tasmota|TTN Lora|CCU3 HomematicIP|RPi mit GammaScout|MQTT EasyESP 8266|LuftdatenInfo|deCONZ HUEDev|probemon|Siemens Logo|P4D|3D PRINTER RAISE3D

MadMax-FHEM

#1
Ich hab jetzt deine Anleitung nicht durch aber: warum eine Anleitung AUSSERHALB von fhem!!?
(warum frägst du dann nicht auch DORT? ;)  )

Und nicht einfach: debian.fhem.de -> "the easy way"?

Mach mal das:
Zitat
# Disable this to avoid looking for new USB devices on startup
define initialUsbCheck notify global:INITIALIZED usb create

EDIT: jetzt hab ich doch mal schnell vorbei geschaut und selbst dort wird "geraten" das zu tun:
Zitat von: https://smart-live.net/fhem-auf-raspberry-pi-installieren/
Weiterhin setze ich noch folgende Einstellung direkt im FHEM Eingabefeld ab. Es geht um die automatische Erkennung von Geräten über den USB Port, was zu hoher Last führen kann, selbst wenn keine USB-Devices angeschlossen sind.

attr initialUsbCheck disable 1
Wenn du beim Rest auch nicht alles gemacht hast was dort steht (wobei das schon eher naja Anleitung ist / bzw. halt vglbar mit dem manuellen Install bei debian.fhem.de)...
...kann schon sein, dass es dann nicht tut... ;)

Und was kommt bei:


ps -ax | grep fhem


Ansonsten:

https://wiki.fhem.de/wiki/FHEM_startet_nicht_-_Tipps_zur_Fehlersuche
https://wiki.fhem.de/wiki/Hilfe!_Mein_FHEM_funktioniert_nicht!

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)

Edi77

Danke das wars, ich sollte schlafen gehen  ;)
Master FHEM 6 als VM auf ESX Ubuntu 20.04 LTS mit MAXCube/MAX!/FS20|TabletUI|Flightradar|Tasmota|TTN Lora|CCU3 HomematicIP|RPi mit GammaScout|MQTT EasyESP 8266|LuftdatenInfo|deCONZ HUEDev|probemon|Siemens Logo|P4D|3D PRINTER RAISE3D