<?xml version="1.0" encoding="utf-8" ?>

<?xml-stylesheet type="text/xsl" href="/templates/2k11/rss.xsl" media="screen" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule" >
<channel>
    
    <title>trueten.de - Hardware</title>
    <link>https://trueten.de/</link>
    <description>»The only way to get rid of a temptation is to yield to it.« Oscar Wilde</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.6.1 - http://www.s9y.org/</generator>
    <pubDate>Sat, 07 Sep 2024 12:26:15 GMT</pubDate>

    <image>
    <url>https://trueten.de/templates/2k11/img/s9y_banner_small.png</url>
    <title>RSS: trueten.de - Hardware - »The only way to get rid of a temptation is to yield to it.« Oscar Wilde</title>
    <link>https://trueten.de/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>ELV Gaszähler Integration in Home Assistant</title>
    <link>https://trueten.de/archives/13377-ELV-Gaszaehler-Integration-in-Home-Assistant.html</link>
            <category>EDV</category>
            <category>Hardware</category>
            <category>Home Assistant</category>
            <category>Ich weiß was!</category>
            <category>LifeStyle</category>
            <category>LoRaWAN</category>
            <category>Nerdkram</category>
            <category>Software</category>
            <category>Technik</category>
    
    <comments>https://trueten.de/archives/13377-ELV-Gaszaehler-Integration-in-Home-Assistant.html#comments</comments>
    <wfw:comment>https://trueten.de/wfwcomment.php?cid=13377</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=13377</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    Neulich konnte ich endlich &lt;a href=&quot;https://www.photovoltaikforum.com/thread/191172-erfahrungen-mit-klax-2-0-lorawan-sml-optokopf-oder-vergleichbarem/?postID=3869532#post3869532&quot;&gt;in Zusammenarbeit&lt;/a&gt; mit einem &lt;a href=&quot;https://www.photovoltaikforum.com/core/user/214870-michael-iot-shop-de/&quot;&gt;Kollegen&lt;/a&gt; vom &lt;a href=&quot;https://iot-shop.de/&quot;&gt;IOT Shop&lt;/a&gt; im Photovoltaik Forum meinen &lt;a href=&quot;https://iot-shop.de/shop/klax-2-0-lorawan-sml-optokopf-fur-moderne-stromzahler-4365&quot;&gt;KLAX2.0 Optokoppler&lt;/a&gt; in Betrieb nehmen. Das Teil misst den Stromverbrauch am Stromzähler und überträgt seine Daten via &lt;a href=&quot;https://de.wikipedia.org/wiki/Long_Range_Wide_Area_Network&quot;&gt;LoRaWAN&lt;/a&gt;, von wo aus man sie mit einem&lt;a href=&quot;https://www.thethingsindustries.com/docs/&quot;&gt; TTN Mapper&lt;/a&gt; abgreifen und auswerten kann. Der zweite Energieträger bei uns ist Gas, was liegt also näher, als auch die Daten des Gaszählers abzugreifen und auszuwerten? Nun gibt es ja verschieden Methoden, die mit unterschiedlichem Bastelaufwand ebensolche Ergebnisse präsentieren. Auch beim Gas ist es so, daß eine Auswertung per WLAN wegen der Entfernung zum Zahler nicht in Frage kam. Auch ist wie beim Stromzähler selbst keine Stromversorgung vorhanden, was die Auswahl auch hier ziemlich eindampft. Ich hatte mich dann letztlich für den vergleichsweise günstigen LoRaWAN® Energiezähler-Sensorschnittstelle, &lt;a href=&quot;https://de.elv.com/p/elv-bausatz-lorawan-energiezaehler-sensorschnittstelle-elv-lw-esi-P157439/&quot;&gt;C&lt;/a&gt; sowie den &lt;a href=&quot;https://de.elv.com/p/elv-energy-sensor-gas-2-fuer-gaszaehler-es-gas-2-P156782/&quot;&gt;ES-GAS-2 Sensor&lt;/a&gt; entschieden, welche dann auch kurze Zeit später geliefert wurden. Der Zusammenbau wie auch die Montage gestalteten sich einfach, am Gaszähler muß nichts verändert werden, passende Adapter werden mitgeliefert. Für die Stromversorgung habe ich mir bei einen &lt;a href=&quot;https://www.az-delivery.de/products/battery-expansion-shield-18650-v3-inkl-usb-kabel&quot;&gt;Battery Expansion Shield 18650 V3&lt;/a&gt; besorgt, dafür ein &lt;a href=&quot;https://www.thingiverse.com/thing:5242392&quot;&gt;Gehäuse&lt;/a&gt; gedruckt und zusammen mit einer 18650 Zelle an den ELV Zähler gesteckt. Das ist nun schon einige Tage her, der Stromverbrauch gestaltet sich recht zivil, man kann natürlich auch größere Akkupacks verwenden, sollte jedoch darauf achten, daß sich diese nicht abschalten, während der Zähler im Tiefschlaf ist, da sonst die Datenübertragung unterbrochen ist.&lt;br /&gt;
&lt;br /&gt;
Für die Anleitung setze ich folgendes voraus:&lt;br /&gt;
&lt;ul&gt;&lt;br /&gt;
	&lt;li&gt;Ein LoRaWAN Gateway ist vorhanden und eingebunden.&lt;/li&gt;&lt;br /&gt;
	&lt;li&gt;Es wird &lt;a href=&quot;https://www.thethingsnetwork.org/&quot;&gt;The Things Network&lt;/a&gt; (TTN) genutzt.&lt;/li&gt;&lt;br /&gt;
	&lt;li&gt;Homeassistant ist installiert und das Add-on Mosquitto broker ist hinzugefügt und aktiviert. Dieses Add-on muss wie folgt konfiguriert sein:&lt;/li&gt;&lt;/ul&gt;&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://trueten.de/uploads/mosquitto1.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/mosquitto1.jpg&#039;,&#039;Zoom&#039;,&#039;height=889,width=1205,top=283,left=685,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4516 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;100%&quot;  src=&quot;https://trueten.de/uploads/mosquitto1.jpg&quot;  loading=&quot;lazy&quot; alt=&quot;Der Screenshot zeigt die notwendigen Ergänzungen in der Konfiguration des mosquitto Plugins: Require Client Certificate auf &amp;quot;ono&amp;quot; und unter &amp;quot;customize&amp;quot; folgendes eingeben:&amp;quot;active:true&amp;quot; , &amp;quot;folder: mosquitto&amp;quot;, require_certificate: false&quot;&gt;&lt;/a&gt;&lt;br /&gt;
Hier nun die Konfiguration im ttn Stack, als erstes eine Applikation anlegen, dann unter &quot;Integrations&quot; einen API Key sowie Username erstellen, abfragen und kopieren.&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://trueten.de/uploads/apikeymqtt1.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/apikeymqtt1.jpg&#039;,&#039;Zoom&#039;,&#039;height=749,width=1285,top=353,left=645,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4517 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;100%&quot;  src=&quot;https://trueten.de/uploads/apikeymqtt1.jpg&quot;  loading=&quot;lazy&quot; alt=&quot;Der Screenshot zeigt die entsprechende Einrichtung der Einträge bei den &amp;quot;applications&amp;quot;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
Bitte den API Key speichern und ebenfalls die anderen Informationen. Sie werden noch gebraucht. Der ELV-LW-ESI ist zu einer TTN Applikation hinzugefügt. Dazu den &quot;Device Repository Formatter&quot;, den ELV zur Verfügung stellt nutzen:&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://trueten.de/uploads/payloadformatter1.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/payloadformatter1.jpg&#039;,&#039;Zoom&#039;,&#039;height=869,width=1517,top=293,left=529,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4518 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;100%&quot;  src=&quot;https://trueten.de/uploads/payloadformatter1.jpg&quot;  loading=&quot;lazy&quot; alt=&quot;der Screenshot zeigt die Auswahl des &amp;quot;Formatter Type&amp;quot;: &amp;quot;Use Device Repository formatters&amp;quot; bei den Payload Formatters / Uplink&quot;&gt;&lt;/a&gt;&lt;br /&gt;
Für die nächsten Schritte, in denen unter anderem auf die Dateistruktur von Home Assistant zugegriffen werden muss nehme ich einfach das Add-on &quot;File Editor&quot;, das einfach nachinstalliert werden kann. Wichtig für die folgenden Schritte: Änderungen in der Konfiguration vom &quot;File Editor&quot;:&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://trueten.de/uploads/editorconf.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/editorconf.jpg&#039;,&#039;Zoom&#039;,&#039;height=1129,width=1546,top=163,left=514.5,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4521 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;100%&quot;  src=&quot;https://trueten.de/uploads/editorconf.jpg&quot;  loading=&quot;lazy&quot; alt=&quot;Der Screenshot zeigt die notwendigen Einstellungen in der Konfiguration des Editor Plugins.&quot;&gt;&lt;/a&gt;&lt;br /&gt;
Nun die Zertifikate von TTN in Homeassistant hinterlegen. Dazu laden wir die Zertifikatsdatei &quot;minimal certificate list hier herunter: &lt;a href=&quot;https://www.thethingsindustries.com/docs/reference/root-certificates/&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener noreferrer ugc&quot; data-sc-dereferer=&quot;processed&quot;&gt;Root Certificates&lt;/a&gt;. Mit dem &quot;File Editor&quot; navigieren wir jetzt eine Ebene höher als /homeassistant und öffnen dann den Ordner &quot;ssl&quot;. In diesem Ordner laden wir die &lt;a href=&quot;https://www.thethingsindustries.com/docs/reference/root-certificates/ca.pem&quot;&gt;ca.pem&lt;/a&gt; hoch.&lt;br /&gt;
&lt;br /&gt;
Nächster Schritt: MQTT Bridge einrichten&lt;br /&gt;
&lt;br /&gt;
Mit dem &quot;File Editor&quot; gehen wir wieder eine Ebene höher und öffnen dann den Ordner &quot;share&quot;. Hier erstellen wir nun den Ordner &quot;mosquitto&quot; und darin dann die Datei &quot;mosquitto.conf&quot; mit folgendem Inhalt:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;font-family: monospace, Courier; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.3em; font-size: 12.8px;&quot;&gt;
connection elv
    address eu1.cloud.thethings.network:8883
    cleansession true
    &lt;strong&gt;remote_username&lt;/strong&gt; elv-lw-esi-xxxxx@ttn
    &lt;strong&gt;remote_password&lt;/strong&gt; NNSXS.SupersicheresPasswort
    try_private false
    bridge_insecure false
    bridge_cafile /ssl/ca.pem
    topic # in 0 ttn/
&lt;/pre&gt;Dabei setzt man in hinter &lt;strong&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: monospace, Courier; font-size: 12.8px;&quot;&gt;remote&lt;em&gt;username&lt;/em&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: monospace, Courier; font-size: 12.8px;&quot;&gt;&lt;em&gt; &lt;/em&gt;&lt;/span&gt;&lt;/strong&gt;den oben erstellten Usernamen ein und hinter &lt;strong&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: monospace, Courier; font-size: 12.8px;&quot;&gt;remotepassword&lt;/span&gt;&lt;/strong&gt; den API Key.&lt;br /&gt;
&lt;br /&gt;
Die /homeassistant/configuration.yaml wird am Ende um folgenden Code erweitert, der die &quot;payload&quot;, also die Daten, die der ELV-LW-ESI liefert, für Home Assistant übersetzt:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;font-family: monospace, Courier; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.3em; font-size: 12.8px;&quot;&gt;
# Anfang Gaszähler
    - name: &quot;Gasverbrauch&quot;
      state_topic: &quot;ttn/v3/&lt;strong&gt;elv-lw-esi-xxx@ttn&lt;/strong&gt;/devices/&lt;strong&gt;eui-xxxxxxxxx&lt;/strong&gt;/up&quot;
      value_template: &quot;{{ value_json[&#039;uplink_message&#039;][&#039;decoded_payload&#039;][&#039;Energy_Data&#039;][&#039;Energy_Counter&#039;][0]}}&quot;
      unit_of_measurement: &quot;m³&quot;
      device_class: &quot;energy&quot;
      state_class: &quot;total_increasing&quot;
      unique_id: elv_lw_esi
      device:
        identifiers: &quot;elvlwesi&quot;
        manufacturer: &quot;ELV&quot;
        name: &quot;ELV Gaszähler&quot;
# Ende Gaszähler
&lt;/pre&gt;Folgende Anpassungen müssen darin noch vorgenommen werden:&lt;br /&gt;
&lt;br /&gt;
Das &lt;strong&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: monospace, Courier; font-size: 12.8px;&quot;&gt;state_topic&lt;/span&gt;&lt;/strong&gt; entspricht der Kombination aus dem &lt;strong&gt;&lt;span style=&quot;background-color: #f9f9f9; font-family: monospace, Courier; font-size: 12.8px;&quot;&gt;remote_username&lt;/span&gt;&lt;/strong&gt; der Datei mosquitto.conf und der eui des ELV-LW-ESI in der Übersicht der angelegten Applikation:&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://trueten.de/uploads/configurationyaml1.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/configurationyaml1.jpg&#039;,&#039;Zoom&#039;,&#039;height=834,width=1258,top=310.5,left=658.5,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4519 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;1243&quot; height=&quot;819&quot;  src=&quot;https://trueten.de/uploads/configurationyaml1.jpg&quot;  loading=&quot;lazy&quot; alt=&quot;Der Screenshot zeigt in der &amp;quot;Application Overview&amp;quot; unter &amp;quot;End Devices&amp;quot; die eui-*** des ELV-LW-ESI&quot;&gt;&lt;/a&gt;&lt;br /&gt;
Nach einem Neustart und Datenempfang vom Zähler sollte jetzt beim &quot;Energie&quot; Panel von Home Assistant der Gasverbrauch fertig zur Einrichtung sein: Dazu klickt man oben rechts im Drei Punkte Menü auf &quot;Energiekonfiguration&quot;, woraufhin sich die unterschiedlichen Energiearten wie Strom, Gas, Wasser etc. konfigurieren lassen und nach dem Abspeichern in diesem Panel angezeigt werden.&lt;br /&gt;
&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://trueten.de/uploads/energieverbrauch1.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/energieverbrauch1.jpg&#039;,&#039;Zoom&#039;,&#039;height=955,width=1360,top=250,left=607.5,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4520 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;1345&quot; height=&quot;940&quot;  src=&quot;https://trueten.de/uploads/energieverbrauch1.jpg&quot;  loading=&quot;lazy&quot; alt=&quot;Der Screenshot zeigt in Balkendiagrammen den Energieverbrauch bei Strom und Gas an.&quot;&gt;&lt;/a&gt;&lt;hr /&gt;Dir hat der Beitrag weiter geholfen? Diese Seite finanziert sich durch Spenden der LeserInnen. Wir freuen uns über Unterstützung via: &lt;p&gt;LiberaPay&lt;script src=&quot;https://liberapay.com/Trueten/widgets/button.js&quot;&gt;&lt;/script&gt;&lt;br /&gt;
&lt;noscript&gt;&lt;a href=&quot;https://liberapay.com/Trueten/donate&quot;&gt;&lt;span class=&quot;externalmedia-image-placeholder&quot;&gt;Externes Bild nicht verfügbar. &lt;a href=&quot;https://liberapay.com/assets/widgets/donate.svg&quot; target=&quot;_blank&quot; rel=&quot;noopener noreferrer&quot;&gt;Originalquelle öffnen&lt;/a&gt;&lt;/span&gt;&lt;/a&gt;&lt;/noscript&gt;&lt;br /&gt;
&lt;p&gt;BitCoin: &lt;p&gt;bc1qgthwzrszw48lw9jl8zjg94fp6w6xfkw0929vg0&lt;p&gt;&lt;img src=&quot;https://trueten.de/uploads/bc1qgthwzrszw48lw9jl8zjg94fp6w6xfkw0929vg0.jpg&quot; alt=&quot;&quot; width=&quot;50%&quot; /&gt;&lt;br /&gt;
&lt;p&gt;&lt;br /&gt;
oder &lt;a href=&quot;https://www.paypal.me/ThomasTrueten&quot;&gt;PayPal&lt;br /&gt;&lt;img src=&quot;https://trueten.de/uploads/paypalthomastrueten.png&quot; alt=&quot;&quot; width=&quot;50%&quot; /&gt;&lt;/a&gt;&lt;hr /&gt; 
    </content:encoded>

    <pubDate>Sat, 07 Sep 2024 12:18:00 +0200</pubDate>
    <guid isPermaLink="false">https://trueten.de/archives/13377-guid.html</guid>
    <category>gasrechnung</category>
<category>home assistant</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Linux: Rechnerreset mit USB Watchdog</title>
    <link>https://trueten.de/archives/12736-Linux-Rechnerreset-mit-USB-Watchdog.html</link>
            <category>Hardware</category>
            <category>Linux</category>
            <category>Nerdkram</category>
            <category>Software</category>
    
    <comments>https://trueten.de/archives/12736-Linux-Rechnerreset-mit-USB-Watchdog.html#comments</comments>
    <wfw:comment>https://trueten.de/wfwcomment.php?cid=12736</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=12736</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    &lt;figure class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 40%&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&quot;serendipity_image_link&quot; title=&quot;Dog in a yard in a colonia in South Texas Photo: Joshua Matthews&quot; href=&#039;https://trueten.de/uploads/576px-Dog_in_front_of_fence_in_colonia_in_Edinburg_area.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/576px-Dog_in_front_of_fence_in_colonia_in_Edinburg_area.jpg&#039;,&#039;Zoom&#039;,&#039;height=783,width=591,top=336,left=992,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4136 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;100%&quot;  src=&quot;https://trueten.de/uploads/576px-Dog_in_front_of_fence_in_colonia_in_Edinburg_area.jpg&quot; title=&quot;Dog in a yard in a colonia in South Texas Photo: Joshua Matthews&quot; loading=&quot;lazy&quot; alt=&quot;Dog in a yard in a colonia in South Texas Photo: Joshua Matthews&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;figcaption class=&quot;serendipity_imageComment_txt&quot;&gt;Dog in a yard in a colonia in South Texas&lt;br /&gt;
Photo: Joshua Matthews&lt;br /&gt;
License: &lt;a href=&quot;https://creativecommons.org/licenses/by-sa/4.0/deed.en&quot;&gt;Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)&lt;/a&gt;&lt;/figcaption&gt;&lt;/figure&gt;Manchmal sinnvoll: Ein Watchdog. Wenn dieser nicht schon Bestandteil des Mainboards ist besteht die Möglichkeit entweder zu hoffen, daß der &lt;a href=&quot;https://launchpad.net/ubuntu/lunar/+package/watchdog&quot;&gt;Software Watchdog&lt;/a&gt; einen Systemhänger erkennt und diesem noch mit einem reboot des Systems entgegentreten kann. Oder man verwendet einen USB Hardwarewatchdog, den es beim &lt;a href=&quot;https://s.click.aliexpress.com/e/_Dl7Q70H&quot;&gt;freundlichen Chinesen&lt;/a&gt; oder in &lt;a href=&quot;https://amzn.to/3Uu4mjX&quot;&gt;Jeff&#039;s Gemischwarenladen&lt;/a&gt; relativ günstig gibt. Von beiden Varianten, die natürlich nicht die Ursache des Hängers lösen und - auch das muss gesagt sein, bei der USB Variante &lt;strong&gt;eventuell Probleme mit dem Dateisystem verursachen können&lt;/strong&gt;, möchte ich hier kurz auf letztere eingehen. Denn manchmal ist ein Reset ausreichend, vor allem dann, wenn man nicht an den Rechner kommt, weil man zum Beispiel im Urlaub weilt und der Server daheim augerechnet dann die Grätsche macht.&lt;br /&gt;
&lt;br /&gt;
Der Watchdog selbst besteht aus einer unscheinbaren Platine, an deren einen Ende ein USB Stecker sitzt und am anderen mit einer Stiftleiste versehen ist. Auf dem Stecker selbst sitzen neben ein paar kleineren Bauteilen zwei deutlich sicht- und beim Einstecken hörbare Relais. Geliefert wird das ganze spartanisch in einer Antistatiktüte, nochmal in einer weiteren Plastiktüte verpackt. Mitgeliefert werden zwei ausreichend lange Kabel für die erwähnte Stiftleiste. Kein Handbuch oder Installationsanleitung, was aber nichts macht, da dem aufmerksamen Besteller:*in die Links in der Artikelbeschreibung aufgefallen sind:&lt;br /&gt;
&lt;br /&gt;
Englische Version der Überwachungs-Software Download: &lt;a href=&quot;http://www.wfyl.cn/dzyj/PCWatchDog_VX_en.rar&quot;&gt;http://www.wfyl.cn/dzyj/PCWatchDog_VX_en.rar&lt;/a&gt;&lt;br /&gt;
Linux Treiber Download: &lt;a href=&quot;http://www.wfyl.cn/dzyj/USBWatchdog_LINUX.zip&quot;&gt;http://www.wfyl.cn/dzyj/USBWatchdog_LINUX.zip&lt;/a&gt;&lt;br /&gt;
MacOS-Treiber-Download: &lt;a href=&quot;http://www.wfyl.cn/dzyj/USBWatchdog_MAC.zip&quot;&gt;http://www.wfyl.cn/dzyj/USBWatchdog_MAC.zip&lt;/a&gt;&lt;br /&gt;
Android Treiber Download: &lt;a href=&quot;http://www.wfyl.cn/dzyj/USBWatchdogR_ANDROID.zip&quot;&gt;http://www.wfyl.cn/dzyj/USBWatchdogR_ANDROID.zip&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;figure class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 40%&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a class=&quot;serendipity_image_link&quot; title=&quot;Der Installationsvorgang im Terminal unter Ubuntu 22.04.2 LTS x86_64&quot; href=&#039;https://trueten.de/uploads/usbwatchdog.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/usbwatchdog.jpg&#039;,&#039;Zoom&#039;,&#039;height=525,width=1235,top=465,left=670,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:4135 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;100%&quot;  src=&quot;https://trueten.de/uploads/usbwatchdog.jpg&quot; title=&quot;Der Installationsvorgang im Terminal unter Ubuntu 22.04.2 LTS x86_64&quot; loading=&quot;lazy&quot; alt=&quot;Der Installationsvorgang im Terminal unter Ubuntu 22.04.2 LTS x86_64&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;figcaption class=&quot;serendipity_imageComment_txt&quot;&gt;Der Installationsvorgang im Terminal unter Ubuntu 22.04.2 LTS x86_64&lt;/figcaption&gt;&lt;/figure&gt;Naja. Ich persönlich lade lieber nichts von Webseiten herunter, die in einer mir unverständlichen Sprache und zudem mit Adobe Flash Animationen versehen sind. Statt dessen fand meine &lt;a href=&quot;https://metager.de/&quot;&gt;Suchmaschine des Vertrauens&lt;/a&gt; heraus, daß es ein &lt;a href=&quot;https://github.com/zatarra/usb-watchdog&quot;&gt;git Repository&lt;/a&gt; zu diesen Watchdogs gibt, das ein simples Python Script zur Verfügung stellt. Das Repo ist einige Jahre alt, dankenswerter Weise hat Wojciech NiziÅ„ski einen &lt;a href=&quot;https://github.com/niziak/usb-watchdog&quot;&gt;Pull Request eingestellt&lt;/a&gt;, der ein Update auf Python3 enthält. Die Dateien zieht man sich im Terminal auf den Zielrechner mit&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;font-family: monospace, Courier; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.3em; font-size: 12.8px;&quot;&gt;gh repo clone niziak/usb-watchdog&lt;/pre&gt;in das gewünschte Verzeichnis, woraufhin sich die Dateien im Verzeichnis usb-watchdog befinden. Dort startet man nach der obligatorischen Kontrolle der Sicherheit des Quellcodes die Installation als User mit make, danach mit sudo make install das Kopieren der Programmdateien usw.&lt;br /&gt;
&lt;br /&gt;
Der Stick selber wird in den Rechner gesteckt, danach verbindet man die Kabel mit den Mainboard Pfostensteckern für das HDD LED und den Resetschalter. Wichtig sind 2 Punkte:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Erst den USB Stick einstecken, dann die Pfostenstecker in eingeschalteten Zustand des Rechners verbinden. Ansonsten kann es sein, daß die Relais auf der Platine im Zustand NO / offen sind, wenn der Rechner eingeschaltet wird und man somit in einer Resetschleife landet.&lt;/li&gt;&lt;li&gt;Die Reaktionszeit / Heartbeat, die man in der Datei &lt;em&gt;usb-watchdog.service&lt;/em&gt; unter [Service] in der Zeile &lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;font-family: monospace, Courier; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.3em; font-size: 12.8px;&quot;&gt;ExecStart=/usr/bin/python3 /usr/local/sbin/watchdog.py --hb &lt;strong&gt;360&lt;/strong&gt;/dev/&lt;strong&gt;ttyUSB0&lt;/strong&gt;&lt;/pre&gt; einstellt, sollte nicht zu knapp bemessen sein, so daß eine kurzzeitige Rechnerlast nicht als Absturz interpretiert und ein Reset eingeleitet wird. Im Beispiel ist diese auf 360 Sekunden eingestellt, und bezieht sich auf den Watchdog, der als /dev/ttyUSB0 eingebunden wurde.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
Quellen: &lt;a href=&quot;https://www.davidgouveia.net/2018/02/how-to-create-your-own-script-for-a-usb-watchdog&quot;&gt;David Gouveia&lt;/a&gt;&lt;hr /&gt;Hinweis: Einige der Links in diesem Beitrag beziehen sich auf Affilate-Links. Wenn Sie eines der verlinkten Produkte kaufen, unterstützen Sie mich. Das Produkt selbst wird Sie nicht mehr kosten als üblich. Vielen Dank dafür.&lt;br /&gt;
&lt;br /&gt;
Note: Some of the links in this post refer to affilate links. If you buy one of the linked products, you support me. The product itself will not cost you more than usual. Thank you.&lt;hr /&gt; 
    </content:encoded>

    <pubDate>Wed, 12 Apr 2023 12:48:00 +0200</pubDate>
    <guid isPermaLink="false">https://trueten.de/archives/12736-guid.html</guid>
    <category>usb watchdog</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Wie man ein analoges Foto macht</title>
    <link>https://trueten.de/archives/12631-Wie-man-ein-analoges-Foto-macht.html</link>
            <category>Foto</category>
            <category>Hardware</category>
            <category>Software</category>
    
    <comments>https://trueten.de/archives/12631-Wie-man-ein-analoges-Foto-macht.html#comments</comments>
    <wfw:comment>https://trueten.de/wfwcomment.php?cid=12631</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=12631</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    &lt;span class=&quot;externalmedia-consent&quot;
                    style=&quot;position:relative;display:flex;
                    flex-direction:column;justify-content:center;
                    align-items:center;text-align:center;
                    max-width:560px;min-height:315px;
                    box-sizing:border-box;padding:20px;gap:12px;
                    background:#111;color:#fff;&quot;&gt;
                    &lt;img src=&quot;https://trueten.de/index.php?/plugin/externalmediafetch_DN8UNfiMAhs&quot;
                         alt=&quot;&quot;
                         loading=&quot;lazy&quot;
                         style=&quot;position:absolute;inset:0;
                         width:100%;height:100%;object-fit:cover;
                         opacity:.25;&quot;&gt;
                    &lt;strong style=&quot;position:relative;z-index:1;&quot;&gt;
                        Externer Inhalt von YouTube
                    &lt;/strong&gt;
                    &lt;span style=&quot;position:relative;z-index:1;
                        display:block;font-size:14px;&quot;&gt;
                        Beim Laden wird eine Verbindung zu YouTube
                        (Google) hergestellt. Dabei können
                        personenbezogene Daten, insbesondere
                        Ihre IP-Adresse, übertragen werden.
                    &lt;/span&gt;
                    &lt;button type=&quot;button&quot;
                        data-externalmedia-url=&quot;https://www.youtube-nocookie.com/embed/DN8UNfiMAhs?autoplay=1&quot;
                        onclick=&quot;var u=this.getAttribute(&#039;data-externalmedia-url&#039;);
                        var f=document.createElement(&#039;iframe&#039;);
                        f.src=u;
                        f.width=560;
                        f.height=315;
                        f.title=&#039;YouTube-Video&#039;;
                        f.setAttribute(&#039;allowfullscreen&#039;,&#039;&#039;);
                        f.setAttribute(&#039;allow&#039;,
                            &#039;accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture&#039;);
                        f.style.cssText=&#039;width:100%;aspect-ratio:16/9;border:0;&#039;;
                        this.closest(&#039;.externalmedia-consent&#039;).replaceWith(f);&quot;
                        style=&quot;position:relative;z-index:1;
                        padding:10px 18px;border:0;border-radius:5px;
                        background:#fff;color:#111;cursor:pointer;
                        font-weight:bold;&quot;&gt;
                        YouTube-Video laden
                    &lt;/button&gt;
                &lt;/span&gt; 
    </content:encoded>

    <pubDate>Sat, 14 Jan 2023 16:06:00 +0100</pubDate>
    <guid isPermaLink="false">https://trueten.de/archives/12631-guid.html</guid>
    <category>fotografie</category>
<category>fotolabor</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Mini-HowTo: Green Cell® UPS USV mit Nagios überwachen</title>
    <link>https://trueten.de/archives/11759-Mini-HowTo-Green-Cell-UPS-USV-mit-Nagios-ueberwachen.html</link>
            <category>Hardware</category>
            <category>Linux</category>
            <category>Nerdkram</category>
            <category>Sicherheit</category>
            <category>Software</category>
    
    <comments>https://trueten.de/archives/11759-Mini-HowTo-Green-Cell-UPS-USV-mit-Nagios-ueberwachen.html#comments</comments>
    <wfw:comment>https://trueten.de/wfwcomment.php?cid=11759</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>https://trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=11759</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    Der Status einer günstigen &lt;a href=&quot;https://de.wikipedia.org/wiki/Unterbrechungsfreie_Stromversorgung&quot;&gt;unterbrechungsfreien Stromversorgung&lt;/a&gt; (USV), in dem Fall eine (&lt;span id=&quot;productTitle&quot;&gt;&lt;a href=&quot;https://amzn.to/3barL5n&quot;&gt;Green Cell® UPS USV Unterbrechungsfreie Stromversorgung 600VA (360W)&lt;/a&gt;) &lt;/span&gt;soll mittels &lt;a href=&quot;https://www.nagios.org/&quot;&gt;Nagios&lt;/a&gt; abgefragt werden. Das UPS Modell ist mit dem &lt;a href=&quot;https://networkupstools.org/&quot;&gt;Network UPS Tools&lt;/a&gt; (NUT) Treiber &lt;a href=&quot;https://networkupstools.org/docs/man/blazer_usb.html&quot;&gt;blazer_usb&lt;/a&gt; kompatibel. Die USV versorgt einen Clientrechner &lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;client.lan&lt;/span&gt;, Nagios ist auf einem Server &lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;server.lan&lt;/span&gt; installiert. Unter &lt;a href=&quot;https://www.debian.org/index.de.html&quot;&gt;debian&lt;/a&gt; bzw. seinen Ablegern lässt sich die nötige Software auf dem Clientrechner wie gehabt installieren:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
sudo apt install nut&lt;/pre&gt;&lt;br /&gt;
Irgendwelche Abhängigkeiten sollten natürlich aufgelöst werden. Danach editieren wir die Datei &lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;/etc/nut/ups.conf&lt;/span&gt; und fügen am Ende folgende Definition für die GreenCell UPS ein:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
[GreenCell]
        driver = &quot;blazer_usb&quot;
        port = &quot;auto&quot;
        desc = &quot;GreenCell USV 600VA&quot;&lt;/pre&gt;Die Datei /etc/nut/nut.conf editiert man dann entsprechend dem Verwendungszweck (Standalone/Netzserver/-client)&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;# Network UPS Tools: example nut.conf
#
##############################################################################
# General section
##############################################################################
# The MODE determines which part of the NUT is to be started, and which
# configuration files must be modified.
#
# This file try to standardize the various files being found in the field, like
# /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based
# systems, ... Distribution&#039;s init script should source this file to see which
# component(s) has to be started.
#
# The values of MODE can be:
# - none: NUT is not configured, or use the Integrated Power Management, or use
#   some external system to startup NUT components. So nothing is to be started.
# - standalone: This mode address a local only configuration, with 1 UPS 
#   protecting the local system. This implies to start the 3 NUT layers (driver,
#   upsd and upsmon) and the matching configuration files. This mode can also
#   address UPS redundancy.
# - netserver: same as for the standalone configuration, but also need
#   some more network access controls (firewall, tcp-wrappers) and possibly a
#   specific LISTEN directive in upsd.conf.
#   Since this MODE is opened to the network, a special care should be applied
#   to security concerns.
# - netclient: this mode only requires upsmon.
#
# IMPORTANT NOTE:
#  This file is intended to be sourced by shell scripts.
#  You MUST NOT use spaces around the equal sign!

MODE=standalone&lt;/pre&gt;&lt;br /&gt;
Auf dem Server wird Nagios am besten aus den Quellen installiert, viele Plugins und auch das Programmpaket selber liegt meistens in recht hm... veralteten Versionen vor. Ich verweise hier mal auf ein recht aktuelles &lt;a href=&quot;https://www.howtoforge.de/anleitung/so-installieren-sie-das-nagios-43x-monitoring-tool-unter-debian-9/&quot;&gt;HowTo&lt;/a&gt;. ^^&lt;br /&gt;
&lt;br /&gt;
Sobald Nagios läuft, stricken wir uns einen Befehl zum Ansprechen der UPS zusammen und editieren dazu die Datei &lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;/usr/local/nagios/etc/objects/commands.cfg&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
# UPS Check
#
#
define command {

    command_name check_ups
    command_line    $USER1$/check_ups -H $HOSTADDRESS$ -u GreenCell
}&lt;/pre&gt;&lt;br /&gt;
Wie man unschwer erkennen kann, bezieht sich der Befehl in der vorletzten Zeile auf das in der Datei &lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;/etc/nut/ups.conf&lt;/span&gt; definierte Gerät. Dieser Befehl kann nun in beliebigen Serverkonfigurationen, die Nagios überwacht, angewendet werden. Wir richten nun aber erst einmal die Nagios Konfiguration des Clients ein, der durch die USV versorgt wird und editieren dazu eine neue Datei, in dem Fall nennen wir sie einfach &lt;span style=&quot;font-family: &#039;andale mono&#039;, times;&quot;&gt;/usr/local/nagios/etc/servers/client.lan.cfg&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
(...)
define service {
use                     local-service
host_name               client.lan
service_description     GreenCell UPS
check_command           check_ups!-H client.lan -u GreenCell&lt;/pre&gt;&lt;br /&gt;
Ab diesem Zeitpunkt sollte der Status der UPS abgefragt werden können. Welche Werte genau abgefragt werden können ist natürlich von der jeweiligen UPS abhängig und welche Werte von Belang sind. Wie bei den meisten anderen Nagios Plugins können auch bei check_ups die möglichen Parameter durch einen Aufruf auf den Kommandozeile abgefragt werden. Hier man ein wenig Copy &amp;amp; Paste:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
nagiosuser@server.lan:/usr/local/nagios/libexec# ./check_ups -h
check_ups v2.3.3 (nagios-plugins 2.3.3)
Copyright (c) 2000 Tom Shields
Copyright (c) 2004 Alain Richard &amp;lt;alain.richard@equation.fr&amp;gt;
Copyright (c) 2004 Arnaud Quette &amp;lt;arnaud.quette@mgeups.com&amp;gt;
Copyright (c) 2000-2014 Nagios Plugin Development Team
    &amp;lt;devel@nagios-plugins.org&amp;gt;

This plugin tests the UPS service on the specified host. Network UPS Tools
from www.networkupstools.org must be running for this plugin to work.

Usage:
check_ups -H host -u ups [-p port] [-v variable] [-w warn_value] [-c crit_value] [-e] [-to to_sec] [-T]

Options:
 -h, --help
    Print detailed help screen
 -V, --version
    Print version information
 --extra-opts=[section][@file]
    Read options from an ini file. See
    https://www.nagios-plugins.org/doc/extra-opts.html
    for usage and examples.
 -H, --hostname=ADDRESS
    Host name, IP Address, or unix socket (must be an absolute path)
 -p, --port=INTEGER
    Port number (default: 3493)
 -u, --ups=STRING
    Name of UPS
 -T, --temperature
    Output of temperatures in Celsius
 -e, --extended-units
    Allow nonstandard units in performance data (used for voltage and temperatures)
 -v, --variable=STRING
    Valid values for STRING are LINE, TEMP, BATTLEFT, BATTPCT or LOADPCT
 -w, --warning=DOUBLE
    Response time to result in warning status (seconds)
 -c, --critical=DOUBLE
    Response time to result in critical status (seconds)
 -t, --timeout=INTEGER:
    Seconds before connection times out (default: 10)
    Optional &quot;:&quot; can be a state integer (0,1,2,3) or a state STRING

This plugin attempts to determine the status of a UPS (Uninterruptible Power
Supply) on a local or remote host. If the UPS is online or calibrating, the
plugin will return an OK state. If the battery is on it will return a WARNING
state. If the UPS is off or has a low battery the plugin will return a CRITICAL
state.

Notes:
 You may also specify a variable to check (such as temperature, utility voltage,
 battery load, etc.) as well as warning and critical thresholds for the value
 of that variable.  If the remote host has multiple UPS that are being monitored
 you will have to use the --ups option to specify which UPS to check.

 This plugin requires that the UPSD daemon distributed with Russell Kroll&#039;s
 Network UPS Tools be installed on the remote host. If you do not have the
 package installed on your system, you can download it from
 http://www.networkupstools.org

Send email to help@nagios-plugins.org if you have questions regarding use
of this software. To submit patches or suggest improvements, send email to
devel@nagios-plugins.org
&lt;/pre&gt;&lt;br /&gt;
Eine am Server abgesetzte Anfrage ergibt in unserem Fall:&lt;br /&gt;
&lt;pre style=&quot;border: 1px solid #d2d3d7; background-color: #f5f6f7; padding: 1em; overflow-wrap: break-word; margin: 2em 1.5em; outline: 0px; font-size: 13px; vertical-align: baseline; overflow: auto; line-height: 2em;&quot;&gt;
nagiosuser@server.lan:/usr/local/nagios/libexec# ./check_ups -H prusapi.lan -u GreenCell
UPS OK - Status=Online Utility=230,0V Batt=100,0% Load=4,0% |voltage=230,000000;;;0,000000 battery=100,000000%;;;0,000000;100,000000 load=4,000000%;;;0,000000;100,000000&lt;/pre&gt;&lt;br /&gt;
Nagios verwertet diesen Schnipsel so:&lt;br /&gt;
&lt;a class=&quot;serendipity_image_link&quot;  href=&#039;https://trueten.de/uploads/Nagios1.jpg&#039; onclick=&quot;F1 = window.open(&#039;/uploads/Nagios1.jpg&#039;,&#039;Zoom&#039;,&#039;height=817,width=1008,top=319,left=783.5,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes&#039;); return false;&quot;&gt;&lt;!-- s9ymdb:3703 --&gt;&lt;img class=&quot;serendipity_image_center&quot; width=&quot;80%&quot;  src=&quot;https://trueten.de/uploads/Nagios1.jpg&quot;  alt=&quot;&quot;&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr /&gt;Einige Links in diesem Beitrag sind Vorschläge / Einkaufsquellen und sog. Affiliatelinks. Wenn Du etwas über diesen Link kaufst, erhalten wir eine kleine Provision. Der Preis für Dich bleibt derselbe. Vielen Dank für Deine Unterstützung.&lt;br /&gt;
&lt;br /&gt;
Some of the links are suggestions for parts to replicate the thing and affiliate. If you buy something, I get a small commission. The price you pay is the same. Thank you very much. 
    </content:encoded>

    <pubDate>Sun, 03 Jan 2021 20:32:00 +0100</pubDate>
    <guid isPermaLink="false">https://trueten.de/archives/11759-guid.html</guid>
    <category>linux</category>
<category>monitoring</category>
<category>nagios</category>
<category>ups</category>
<category>usv</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>ESP8266 flashen</title>
    <link>https://trueten.de/archives/11069-ESP8266-flashen.html</link>
            <category>EDV</category>
            <category>Hardware</category>
            <category>Nerdkram</category>
    
    <comments>https://trueten.de/archives/11069-ESP8266-flashen.html#comments</comments>
    <wfw:comment>https://trueten.de/wfwcomment.php?cid=11069</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://trueten.de/rss.php?version=2.0&amp;type=comments&amp;cid=11069</wfw:commentRss>
    

    <author>nospam@example.com (Thomas Trueten)</author>
    <content:encoded>
    &lt;p&gt;&lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!-- s9ymdb:3501 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;70&quot;  src=&quot;https://trueten.de/uploads/640px-Nodemcu_amica_bot_02.serendipityThumb.jpg&quot;  alt=&quot;&quot;&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Foto: &lt;a href=&quot;//commons.wikimedia.org/wiki/User:MakeMagazinDE&quot; title=&quot;User:MakeMagazinDE&quot;&gt;Make Magazin DE&lt;/a&gt; - &lt;span class=&quot;int-own-work&quot; lang=&quot;de&quot;&gt;Eigenes Werk&lt;/span&gt;, &lt;a href=&quot;https://creativecommons.org/licenses/by-sa/4.0&quot; title=&quot;Creative Commons Attribution-Share Alike 4.0&quot;&gt;CC BY-SA 4.0&lt;/a&gt;, &lt;a href=&quot;https://commons.wikimedia.org/w/index.php?curid=53239171&quot;&gt;Link&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;Neulich musste ich eine Reihe &lt;a href=&quot;http://stefanfrings.de/esp8266/&quot;&gt;ESP8266&lt;/a&gt;-01S mit einer bestimmten Firmware flashen. Das geht am schnellsten auf der Konsole:&lt;br /&gt;
&lt;pre style=&quot;font-family: monospace, Courier; padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.3em; font-size: 12.8px;&quot;&gt;
sudo esptool.py --port /dev/ttyUSB0 erase_flash

sudo esptool.py --port /dev/ttyUSB0 write_flash -fs 1MB -fm dout 0x0000 nodemcu_integer_0.9.6-dev_20150704.bin&lt;/pre&gt; 
    </content:encoded>

    <pubDate>Sun, 21 Apr 2019 13:30:00 +0200</pubDate>
    <guid isPermaLink="false">https://trueten.de/archives/11069-guid.html</guid>
    <category>esp8266</category>
<category>nodemcu</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>

</channel>
</rss>
