Neueste Beiträge

#1
Automatisierung / Aw: setlist von dummy kein Per...
Letzter Beitrag von rudolfkoenig - 02 Mai 2024, 19:41:51
Zitatsetlist von dummy kein Perl (Widget) ?
ja :)

Der Vorschlag funktioniert auch in MQTT2_DEVICE nicht, da muss man entweder alles ueber perl generieren, oder ein topic+message. Die widget-Spezifikation kann man da auch nicht via perl erzeugen.
#2
Anfängerfragen / SIP call_success: mögliche Wer...
Letzter Beitrag von petervereecke - 02 Mai 2024, 19:17:22
Hallo Community,

nach Hinweisa von Erwin nun im Newbie bzw. unwissenden Forum.

Wie schon in anderer Sache berichtet bzw. um Hilfe gebeten
habe ich die Verknüpfung: KNX löst über SIP Anruf aus und T2S sagt brav
die ALarm- oder Fehlermeldung - klappt.

Jetzt würde ich gerne den Sucess der Operation zurück an den KNX
übergeben um das Ergebnis in einen Ereignisspeicher abzulegen.

Jetzt zeigt mir mySIP den Erfolg auch mit call_success: mögliche Werte 0 oder 1 an.
"call_success 1 2024-05-02 19:01:07"

Kann man diesen Erfolg mittels Reading nach der Ausführung abfragen?
Und wenn ja könnte mir einer Hilfe oder einen Hinweis geben?

LG Peter
#3
Solaranlagen / Aw: 76_SolarForecast - Informa...
Letzter Beitrag von kask - 02 Mai 2024, 19:11:13
Jetzt schein ich es zu haben. Beim setzen von ctrlInterval 0 auf x erzeugen die Module auch massiv Load. Vermutlich laden die erstmal Daten (ich hab mir das debuggen mal gespart und lebe mit der Vermutung).

Alle 17 sec. soll ein Aufruf eines SF kommen.
Diese werden nacheinander gestartet mit SFSetInterval(17). dauert einwenig aber schein so erst einmal zu gehen.


sub sectotimertime($) {
    # 21 = 00:00:21, 361 = 00:06:01 , 5361 = 01:29:21
    my ($t) = @_;
    $t = sprintf("%02d:%02d:%02d", $t/3600, ($t%3600)/60, $t%60);
    return $t;
}

sub SFSetInterval($) {
  my ($delay) = @_;
  my @fcs = defInfo('TYPE=SolarForecast','NAME');
  my $interval = ($delay * @fcs);
  my $sftimer = "";
  my $dtime = 10;
  my $addittionaldelay = 0;
  foreach my $fc (@fcs) {
   $sftimer = "at.".$fc.".setinterval";
   fhem("delete ".$sftimer );
   $dtime += ($delay + $addittionaldelay);
   $addittionaldelay = $interval;
   fhem("define ".$sftimer ." at +".sectotimertime($dtime)." attr ".$fc." ctrlInterval ".$interval);
  }
  return @fcs.'/'.$interval
}

Und am Ende sind sie ziemlich 17sec auseinander
2024-05-02 18:43:41.611 SolarForecast Forecast RestOfDayPVforecast: 238 Wh
2024-05-02 18:43:41.611 SolarForecast Forecast RestOfDayConsumptionForecast: 4655 Wh
2024-05-02 18:43:41.611 SolarForecast Forecast statistic_conForecastTillNextSunrise: 8322 Wh
2024-05-02 18:45:13.939 SolarForecast Forecast NextHours_Sum03_PVforecast: 228 Wh
2024-05-02 18:45:13.939 SolarForecast Forecast NextHours_Sum04_PVforecast: 228 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD NextHours_Sum01_PVforecast: 778 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD NextHours_Sum02_PVforecast: 947 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD NextHours_Sum03_PVforecast: 959 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD NextHours_Sum04_PVforecast: 959 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD RestOfDayPVforecast: 959 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD Tomorrow_PVforecast: 20918 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD Today_PVforecast: 59400 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD NextHours_Sum04_ConsumptionForecast: 3905 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD RestOfDayConsumptionForecast: 4596 Wh
2024-05-02 18:45:25.192 SolarForecast ForecastDWD statistic_conForecastTillNextSunrise: 8255 Wh
2024-05-02 18:47:10.931 SolarForecast Forecast RestOfDayConsumptionForecast: 4569 Wh
2024-05-02 18:47:23.632 SolarForecast ForecastDWD RestOfDayPVforecast: 908 Wh
2024-05-02 18:47:23.632 SolarForecast ForecastDWD Today_PVdeviation: 3.75 %
2024-05-02 18:47:41.294 SolarForecast ForecastOpenMeteo NextHours_Sum01_PVforecast: 299 Wh
2024-05-02 18:47:41.294 SolarForecast ForecastOpenMeteo NextHours_Sum02_PVforecast: 410 Wh
2024-05-02 18:47:41.294 SolarForecast ForecastOpenMeteo NextHours_Sum03_PVforecast: 428 Wh
2024-05-02 18:47:41.294 SolarForecast ForecastOpenMeteo NextHours_Sum04_PVforecast: 428 Wh
2024-05-02 18:47:41.294 SolarForecast ForecastOpenMeteo RestOfDayPVforecast: 428 Wh
2024-05-02 18:47:41.294 SolarForecast ForecastOpenMeteo NextHours_Sum04_ConsumptionForecast: 3983 Wh
2024-05-02 18:47:41.294 SolarForecast ForecastOpenMeteo RestOfDayConsumptionForecast: 4668 Wh
2024-05-02 18:47:41.294 SolarForecast ForecastOpenMeteo statistic_conForecastTillNextSunrise: 9200 Wh
2024-05-02 18:49:08.555 SolarForecast Forecast NextHours_Sum04_ConsumptionForecast: 3879 Wh
2024-05-02 18:49:08.555 SolarForecast Forecast statistic_conForecastTillNextSunrise: 8255 Wh
2024-05-02 18:49:22.681 SolarForecast ForecastDWD RestOfDayPVforecast: 857 Wh
2024-05-02 18:49:22.681 SolarForecast ForecastDWD RestOfDayConsumptionForecast: 4511 Wh
2024-05-02 18:49:39.926 SolarForecast ForecastOpenMeteo RestOfDayPVforecast: 315 Wh
2024-05-02 18:49:39.926 SolarForecast ForecastOpenMeteo Tomorrow_PVforecast: 20190 Wh
2024-05-02 18:49:39.926 SolarForecast ForecastOpenMeteo Today_PVforecast: 62625 Wh
2024-05-02 18:49:39.926 SolarForecast ForecastOpenMeteo Today_PVdeviation: 9.68 %
2024-05-02 18:49:39.926 SolarForecast ForecastOpenMeteo statistic_dayAfterTomorrowPVforecast: 54763 Wh
2024-05-02 18:49:57.563 SolarForecast ForecastOpenMeteoEnsemble RestOfDayPVforecast: 167 Wh
2024-05-02 18:49:57.563 SolarForecast ForecastOpenMeteoEnsemble NextHours_Sum04_ConsumptionForecast: 4067 Wh
2024-05-02 18:49:57.563 SolarForecast ForecastOpenMeteoEnsemble RestOfDayConsumptionForecast: 4730 Wh
2024-05-02 18:49:57.563 SolarForecast ForecastOpenMeteoEnsemble statistic_conForecastTillNextSunrise: 9097 Wh
2024-05-02 18:51:06.300 SolarForecast Forecast NextHours_Sum02_PVforecast: 192 Wh
2024-05-02 18:51:06.300 SolarForecast Forecast RestOfDayConsumptionForecast: 4483 Wh
2024-05-02 18:51:21.729 SolarForecast ForecastDWD NextHours_Sum03_PVforecast: 806 Wh
2024-05-02 18:51:21.729 SolarForecast ForecastDWD NextHours_Sum04_PVforecast: 806 Wh
2024-05-02 18:51:21.729 SolarForecast ForecastDWD RestOfDayPVforecast: 806 Wh
2024-05-02 18:51:21.729 SolarForecast ForecastDWD statistic_conForecastTillNextSunrise: 8188 Wh
2024-05-02 18:51:38.917 SolarForecast ForecastOpenMeteo RestOfDayConsumptionForecast: 4579 Wh
2024-05-02 18:52:13.098 SolarForecast ForecastOpenMeteoWorld NextHours_Sum01_PVforecast: 256 Wh
2024-05-02 18:52:13.098 SolarForecast ForecastOpenMeteoWorld NextHours_Sum02_PVforecast: 358 Wh
2024-05-02 18:52:13.098 SolarForecast ForecastOpenMeteoWorld NextHours_Sum03_PVforecast: 368 Wh
2024-05-02 18:52:13.098 SolarForecast ForecastOpenMeteoWorld NextHours_Sum04_PVforecast: 368 Wh
2024-05-02 18:52:13.098 SolarForecast ForecastOpenMeteoWorld RestOfDayPVforecast: 368 Wh
2024-05-02 18:52:13.098 SolarForecast ForecastOpenMeteoWorld NextHours_Sum04_ConsumptionForecast: 3928 Wh
2024-05-02 18:52:13.098 SolarForecast ForecastOpenMeteoWorld RestOfDayConsumptionForecast: 4558 Wh
2024-05-02 18:52:13.098 SolarForecast ForecastOpenMeteoWorld statistic_conForecastTillNextSunrise: 9159 Wh
2024-05-02 18:53:20.467 SolarForecast ForecastDWD NextHours_Sum02_PVforecast: 751 Wh
2024-05-02 18:53:20.467 SolarForecast ForecastDWD RestOfDayPVforecast: 756 Wh
2024-05-02 18:53:20.467 SolarForecast ForecastDWD RestOfDayConsumptionForecast: 4425 Wh
2024-05-02 18:53:37.864 SolarForecast ForecastOpenMeteo NextHours_Sum03_PVforecast: 267 Wh
2024-05-02 18:53:37.864 SolarForecast ForecastOpenMeteo NextHours_Sum04_PVforecast: 267 Wh
2024-05-02 18:53:37.864 SolarForecast ForecastOpenMeteo statistic_conForecastTillNextSunrise: 9131 Wh
2024-05-02 18:53:54.314 SolarForecast ForecastOpenMeteoEnsemble RestOfDayConsumptionForecast: 4644 Wh
2024-05-02 18:54:11.356 SolarForecast ForecastOpenMeteoWorld RestOfDayPVforecast: 255 Wh
2024-05-02 18:54:11.356 SolarForecast ForecastOpenMeteoWorld Tomorrow_PVforecast: 20150 Wh
2024-05-02 18:54:11.356 SolarForecast ForecastOpenMeteoWorld Today_PVforecast: 62625 Wh
2024-05-02 18:54:11.356 SolarForecast ForecastOpenMeteoWorld Today_PVdeviation: 9.67 %
2024-05-02 18:54:11.356 SolarForecast ForecastOpenMeteoWorld statistic_dayAfterTomorrowPVforecast: 54763 Wh
2024-05-02 18:54:29.420 SolarForecast ForecastSolarAPI NextHours_Sum01_PVforecast: 459 Wh
2024-05-02 18:54:29.420 SolarForecast ForecastSolarAPI NextHours_Sum02_PVforecast: 491 Wh
2024-05-02 18:54:29.420 SolarForecast ForecastSolarAPI NextHours_Sum03_PVforecast: 491 Wh
2024-05-02 18:54:29.420 SolarForecast ForecastSolarAPI NextHours_Sum04_PVforecast: 491 Wh
2024-05-02 18:54:29.420 SolarForecast ForecastSolarAPI RestOfDayPVforecast: 491 Wh
2024-05-02 18:54:29.420 SolarForecast ForecastSolarAPI NextHours_Sum04_ConsumptionForecast: 3821 Wh
2024-05-02 18:54:29.420 SolarForecast ForecastSolarAPI RestOfDayConsumptionForecast: 4409 Wh
2024-05-02 18:54:29.420 SolarForecast ForecastSolarAPI statistic_conForecastTillNextSunrise: 8175 Wh
2024-05-02 18:55:02.443 SolarForecast Forecast RestOfDayPVforecast: 179 Wh
2024-05-02 18:55:02.443 SolarForecast Forecast RestOfDayConsumptionForecast: 4397 Wh
2024-05-02 18:55:02.443 SolarForecast Forecast statistic_conForecastTillNextSunrise: 8187 Wh
2024-05-02 18:55:19.393 SolarForecast ForecastDWD NextHours_Sum01_PVforecast: 616 Wh
2024-05-02 18:55:19.393 SolarForecast ForecastDWD RestOfDayPVforecast: 705 Wh
2024-05-02 18:55:19.393 SolarForecast ForecastDWD Today_PVdeviation: 4.08 %
2024-05-02 18:55:36.269 SolarForecast ForecastOpenMeteo NextHours_Sum02_PVforecast: 242 Wh
2024-05-02 18:55:36.269 SolarForecast ForecastOpenMeteo RestOfDayPVforecast: 243 Wh
2024-05-02 18:55:36.269 SolarForecast ForecastOpenMeteo RestOfDayConsumptionForecast: 4489 Wh
2024-05-02 18:55:53.296 SolarForecast ForecastOpenMeteoEnsemble statistic_conForecastTillNextSunrise: 9029 Wh
2024-05-02 18:56:10.381 SolarForecast ForecastOpenMeteoWorld RestOfDayConsumptionForecast: 4468 Wh
2024-05-02 18:56:27.264 SolarForecast ForecastSolarAPI Tomorrow_PVforecast: 18529 Wh
2024-05-02 18:56:27.264 SolarForecast ForecastSolarAPI Today_PVdeviation: -24.33 %
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM NextHours_Sum01_PVforecast: 663 Wh
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM NextHours_Sum02_PVforecast: 832 Wh
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM NextHours_Sum03_PVforecast: 839 Wh
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM NextHours_Sum04_PVforecast: 839 Wh
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM RestOfDayPVforecast: 839 Wh
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM NextHours_Sum04_ConsumptionForecast: 3792 Wh
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM RestOfDayConsumptionForecast: 4360 Wh
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM Today_PVdeviation: 7.31 %
2024-05-02 18:56:45.160 SolarForecast ForecastVictronVRM statistic_conForecastTillNextSunrise: 8127 Wh
2024-05-02 18:57:18.239 SolarForecast ForecastDWD NextHours_Sum03_PVforecast: 654 Wh
2024-05-02 18:57:18.239 SolarForecast ForecastDWD NextHours_Sum04_PVforecast: 654 Wh
2024-05-02 18:57:18.239 SolarForecast ForecastDWD RestOfDayPVforecast: 654 Wh
2024-05-02 18:57:18.239 SolarForecast ForecastDWD RestOfDayConsumptionForecast: 4340 Wh
2024-05-02 18:57:18.239 SolarForecast ForecastDWD statistic_conForecastTillNextSunrise: 8121 Wh
2024-05-02 18:57:52.084 SolarForecast ForecastOpenMeteoEnsemble RestOfDayConsumptionForecast: 4559 Wh
2024-05-02 18:58:09.165 SolarForecast ForecastOpenMeteoWorld NextHours_Sum02_PVforecast: 206 Wh
2024-05-02 18:58:09.165 SolarForecast ForecastOpenMeteoWorld NextHours_Sum03_PVforecast: 207 Wh
2024-05-02 18:58:09.165 SolarForecast ForecastOpenMeteoWorld NextHours_Sum04_PVforecast: 207 Wh
2024-05-02 18:58:09.165 SolarForecast ForecastOpenMeteoWorld statistic_conForecastTillNextSunrise: 9090 Wh
2024-05-02 18:58:26.171 SolarForecast ForecastSolarAPI RestOfDayPVforecast: 405 Wh
2024-05-02 18:58:26.171 SolarForecast ForecastSolarAPI RestOfDayConsumptionForecast: 4323 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM Today_Hour20_PVforecast: 458 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM NextHours_Sum01_PVforecast: 470 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM NextHours_Sum02_PVforecast: 619 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM NextHours_Sum03_PVforecast: 621 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM NextHours_Sum04_PVforecast: 621 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM RestOfDayPVforecast: 621 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM Tomorrow_PVforecast: 39203 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM Today_PVforecast: 61966 Wh
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM Today_PVdeviation: 8.25 %
2024-05-02 18:58:43.174 SolarForecast ForecastVictronVRM statistic_dayAfterTomorrowPVforecast: 40564 Wh
2024-05-02 18:59:00.108 SolarForecast Forecast RestOfDayConsumptionForecast: 4311 Wh

Auch hier wieder beobachten wie/ob diese auseinander laufen und ob ich diese eventuell manchmal gerade rücken muß.
#4
Sonstiges / Aw: SIGNALduino Fernotron Fehl...
Letzter Beitrag von Ralf9 - 02 Mai 2024, 19:07:14
Ich hab den Sendebefehl "SR;R=2;P0=400;P1=-800;P2=800;P3=-400;P4=-3200;D=0403030303030303042323.." in einen Texteditor kopiert und da dann die Zeichenanzahl abgelesen.
Wenn ich das richtig überblicke, dann darf bei der firmware von sidey der Datenteil hinter D= maximal 255 Zeichen sein.

Wenn Du auch Temperatursensoren hast, dann kann es sein, daß Du die Debugausgaben deaktivieren must
https://forum.fhem.de/index.php?topic=58397.msg1201448#msg1201448
#5
Solaranlagen / Aw: Photovoltaik Eigenverbrauc...
Letzter Beitrag von ch.eick - 02 Mai 2024, 18:50:33
Zitat von: ReneR1986 am 02 Mai 2024, 16:01:29Okay, danke.
Das schaue ich mir auch noch einmal an.
Ich denke wenn der zweite Wechselrichter dann in Betrieb ist, dann wird es auch noch einmal klarer.  ;)
Du könntest jetzt schon auf meine Devices umstellen, die laufen auch mit nur einem WR.
Du kannst ja dann auch nur die readings verwenden, die Du für Deine Steuerung brauchst.
Alte Werte in der Datenbank kann man dann im Nachgang noch umbenennen, da gibt es hinweise im Wiki, wie das geht.
Und schon hätten wir einen Mitstreiter im Thread mehr ;-)
#6
Bastelecke / Aw: Signalduino vs. Signalduin...
Letzter Beitrag von OliS. - 02 Mai 2024, 18:42:45
Mit Ungeduld hatte das tatsächlich gar nichts zu tun. Ich hatte nur nach Lektüre der ganzen anderen Threads zu dem Thema das Gefühl, dass meine Frage in diesem Thread gar nicht richtig platziert gewesen ist. Als Neueinsteiger in Sachen SignalDuino ist braucht man etwas, um hinter die Unterschiede zwischen dem "offiziellen" Zweig und Deinem Fork zu kommen.
Ich erwarte hier wirklich von niemandem eine sofortige Antwort. Schon gar nicht, da ich als Nichtentwickler selbst ja kaum etwas beisteuern kann. Von daher weiß ich Eure Arbeit wirklich sehr zu schätzen.

Ich habe mich jetzt weiter eingelesen und mittlerweile empfange ich das Thermometer zuverlässig mit einem SignalESP. Die Reichweite ist allerdings immer noch unterirdisch, was aber vermutlich an dem ungeeigneten 868MHz Empfangsmodul liegt.

Lieben Dank noch mal für die Antworten.
Oli
#7
Sonstiges / Aw: SIGNALduino Fernotron Fehl...
Letzter Beitrag von tdyne - 02 Mai 2024, 18:27:22
Hallo Ralf und vielen, vielen Dank!

Mit deiner Firmware funktioniert es.
In irgendeinem Post hatte ich auch davon gelesen, habe aber nicht begriffen, dass das die Lösung ist.

Nur zu meinem Verständnis.
Wo hast Du denn die Nachrichtenlänge von 329 Zeichen abgelesen.
Ich sehe da nix, trotz Brille.

Grüße
Thomas
#8
FHEMWEB / Aw: textField-long für alle ge...
Letzter Beitrag von TomLee - 02 Mai 2024, 17:58:22
Ok, danke. Ist auch nicht wichtig, es war nur so ein Gedanke.
#9
Off-Topic / Aw: Wie macht ihr IPv6 zuhause...
Letzter Beitrag von RalfRog - 02 Mai 2024, 17:51:38
Zitat von: Aurel_B am 02 Mai 2024, 11:35:32Hmmm, wie mache ich denn das mit festen IPs für meinen Server?

Würde da nicht (neben den ULA-Adressen für intern) ein Zugriff per DYN-DNS Dienst helfen - bei einer oder zwei Adressen geht das doch vermutlich noch ohne weitere Kosten (ok, meiner sehe ich gerade akzeptiert keine neuen Accounts mehr).

Wie Otto schon erwähnte - sind schon im Normalfall sowieso schon mehrere IPv6s ans Interface gebunden, ob dann noch ne ULA-Adresse dazukommt ist vermutlich auch egal.
WIN PC
   Verbindungsspezifisches DNS-Suffix: fritz.box
   IPv6-Adresse. . . . . . . . . . . : 2a00:1a:8671:2001:471:bbe:c53:5716
   Temporäre IPv6-Adresse. . . . . . : 2a00:1a:8671:2001:72e8:3045:e0eb:e025
   Verbindungslokale IPv6-Adresse  . : fe80::4545:301:26b7:6fef
   IPv4-Adresse  . . . . . . . . . . : 11.12.13.99
bzw. mit ULA
   Verbindungsspezifisches DNS-Suffix: fritz.box
   IPv6-Adresse. . . . . . . . . . . : 2a00:1a:8671:2001:471:bbe:c53:5716
   IPv6-Adresse. . . . . . . . . . . : fd00::b4a2:55bd:be1f:d1cc
   Temporäre IPv6-Adresse. . . . . . : 2a00:1a:8671:2001:72e8:3045:e0eb:e025
   Temporäre IPv6-Adresse. . . . . . : fd00::72e8:3045:e0eb:e025
   Verbindungslokale IPv6-Adresse  . : fe80::4545:301:26b7:6fef
   IPv4-Adresse  . . . . . . . . . . : 11.12.13.99


Gruß Ralf
#10
FHEMWEB / Aw: textField-long für alle ge...
Letzter Beitrag von rudolfkoenig - 02 Mai 2024, 17:48:57
Sorry, habe die Aufgabe falsch verstanden, ich dachte an mehrere Geraete mit den gleichen userattr.
Ein widgetOverride mit Regexp gibts leider nicht.