]> pere.pagekite.me Git - homepage.git/blob - blog/archive/2022/03/03.rss
Generated.
[homepage.git] / blog / archive / 2022 / 03 / 03.rss
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
3 <channel>
4 <title>Petter Reinholdtsen - Entries from March 2022</title>
5 <description>Entries from March 2022</description>
6 <link>https://people.skolelinux.org/pere/blog/</link>
7
8
9 <item>
10 <title>Publish Hargassner wood chip boiler state to MQTT</title>
11 <link>https://people.skolelinux.org/pere/blog/Publish_Hargassner_wood_chip_boiler_state_to_MQTT.html</link>
12 <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Publish_Hargassner_wood_chip_boiler_state_to_MQTT.html</guid>
13 <pubDate>Sat, 12 Mar 2022 06:30:00 +0100</pubDate>
14 <description>&lt;p&gt;Recently I had a look at a
15 &lt;a href=&quot;https://www.hargassner.at/&quot;&gt;Hargassner&lt;/a&gt;
16 &lt;a href=&quot;https://www.hargassner.at/en/products/wood-chip-boiler.html&quot;&gt;wood
17 chip boiler&lt;/a&gt;, and what kind of free software can be used to monitor
18 and control it. The boiler can be connected to some cloud service via
19 what the producer call an Internet Gateway, which seem to be a
20 computer connecting to the boiler and passing the information gathered
21 to the cloud. I discovered the boiler controller got an IP address on
22 the local network and listen on TCP port 23 to provide status
23 information as a text line of numbers. It also provide a HTTP server
24 listening on port 80, but I have not yet figured out what it can do
25 beside return an error code.&lt;/p&gt;
26
27 &lt;p&gt;If I am to believe various free software implementations talking to
28 such boiler, the interpretation of the line of numbers differ between
29 type of boiler and software version on the boiler. By comparing the
30 list of numbers on the front panel of the boiler with the numbers
31 returned via TCP, I have been able to figure out several of the
32 numbers, but there are a lot left to understand. I&#39;ve located several
33 temperature measurements and hours running values, as well as oxygen
34 measurements and counters.&lt;/p&gt;
35
36 I decided to write a simple parser in Python for the values I figured
37 out so far, and a simple MQTT injector publishing both the interpreted
38 and the unknown values on a MQTT bus to make collecting and graphing
39 simpler. The end result is available from the
40 &lt;a href=&quot;https://gitlab.com/petterreinholdtsen/hargassner2mqtt&quot;&gt;hargassner2mqtt
41 project page&lt;/a&gt; on gitlab. I very much welcome patches extending the
42 parser to understand more values, boiler types and software versions.
43 I do not really expect very few free software developers got their
44 hands on such unit to experiment, but it would be fun if others too find
45 this project useful.&lt;/p&gt;
46
47 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
48 activities, please send Bitcoin donations to my address
49 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
50 </description>
51 </item>
52
53 <item>
54 <title>Run your industrial metal working machine using Debian?</title>
55 <link>https://people.skolelinux.org/pere/blog/Run_your_industrial_metal_working_machine_using_Debian_.html</link>
56 <guid isPermaLink="true">https://people.skolelinux.org/pere/blog/Run_your_industrial_metal_working_machine_using_Debian_.html</guid>
57 <pubDate>Wed, 2 Mar 2022 18:40:00 +0100</pubDate>
58 <description>&lt;p&gt;After many months of hard work by the good people involved in
59 &lt;a href=&quot;https://en.wikipedia.org/wiki/LinuxCNC&quot;&gt;LinuxCNC&lt;/a&gt;, the
60 system was accepted Sunday
61 &lt;a href=&quot;https://tracker.debian.org/pkg/linuxcnc&quot;&gt;into Debian&lt;/a&gt;.
62 Once it was available from Debian, I was surprised to discover from
63 &lt;a href=&quot;https://qa.debian.org/popcon.php?package=linuxcnc&quot;&gt;its
64 popularity-contest numbers&lt;/a&gt; that people have been reporting its use
65 since 2012. &lt;a href=&quot;http://linuxcnc.org/&quot;&gt;Its project site&lt;/a&gt; might
66 be a good place to check out, but sadly is not working when visiting
67 via Tor.&lt;/p&gt;
68
69 &lt;p&gt;But what is LinuxCNC, you are probably wondering? Perhaps a
70 Wikipedia quote is in place?&lt;/p&gt;
71
72 &lt;blockquote&gt;
73 &quot;LinuxCNC is a software system for numerical control of
74 machines such as milling machines, lathes, plasma cutters, routers,
75 cutting machines, robots and hexapods. It can control up to 9 axes or
76 joints of a CNC machine using G-code (RS-274NGC) as input. It has
77 several GUIs suited to specific kinds of usage (touch screen,
78 interactive development).&quot;
79 &lt;/blockquote&gt;
80
81 &lt;p&gt;It can even control 3D printers. And even though the Wikipedia
82 page indicate that it can only work with hard real time kernel
83 features, it can also work with the user space soft real time features
84 provided by the Debian kernel.
85 &lt;a href=&quot;https://github.com/linuxcnc/linuxcnc&quot;&gt;The source code&lt;/a&gt; is
86 available from Github. The last few months I&#39;ve been involved in the
87 translation setup for the program and documentation. Translators are
88 most welcome to
89 &lt;a href=&quot;https://hosted.weblate.org/engage/linuxcnc/&quot;&gt;join the
90 effort&lt;/a&gt; using Weblate.&lt;/p&gt;
91
92 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
93 activities, please send Bitcoin donations to my address
94 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
95 </description>
96 </item>
97
98 </channel>
99 </rss>