<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo Frank,<div class=""><br class=""></div><div class="">alles klar, jetzt verstehe ich es. Ich hatte gestern tatsächlich eine große Zoomstufe auf ca. 30min oder noch weniger, kombiniert mit einer geringen Leistung von ca. 150W kam da kein Push. </div><div class=""><br class=""></div><div class="">Jetzt ist es angekommen, verstanden und funktioniert. :)</div><div class=""><br class=""></div><div class="">Viele Grüße</div><div class=""><br class=""></div><div class="">Sebastian</div><div class=""><br class=""></div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">Am 22.06.2019 um 15:30 schrieb Frank Richter <<a href="mailto:frank.richter83@gmail.com" class="">frank.richter83@gmail.com</a>>:</div><br class="Apple-interchange-newline"><div class=""><div dir="auto" class="">Hi Sebastian,<div dir="auto" class=""><br class=""></div><div dir="auto" class="">von mir aus kann dazu gern ein kleiner Hinweis ins Wiki. Allerdings ist das Problem ein Stück weit spezifisch für Impulszähler: ein Zähler mit Infrarot-Schnittstelle liefert unabhängig von der Leistung ca. alle 2s einen Datensatz, da muss die Zoomstufe schon sehr groß sein, dass das Auto-Update den Push-Daten zuvorkommt.</div><div dir="auto" class="">In meinem Setup sammelt das Frontend normalerweise stundenlang Push-Daten, ohne dass ich zuvor das automatische Update ausschalte. Der Timeout wird nämlich immer bei Eingang eines Push-Datensatzes zurückgesetzt.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Viele Grüße</div><div dir="auto" class="">Frank </div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Seb Sa <<a href="mailto:sebsa80@gmail.com" class="">sebsa80@gmail.com</a>> schrieb am Sa., 22. Juni 2019, 14:58:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Hallo Frank,<div class=""><br class=""></div><div class="">Mea Culpa, das war es. Den haken bei automatische Aktualisierung raus gemacht, jetzt geht es.</div><div class=""><br class=""></div><div class="">Könnte im Wiki als Hinweis beim push Artikel hinzugefügt werden. Oder bin ich der einzige der zu doof ist? :)</div><div class=""><br class=""></div><div class="">vielen Dank erneut. War wieder mal so einfach.</div><div class=""><br class=""></div><div class="">Viele Grüße</div><div class=""><br class=""></div><div class="">Sebastian Albert</div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 22.06.2019 um 12:07 schrieb Frank Richter <<a href="mailto:frank.richter83@gmail.com" target="_blank" rel="noreferrer" class="">frank.richter83@gmail.com</a>>:</div><br class="m_7311585283288768640Apple-interchange-newline"><div class=""><div dir="auto" class="">Gibt's Fehlermeldungen in der Entwicklerkonsole des Browsers?<div dir="auto" class=""><br class=""></div><div dir="auto" class="">Um Missverständnissen vorzubeugen: wie schaust du dir das Frontend an? Wenn du den Zoom auf wenige Minuten gestellt hast, erfolgt alle 2s ein automatisches Update, was eventuell eingehende Push-Daten sofort wieder überschreibt. Mach mal den Haken bei automatische Updates weg und schau nochmal, ob wirklich nix ankommt.</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Grüße</div><div dir="auto" class="">Frank</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Seb Sa <<a href="mailto:sebsa80@gmail.com" target="_blank" rel="noreferrer" class="">sebsa80@gmail.com</a>> schrieb am Sa., 22. Juni 2019, 11:12:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Nein, das scheint korrekt zu sein, auch wenn in dem howto steht, dass es url: ‚api‘, heissen sollte. <div class="">War aber original so, und nichts verändert.</div><div class=""><br class=""><div class=""><br class=""></div><div class=""><div class="">middleware: [</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>{</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>title: 'Local (default)',</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>url: '',</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>live: 8082<span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>// NOTE: live updates require</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>// - push-server running and</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>// - either apache proxy forwarding configured according to</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>//<span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span><a href="https://github.com/volkszaehler/volkszaehler.org/issues/382" rel="noreferrer noreferrer" target="_blank" class="">https://github.com/volkszaehler/volkszaehler.org/issues/382</a></div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>// <span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>- or push-server live update port configured and accessible</div><div class="">//<span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>}, {</div><div class="">//<span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>title: 'Volkszaehler Demo',</div><div class="">//<span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>url: '<a href="https://demo.volkszaehler.org/middleware.php" rel="noreferrer noreferrer" target="_blank" class="">https://demo.volkszaehler.org/middleware.php</a>'</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>}</div><div class=""><span class="m_7311585283288768640m_4924091631640036731Apple-tab-span" style="white-space:pre-wrap"> </span>],</div><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 22.06.2019 um 11:08 schrieb Frank Richter <<a href="mailto:frank.richter83@gmail.com" rel="noreferrer noreferrer" target="_blank" class="">frank.richter83@gmail.com</a>>:</div><br class="m_7311585283288768640m_4924091631640036731Apple-interchange-newline"><div class=""><div dir="auto" class="">Ist in deiner options.js die Zeile <div dir="auto" class=""><br class=""></div><div dir="auto" class="">live: 8082</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">evtl. noch auskommentiert?</div><div dir="auto" class=""><br class=""></div><div dir="auto" class="">Grüße</div><div dir="auto" class="">Frank</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Seb Sa <<a href="mailto:sebsa80@gmail.com" rel="noreferrer noreferrer" target="_blank" class="">sebsa80@gmail.com</a>> schrieb am Sa., 22. Juni 2019, 11:00:<br class=""></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Guten Morgen,<div class=""><br class=""></div><div class="">ja klar, das aktuellste. Daher dachte ich auch schon, dass geht sicher alles irgendwie „von alleine“. :)</div><div class=""><br class=""></div><div class=""><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">root@raspberrypi:~# systemctl status push-server</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures;color:#2fb41d" class=""><b class="">●</b></span><span style="font-variant-ligatures:no-common-ligatures" class=""> push-server.service - <a href="http://volkszaehler.org/" rel="noreferrer noreferrer noreferrer" target="_blank" class="">Volkszaehler.org</a> Push-Server</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> Loaded: loaded (/etc/systemd/system/push-server.service; enabled; vendor preset: enabled)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> Active: </span><span style="font-variant-ligatures:no-common-ligatures;color:#2fb41d" class=""><b class="">active (running)</b></span><span style="font-variant-ligatures:no-common-ligatures" class=""> since Thu 2019-06-20 22:13:22 CEST; 1 day 12h ago</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> Main PID: 472 (php)</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> CGroup: /system.slice/push-server.service</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""> └─472 /usr/bin/php /var/www/<a href="http://volkszaehler.org/bin/push-server" rel="noreferrer noreferrer noreferrer" target="_blank" class="">volkszaehler.org/bin/push-server</a></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""></span><br class=""></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Jun 20 22:13:22 raspberrypi systemd[1]: Started <a href="http://volkszaehler.org/" rel="noreferrer noreferrer noreferrer" target="_blank" class="">Volkszaehler.org</a> Push-Server.</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Jun 20 22:13:30 raspberrypi php[472]: Volkszaehler Push Server</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Jun 20 22:13:30 raspberrypi php[472]: Listening for updates on 5582. Clients may connect at 8082.</span></div></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Viele Grüße</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class="">Sebastian</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo" class=""><span style="font-variant-ligatures:no-common-ligatures" class=""><br class=""></span></div><div class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 22.06.2019 um 10:15 schrieb Frank Richter <<a href="mailto:frank.richter83@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank" class="">frank.richter83@gmail.com</a>>:</div><br class="m_7311585283288768640m_4924091631640036731m_5711103723995063234Apple-interchange-newline"><div class=""><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline!important" class="">systemctl status push-server</span></div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>