FHEM Plugin

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • logol01
    MS Profi
    • 03.03.2018
    • 832

    #1

    FHEM Plugin

    Hallo zusammen,

    ich wollte in meiner LoxBerry V2.2.2.2 Version gerne an meinen FHEM was verändern.
    Da musste ich feststellen, dass ich die WebOU von FHEM gar nicht öffnen kann.
    Es kommt folgender Fehler "Webseite nicht erreichbar" bei " IP-Adresse:8083/fhem

    Ich dachte mir.... kein Problem... spiele ich mal ein Backup von Loxberry ein.....
    hat nicht geklappt.... ich scheine schon länger nicht mehr auf die FHEM UI zu kommen.

    Das Plugin zeit aber an, dass FHEM ganz normal gestartet ist....

    Was kann ich machen?

  • orli
    Lox Guru
    • 13.11.2016
    • 2554

    #2
    Schauen auf welchem Port auf dein FHEM läuft.... und dann z.B. per SSH schauen was ein "netstat -tulpen" ergibt. Da sollten perl Prozesse zu finden mit einer Port Angabe, wie z.B. so:

    Klicke auf die Grafik für eine vergrößerte Ansicht

Name: 2024-06-09_11-34-16.png
Ansichten: 148
Größe: 192,7 KB
ID: 434249

    Diese Ports dann mal versuchen. Wenn das nicht geht, mal in die Config Datei schauen, ob evt. der Zugriff auf dein fhem gesperrt oder nur von lokal aus zugelassen ist.

    Kommentar

    • logol01
      MS Profi
      • 03.03.2018
      • 832

      #3
      Hallo orli

      das gibt mein "netstat -tulpen" aus

      Code:
      loxberry@loxberry:~ $ netstat -tulpen
      (Not all processes could be identified, non-owned process info
       will not be shown, you would have to be root to see it all.)
      Active Internet connections (only servers)
      Proto Recv-Q Send-Q Local Address           Foreign Address         State                                                    User       Inode      PID/Program name
      tcp        0      0 0.0.0.0:4001            0.0.0.0:*               LISTEN                                                   1001       754434     2362/vlc
      tcp        0      0 0.0.0.0:64995           0.0.0.0:*               LISTEN                                                   0          18382      -
      tcp        0      0 0.0.0.0:9001            0.0.0.0:*               LISTEN                                                   0          14241      -
      tcp        0      0 0.0.0.0:139             0.0.0.0:*               LISTEN                                                   0          18513      -
      tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN                                                   1001       23639      1465/python3
      tcp        0      0 0.0.0.0:8083            0.0.0.0:*               LISTEN                                                   999        1624654    -
      tcp        0      0 0.0.0.0:8883            0.0.0.0:*               LISTEN                                                   0          14227      -
      tcp        0      0 0.0.0.0:53              0.0.0.0:*               LISTEN                                                   0          20979      -
      tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN                                                   0          15318      -
      tcp        0      0 0.0.0.0:1883            0.0.0.0:*               LISTEN                                                   0          14244      -
      tcp        0      0 0.0.0.0:445             0.0.0.0:*               LISTEN                                                   0          18512      -
      tcp6       0      0 :::4001                 :::*                    LISTEN                                                   1001       754435     2362/vlc
      tcp6       0      0 :::139                  :::*                    LISTEN                                                   0          18511      -
      tcp6       0      0 :::80                   :::*                    LISTEN                                                   0          17442      -
      tcp6       0      0 :::6066                 :::*                    LISTEN                                                   0          17448      -
      tcp6       0      0 :::8883                 :::*                    LISTEN                                                   0          14228      -
      tcp6       0      0 :::53                   :::*                    LISTEN                                                   0          20981      -
      tcp6       0      0 :::21                   :::*                    LISTEN                                                   0          14098      -
      tcp6       0      0 :::22                   :::*                    LISTEN                                                   0          15320      -
      tcp6       0      0 :::1883                 :::*                    LISTEN                                                   0          14245      -
      tcp6       0      0 :::445                  :::*                    LISTEN                                                   0          18510      -
      udp        0      0 0.0.0.0:5353            0.0.0.0:*                                                                        108        13286      -
      udp        0      0 0.0.0.0:39148           0.0.0.0:*                                                                        1001       1463072    2362/vlc
      udp        0      0 0.0.0.0:39149           0.0.0.0:*                                                                        1001       1463073    2362/vlc
      udp        0      0 0.0.0.0:1900            0.0.0.0:*                                                                        1001       17184      977/perl
      udp        0      0 0.0.0.0:47662           0.0.0.0:*                                                                        108        13288      -
      udp        0      0 0.0.0.0:12340           0.0.0.0:*                                                                        1001       23642      1465/python3
      udp        0      0 0.0.0.0:53              0.0.0.0:*                                                                        0          20978      -
      udp        0      0 0.0.0.0:11884           0.0.0.0:*                                                                        1001       761410     1216/perl
      udp        0      0 192.168.178.255:137     0.0.0.0:*                                                                        0          14288      -
      udp        0      0 192.168.178.246:137     0.0.0.0:*                                                                        0          14287      -
      udp        0      0 0.0.0.0:137             0.0.0.0:*                                                                        0          14273      -
      udp        0      0 192.168.178.255:138     0.0.0.0:*                                                                        0          14290      -
      udp        0      0 192.168.178.246:138     0.0.0.0:*                                                                        0          14289      -
      udp        0      0 0.0.0.0:138             0.0.0.0:*                                                                        0          14274      -
      udp6       0      0 :::36512                :::*                                                                             108        13289      -
      udp6       0      0 :::5353                 :::*                                                                             108        13287      -
      udp6       0      0 :::53                   :::*                                                                             0          20980      -

      Kommentar

      • logol01
        MS Profi
        • 03.03.2018
        • 832

        #4
        laut FHEM müsste mein Port 8083 sein... müsste doch passen -oder?

        Kommentar

        • orli
          Lox Guru
          • 13.11.2016
          • 2554

          #5
          Was sagt das config file?

          Kommentar

          • logol01
            MS Profi
            • 03.03.2018
            • 832

            #6
            Hallo orli

            hier mal die Anfänge der Config Datei:
            Diese Zeile habe ich wegen Passwort hier zum posten verändert: attr allowed_WEB basicAuth xxxxxxxxxx

            Code:
            attr global userattr cmdIcon devStateIcon:textField-long devStateStyle icon mqttAlias:textField-long mqttDefaults:textField-long mqttDisable:both,incoming,outgoing mqttForward:all,none mqttPublish:textField-long mqttSubscribe:textField-long sortby webCmd webCmdLabel:textField-long widgetOverride
            attr global autoload_undefined_devices 1
            attr global logfile ./log/fhem-%Y-%m.log
            attr global modpath .
            attr global statefile ./log/fhem.save
            attr global verbose 3
            
            define WEB FHEMWEB 8083 global
            setuuid WEB 62a4edf9-f33f-4159-a9f8-3e455aad6591ca51
            attr WEB csrfToken none
            attr WEB editConfig 1
            attr WEB stylesheetPrefix dark
            
            # Fake FileLog entry, to access the fhem log from FHEMWEB
            define Logfile FileLog ./log/fhem-%Y-%m.log Logfile
            setuuid Logfile 62a4edf9-f33f-4159-7cc3-4df6c151d675fa8c
            
            define autocreate autocreate
            setuuid autocreate 62a4edf9-f33f-4159-812d-def0d76fb010c09c
            attr autocreate filelog ./log/%NAME-%Y.log
            
            define eventTypes eventTypes ./log/eventTypes.txt
            setuuid eventTypes 62a4edf9-f33f-4159-63d0-d9b5ffcc776c5281
            
            # Disable this to avoid looking for new USB devices on startup
            #define initialUsbCheck notify global:INITIALIZED usb create
            define allowed_WEB allowed
            setuuid allowed_WEB 62a4f398-f33f-4159-64ce-43b9fb14e1f4a725
            attr allowed_WEB basicAuth xxxxxxxxxx
            attr allowed_WEB validFor WEB
            define lb_mosquitto MQTT loxberry:1883
            setuuid lb_mosquitto 62a4fdca-f33f-4159-cf1c-08ba8b2bb628fc78
            define mqttGeneric MQTT_GENERIC_BRIDGE
            setuuid mqttGeneric 62a4fe10-f33f-4159-02ec-893ddb2c7a8bacc7
            attr mqttGeneric IODev lb_mosquitto
            attr mqttGeneric globalDefaults sub:qos=2 pub:qos=0 retain=1
            attr mqttGeneric globalPublish *:topic={"FHEM/$device/$reading"}
            define geofancy GEOFANCY geo
            setuuid geofancy 62aa2e15-f33f-4159-82fc-0592096781bcd659
            attr geofancy room Anwesenheit
            define rgr_Residents RESIDENTS
            setuuid rgr_Residents 62aa2e35-f33f-4159-e719-0fd448ad25f72e92
            attr rgr_Residents alias Residents

            Kommentar

            • sebrosch
              Smart Home'r
              • 28.03.2021
              • 32

              #7
              Gibt es hierzu etwas neues? Das gleiche Problem habe ich nämlich auch. Schon das 2. mal im einem Halbjahr.
              Ich komme aufeinmal nicht mehr auf die Oberfläche von FHEM. Ich habe aber an der Konfiguration nichts verändert und gucke nur gelegentlich auf FHEM. Der Port passt bei mir eigentlich auf.... nur komme ich absolut nicht mehr auf die Oberfläche. Bin etwas ratlos. Hat noch jemand eine Idee?

              Kommentar

              Lädt...