Hauptmenü

Neueste Beiträge

#1
Home Connect / Aw: Ergonomische Version von 4...
Letzter Beitrag von Prof. Dr. Peter Henning - 18 April 2024, 05:22:52
Der type wird bei der Initialisierung gesetzt. Wenn nur das Modul neu geladen wird, wird diese Initialisierung gar nicht ausgeführt.

Bitte als erstes: In der Device-Detailansicht auf den DEF-Link klicken und dann mit "modify hcconn BOSCH-KIF81HOD0-68A40E8EB085" bestätigen. Wenn das nicht hilft, FHEM mal neu starten.

LG

pah
#2
SVG / Plots / logProxy / Aw: Use of uninitialized value...
Letzter Beitrag von WolfgangV - 18 April 2024, 00:33:37
Ok,

hier also nochmal der aktuelle Code:

# Created by FHEM/98_SVG.pm, 2024-04-14 23:33:53
set terminal png transparent size <SIZE> crop
set output '<OUT>.png'
set xdata time
set timefmt "%Y-%m-%d_%H:%M:%S"
set xlabel " "
set title 'Anwesenheit Wohnbereichszonen'
set ytics
set y2tics
set grid
set ylabel "an"
set y2label "aus"
set yrange [0:3]

#SVG_FileLog_Anwesenheit_Esszimmer 3:Anwesenheit_Esszimmer.*::$fld[2]=~/on/?0.8:0
#SVG_FileLog_Anwesenheit_Wohnzimmer 3:Anwesenheit_Wohnzimmer.*::$fld[2]=~/on/?1.8:1
#SVG_FileLog_Anwesenheit_Kueche 3:Anwesenheit_Kueche.*::$fld[2]=~/on/?2.8:2

plot "<IN>" using 1:2 axes x1y2 title 'Anwesenheit Esszimmer' ls l0 lw 1 with steps,\
     "<IN>" using 1:2 axes x1y2 title 'Anwesenheit Wohnzimmer' ls l2 lw 1 with steps,\
     "<IN>" using 1:2 axes x1y2 title 'Anwesenheit Küche' ls l5 lw 1 with steps

Benötigst du noch irgendwas, um den Fehler zu lokalisieren?

Gruß


Wolfgang
#3
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von Bison - 18 April 2024, 00:09:21
Zitat von: DS_Starter am 17 April 2024, 23:44:03@Bison,

wird das Set-Kommando "on" eigentlich ausgeführt wenn du manuell im HM-Device ausführst?

Ja es wird sogar ein und ausgeschaltet.

Der Consumer ist so definiert.

STD_AKT_1_Pwr type=heater power=250 switchdev=STD_AKT_1_Sw mode=can icon=Ventilator_wind on=on off=off swstate=state:.*on:*:.*off.* asynchron=1 notbefore=10 notafter=18 locktime=900:900 auto=1 pcurr=power:W:250 etotal=energy:Wh interruptable=1
#4
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von Bison - 18 April 2024, 00:07:05
Zitat von: DS_Starter am 17 April 2024, 23:12:39Was ich aktuelle sehe ist dass jede 1-2 Sekunden ein Schaltbefehl ausgeführt wird:

2024.04.16 10:38:27 2: SolarForecast - switching Consumer 'Entfeuchter' to 'on' (Automatic = 1)
2024.04.16 10:38:27 1: SolarForecast DEBUG> consumer "01" - current Context is >switch off< => swoffcond: 0, off-command: off
2024.04.16 10:38:27 1: SolarForecast DEBUG> consumer "01" - current planning state: starting
2024.04.16 10:38:29 1: SolarForecast DEBUG> ############### consumerSwitching consumer "01" ###############
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - general switching parameters => auto mode: 1, current Consumption: -100 W, nompower: 250, surplus: 331 W, planstate: switching on:, starttime: 16.04.2024 10:15:42
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - isInLocktime: 0
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - current Context is >switch on< => swoncond: 1, on-command: on
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - device >STD_AKT_1_Sw< is used as switching device
2024.04.16 10:38:29 2: SolarForecast - switching Consumer 'Entfeuchter' to 'on' (Automatic = 1)
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - current Context is >switch off< => swoffcond: 0, off-command: off
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - current planning state: starting
2024.04.16 10:38:30 1: SolarForecast DEBUG> ############### consumerSwitching consumer "01" ###############
2024.04.16 10:38:30 1: SolarForecast DEBUG> consumer "01" - general switching parameters => auto mode: 1, current Consumption: -100 W, nompower: 250, surplus: 331 W, planstate: switching on:, starttime: 16.04.2024 10:15:42
2024.04.16 10:38:30 1: SolarForecast DEBUG> consumer "01" - isInLocktime: 0
2024.04.16 10:38:30 1: SolarForecast DEBUG> consumer "01" - current Context is >switch on< => swoncond: 1, on-command: on
2024.04.16 10:38:30 1: SolarForecast DEBUG> consumer "01" - device >STD_AKT_1_Sw< is used as switching device
2024.04.16 10:38:30 2: SolarForecast - switching Consumer 'Entfeuchter' to 'on' (Automatic = 1)

Erkannt wird der Status nicht.
Wie steht dein Attribut ctrlInterval?


Hallo Heiko,

das Attribut ctrlInterval ist nicht gesetzt.

Gruß
#5
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von DS_Starter - 17 April 2024, 23:44:03
@Bison,

wird das Set-Kommando "on" eigentlich ausgeführt wenn du manuell im HM-Device ausführst?
#6
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von hazelnut - 17 April 2024, 23:26:13
Hi,


Zitat von: DS_Starter am 17 April 2024, 19:55:45
ZitatIllegal division by zero at ./FHEM/76_SolarForecast.pm line 8206.
Die mögliche "Devsion by zero" habe ich nun abgefangen bzw. prüfe nun auch eine fehlerhafte Definition des Schüssels cap.
Die V ist eingecheckt und morgen früh im Update. Die V liegt auch in meinem contrib für Eilige.

So, Update ist durch ...

Internals:
   FUUID      65eaf512-f33f-4c82-2174-7dc6bc03d704f24c
   FVERSION   76_SolarForecast.pm:v1.17.8-s28799/2024-04-16
   MODE       Automatic - next Cycletime: 23:14:56
   MODEL      DWD
   NAME       PV_Forecast
   NR         75
   NTFY_ORDER 50-PV_Forecast
   STATE      updated
   TYPE       SolarForecast
   eventCount 4
   HELPER:
     FW         WEB
     PACKAGE    FHEM::SolarForecast
     SPGDETAIL 
     SPGDEV     PV_Forecast
     SPGROOM   
     VERSION    1.17.8
     VERSION_API unused
     VERSION_CTZ 1.0.0
     VERSION_ErrCodes unused
     VERSION_SMUtils 1.27.2
...

Die Auslastung vom Pi hält sich in Grenzen ...

average: 0.16, 0.18, 0.18
... und in der Logdatei steht:

...
2024.04.17 23:12:36 1: PV_Forecast DEBUG> SoC calc Step1 - compare with SoC history -> new Target: 55 %
2024.04.17 23:12:36 1: PV_Forecast DEBUG> SoC calc Step2 - note remaining days until care SoC (20 days) -> Target: 55 %
2024.04.17 23:12:36 1: PV_Forecast DEBUG> SoC calc Step3 - note charging probability -> Target: -279 % (new target < current Target SoC 60)
2024.04.17 23:12:36 1: PV_Forecast DEBUG> SoC calc Step4 - observe low/up limits -> Target: 60 %
2024.04.17 23:12:36 1: PV_Forecast DEBUG> SoC calc Step5 - rounding the SoC to steps of 5 -> Target: 60 %
2024.04.17 23:12:36 1: PV_Forecast DEBUG> SoC calc Step6 - force charging request: no (Battery is sufficiently charged)
2024.04.17 23:13:47 1: PV_Forecast DEBUG> SoC calc Step1 - compare with SoC history -> new Target: 55 %
2024.04.17 23:13:47 1: PV_Forecast DEBUG> SoC calc Step2 - note remaining days until care SoC (20 days) -> Target: 55 %
2024.04.17 23:13:47 1: PV_Forecast DEBUG> SoC calc Step3 - note charging probability -> Target: -279 % (new target < current Target SoC 60)
2024.04.17 23:13:47 1: PV_Forecast DEBUG> SoC calc Step4 - observe low/up limits -> Target: 60 %
2024.04.17 23:13:47 1: PV_Forecast DEBUG> SoC calc Step5 - rounding the SoC to steps of 5 -> Target: 60 %
2024.04.17 23:13:47 1: PV_Forecast DEBUG> SoC calc Step6 - force charging request: no (Battery is sufficiently charged)
2024.04.17 23:14:58 1: PV_Forecast DEBUG> SoC calc Step1 - compare with SoC history -> new Target: 55 %
2024.04.17 23:14:58 1: PV_Forecast DEBUG> SoC calc Step2 - note remaining days until care SoC (20 days) -> Target: 55 %
2024.04.17 23:14:58 1: PV_Forecast DEBUG> SoC calc Step3 - note charging probability -> Target: -279 % (new target < current Target SoC 60)
2024.04.17 23:14:58 1: PV_Forecast DEBUG> SoC calc Step4 - observe low/up limits -> Target: 60 %
2024.04.17 23:14:58 1: PV_Forecast DEBUG> SoC calc Step5 - rounding the SoC to steps of 5 -> Target: 60 %
2024.04.17 23:14:58 1: PV_Forecast DEBUG> SoC calc Step6 - force charging request: no (Battery is sufficiently charged)
2024.04.17 23:16:08 1: PV_Forecast DEBUG> SoC calc Step1 - compare with SoC history -> new Target: 55 %
2024.04.17 23:16:08 1: PV_Forecast DEBUG> SoC calc Step2 - note remaining days until care SoC (20 days) -> Target: 55 %
2024.04.17 23:16:08 1: PV_Forecast DEBUG> SoC calc Step3 - note charging probability -> Target: -279 % (new target < current Target SoC 60)
2024.04.17 23:16:08 1: PV_Forecast DEBUG> SoC calc Step4 - observe low/up limits -> Target: 60 %
2024.04.17 23:16:08 1: PV_Forecast DEBUG> SoC calc Step5 - rounding the SoC to steps of 5 -> Target: 60 %
2024.04.17 23:16:08 1: PV_Forecast DEBUG> SoC calc Step6 - force charging request: no (Battery is sufficiently charged)
2024.04.17 23:17:19 1: PV_Forecast DEBUG> SoC calc Step1 - compare with SoC history -> new Target: 55 %
2024.04.17 23:17:19 1: PV_Forecast DEBUG> SoC calc Step2 - note remaining days until care SoC (20 days) -> Target: 55 %
2024.04.17 23:17:19 1: PV_Forecast DEBUG> SoC calc Step3 - note charging probability -> Target: -279 % (new target < current Target SoC 60)
2024.04.17 23:17:19 1: PV_Forecast DEBUG> SoC calc Step4 - observe low/up limits -> Target: 60 %
2024.04.17 23:17:19 1: PV_Forecast DEBUG> SoC calc Step5 - rounding the SoC to steps of 5 -> Target: 60 %
2024.04.17 23:17:19 1: PV_Forecast DEBUG> SoC calc Step6 - force charging request: no (Battery is sufficiently charged)
2024.04.17 23:18:30 1: PV_Forecast DEBUG> SoC calc Step1 - compare with SoC history -> new Target: 55 %
2024.04.17 23:18:30 1: PV_Forecast DEBUG> SoC calc Step2 - note remaining days until care SoC (20 days) -> Target: 55 %
2024.04.17 23:18:30 1: PV_Forecast DEBUG> SoC calc Step3 - note charging probability -> Target: -279 % (new target < current Target SoC 60)
2024.04.17 23:18:30 1: PV_Forecast DEBUG> SoC calc Step4 - observe low/up limits -> Target: 60 %
2024.04.17 23:18:30 1: PV_Forecast DEBUG> SoC calc Step5 - rounding the SoC to steps of 5 -> Target: 60 %
2024.04.17 23:18:30 1: PV_Forecast DEBUG> SoC calc Step6 - force charging request: no (Battery is sufficiently charged)...

Der Bauch sagt ... dass das so aussehen könnte :-)

Dann werde ich das mal die Tage beobachten und schauen, wie ich am sinnvollsten weitermache.

Dir erst einmal vielen Dank und ich hoffe die Infos helfen dir.

Gutes Nächtle

Hazel
#7
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von DS_Starter - 17 April 2024, 23:12:39
Was ich aktuelle sehe ist dass jede 1-2 Sekunden ein Schaltbefehl ausgeführt wird:

2024.04.16 10:38:27 2: SolarForecast - switching Consumer 'Entfeuchter' to 'on' (Automatic = 1)
2024.04.16 10:38:27 1: SolarForecast DEBUG> consumer "01" - current Context is >switch off< => swoffcond: 0, off-command: off
2024.04.16 10:38:27 1: SolarForecast DEBUG> consumer "01" - current planning state: starting
2024.04.16 10:38:29 1: SolarForecast DEBUG> ############### consumerSwitching consumer "01" ###############
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - general switching parameters => auto mode: 1, current Consumption: -100 W, nompower: 250, surplus: 331 W, planstate: switching on:, starttime: 16.04.2024 10:15:42
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - isInLocktime: 0
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - current Context is >switch on< => swoncond: 1, on-command: on
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - device >STD_AKT_1_Sw< is used as switching device
2024.04.16 10:38:29 2: SolarForecast - switching Consumer 'Entfeuchter' to 'on' (Automatic = 1)
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - current Context is >switch off< => swoffcond: 0, off-command: off
2024.04.16 10:38:29 1: SolarForecast DEBUG> consumer "01" - current planning state: starting
2024.04.16 10:38:30 1: SolarForecast DEBUG> ############### consumerSwitching consumer "01" ###############
2024.04.16 10:38:30 1: SolarForecast DEBUG> consumer "01" - general switching parameters => auto mode: 1, current Consumption: -100 W, nompower: 250, surplus: 331 W, planstate: switching on:, starttime: 16.04.2024 10:15:42
2024.04.16 10:38:30 1: SolarForecast DEBUG> consumer "01" - isInLocktime: 0
2024.04.16 10:38:30 1: SolarForecast DEBUG> consumer "01" - current Context is >switch on< => swoncond: 1, on-command: on
2024.04.16 10:38:30 1: SolarForecast DEBUG> consumer "01" - device >STD_AKT_1_Sw< is used as switching device
2024.04.16 10:38:30 2: SolarForecast - switching Consumer 'Entfeuchter' to 'on' (Automatic = 1)

Erkannt wird der Status nicht.
Wie steht dein Attribut ctrlInterval?
#8
FHEM Code changes / Revision 28804: 76_SolarForeca...
Letzter Beitrag von System - 17 April 2024, 22:50:23
Revision 28804: 76_SolarForecast: possible Illegal division by zero if Battery SOC ...

76_SolarForecast: possible Illegal division by zero if Battery SOC management is activated

Source: Revision 28804: 76_SolarForecast: possible Illegal division by zero if Battery SOC ...
#9
Server - Linux / Aw: fhem-docker Image 4.0.0 (T...
Letzter Beitrag von frinkenstein - 17 April 2024, 22:46:31
Hallo Sidey,

hab es auf ein Netzwerkproblem eingrenzen können - Ausgangspunkt war die Loginfo :
21:24:26 conmon: /entry.sh: line 823: DOCKER_GW: unbound variable
21:24:26 conmon: INFO: Patching /etc/hosts file with DOCKER_HOST and DOCKER_GW'

bis zur beta2 einschl. startet das dockerimage mit der podman option --net=host
sauber durch und ist mit localhost:8083 erreichbar

mit der beta8 und aktuellen dev müssen stattdessen mit dem podman start die docker parameter -e DOCKER_HOST= -e DOCKER_GW=
angeben werden um dann die cni-podman0 Netzwerkbrücke auf 10.88.0.1 und nach jedem Container-neustart hochzählend die hostip 10.88.0.x
(automatisch vergeben) zu erhalten und Zugang auf den dann durchgestarteten Container auf :8083 zu bekommen - echt unglücklich
und mit meinem Versuch und Irrtum-Wissen häng ich fest - da ein Blick von dir/euch drauf wär nett -
für heute ist erst mal schluss..

Grüße
frink
#10
Anfängerfragen / Aw: Steuerbares (Aussen-)Wasse...
Letzter Beitrag von Bison - 17 April 2024, 22:37:42
Zitat von: Sailor am 16 April 2024, 10:08:28Hi Bison

Zitat von: Bison am 15 April 2024, 22:43:46Hallo Cs-Online,
ich habe das mit Ventilen aus dem Internet (5€) und etwas Material aus dem Baumarkt gebaut. Ich steuere das ganze mit einer 8er Relaiskarte über das Modul HM-MOD-RE-8.

Empfehlung: Mach einen schönen Kasten drüber und sprühe alles mit Silikonöl ein, damit dir die Teile nicht innerhalb von 2 Jahren wegrotten.

Gruß
    Sailor

Hallo Sailor,

die laufen jetzt das dritte Jahr bei mir. Sie sind allerdings nicht im Gewächshaus, sonder im Schuppen nebenan (trocken).

Gruß Bison