]> pere.pagekite.me Git - homepage.git/blobdiff - blog/index.rss
Generated.
[homepage.git] / blog / index.rss
index b718f9088923cfd94b8a9789cbd420eac1becf74..868adb561c7bbf009230e14df4d870be5363f211 100644 (file)
@@ -6,6 +6,49 @@
                 <link>https://people.skolelinux.org/pere/blog/</link>
                 <atom:link href="https://people.skolelinux.org/pere/blog/index.rss" rel="self" type="application/rss+xml" />
        
+       <item>
+               <title>wmbusmeters, parse data from your utility meter - nice free software</title>
+               <link>https://people.skolelinux.org/pere/blog/wmbusmeters__parse_data_from_your_utility_meter___nice_free_software.html</link>
+               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/wmbusmeters__parse_data_from_your_utility_meter___nice_free_software.html</guid>
+                <pubDate>Fri, 19 May 2023 21:50:00 +0200</pubDate>
+               <description>&lt;p&gt;There is a European standard for reading utility meters like water,
+gas, electricity or heat distribution meters.  The
+&lt;a href=&quot;https://en.wikipedia.org/wiki/Meter-Bus&quot;&gt;Meter-Bus standard
+(EN 13757-2, EN 13757-3 and EN 13757–4)&lt;/a&gt; provide a cross vendor way
+to talk to and collect meter data.  I ran into this standard when I
+wanted to monitor some heat distribution meters, and managed to find
+free software that could do the job.  The meters in question broadcast
+encrypted messages with meter information via radio, and the hardest
+part was to track down the encryption keys from the vendor.  With this
+in place I could set up a MQTT gateway to submit the meter data for
+graphing.&lt;/p&gt;
+
+&lt;p&gt;The free software systems in question,
+&lt;a href=&quot;https://tracker.debian.org/pkg/rtl-wmbus&quot;&gt;rtl-wmbus&lt;/a&gt; to
+read the messages from a software defined radio, and
+&lt;a href=&quot;https://tracker.debian.org/pkg/wmbusmeters&quot;&gt;wmbusmeters&lt;/a&gt; to
+decrypt and decode the content of the messages, is working very well
+and allowe me to get frequent updates from my meters.  I got in touch
+with upstream last year to see if there was any interest in publishing
+the packages via Debian.  I was very happy to learn that Fredrik
+Öhrström volunteered to maintain the packages, and I have since
+assisted him in getting Debian package build rules in place as well as
+sponsoring the packages into the Debian archive.  Sadly we completed
+it too late for them to become part of the next stable Debian release
+(Bookworm).  The wmbusmeters package just cleared the NEW queue.  It
+will need some work to fix a built problem, but I expect Fredrik will
+find a solution soon.&lt;/p&gt;
+
+&lt;p&gt;If you got a infrastructure meter supporting the Meter Bus
+standard, I strongly recommend having a look at these nice
+packages.&lt;/p&gt;
+
+&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
+activities, please send Bitcoin donations to my address
+&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>The 2023 LinuxCNC Norwegian developer gathering</title>
                <link>https://people.skolelinux.org/pere/blog/The_2023_LinuxCNC_Norwegian_developer_gathering.html</link>
@@ -552,91 +595,5 @@ activities, please send Bitcoin donations to my address
 </description>
        </item>
        
-       <item>
-               <title>Managing and using ONVIF IP cameras with Linux</title>
-               <link>https://people.skolelinux.org/pere/blog/Managing_and_using_ONVIF_IP_cameras_with_Linux.html</link>
-               <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Managing_and_using_ONVIF_IP_cameras_with_Linux.html</guid>
-                <pubDate>Wed, 19 Oct 2022 12:30:00 +0200</pubDate>
-               <description>&lt;p&gt;Recently I have been looking at how to control and collect data
-from a handful IP cameras using Linux.  I both wanted to change their
-settings and to make their imagery available via a free software
-service under my control.  Here is a summary of the tools I found.&lt;/p&gt;
-
-&lt;p&gt;First I had to identify the cameras and their protocols.  As far as
-I could tell, they were using some SOAP looking protocol and their
-internal web server seem to only work with Microsoft Internet Explorer
-with some proprietary binary plugin, which in these days of course is
-a security disaster and also made it impossible for me to use the
-camera web interface.  Luckily I discovered that the SOAP looking
-protocol is actually following &lt;a href=&quot;https://www.onvif.org/&quot;&gt;the
-ONVIF specification&lt;/a&gt;, which seem to be supported by a lot of IP
-cameras these days.&lt;/p&gt;
-
-&lt;p&gt;Once the protocol was identified, I was able to find what appear to
-be the most popular way to configure ONVIF cameras, the free software
-Windows tool named
-&lt;a href=&quot;https://sourceforge.net/projects/onvifdm/&quot;&gt;ONVIF Device
-Manager&lt;/a&gt;.  Lacking any other options at the time, I tried
-unsuccessfully to get it running using Wine, but was missing a dotnet
-40 library and I found no way around it to run it on Linux.&lt;/p&gt;
-
-&lt;p&gt;The next tool I found to configure the cameras were a non-free Linux Qt
-client &lt;a href=&quot;https://www.lingodigit.com/onvif_nvcdemo.html&quot;&gt;ONVIF
-Device Tool&lt;/a&gt;.  I did not like its terms of use, so did not spend
-much time on it.&lt;/p&gt;
-
-&lt;p&gt;To collect the video and make it available in a web interface, I
-found the Zoneminder tool in Debian.  A recent version was able to
-automatically detect and configure ONVIF devices, so I could use it to
-set up motion detection in and collection of the camera output.  I had
-initial problems getting the ONVIF autodetection to work, as both
-Firefox and Chromium &lt;a href=&quot;https://bugs.debian.org/1001188&quot;&gt;refused
-the inter-tab communication&lt;/a&gt; being used by the Zoneminder web
-pages, but managed to get konqueror to work.  Apparently the &quot;Enhanced
-Tracking Protection&quot; in Firefox cause the problem.  I ended up
-upgrading to the Bookworm edition of Zoneminder in the process to try
-to fix the issue, and believe the problem might be solved now.&lt;/p&gt;
-
-&lt;p&gt;In the process I came across the nice Linux GUI tool
-&lt;a href=&quot;https://gitlab.com/caspermeijn/onvifviewer/&quot;&gt;ONVIF Viewer&lt;/a&gt;
-allowing me to preview the camera output and validate the login
-passwords required.  Sadly its author has grown tired of maintaining
-the software, so it might not see any future updates.  Which is sad,
-as the viewer is sightly unstable and the picture tend to lock up.
-Note, this lockup might be due to limitations in the cameras and not
-the viewer implementation.  I suspect the camera is only able to
-provide pictures to one client at the time, and the Zoneminder feed
-might interfere with the GUI viewer.  I have
-&lt;a href=&quot;https://bugs.debian.org/1000820&quot;&gt;asked for the tool to be
-included in Debian&lt;/a&gt;.&lt;/p&gt;
-
-&lt;p&gt;Finally, I found what appear to be very nice Linux free software
-replacement for the Windows tool, named
-&lt;a href=&quot;https://github.com/sr99622/libonvif/&quot;&gt;libonvif&lt;/a&gt;.  It
-provide a C library to talk to ONVIF devices as well as a command line
-and GUI tool using the library.  Using the GUI tool I was able to change
-the admin passwords and update other settings of the cameras.  I have
-&lt;a href=&quot;https://bugs.debian.org/1021980&quot;&gt;asked for the package to be
-included in Debian&lt;/a&gt;.&lt;/p&gt;
-
-&lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
-activities, please send Bitcoin donations to my address
-&lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
-
-&lt;p&gt;&lt;strong&gt;Update 2022-10-20&lt;/strong&gt;: Since my initial publication of
-this text, I got several suggestions for more free software Linux
-tools.  There is &lt;a href=&quot;https://github.com/quatanium/python-onvif&quot;&gt;a
-ONVIF python library&lt;/a&gt; (already
-&lt;a href=&quot;https://bugs.debian.org/824240&quot;&gt;requested into Debian&lt;/a&gt;) and
-&lt;a href=&quot;https://github.com/FalkTannhaeuser/python-onvif-zeep&quot;&gt;a python 3
-fork&lt;/a&gt; using a different SOAP dependency.  There is also
-&lt;a href=&quot;https://www.home-assistant.io/integrations/onvif/&quot;&gt;support for
-ONVIF in Home Assistant&lt;/a&gt;, and there is an alternative to Zoneminder
-called &lt;a href=&quot;https://www.shinobi.video/&quot;&gt;Shinobi&lt;/a&gt;.  The latter
-two are not included in Debian either.  I have not tested any of these
-so far.&lt;/p&gt;
-</description>
-       </item>
-       
         </channel>
 </rss>