76_SolarForecast - Informationen/Ideen zu Weiterentwicklung und Support

Begonnen von DS_Starter, 11 Februar 2024, 14:11:00

Vorheriges Thema - Nächstes Thema

DS_Starter

@Burny4600,

wir haben gestern dein Thema etwas aus den Augen verloren bzw. nicht weiterverfolgt.
Gibt es deinerseits weitere Erkenntnisse?

LG,
Heiko
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

roadghost

ZitatPoste bitte die Attribute consumerXX.

Ich habe keine consumer definiert.

ZitatUnd wahrscheinlich noch Fehler in dem/den setupInverterDevXX. Poste die bitte auch noch.
setupInverterDev01
SH10rt_1_LAN pv=01_Total_DC_Power:W etotal=Total_PV_Generation:kWh capacity=8000 limit=70 [strings=South1,South2][icon=day[solar_icon]Night[solar_icon]]]

setupInverterDev02
Garage_PV_R pv=current_power-1:W etotal=total_yield-1:kWh capacity=580 limit=85 [strings=Garage_R][icon=day[solar_icon]Night[solar_icon]]]

setupInverterDev03
Garage_PV_L pv=current_power-1:W etotal=total_yield-1:kWh capacity=580 limit=85 [strings=Garage_L][icon=day[solar_icon]Night[solar_icon]]]

ZitatHast du im global evtl. encoding=unicode eingestellt?

Habe ich geprüft, ist nicht eingestellt. Kein attr mit encoding.

NUC/Ubuntu 22.04 m. FHEM, div. Tasmota-Steckdosen, HMCFGUSB-2 für 12x HM-CC-RT-DN + 8x HM-TC-IT-WW
Rademacher DuoFern für 12 Jalousien, JeeLink für LaCrosse Temp.Sensor, WLAN-smart-Plugs, 
NUKI smartlock, 2xIP-CAM, Pylontech Speicher + Sungrow WR, Unifi-AP´s + Controller auf weiterem NUC

DS_Starter

Hi,

ja die setupInverterDevXX haben Fehler. Die eckigen Klammern schreibt man nicht, sondern sind eine Kennzeichnung für optionale Einstellungen und "icon" ist ganz falsch:

setupInverterDev01
SH10rt_1_LAN pv=01_Total_DC_Power:W etotal=Total_PV_Generation:kWh capacity=8000 limit=70 [strings=South1,South2][icon=day[solar_icon]Night[solar_icon]]]

Dein setupInverterDev01 würdest du richtig so definieren:
setupInverterDev01
SH10rt_1_LAN pv=01_Total_DC_Power:W etotal=Total_PV_Generation:kWh capacity=8000 limit=70 strings=South1,South2 icon=solar_icon:solar_icon

Für die anderen setupInverterDevXX gilt es gleichermaßen:
setupInverterDev02
Garage_PV_R pv=current_power-1:W etotal=total_yield-1:kWh capacity=580 limit=85 strings=Garage_R icon=solar_icon:solar_icon

setupInverterDev03
Garage_PV_L pv=current_power-1:W etotal=total_yield-1:kWh capacity=580 limit=85 strings=Garage_L icon=solar_icon:solar_icon


Wenn du die Attr korrigiert und gespeichert hast, kannst du gleich auf die aktuelle 1.54.0 updaten. Sie enthält dieselbe Ergänzung die ich dir gestern Abend noch bereitgestellt hatte. Nach dem Restart schauen wir nochmal auf das Log vom Start.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

roadghost

[quote]setupInverterDev01
SH10rt_1_LAN pv=01_Total_DC_Power:W etotal=Total_PV_Generation:kWh capacity=8000 limit=70 strings=South1,South2 icon=solar_icon:solar_icon
[/quote]

Das funktioniert leider nicht, ich muss pvIn und pvOut definieren, sonst erhalte ich die Meldung, dass die attribute fehlen

Für die anderen gleichermaßen.
NUC/Ubuntu 22.04 m. FHEM, div. Tasmota-Steckdosen, HMCFGUSB-2 für 12x HM-CC-RT-DN + 8x HM-TC-IT-WW
Rademacher DuoFern für 12 Jalousien, JeeLink für LaCrosse Temp.Sensor, WLAN-smart-Plugs, 
NUKI smartlock, 2xIP-CAM, Pylontech Speicher + Sungrow WR, Unifi-AP´s + Controller auf weiterem NUC

DS_Starter

Ja richtig, sorry. Das sind einige von den Änderungen die dazu gekommen sind.
Es können nun verschiedene Wechselricher Typen eingerichtet werden. Normale WR so:

setupInverterDev01
SH10rt_1_LAN pvOut=01_Total_DC_Power:W etotal=Total_PV_Generation:kWh capacity=8000 limit=70 strings=South1,South2 icon=solar_icon:solar_icon

pvIn ist optional und muß nicht gesetzt werden.

Hier einer meiner WR Definitionen zum Vergleich:
setupInverterDev01
STP_5000 strings=Süddach etotal=etotal:kWh pvIn=string_1_pdc:kW pvOut=total_pac:kW capacity=5000
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

roadghost

Ich habe die SetupInvertder Dev 1 bis 3 angepasst, aktuelle Version installiert.

Bei einem Neustart erhalte ich noch identische Fehlermeldung im FEHM log, und alexa FHEM startet nicht von selber. Endet im socket hangup.

Das attribut plantControl backupFilesKeep=0 habe ich wieder gelöscht, um zu sehen, was heute Nacht passiert.

Wie ich jetzt den eigentlichen Fehler ausmerzen kann ? Kein Plan - so tief sind meine Kenntnisse bei weitem nicht.
NUC/Ubuntu 22.04 m. FHEM, div. Tasmota-Steckdosen, HMCFGUSB-2 für 12x HM-CC-RT-DN + 8x HM-TC-IT-WW
Rademacher DuoFern für 12 Jalousien, JeeLink für LaCrosse Temp.Sensor, WLAN-smart-Plugs, 
NUKI smartlock, 2xIP-CAM, Pylontech Speicher + Sungrow WR, Unifi-AP´s + Controller auf weiterem NUC

DS_Starter

Ich nehme die besagten Icons raus und stelle dir gleich ein Version in meinem contrib zum Test bereit.
Es jetzt eine reine Vermutung, aber etwas anderes was in irgendeiner Weise mit "Wide character" zu tun haben könnte, fällt mir beim Besten Willen nicht ein.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

DS_Starter

Die V 1.54.1 liegt in meinem contrib (Link siehe Fußtext). Suche dort die 76_SolarForecast.pm und lade sie mit dem Downloadbottom in dein Verzeichnis ../FHEM wo alle anderen Moduldateien auch liegen.
Dann restarten.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

DS_Starter

Ich habe mich die ganze Zeit gefragt wo die Verbindung zwischen SF und alexa ist. Nun ist mir der Start eines dauerhaften longpoll ins Auge gefallen:

2025.07.05 21:34:43.367 5: alexa: read: [5.7.2025, 21:34:42] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1751744082942
alexa wird über alle (globale)  Änderungs-Events ungefiltert benachrichtigt. Dadurch kommen auch die Informationen von SF über den longpoll zu alexa. Wide Character sind da natürlich vorher zu encoden, sonst geht das schief. 
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

Burny4600

Zitat von: DS_Starter am 06 Juli 2025, 09:59:28... wir haben gestern dein Thema etwas aus den Augen verloren....

Hallo Heiko, Ich bin mit diesem Problem nicht weiter gekommen.

Eine Eigenart habe ich aber noch gefunden.
Ich habe zusätzlich einen Consumer 08 mit den gleichen Daten angelegt wie den Consumer 07.
Diesesmal wurde die Änderung des Consumer 07 übernommen, aber dafür hat der Consumer 08 seine Defintion nicht behalten, sondern den alten Inhalt von Consumer 07 übernommen.

Irgendwie dürfte das Problem am Attribut ctrlUserExitFn liegen.
Das ist sehr dubios.
LG Chris

Raspberry Pi 2-5, Bullseye Lite, Bookworm Lite
Schnittstellen: 1-Wire, FHEM2FEHEM, HM-MOD-UART, LAN, Modbus, MQTT, nanoCUL, RFXtrx433E, SIGNALduino, ser2net
Devices: APC, Eastron, FS20, IT, Homematic, MQTT, PV-(DEYE, EPEVER, FRONIUS), Resol-VBUS, S.USV, TEK603, WMR200, YouLess

DS_Starter

 :o , ich versuche es mal bei mir mit Dummies nachzustellen.
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter

peterboeckmann

Hallo Heiko,

mit der neuesten Version von heute Früh habe ich in den Balkengrafiken sehr unterschiedlich breite Balken. Vermutlich liegt die Ursache in der Anzeige der Differenz mit einer Nachkommastelle. Siehe auch den Screenshot anbei.
Magst du da bei Gelegenheit mal bitte nachschauen?

Vielen Dank und viele Grüße,
Peter

roadghost

Zitat von: DS_Starter am 06 Juli 2025, 13:45:09Die V 1.54.1 liegt in meinem contrib (Link siehe Fußtext). Suche dort die 76_SolarForecast.pm und lade sie mit dem Downloadbottom in dein Verzeichnis ../FHEM wo alle anderen Moduldateien auch liegen.
Dann restarten.

Habe ich soeben geladen, Dateiberechtigungen gesetzt, Dateibesitzer auf fhem dialout angepasst, dann shutdown restart.

Hier das FHEM log:

2025.07.06 15:37:26.864 3: alexa: read: end of file reached while sysread
2025.07.06 15:37:26.865 3: alexa: stopped
2025.07.06 15:37:27.870 0: Server shutdown
2025.07.06 15:37:29 1: PERL WARNING: Subroutine myUtils_Initialize redefined at ./FHEM/99_myUtils.pm line 14.
2025.07.06 15:37:29 2: Perfmon: ready to watch out for delays greater than one second
2025.07.06 15:37:29.601 1: Including fhem.cfg
2025.07.06 15:37:29.605 1: PERL WARNING: Subroutine myUtils_Initialize redefined at ./FHEM/99_goe_PV.pm line 14, <$fh> line 10.
2025.07.06 15:37:29.605 1: PERL WARNING: Subroutine GoEC_setPvSP redefined at ./FHEM/99_goe_PV.pm line 19, <$fh> line 10.
2025.07.06 15:37:29.710 3: WEB: port 8083 opened
2025.07.06 15:37:29.711 3: WEBphone: port 8084 opened
2025.07.06 15:37:29.712 3: WEBtablet: port 8085 opened
2025.07.06 15:37:29.839 2: eventTypes: loaded 11027 lines from ./log/eventTypes.txt
2025.07.06 15:37:30.178 3: TABLETUI: new ext defined infix:ftui/: dir:./www/tablet:
2025.07.06 15:37:30.178 3: Registering HTTPSRV TABLETUI for URL /ftui   and assigned link ftui/ ...
2025.07.06 15:37:30.179 3: MOBILEUI: new ext defined infix:mobile/: dir:./www/mobile/:
2025.07.06 15:37:30.179 3: Registering HTTPSRV MOBILEUI for URL /mobile   and assigned link mobile/ ...
2025.07.06 15:37:30.197 1: HMLAN_Parse: HMUSB new condition disconnected
2025.07.06 15:37:30.573 3: Opening Rademacher device /dev/serial/by-id/usb-Rademacher_DuoFern_USB-Stick_WR00PU21-if00-port0
2025.07.06 15:37:30.587 3: Setting Rademacher serial parameters to 115200,8,N,1
2025.07.06 15:37:30.590 3: Rademacher device opened
2025.07.06 15:37:30.628 2: Registering GEOFANCY geofancy for URL /geo...
2025.07.06 15:37:30.814 3: AMADCommBridge (AMADBridge) - defined AMADCommBridge with Socketport 8090
2025.07.06 15:37:30.814 3: AMADBridge: port 8090 opened
2025.07.06 15:37:30.815 3: AMADCommBridge (AMADBridge) - Socket opened.
2025.07.06 15:37:30.839 3: AMADDevice (Wandtablet) - I/O device is AMADBridge
2025.07.06 15:37:30.839 3: AMADDevice (Wandtablet) - set remoteServer to Automagic
2025.07.06 15:37:30.839 3: AMADDevice (Wandtablet) - defined with AMAD_ID: 1511977959382 on port 8090
2025.07.06 15:37:30.840 3: AMADDevice (Wandtablet) - set remoteServer to Automagic
2025.07.06 15:37:31.098 3: Opening myJeeLink device /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
2025.07.06 15:37:31.100 3: Setting myJeeLink serial parameters to 57600,8,N,1
2025.07.06 15:37:32.104 3: myJeeLink device opened
2025.07.06 15:37:32.176 3: Garage_PV_R: Defined with URL ## and interval 30 featurelevel 6.4
2025.07.06 15:37:32.202 3: telnetPort: port 7072 opened
2025.07.06 15:37:32.238 3: Garage_PV_L: Defined with URL ## and interval 30 featurelevel 6.4
2025.07.06 15:37:32.331 3: Aussentemp: I/O device is myJeeLink
2025.07.06 15:37:32.404 3: GoECharger (myGoE) - defined GoECharger Device with Host 192.168.188.138 and Interval 60
2025.07.06 15:37:32.405 3: GoECharger (myGoE) - set kW_measured_corr_value to 1.00
2025.07.06 15:37:32.405 3: GoECharger (myGoE) - set interval to 60
2025.07.06 15:37:32.407 3: GoECharger (myGoE) - set interval to 60
2025.07.06 15:37:32.407 3: GoECharger (myGoE) - set kW_measured_corr_value to 1.00
2025.07.06 15:37:32.407 3: deletereading myGoE .* : Deleted reading Http_state for device myGoE
2025.07.06 15:37:35.966 3: PV_Prognose - cached data "pvHistory" restored
2025.07.06 15:37:35.969 3: PV_Prognose - cached data "pvCircular" restored
2025.07.06 15:37:35.970 3: PV_Prognose - cached data "radiationApiData" restored
2025.07.06 15:37:35.970 3: PV_Prognose - cached data "statusApiData" restored
2025.07.06 15:37:35.970 3: PV_Prognose - cached data "weatherApiData" restored
2025.07.06 15:37:36.003 3: PV_Prognose - cached data "aiTrainedData" restored
2025.07.06 15:37:36.013 3: PV_Prognose - cached data "aiRawData" restored
2025.07.06 15:37:36.078 1: Including ./log/fhem.save
2025.07.06 15:37:36.465 3: No I/O device found for HMS100TF_0000
2025.07.06 15:37:36.467 3: No I/O device found for IT_1527x0eed3
2025.07.06 15:37:36.469 3: No I/O device found for CUL_HOERMANN_09AFF60A20
2025.07.06 15:37:36.479 3: Opening HMUSB device 127.0.0.1:1234
2025.07.06 15:37:36.481 1: HMLAN_Parse: HMUSB new condition init
2025.07.06 15:37:36.483 3: HMUSB device opened
2025.07.06 15:37:37.756 2: alexa: starting alexa-fhem: /usr/local/bin/alexa-fhem -c ./alexa-fhem.cfg -a ##
2025.07.06 15:37:37.756 5: alexa: using /usr/local/bin/alexa-fhem
2025.07.06 15:37:37.762 3: alexa: starting
2025.07.06 15:37:37.785 3: alexa: using logfile: ./log/alexa-2025-07-06.log
2025.07.06 15:37:37.790 1: usb create starting
2025.07.06 15:37:37.856 3: Probing CUL device /dev/ttyS0
2025.07.06 15:37:37.856 1: PERL WARNING: can't getattr: Input/output error at ./FHEM/DevIo.pm line 613.
2025.07.06 15:37:37.856 1: CUL: Can't open /dev/ttyS0: Input/output error
2025.07.06 15:37:37.857 3: Probing CUL device /dev/ttyS1
2025.07.06 15:37:37.857 1: CUL: Can't open /dev/ttyS1: Input/output error
2025.07.06 15:37:37.857 3: Probing CUL device /dev/ttyS10
2025.07.06 15:37:37.858 1: CUL: Can't open /dev/ttyS10: Input/output error
2025.07.06 15:37:37.858 3: Probing CUL device /dev/ttyS11
2025.07.06 15:37:37.858 1: CUL: Can't open /dev/ttyS11: Input/output error
2025.07.06 15:37:37.858 3: Probing CUL device /dev/ttyS12
2025.07.06 15:37:37.859 1: CUL: Can't open /dev/ttyS12: Input/output error
2025.07.06 15:37:37.859 3: Probing CUL device /dev/ttyS13
2025.07.06 15:37:37.859 1: CUL: Can't open /dev/ttyS13: Input/output error
2025.07.06 15:37:37.859 3: Probing CUL device /dev/ttyS14
2025.07.06 15:37:37.860 1: CUL: Can't open /dev/ttyS14: Input/output error
2025.07.06 15:37:37.860 3: Probing CUL device /dev/ttyS15
2025.07.06 15:37:37.860 1: CUL: Can't open /dev/ttyS15: Input/output error
2025.07.06 15:37:37.860 3: Probing CUL device /dev/ttyS16
2025.07.06 15:37:37.861 1: CUL: Can't open /dev/ttyS16: Input/output error
2025.07.06 15:37:37.861 3: Probing CUL device /dev/ttyS17
2025.07.06 15:37:37.861 1: CUL: Can't open /dev/ttyS17: Input/output error
2025.07.06 15:37:37.861 3: Probing CUL device /dev/ttyS18
2025.07.06 15:37:37.862 1: CUL: Can't open /dev/ttyS18: Input/output error
2025.07.06 15:37:37.862 3: Probing CUL device /dev/ttyS19
2025.07.06 15:37:37.862 1: CUL: Can't open /dev/ttyS19: Input/output error
2025.07.06 15:37:37.862 3: Probing CUL device /dev/ttyS2
2025.07.06 15:37:37.863 1: CUL: Can't open /dev/ttyS2: Input/output error
2025.07.06 15:37:37.863 3: Probing CUL device /dev/ttyS20
2025.07.06 15:37:37.863 1: CUL: Can't open /dev/ttyS20: Input/output error
2025.07.06 15:37:37.863 3: Probing CUL device /dev/ttyS21
2025.07.06 15:37:37.864 1: CUL: Can't open /dev/ttyS21: Input/output error
2025.07.06 15:37:37.864 3: Probing CUL device /dev/ttyS22
2025.07.06 15:37:37.864 1: CUL: Can't open /dev/ttyS22: Input/output error
2025.07.06 15:37:37.864 3: Probing CUL device /dev/ttyS23
2025.07.06 15:37:37.864 1: CUL: Can't open /dev/ttyS23: Input/output error
2025.07.06 15:37:37.865 3: Probing CUL device /dev/ttyS24
2025.07.06 15:37:37.865 1: CUL: Can't open /dev/ttyS24: Input/output error
2025.07.06 15:37:37.865 3: Probing CUL device /dev/ttyS25
2025.07.06 15:37:37.865 1: CUL: Can't open /dev/ttyS25: Input/output error
2025.07.06 15:37:37.866 3: Probing CUL device /dev/ttyS26
2025.07.06 15:37:37.866 1: CUL: Can't open /dev/ttyS26: Input/output error
2025.07.06 15:37:37.866 3: Probing CUL device /dev/ttyS27
2025.07.06 15:37:37.866 1: CUL: Can't open /dev/ttyS27: Input/output error
2025.07.06 15:37:37.867 3: Probing CUL device /dev/ttyS28
2025.07.06 15:37:37.867 1: CUL: Can't open /dev/ttyS28: Input/output error
2025.07.06 15:37:37.867 3: Probing CUL device /dev/ttyS29
2025.07.06 15:37:37.867 1: CUL: Can't open /dev/ttyS29: Input/output error
2025.07.06 15:37:37.868 3: Probing CUL device /dev/ttyS3
2025.07.06 15:37:37.868 1: CUL: Can't open /dev/ttyS3: Input/output error
2025.07.06 15:37:37.868 3: Probing CUL device /dev/ttyS30
2025.07.06 15:37:37.868 1: CUL: Can't open /dev/ttyS30: Input/output error
2025.07.06 15:37:37.869 3: Probing CUL device /dev/ttyS31
2025.07.06 15:37:37.869 1: CUL: Can't open /dev/ttyS31: Input/output error
2025.07.06 15:37:37.869 3: Probing CUL device /dev/ttyS4
2025.07.06 15:37:37.869 1: CUL: Can't open /dev/ttyS4: Input/output error
2025.07.06 15:37:37.870 3: Probing CUL device /dev/ttyS5
2025.07.06 15:37:37.870 1: CUL: Can't open /dev/ttyS5: Input/output error
2025.07.06 15:37:37.870 3: Probing CUL device /dev/ttyS6
2025.07.06 15:37:37.870 1: CUL: Can't open /dev/ttyS6: Input/output error
2025.07.06 15:37:37.871 3: Probing CUL device /dev/ttyS7
2025.07.06 15:37:37.871 1: CUL: Can't open /dev/ttyS7: Input/output error
2025.07.06 15:37:37.871 3: Probing CUL device /dev/ttyS8
2025.07.06 15:37:37.871 1: CUL: Can't open /dev/ttyS8: Input/output error
2025.07.06 15:37:37.872 3: Probing CUL device /dev/ttyS9
2025.07.06 15:37:37.872 1: CUL: Can't open /dev/ttyS9: Input/output error
2025.07.06 15:37:37.880 1: usb create end
2025.07.06 15:37:37.915 0: Featurelevel: 6.4
2025.07.06 15:37:37.916 0: Server started with 337 defined entities (fhem.pl:29809/2025-03-30 perl:5.034000 os:linux user:fhem pid:4009)
2025.07.06 15:37:37.923 3: myBroker: port 2000 opened
2025.07.06 15:37:38.110 1: Perfmon: possible freeze starting at 15:37:30, delay is 8.11
2025.07.06 15:37:38.279 3: telnetForBlockingFn_1751809058.27884: port 40987 opened
2025.07.06 15:37:38.472 1: HMLAN_Parse: HMUSB new condition ok
2025.07.06 15:37:38.477 5: alexa: read: [6.7.2025, 15:37:37] using config from ./alexa-fhem.cfg
2025.07.06 15:37:38.477 5: alexa: read: *** CONFIG: parsed completely
2025.07.06 15:37:38.477 5: alexa: read: [6.7.2025, 15:37:37] os.homedir()=/opt/fhem
2025.07.06 15:37:38.477 5: alexa: read: [6.7.2025, 15:37:37] this is alexa-fhem 0.5.65
2025.07.06 15:37:38.477 5: alexa: read: [6.7.2025, 15:37:37] connecting to FHEM ...
2025.07.06 15:37:38.477 5: alexa: read: [6.7.2025, 15:37:37] [FHEM] defaults to: will not send proactive events
2025.07.06 15:37:38.477 5: alexa: read: [6.7.2025, 15:37:38] [FHEM] trying longpoll to listen for fhem events
2025.07.06 15:37:38.477 5: alexa: read: [6.7.2025, 15:37:38] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1751809058051
2025.07.06 15:37:38.489 3: PV_Prognose - all registered consumers collected
2025.07.06 15:37:38.714 2: AttrTemplates: got 265 entries
2025.07.06 15:37:38.759 1: PERL WARNING: Use of uninitialized value $maxamp in concatenation (.) or string at ./FHEM/46_GoECharger.pm line 666.
2025.07.06 15:37:38.798 3: GoECharger (myGoE) - RequestERROR: http://192.168.188.138/status: empty answer received
2025.07.06 15:37:39.351 1: Wide character in syswrite at FHEM/TcpServerUtils.pm line 563.

2025.07.06 15:37:39.434 1: txt:######################## gekürzt
2025.07.06 15:37:39.455 1: stacktrace:
2025.07.06 15:37:39.455 1:     main::TcpServer_WriteBlocking       called by ./FHEM/01_FHEMWEB.pm (704)
2025.07.06 15:37:39.455 1:     main::FW_initInform                 called by ./FHEM/01_FHEMWEB.pm (962)
2025.07.06 15:37:39.455 1:     main::FW_answerCall                 called by ./FHEM/01_FHEMWEB.pm (613)
2025.07.06 15:37:39.455 1:     main::FW_Read                       called by fhem.pl (3988)
2025.07.06 15:37:39.455 1:     main::CallFn                        called by fhem.pl (789)
2025.07.06 15:37:39.469 1: PERL WARNING: Use of uninitialized value $newreadingname in string eq at ./FHEM/46_GoECharger.pm line 841.
2025.07.06 15:37:39.469 1: PERL WARNING: Use of uninitialized value $calcphases in multiplication (*) at ./FHEM/46_GoECharger.pm line 951.
2025.07.06 15:37:39.483 5: alexa: read: [6.7.2025, 15:37:39] [FHEM] longpoll error: Error: socket hang up, retry in: 5000msec
2025.07.06 15:37:39.483 5: alexa: read: *** FHEM: connection failed: Error: socket hang up
2025.07.06 15:37:39.534 5: alexa: read: [6.7.2025, 15:37:39] Got SIGTERM, shutting down alexa-fhem...
2025.07.06 15:37:39.534 5: alexa: read: [6.7.2025, 15:37:39] Reading alexaFHEM.ProxyConnection set to stopping;; alexa-fhem terminating
2025.07.06 15:37:39.535 3: alexa: read: end of file reached while sysread
2025.07.06 15:37:39.535 3: alexa: stopped
NUC/Ubuntu 22.04 m. FHEM, div. Tasmota-Steckdosen, HMCFGUSB-2 für 12x HM-CC-RT-DN + 8x HM-TC-IT-WW
Rademacher DuoFern für 12 Jalousien, JeeLink für LaCrosse Temp.Sensor, WLAN-smart-Plugs, 
NUKI smartlock, 2xIP-CAM, Pylontech Speicher + Sungrow WR, Unifi-AP´s + Controller auf weiterem NUC

roadghost

Zitat von: DS_Starter am 06 Juli 2025, 14:33:13Ich habe mich die ganze Zeit gefragt wo die Verbindung zwischen SF und alexa ist. Nun ist mir der Start eines dauerhaften longpoll ins Auge gefallen:

2025.07.05 21:34:43.367 5: alexa: read: [5.7.2025, 21:34:42] [FHEM] starting longpoll: http://127.0.0.1:8083/fhem?XHR=1&inform=type=status;addglobal=1;filter=.*;since=null;fmt=JSON×tamp=1751744082942
alexa wird über alle (globale)  Änderungs-Events ungefiltert benachrichtigt. Dadurch kommen auch die Informationen von SF über den longpoll zu alexa. Wide Character sind da natürlich vorher zu encoden, sonst geht das schief. 

Muss ich hier etwas anpassen ?
NUC/Ubuntu 22.04 m. FHEM, div. Tasmota-Steckdosen, HMCFGUSB-2 für 12x HM-CC-RT-DN + 8x HM-TC-IT-WW
Rademacher DuoFern für 12 Jalousien, JeeLink für LaCrosse Temp.Sensor, WLAN-smart-Plugs, 
NUKI smartlock, 2xIP-CAM, Pylontech Speicher + Sungrow WR, Unifi-AP´s + Controller auf weiterem NUC

DS_Starter

Nein, da kannst du nichts machen. Man muß auf Wide Character (z.B. Smileys) verzichten oder intern UTF-8 kodieren.
Tja, die Smileys sind jetzt raus und trotzdem scheint noch ein Problem bei dir zu bestehen.
Da fällt mir gerade nichts mehr dazu ein, Browser Cache mal geleert?
Proxmox+Debian+MariaDB, PV: SMA, Victron MPII+Pylontech+CerboGX
Maintainer: SSCam, SSChatBot, SSCal, SSFile, DbLog/DbRep, Log2Syslog, SolarForecast,Watches, Dashboard, PylonLowVoltage
Kaffeekasse: https://www.paypal.me/HMaaz
Contrib: https://svn.fhem.de/trac/browser/trunk/fhem/contrib/DS_Starter