Hauptmenü

OBIS

Begonnen von Edi77, 04 Februar 2019, 15:45:08

Vorheriges Thema - Nächstes Thema

Edi77

Folges Situation:

Ich habe 2 Stromzähler die ich mit einer IR<>USB Schnittstelle von Volkszähler und 2 SMA Wechselrichter mit Bluetooth.

1. RPi 2 die 2 Stromzähler verbinden und dann über ein Bluetooth Dongel die beiden Wechselrichter mit SBFspot
2. RPi 3 die 2 Stromzähler verbinden und dann über ein Bluetooth Dongel die beiden Wechselrichter mit SBFspot
3. 2x OrangepiOne mit Strecht je ein Stromzähler und 2x OragepiZero Stretch mit Bluetooth Dongel je ein SMA Wechselrichter mit SBFSpot
4. 2x OrangepiOne mit Ubuntu 18.04 je ein Stromzähler und 2x OragepiZero Ubuntu 18.04 mit Bluetooth Dongel je ein SMA Wechselrichter mit SBFSpot

1. häufige Anstürze, Netzteil getauscht, immer noch, Akku dazwischen brachte auch keine Besserung.
2. gleiche wie 1
3. Mit (armbian) stretch ging NTP nicht die OrangepiOne stürzten weiterhin an den Stromzählern ab, aber der eine mehr wie der andere, OrangepiZero lief stabil mit SBFspot
4. Mit (armbian) Ubuntu 18.04 lief NTP aber immer noch abstürze bei der OrangepiOne an dem Stromzähler, OrangepiZero lief stabil mit SBFspot

Was mit jetzt mit check_mk aufgefallen ist da ich da fhem überwache das irgendwann das auf 100 - 200% last geht


define powerzaehler OBIS /dev/ttyUSB0@9600,8,N,1 SML
attr powerzaehler interval 30
attr powerzaehler room Zaehler
attr powerzaehler verbose 3
define FileLog_powerzaehler FileLog ./log/powerzaehler-%Y-%m.log powerzaehler
attr FileLog_powerzaehler room Zaehler


Vielleicht hat ja jemand eine Idee wieso FHEM plötzlich das System so lahm legt das noch nicht mal eine Login mehr funktioniert, wie schon beschrieben, egal ob jessie, Stretch, Ubuntu, Raspberry oder OrangePi, mit oder ohne Akku und verschiedene Netzteile egal ob LAN oder WLAN ???
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

Edi77

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

Edi77

Alle 3 - 5 Tage hängt sich der FHEM auf.

Hier mal ein Auszug aus dem Log


2019.02.10 09:46:46 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 09:46:46 5: End notify loop for powerzaehler
2019.02.10 09:47:17 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 09:47:17 5: End notify loop for powerzaehler
2019.02.10 09:47:47 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 09:47:47 5: End notify loop for powerzaehler
2019.02.10 09:48:17 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 09:48:17 5: End notify loop for powerzaehler
2019.02.10 09:48:46 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 09:48:46 5: End notify loop for powerzaehler
2019.02.10 09:49:17 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 09:49:17 5: End notify loop for powerzaehler
2019.02.10 09:46:21 5: Initializing Type Library:
2019.02.10 09:46:21 1: Including fhem.cfg
2019.02.10 09:46:21 5: Cmd: >attr global userattr cmdIcon devStateIcon devStateStyle icon sortby webCmd webCmdLabel:textField-long widgetOverride<
2019.02.10 09:46:21 5: Cmd: >attr global autoload_undefined_devices 1<
2019.02.10 09:46:21 5: Cmd: >attr global logfile ./log/fhem-%Y-%m-%d.log<
2019.02.10 09:46:21 5: Cmd: >attr global modpath .<
2019.02.10 09:46:21 5: Cmd: >attr global motd SecurityCheck:
  WEB is not password protected

Protect this FHEM installation by defining an allowed device with define allowed allowed
You can disable this message with attr global motd none<
2019.02.10 09:46:21 5: Cmd: >attr global statefile ./log/fhem.save<
2019.02.10 09:46:21 5: Cmd: >attr global verbose 5<
2019.02.10 09:46:21 5: Cmd: >define telnetPort telnet 7072 global<
2019.02.10 09:46:21 5: Loading ./FHEM/98_telnet.pm
2019.02.10 09:46:21 3: telnetPort: port 7072 opened
2019.02.10 09:46:21 5: Cmd: >define WEB FHEMWEB 8083 global<
2019.02.10 09:46:21 5: Loading ./FHEM/01_FHEMWEB.pm
2019.02.10 09:46:22 3: WEB: port 8083 opened
2019.02.10 09:46:22 5: Cmd: >attr WEB stylesheetPrefix dark<
2019.02.10 09:46:22 5: Cmd: >define Logfile FileLog ./log/fhem-%Y-%m-%d.log fakelog<
2019.02.10 09:46:22 5: Loading ./FHEM/92_FileLog.pm
2019.02.10 09:46:22 5: Cmd: >define eventTypes eventTypes ./log/eventTypes.txt<
2019.02.10 09:46:22 5: Loading ./FHEM/91_eventTypes.pm
2019.02.10 09:46:22 2: eventTypes: loaded 10 events from ./log/eventTypes.txt
2019.02.10 09:46:22 5: Cmd: >define powerzaehler OBIS /dev/ttyUSB0@9600,8,N,1 SML<
2019.02.10 09:46:22 5: Loading ./FHEM/47_OBIS.pm
2019.02.10 09:46:22 1: PERL WARNING: Smartmatch is experimental at ./FHEM/47_OBIS.pm line 472, <$fh> line 32.
2019.02.10 09:46:22 1: PERL WARNING: main::OBIS_decodeTL() called too early to check prototype at ./FHEM/47_OBIS.pm line 785, <$fh> line 32.
2019.02.10 09:46:22 5: OBIS (powerzaehler) - Opening device...
2019.02.10 09:46:22 3: Opening powerzaehler device /dev/ttyUSB0
2019.02.10 09:46:22 3: Setting powerzaehler serial parameters to 9600,8,N,1
2019.02.10 09:46:22 3: Init done
2019.02.10 09:46:22 3: powerzaehler device opened
2019.02.10 09:46:22 5: Cmd: >attr powerzaehler interval 30<
2019.02.10 09:46:22 5: OBIS (powerzaehler) - Internal timer set to 2019-02-10 09:46:52
2019.02.10 09:46:22 5: Cmd: >attr powerzaehler room Zaehler<
2019.02.10 09:46:22 5: Cmd: >attr powerzaehler verbose 3<
2019.02.10 09:46:22 5: Cmd: >define FileLog_powerzaehler FileLog ./log/powerzaehler-%Y-%m.log powerzaehler<
2019.02.10 09:46:22 5: Cmd: >attr FileLog_powerzaehler room Zaehler<
2019.02.10 09:46:22 1: Including ./log/fhem.save
2019.02.10 09:46:22 5: Cmd: >setstate FileLog_powerzaehler active<
2019.02.10 09:46:22 5: Cmd: >setstate FileLog_powerzaehler 2019-02-09 23:54:07 linesInTheFile 60133<
2019.02.10 09:46:22 5: Cmd: >setstate Logfile active<
2019.02.10 09:46:22 5: Cmd: >setstate Logfile 2019-02-01 00:00:01 linesInTheFile 0<
2019.02.10 09:46:22 5: Cmd: >setstate WEB 2019-02-09 17:44:21 state Initialized<
2019.02.10 09:46:22 5: Cmd: >setstate eventTypes active<
2019.02.10 09:46:22 5: Cmd: >setstate global no definition<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler opened<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-04 15:07:16 0.0.0.0.27.255 0<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 23:54:07 0.0.96.1.255.255 2266198<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 23:54:07 1.0.0.0.0.255 31-39-30-30-30-30-30-33-34-30-38-35<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 23:54:07 129.129.199.130.3.255 EMH<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 23:26:07 Version EMH\313930303030303334303835<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 23:54:07 feed_L1 0<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 23:54:07 power 1369.3<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 20:59:21 state opened<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 23:54:07 total_consumption_Ch1 59259511.7<
2019.02.10 09:46:22 5: Cmd: >setstate powerzaehler 2019-02-09 23:54:07 total_feed_Ch1 36168000.4<
2019.02.10 09:46:22 5: Cmd: >setstate telnetPort 2019-02-09 17:44:19 state Initialized<
2019.02.10 09:46:22 5: Starting notify loop for global, 1 event(s), first is INITIALIZED
2019.02.10 09:46:22 5: createNotifyHash
2019.02.10 09:46:22 5: End notify loop for global
2019.02.10 09:46:22 0: Featurelevel: 5.9
2019.02.10 09:46:22 0: Server started with 7 defined entities (fhem.pl:18270/2019-01-15 perl:5.026001 os:linux user:fhem pid:960)
2019.02.10 09:46:24 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 09:46:24 5: createNotifyHash
2019.02.10 09:46:24 5: End notify loop for powerzaehler
2019.02.10 15:12:22 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 15:12:22 5: End notify loop for powerzaehler
2019.02.10 15:12:52 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 15:12:52 5: End notify loop for powerzaehler
2019.02.10 15:13:21 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 15:13:21 5: End notify loop for powerzaehler
2019.02.10 15:13:51 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 15:13:51 5: End notify loop for powerzaehler
2019.02.10 15:14:22 5: Starting notify loop for powerzaehler, 7 event(s), first is 129.129.199.130.3.255: EMH
2019.02.10 15:14:22 5: End notify loop for powerzaehler
2019.02.10 15:14:37 4: Connection accepted from WEB_192.168.1.20_49211
2019.02.10 15:14:37 4: WEB_192.168.1.20_49211 GET /fhem; BUFLEN:0
2019.02.10 15:14:37 4: WEB: /fhem / RL:1371 / text/html; charset=UTF-8 / Content-Encoding: gzip
/ Cache-Control: no-cache, no-store, must-revalidate

2019.02.10 15:14:37 4: WEB_192.168.1.20_49211 GET /fhem/pgm2/style.css?v=1549788381; BUFLEN:0
2019.02.10 15:14:37 4: Connection accepted from WEB_192.168.1.20_49213
2019.02.10 15:14:37 4: WEB_192.168.1.20_49213 GET /fhem/pgm2/jquery-ui.min.css; BUFLEN:0
2019.02.10 15:14:37 4: Connection accepted from WEB_192.168.1.20_49216
2019.02.10 15:14:37 4: WEB_192.168.1.20_49216 GET /fhem/pgm2/jquery.min.js; BUFLEN:0
2019.02.10 15:14:37 4: Connection accepted from WEB_192.168.1.20_49217
2019.02.10 15:14:37 4: Connection accepted from WEB_192.168.1.20_49219
2019.02.10 15:14:37 4: WEB_192.168.1.20_49217 GET /fhem/pgm2/jquery-ui.min.js; BUFLEN:0
2019.02.10 15:14:37 4: WEB_192.168.1.20_49219 GET /fhem/pgm2/fhemweb.js; BUFLEN:0
2019.02.10 15:14:37 4: WEB_192.168.1.20_49213 GET /fhem/pgm2/darkCommon.css; BUFLEN:0
2019.02.10 15:14:37 4: WEB_192.168.1.20_49217 GET /fhem/images/default/icoEverything.png; BUFLEN:0
2019.02.10 15:14:37 4: WEB_192.168.1.20_49216 GET /fhem/pgm2/dashboard_darkstyle.css; BUFLEN:0
2019.02.10 15:14:37 4: WEB_192.168.1.20_49217 GET /fhem/images/default/fhemicon_dark.png; BUFLEN:0
2019.02.10 15:14:37 4: WEB_192.168.1.20_49217 GET /fhem/icons/favicon; BUFLEN:0
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

Devender

Moin,

ich habe zwar keine Lösung für dein Problem, aber hast du mal versucht nur einen Leselkopf anzuschließen?
Auch wenn du schon Netzteil und Akku dazwischen hast wäre das ja einen Versucht Wert.

Was wird kurz vor dem Stehenbleiben von FHEM als letzte auf dem FS geschrieben? Fhem Log oder andere Logs bzw. Daten?

Grüsse,
Dirk
FHEM 5.8 auf RasPi mit Jessy - CUL868, JeeLink Lacrosse
Komponenten: HM, IT, ELV, FB7390, FritzPL543,Sonos Play3
Mehrere Wandtablets sowie einen Smart Mirror
https://wiki.fhem.de/wiki/Anwesenheitserkennung#PRESENCE-Modul

Edi77

Ja klar, wie schon beschrieben je ein OrangePiOne für jeden Stromzähler, ich vermute das was mit der Übertragung nicht stimmt. habe den Lesekopf mal neu aufgesetzt
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