Zitat von: thomasg am 16 Februar 2025, 17:12:31Allerdings würde ich im SVG-Plot gerne kWh statt Wh anzeigen - die Werte kommen aber als Wh - kann ich das im SVG irgendwie skalieren?
#fhemDbLog <device>:<reading>:::$val=$val/1000
Zitat von: wollik am 01 März 2024, 13:20:20Hallo Stefan,
ich habe das OBIS Modul eingesetzt aber es werden nicht alle und auch andere ID's ausgewertet als vom SmartMeter gesendet werden.
Via vzlogger bekomme ich folgende 17 Werte:
[Mar 01 12:28:23][mtr0] Got 17 new readings from meter:
ObisIdentifier:1-0:1.8.1*255 value=5350408.30
ObisIdentifier:1-0:1.8.2*255 value=8596418.00
ObisIdentifier:1-0:2.8.0*255 value=26132240.00
.....
Bitte wie kann die ObisIdentifier 1.8.1, 1.8.2 und 2.8.1 mit Deinem Modul auslesen?
ERROR: Unexpected FHEM termination, waiting to reappear
2025.02.17 07:55:54.617 3: Opening ModBusSunnyIsland device 3:502
2025.02.17 07:55:54.619 3: Opening Mosquitto device 192.168.1.235:1883
2025.02.17 07:55:54.695 3: Mosquitto device opened
2025.02.17 07:55:54.698 3: Opening Mosquitto_public device broker.emqx.io:8883
2025.02.17 07:55:58.758 3: Mosquitto_public device opened
2025.02.17 07:55:58.765 3: Opening SMASB device 192.168.0.253:502
2025.02.17 07:55:58.804 2: alexa: alexa-fhem not installed. install with 'sudo npm install -g alexa-fhem'.
2025.02.17 07:55:58.811 1: PERL WARNING: Argument "" isn't numeric in subtraction (-) at (eval 473) line 1.
2025.02.17 07:55:58.811 3: di_Awtrix_PVStatus: warning in DOIF_Readings: _diff
2025.02.17 07:56:05.938 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/Meta.pm line 2123.
2025.02.17 07:56:05.939 1: PERL WARNING: Use of uninitialized value in string eq at FHEM/Meta.pm line 2401.
2025.02.17 07:56:05.939 1: PERL WARNING: Use of uninitialized value in string ne at FHEM/Meta.pm line 2404.
sh: 1: echo: echo: I/O error
2025.02.17 07:56:14.915 3: harmony: starting discovery
2025.02.17 07:56:14.917 3: harmony: sending discovery
2025.02.17 07:56:14.994 2: Keine verfügbaren ROOMMATE/GUEST/PET im RESIDENTS Gerät rgr_Bewohner
2025.02.17 07:56:15.097 0: Featurelevel: 6.3
2025.02.17 07:56:15.098 0: Server started with 383 defined entities (fhem.pl:29402/2024-12-05 perl:5.036003 os:linux user:fhem pid:6063)
INFO: FHEM successfully started
2025.02.17 07:56:16.102 3: MQTT2_DEVICE set MQTT2_SchuppenTuerSpot off
2025.02.17 07:56:16.436 0: HourCounter gaszaehler Run.598 first run done countsOverall:992040
decode_string: insufficient data at /usr/src/app/core/lib/perl5/Net/MQTT/Message/Connect.pm line 86.
ERROR: Unexpected FHEM termination, waiting to reappear
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
/entry.sh: line 850: kill: (6063) - No such process
ERROR: FHEM did NOT reappear, Restarting FHEM
INFO: Starting FHEM
2025.02.17 07:56:33.344 3: From the FHEM_GLOBALATTR environment: attr global logfile log/fhem-%Y-%m-%d.log
2025.02.17 07:56:33.346 3: From the FHEM_GLOBALATTR environment: attr global pidfilename log/fhem.pid
2025.02.17 07:56:33.346 3: From the FHEM_GLOBALATTR environment: attr global nofork 0
2025.02.17 07:56:33.347 3: From the FHEM_GLOBALATTR environment: attr global updateInBackground 1
2025.02.17 07:56:33.352 1: Including fhem.cfg
services:
fhem:
restart: always
container_name: "fhem"
ports:
- "8083:8083"
- "8084:8084"
- "8089:8089"
image: fhem/fhem:latest
volumes:
- ./fhem/core/:/opt/fhem/
networks:
- fhem-network
environment:
FHEM_UID: 1000
FHEM_GID: 1000
TIMEOUT: 30
TIMEOUT_STARTING: 180
RESTART: 1
TELNETPORT: 7072
TZ: Europe/Berlin
devices:
- "/dev/serial/by-id/usb-FTDI_FT232R_USB_UART_A50285BI-if00-port0:/dev/ttyUSB0"
- "/dev/serial/by-id/usb-busware.de_CUL868-if00:/dev/ttyUSB1"
dns:
- 192.168.1.235
- 192.168.0.3
- 8.8.8.8
Zitat von: hugo am 16 Februar 2025, 23:06:39wo liegt mein ProblemWürde mal das Thema "trigger" bei userReadings nachschlagen.
ZitatWas wäre denn noch relevant, dann liefere ich die Infos noch nach?Du könntest uns für einen besseren Überblick diese Zeile der Debug-Ausgabe:
2025.02.16 22:57:02.607 1: SolCast DEBUG> gcon: 42.5 W, gfeedin: 0 W, contotal: 925082.7 Wh, feedtotal: 2639799.2 Wh
Zitat von: DS_Starter am 16 Februar 2025, 23:00:50In der nächsten Version habe ich die DEBUG-Ausgabe noch etwas erweitert:
...
In der letzten Zeile sieht man welchen gcons-Wert das Modul berechnet und weggeschrieben hat.
LG
Zitat von: 300P am 16 Februar 2025, 22:13:16Bei Dir steht leider kein fortlaufender Zählerstand als Eintrag - dann wird auch nicht gerechnet / gezählt - prüfe mal das Device / Reading dazu genauestens
EDIT:
Lass einmal es ohne Einschränkung der Device mit laufen ( ->> ctrlDebug collectData)
Gruß
300P