[gelöst] Memoryleak in perl?

Begonnen von TiPpFeHlEr, 17 November 2024, 08:27:26

Vorheriges Thema - Nächstes Thema

TiPpFeHlEr

So,

Ram ist wieder voll 2,4gb nach ca. 24h

Ich hoffe jemand sieht den Fehler oder kann weiterhelfen.



pi@raspberrypi:~ $ ps -e --forest -p 196140
    PID TTY          TIME CMD
      2 ?        00:00:00 kthreadd
      3 ?        00:00:00  \_ pool_workqueue_release
      4 ?        00:00:00  \_ kworker/R-rcu_g
      5 ?        00:00:00  \_ kworker/R-rcu_p
      6 ?        00:00:00  \_ kworker/R-slub_
      7 ?        00:00:00  \_ kworker/R-netns
      9 ?        00:00:00  \_ kworker/0:0H-events_highpri
     11 ?        00:00:00  \_ kworker/u8:0-ext4-rsv-conversion
     12 ?        00:00:00  \_ kworker/R-mm_pe
     13 ?        00:00:00  \_ rcu_tasks_kthread
     14 ?        00:00:00  \_ rcu_tasks_rude_kthread
     15 ?        00:00:00  \_ rcu_tasks_trace_kthread
     16 ?        00:00:06  \_ ksoftirqd/0
     17 ?        00:00:26  \_ rcu_preempt
     18 ?        00:00:00  \_ migration/0
     19 ?        00:00:00  \_ cpuhp/0
     20 ?        00:00:00  \_ cpuhp/1
     21 ?        00:00:00  \_ migration/1
     22 ?        00:00:00  \_ ksoftirqd/1
     24 ?        00:00:00  \_ kworker/1:0H-events_highpri
     25 ?        00:00:00  \_ cpuhp/2
     26 ?        00:00:00  \_ migration/2
     27 ?        00:00:00  \_ ksoftirqd/2
     29 ?        00:00:00  \_ kworker/2:0H-events_highpri
     30 ?        00:00:00  \_ cpuhp/3
     31 ?        00:00:00  \_ migration/3
     32 ?        00:00:01  \_ ksoftirqd/3
     34 ?        00:00:00  \_ kworker/3:0H-events_highpri
     39 ?        00:00:00  \_ kdevtmpfs
     40 ?        00:00:00  \_ kworker/R-inet_
     42 ?        00:00:00  \_ kauditd
     44 ?        00:00:00  \_ khungtaskd
     45 ?        00:00:00  \_ oom_reaper
     46 ?        00:00:00  \_ kworker/R-write
     47 ?        00:00:05  \_ kcompactd0
     48 ?        00:00:00  \_ kworker/R-kinte
     49 ?        00:00:00  \_ kworker/R-kbloc
     50 ?        00:00:00  \_ kworker/R-blkcg
     52 ?        00:00:00  \_ watchdogd
     56 ?        00:00:00  \_ kworker/1:1H-kblockd
     57 ?        00:00:00  \_ kworker/R-rpcio
     58 ?        00:00:00  \_ kworker/R-xprti
     59 ?        00:00:00  \_ kswapd0
     60 ?        00:00:00  \_ kworker/R-nfsio
     61 ?        00:00:00  \_ kworker/R-kthro
     68 ?        00:00:00  \_ irq/27-aerdrv
     69 ?        00:00:00  \_ hwrng
     70 ?        00:00:00  \_ kworker/R-iscsi
     71 ?        00:00:00  \_ kworker/R-nvme-
     72 ?        00:00:00  \_ kworker/R-nvme-
     73 ?        00:00:00  \_ kworker/R-nvme-
     76 ?        00:00:00  \_ kworker/R-DWC N
     77 ?        00:00:00  \_ kworker/R-uas
     78 ?        00:00:00  \_ vchiq-slot/0
     79 ?        00:00:00  \_ vchiq-recy/0
     80 ?        00:00:00  \_ vchiq-sync/0
     81 ?        00:00:00  \_ kworker/0:1H-kblockd
     82 ?        00:00:33  \_ kworker/u13:0-brcmf_wq/mmc1:0001:1
     83 ?        00:00:00  \_ kworker/u14:0
     84 ?        00:00:00  \_ kworker/u15:0
     85 ?        00:00:00  \_ kworker/u16:0
     86 ?        00:00:00  \_ kworker/u17:0
     92 ?        00:00:00  \_ kworker/R-sdhci
     93 ?        00:04:34  \_ irq/37-mmc0
    116 ?        00:00:00  \_ kworker/3:1H-kblockd
    120 ?        00:00:00  \_ kworker/2:1H-kblockd
    135 ?        00:00:00  \_ scsi_eh_0
    136 ?        00:00:00  \_ kworker/R-scsi_
    166 ?        00:00:04  \_ v3d_bin
    167 ?        00:00:03  \_ v3d_render
    168 ?        00:00:00  \_ v3d_tfu
    169 ?        00:00:00  \_ v3d_csd
    170 ?        00:00:00  \_ v3d_cache_clean
    185 ?        00:00:00  \_ irq/41-vc4 hdmi hpd connected
    186 ?        00:00:00  \_ irq/42-vc4 hdmi hpd disconnected
    187 ?        00:00:00  \_ cec-vc4-hdmi-0
    188 ?        00:00:00  \_ irq/43-vc4 hdmi cec rx
    189 ?        00:00:00  \_ irq/44-vc4 hdmi cec tx
    190 ?        00:00:00  \_ irq/45-vc4 hdmi hpd connected
    191 ?        00:00:00  \_ irq/46-vc4 hdmi hpd disconnected
    192 ?        00:00:00  \_ cec-vc4-hdmi-1
    193 ?        00:00:00  \_ irq/47-vc4 hdmi cec rx
    194 ?        00:00:00  \_ irq/48-vc4 hdmi cec tx
    195 ?        00:00:00  \_ card1-crtc0
    196 ?        00:00:00  \_ card1-crtc1
    197 ?        00:00:00  \_ card1-crtc2
    198 ?        00:00:00  \_ card1-crtc3
    199 ?        00:00:00  \_ card1-crtc4
    200 ?        00:00:00  \_ card1-crtc5
    231 ?        00:00:07  \_ jbd2/sda2-8
    232 ?        00:00:00  \_ kworker/R-ext4-
    252 ?        00:00:00  \_ kworker/R-mld
    253 ?        00:00:00  \_ kworker/R-ipv6_
    320 ?        00:00:01  \_ kworker/u8:1-ext4-rsv-conversion
    400 ?        00:00:00  \_ vchiq-keep/0
    402 ?        00:00:00  \_ SMIO
    435 ?        00:00:00  \_ kworker/R-mmal-
    439 ?        00:00:00  \_ irq/55-feb10000.codec
    442 ?        00:00:00  \_ kworker/R-mmal-
    449 ?        00:00:00  \_ kworker/R-mmal-
    450 ?        00:00:00  \_ kworker/R-mmal-
    453 ?        00:00:00  \_ kworker/R-mmal-
    454 ?        00:00:00  \_ kworker/R-mmal-
    472 ?        00:00:00  \_ kworker/R-mmal-
    473 ?        00:00:00  \_ kworker/R-cfg80
    532 ?        00:00:00  \_ kworker/R-brcmf
    535 ?        00:00:02  \_ brcmf_wdog/mmc1:0001:1
    565 ?        00:00:00  \_ kworker/u13:1-hci0
   1251 ?        00:00:00  \_ krfcommd
 198071 ?        00:00:02  \_ kworker/u10:2-events_unbound
 328194 ?        00:00:00  \_ kworker/u12:2-events_unbound
 339166 ?        00:00:00  \_ kworker/u11:2-events_unbound
 351493 ?        00:00:00  \_ kworker/u11:1-events_unbound
 358070 ?        00:00:00  \_ kworker/u12:1-events_unbound
 363570 ?        00:00:00  \_ kworker/u11:0-events_unbound
 364328 ?        00:00:00  \_ kworker/u12:0-events_unbound
 366726 ?        00:00:01  \_ kworker/3:3-mm_percpu_wq
 368268 ?        00:00:00  \_ kworker/2:1-mm_percpu_wq
 368818 ?        00:00:08  \_ kworker/1:1-events_freezable
 370317 ?        00:00:05  \_ kworker/u9:2-events_unbound
 371378 ?        00:00:00  \_ kworker/2:2-events
 371466 ?        00:00:00  \_ kworker/u10:1-events_unbound
 371549 ?        00:00:05  \_ kworker/u9:1-events_unbound
 372159 ?        00:00:00  \_ kworker/0:2-events
 372537 ?        00:00:00  \_ kworker/3:2-events
 372694 ?        00:00:00  \_ kworker/u9:0-events_unbound
 372796 ?        00:00:00  \_ kworker/1:2-mm_percpu_wq
 372926 ?        00:00:00  \_ kworker/0:1-mm_percpu_wq
 373181 ?        00:00:00  \_ kworker/3:0-mm_percpu_wq
 373614 ?        00:00:00  \_ kworker/0:0
 373714 ?        00:00:00  \_ kworker/2:0-events
 374139 ?        00:00:00  \_ kworker/1:0-mm_percpu_wq
 374175 ?        00:00:00  \_ kworker/3:1
 374178 ?        00:00:00  \_ kworker/u10:0-events_unbound
      1 ?        00:00:04 systemd
    294 ?        00:00:01 systemd-journal
    324 ?        00:00:01 systemd-udevd
    586 ?        00:00:01 systemd-timesyn
    747 ?        00:02:41 accounts-daemon
    759 ?        00:00:01 avahi-daemon
    764 ?        00:00:00  \_ avahi-daemon
    762 ?        00:00:00 cron
    766 ?        00:00:08 dbus-daemon
    777 ?        00:00:04 owftpd
    782 ?        00:01:44 owserver
    784 ?        00:00:00 polkitd
    820 ?        00:00:00 systemd-logind
    832 ?        00:00:01 thd
    841 ?        00:00:43 udisksd
    917 ?        00:00:00 ModemManager
    921 ?        00:00:21 NetworkManager
    923 ?        00:00:00 bluetoothd
    926 ?        00:00:00 owhttpd
    928 ?        00:00:13 wpa_supplicant
    971 ?        00:00:00 lircd
    978 ?        00:00:00  \_ sh
    987 ?        00:00:00 lightdm
   1081 ?        00:00:00  \_ lightdm
   1106 ?        00:02:19      \_ wayfire
   1177 ?        00:00:00          \_ ssh-agent
    995 ?        00:00:00 sshd
 374147 ?        00:00:00  \_ sshd
 374159 ?        00:00:00      \_ sshd
 374160 pts/0    00:00:00          \_ bash
 374243 pts/0    00:00:00              \_ ps
   1067 ?        00:05:49 perl
   1086 ?        00:00:00 systemd
   1087 ?        00:00:00  \_ (sd-pam)
   1102 ?        00:00:00  \_ pipewire
   1103 ?        00:00:00  \_ pipewire
   1104 ?        00:00:00  \_ wireplumber
   1105 ?        00:00:00  \_ pipewire-pulse
   1110 ?        00:00:00  \_ dbus-daemon
   1252 ?        00:00:00  \_ xdg-permission-
   1489 ?        00:00:00  \_ gvfsd
   1594 ?        00:00:00  |   \_ gvfsd-trash
   1504 ?        00:00:00  \_ gvfsd-fuse
   1518 ?        00:00:00  \_ xdg-desktop-por
   1526 ?        00:00:00  \_ xdg-document-po
   1533 ?        00:00:00  |   \_ fusermount3
   1537 ?        00:00:00  \_ xdg-desktop-por
   1546 ?        00:00:00  \_ gvfs-udisks2-vo
   1565 ?        00:00:00  \_ gvfs-gphoto2-vo
   1570 ?        00:00:00  \_ gvfs-goa-volume
   1576 ?        00:00:00  \_ gvfs-mtp-volume
   1579 ?        00:00:00  \_ xdg-desktop-por
   1581 ?        00:00:04  \_ gvfs-afc-volume
   1589 ?        00:00:00  \_ gnome-keyring-d
   1590 ?        00:00:00  \_ gnome-keyring-d
   1123 ?        00:00:01 rtkit-daemon
   1409 ?        00:00:00 sh
   1410 ?        00:00:00  \_ wfrespawn
   1463 ?        00:05:08      \_ wf-panel-pi
   1412 ?        00:00:00 sh
   1413 ?        00:00:00  \_ wfrespawn
   1462 ?        00:00:01      \_ pcmanfm
   1423 ?        00:00:00 polkit-mate-aut
   1434 ?        00:00:00 systemd-inhibit
   1459 ?        00:00:00  \_ gtk-nop
   1436 ?        00:00:00 labwc-prompt
   1438 ?        00:00:00 applet.py
   1609 ?        00:00:00 menu-cached
   2020 ?        00:10:33 ebusd
   2032 tty1     00:00:00 login
   2357 tty1     00:00:00  \_ bash
   2320 ?        00:00:00 colord
   2928 ?        00:05:00 ebusd
 196140 ?        04:29:35 perl
 196312 ?        00:02:28  \_ perl
 247386 ?        00:00:00 cupsd
 247414 ?        00:00:00  \_ dbus
 247389 ?        00:00:00 cups-browsed
 297318 ?        00:00:04 python3

Gruß Maik

TiPpFeHlEr

Hi,

Problem ist weg aber nicht 100% gefunden

diese hatte ich deaktiviert und Stück für Stück wieder aktiviert.
Diese Module waren gerade nicht nötg fürs Haus ;)

aktiviert 21.11.2024 14:04
#define RXArduino SIGNALduino /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0@57600
#setuuid RXArduino 5e372372-f33f-f73c-36d9-156cca2d5269b4ef
#attr RXArduino comment 10,18,79,50,40
#attr RXArduino debug 0
#attr RXArduino devStateIcon opened:remotecontrol/black_btn_GREEN 0:remotecontrol/black_btn_RED
#attr RXArduino flashCommand avrdude -c arduino -b 57600 -P [PORT] -p atmega328p -vv -U flash:w:[HEXFILE] 2>[LOGFILE]
#attr RXArduino hardware nano328
#attr RXArduino rawmsgEvent 1
#attr RXArduino room RXArduino
#attr RXArduino updateChannelFW stable
#attr RXArduino verbose 0
#attr RXArduino whitelist_IDs 10,18,79,50,40

aktiviert 21.11.2024 14:04
#define FHEM_Timers Timer
#setuuid FHEM_Timers 648ea9f2-f33f-8bb2-a4ae-28ab02ab36c7ad66
#attr FHEM_Timers Offset_Horizon REAL
#attr FHEM_Timers Show_DeviceInfo comment
#attr FHEM_Timers group Terrasse
#attr FHEM_Timers icon time_timer
#attr FHEM_Timers room Timer

aktiviert 21.11.2024 15:00
#define Aussen_Feuchte_dummy dummy
#setuuid Aussen_Feuchte_dummy 64cd2555-f33f-8bb2-8f8d-9bdf7b009eafbe35
#attr Aussen_Feuchte_dummy group Beete,Rasen,Vorgarten
#attr Aussen_Feuchte_dummy icon weather_humidity
#attr Aussen_Feuchte_dummy room Bewässerung
#attr Aussen_Feuchte_dummy setList state:slider,0,1,100
#attr Aussen_Feuchte_dummy webCmd state

aktiviert 21.11.2024 14:04
#define mydoif DOIF ([RXArduino:&DMSG] =~ "60AA8103039F") (set Feuchte_Dummy_Test [RXArduino:&DMSG])\
#DOELSEIF ([RXArduino:&DMSG] =~ "60AA81FC03B1") (set Feuchte_Dummy_Innen [RXArduino:&DMSG])\
#DOELSEIF ([RXArduino:&DMSG] =~ "60AA810303B7") ()\
#DOELSEIF ([RXArduino:&DMSG] =~ "60AA810603B7") (set Feuchte_Dummy_Aussen [RXArduino:&DMSG])\
#DOELSE (set Feuchte_Dummy_Other [RXArduino:&DMSG])
#setuuid mydoif 64de370a-f33f-8bb2-da0f-a79168807438d4ab
#attr mydoif comment Status {ReadingsVal("mydoif","e_RXArduino_DMSG",0)};;\
#Hum {ReadingsVal("mydoif", "e_RXArduino_DMSG", 0) =~ /([00])([AA][81][8-9A-F][8-9A-F][8-9A-F][8-9A-F][8-9A-F][8-9A-F][8-9A-F][8-9A-F][8-9A-F])/;; $1}
#attr mydoif do always
#attr mydoif room RXArduino
#attr mydoif userReadings Device {my $v = ReadingsVal("mydoif","e_RXArduino_DMSG","0");;;; $v =~ s/([0-9A-F][0-9A-F])(AA81)([0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])[0-9A-F]+/$3/;;;; $v},\
#Status {my $v = ReadingsVal("mydoif","e_RXArduino_DMSG","0");;;; $v =~ s/([0-9A-F][0-9A-F])(AA81)([0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])[0-9A-F]+/$5/;;;; $v},\
#RAW {ReadingsVal("mydoif","e_RXArduino_DMSG",0)}

aktiviert 21.11.2024 15:00
#define FileLog_Feuchte FileLog ./log/Feuchte-%Y-%m-%V-%d.log Feuchte_Dummy_Aussen:.*|Feuchte_Dummy_Innen:.*|Feuchte_Dummy_Test:.*|Feuchte_Dummy_Other:.*
#setuuid FileLog_Feuchte 64de4571-f33f-8bb2-c5cb-bd5d69343d845b19
#attr FileLog_Feuchte disable 1
#attr FileLog_Feuchte room RXArduino

aktiviert 21.11.2024 15:00
#define Feuchte_Dummy_Aussen dummy
#setuuid Feuchte_Dummy_Aussen 64e1bc63-f33f-8bb2-b1ff-a8e6a68a28e927c9
#attr Feuchte_Dummy_Aussen alias Bodenfeuchte_Dummy_Rasen
#attr Feuchte_Dummy_Aussen group .Sensoren
#attr Feuchte_Dummy_Aussen icon humidity
#attr Feuchte_Dummy_Aussen room Bewässerung,RXArduino
#attr Feuchte_Dummy_Aussen stateFormat Temp:Temperatur °C | Hum:Feuchte % | delta_t
#attr Feuchte_Dummy_Aussen userReadings Device {my $v = ReadingsVal("Feuchte_Dummy_Aussen","state","0");;;; $v =~ s/([0-9A-F][0-9A-F])(AA81)([0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])[0-9A-F]+/$3/;;;; $v},\
#Status {my $v = ReadingsVal("Feuchte_Dummy_Aussen","state","0");;;; $v =~ s/([0-9A-F][0-9A-F])(AA81)([0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])[0-9A-F]+/$5/;;;; $v},\
#Bat {if((substr(ReadingsVal("Feuchte_Dummy_Aussen","state","0"),24,2)) eq "15") {return "full"} elsif ((substr(ReadingsVal("Feuchte_Dummy_Aussen","state","0"),24,2)) eq "95") {return "empty"} else {return "error"}},\
#delta_t {ReadingsTimestamp("Feuchte_Dummy_Aussen","state",0)}

aktiviert 21.11.2024 15:00
#define Feuchte_Dummy_Innen dummy
#setuuid Feuchte_Dummy_Innen 64e1bcd3-f33f-8bb2-bd5b-c19ae466dd41dbd4
#attr Feuchte_Dummy_Innen alias Bodenfeuchte_Dummy_Vorgarten
#attr Feuchte_Dummy_Innen group .Sensoren
#attr Feuchte_Dummy_Innen icon humidity
#attr Feuchte_Dummy_Innen room Bewässerung,RXArduino
#attr Feuchte_Dummy_Innen stateFormat Temp:Temperatur °C | Hum:Feuchte % | delta_t
#attr Feuchte_Dummy_Innen userReadings Device {my $v = ReadingsVal("Feuchte_Dummy_Innen","state","0");;;; $v =~ s/([0-9A-F][0-9A-F])(AA81)([0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])[0-9A-F]+/$3/;;;; $v},\
#Status {my $v = ReadingsVal("Feuchte_Dummy_Innen","state","0");;;; $v =~ s/([0-9A-F][0-9A-F])(AA81)([0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F][0-9A-F][0-9A-F])([0-9A-F][0-9A-F])([0-9A-F][0-9A-F])[0-9A-F]+/$5/;;;; $v},\
#Bat {if((substr(ReadingsVal("Feuchte_Dummy_Innen","state","0"),24,2)) eq "15") {return "full"} elsif ((substr(ReadingsVal("Feuchte_Dummy_Innen","state","0"),24,2)) eq "95") {return "empty"} else {return "error"}},\
#delta_t {ReadingsTimestamp("Feuchte_Dummy_Innen","state",0)}

aktiviert 21.11.2024 14:35
#define MQTT2_myMQTT2 MQTT2_DEVICE myMQTT2
#setuuid MQTT2_myMQTT2 64fc1709-f33f-8bb2-4144-dcfe319da7248bfa
#attr MQTT2_myMQTT2 alias M-TEC
#attr MQTT2_myMQTT2 event-aggregator Power_Diff_AVG::none:median:300
#attr MQTT2_myMQTT2 icon measure_photovoltaic_inst
#attr MQTT2_myMQTT2 readingList myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/day_production:.* day_production\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/month_production:.* month_production\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/year_production:.* year_production\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/total_production:.* total_production\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/current_PV:.* current_PV\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/current_grid:.* current_grid\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/current_battery:.* current_battery\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/current_battery_SOC:.* current_battery_SOC\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/current_load:.* current_load\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/grid_interrupt:.* grid_interrupt\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/battery_P:.* battery_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/battery_V:.* battery_V\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/battery_I:.* battery_I\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/battery_SOC:.* battery_SOC\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_A_P:.* inverter_A_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_A_V:.* inverter_A_V\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_A_I:.* inverter_A_I\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_B_P:.* inverter_B_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_B_V:.* inverter_B_V\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_B_I:.* inverter_B_I\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_C_P:.* inverter_C_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_C_V:.* inverter_C_V\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/inverter_C_I:.* inverter_C_I\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/grid_A_P:.* grid_A_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/grid_B_P:.* grid_B_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/grid_C_P:.* grid_C_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/PV_PV1_P:.* PV_PV1_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/PV_PV1_V:.* PV_PV1_V\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/PV_PV1_I:.* PV_PV1_I\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/PV_PV2_P:.* PV_PV2_P\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/PV_PV2_V:.* PV_PV2_V\
#myMQTT2:MTEC/Siebert\x20Andre\x20\x20\x20\x20\x20\x20203433/Chaussee\x2090/PV_PV2_I:.* PV_PV2_I\
#myMQTT2:MTEC/Siebert_Andre_203433/day_production:.* day_production\
#myMQTT2:MTEC/Siebert_Andre_203433/month_production:.* month_production\
#myMQTT2:MTEC/Siebert_Andre_203433/year_production:.* year_production\
#myMQTT2:MTEC/Siebert_Andre_203433/total_production:.* total_production\
#myMQTT2:MTEC/Siebert_Andre_203433/current_PV:.* current_PV\
#myMQTT2:MTEC/Siebert_Andre_203433/current_grid:.* current_grid\
#myMQTT2:MTEC/Siebert_Andre_203433/current_battery:.* current_battery\
#myMQTT2:MTEC/Siebert_Andre_203433/current_battery_SOC:.* current_battery_SOC\
#myMQTT2:MTEC/Siebert_Andre_203433/current_load:.* current_load\
#myMQTT2:MTEC/Siebert_Andre_203433/grid_interrupt:.* grid_interrupt\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/battery_P:.* battery_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/battery_V:.* battery_V\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/battery_I:.* battery_I\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/battery_SOC:.* battery_SOC\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_A_P:.* inverter_A_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_A_V:.* inverter_A_V\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_A_I:.* inverter_A_I\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_B_P:.* inverter_B_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_B_V:.* inverter_B_V\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_B_I:.* inverter_B_I\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_C_P:.* inverter_C_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_C_V:.* inverter_C_V\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/inverter_C_I:.* inverter_C_I\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/grid_A_P:.* grid_A_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/grid_B_P:.* grid_B_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/grid_C_P:.* grid_C_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/PV_PV1_P:.* PV_PV1_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/PV_PV1_V:.* PV_PV1_V\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/PV_PV1_I:.* PV_PV1_I\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/PV_PV2_P:.* PV_PV2_P\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/PV_PV2_V:.* PV_PV2_V\
#myMQTT2:MTEC/Siebert_Andre_203433/Chaussee\x2090/PV_PV2_I:.* PV_PV2_I
#attr MQTT2_myMQTT2 room MQTT2_DEVICE,Solar
#attr MQTT2_myMQTT2 stateFormat PV: PV_Leistung kW | Bat: current_battery_SOC %  Bat_State battery_P kW | Netz: Grid_State Grid_Leistung kW | Home: c_current_load kW | PowerDiff Power_Diff kW | Carport String_Carport_Auslastung % | Dach String_Dach_Auslastung %
#attr MQTT2_myMQTT2 userReadings PV_Leistung:PV_PV2_P.* {ReadingsVal("MQTT2_myMQTT2","PV_PV1_P",0)+ReadingsVal("MQTT2_myMQTT2","PV_PV2_P",0)}, \
#Grid_Leistung:grid_A_P.* {ReadingsVal("MQTT2_myMQTT2","grid_A_P",0)+ReadingsVal("MQTT2_myMQTT2","grid_B_P",0)+ReadingsVal("MQTT2_myMQTT2","grid_C_P",0)},\
#Bat_State:battery_P.* {\
#  if (ReadingsVal("MQTT2_myMQTT2", "battery_P", 0) <0) {\
#    return '<font color="green">'."laden" .'</font>';;\
#  } elsif (ReadingsVal("MQTT2_myMQTT2", "battery_P", 0) >0) {\
#   return '<font color="red">'."entladen" .'</font>';;\
#  } else {\
#    return '<font color="orange">'. "standby".'</font>';;\
#  }\
#},\
#Grid_State:Grid_Leistung.* {\
#  if (ReadingsVal("MQTT2_myMQTT2","Grid_Leistung",0)>0) {\
#    return '<font color="green">'."einspeisen" .'</font>';;\
# } else {\
#    return '<font color="red">'. "bezug".'</font>';;\
#  }\
#},\
#c_current_load:current_load.* { return (ReadingsNum('MQTT2_myMQTT2','current_load',0)=~ m/\.\d\d/)?ReadingsNum('MQTT2_myMQTT2','current_load',0):ReadingsNum('MQTT2_myMQTT2','current_load',0)/1000 },\
#c_current_PV:current_PV.* { return (ReadingsNum('MQTT2_myMQTT2','current_PV',0)=~ m/\.\d\d/)?ReadingsNum('MQTT2_myMQTT2','current_PV',0):ReadingsNum('MQTT2_myMQTT2','current_PV',0)/1000 },\
#c_current_BAT:current_battery.* { return (ReadingsNum('MQTT2_myMQTT2','current_battery',0)=~ m/\.\d\d/)?ReadingsNum('MQTT2_myMQTT2','current_battery',0):ReadingsNum('MQTT2_myMQTT2','current_battery',0)/1000 },\
#Power_Diff:c_current_load.* {ReadingsVal("MQTT2_myMQTT2","PV_Leistung",0)-ReadingsVal("MQTT2_myMQTT2","c_current_load",0)}, \
#String_Carport_Auslastung:PV_PV2_P.* {ReadingsVal("MQTT2_myMQTT2","PV_PV2_P",0)*100/4}, \
#String_Dach_Auslastung:PV_PV1_P.* {ReadingsVal("MQTT2_myMQTT2","PV_PV1_P",0)*100/6},\
#String_gesamt_Auslastung:PV_Leistung.* {ReadingsVal("MQTT2_myMQTT2","PV_Leistung",0)*100/10},\
#Power_Diff_AVG:Power_Diff.* { ReadingsVal("MQTT2_myMQTT2","Power_Diff",0) },\
#SolarTotalkWh:PV_Leistung.* integral { ReadingsVal("MQTT2_myMQTT2","PV_Leistung",0)/3600 }
#attr MQTT2_myMQTT2 verbose 0

aktiviert 20.11.2024 17:42
deaktiviert 21.11.2024 14:04

aktiviert 21.11.2024 15:00
#define Solarforecast SolarForecast
#setuuid Solarforecast 66f6697c-f33f-3e5d-d452-a128bc334e157a5f
#attr Solarforecast affectBatteryPreferredCharge 50
#attr Solarforecast consumer01 SolarTestKlima1 type=heater power=250 mode=can on=on off=off pcurr=Power:W:3
#attr Solarforecast consumer02 SolarTestHeater1 type=heater power=300 mode=can on=on off=off pcurr=Power:W interruptable=1
#attr Solarforecast consumer03 SolarTestHeater2 type=heater power=300 mode=can on=on off=off pcurr=Power:W interruptable=1
#attr Solarforecast consumer04 SolarTestWWB1 type=heater power=2000 mode=can on=on off=off pcurr=Power:W interruptable=1
#attr Solarforecast ctrlLanguage DE
#attr Solarforecast disable 1
#attr Solarforecast event-on-change-reading .*
#attr Solarforecast flowGraphicControl showconsumerpower=1 showconsumerremaintime=0
#attr Solarforecast graphicBeam1Color 2DFF03
#attr Solarforecast graphicBeam1Content pvReal
#attr Solarforecast graphicBeam2Color FF1414
#attr Solarforecast graphicBeam2Content pvForecast
#attr Solarforecast graphicBeam3Content consumption
#attr Solarforecast graphicBeam4Content consumptionForecast
#attr Solarforecast graphicEnergyUnit kWh
#attr Solarforecast graphicHeaderDetail all
#attr Solarforecast graphicHistoryHour 6
#attr Solarforecast graphicLayoutType double
#attr Solarforecast graphicShowDiff no
#attr Solarforecast graphicWeatherColorNight 000091
#attr Solarforecast room Solar
#attr Solarforecast setupBatteryDev MQTT2_myMQTT2 pout=battery_P:kW pin=-pout cap=10000 charge=current_battery_SOC
#attr Solarforecast setupInverterDev01 MQTT2_myMQTT2 pv=PV_Leistung:kW etotal=SolarTotalkWh:kWh capacity=10000
#attr Solarforecast setupInverterStrings Dach,Carport
#attr Solarforecast setupMeterDev Stromzaehler gcon=power:W contotal=Energie:kWh gfeedin=-gcon feedtotal=Einspeisung:kWh
#attr Solarforecast setupRadiationAPI OpenMeteoDWD-API
#attr Solarforecast setupStringPeak Dach=6.0 Carport=4.0
#attr Solarforecast setupWeatherDev1 OpenMeteoDWD-API
#attr Solarforecast verbose 0

deaktiviert 21.11.2024 14:04
#define Freezemon freezemon
#setuuid Freezemon 67250013-f33f-3e5d-6bc8-4fc72aa4b0f81984
#attr Freezemon fm_CatchCmds 0
#attr Freezemon fm_CatchFnCalls 0
#attr Freezemon fm_CatchHttp 0
#attr Freezemon fm_freezeThreshold 2
#attr Freezemon fm_log 10:1 5:2 1:3
#attr Freezemon fm_logFile ./log/freeze-%Y%m%d-%H%M%S.log
#attr Freezemon room System

aktiviert 20.11.2024 17:27

#define Remoteserver FHEM2FHEM 192.168.2.147:7073 LOG:ADC.*|DS18B20.*|EBUS.*
#setuuid Remoteserver 67278e94-f33f-3e5d-fd79-22b80185fcc51a25
#attr Remoteserver disable 1
#attr Remoteserver room FHEM2FHEM

Heute hatte ich dann die M-TEC / SolarForecast geschichte wieder angemacht.
ALLES TOP

es könnte mit dem M-TEC -> mtecapi -> mqtt2 -> solarforecast zutun gehabt haben, es stellte sich raus das M-TEC nicht erreichbar war, heute gabs von M-TEC ein webfrontend update.

MfG