<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="text">Mark Asbach - All Articles</title>
  <id>https://mark-asbach.de/blog/feeds/all.atom.xml</id>
  <updated>2026-08-19T15:56:03Z</updated>
  <link href="https://mark-asbach.de/" />
  <link href="https://mark-asbach.de/blog/feeds/all.atom.xml" rel="self" />
  <generator>Werkzeug</generator>
  <entry xml:base="https://mark-asbach.de/blog/feeds/all.atom.xml">
    <title type="text">WordPress, Django, Indieweb, and the Homebrew Website Club</title>
    <id>/blog/page/10/wordpress-django-indieweb-and-the-homebrew-website-club/</id>
    <updated>2025-06-17T21:07:49Z</updated>
    <published>2025-06-17T21:04:09Z</published>
    <link href="/blog/page/10/wordpress-django-indieweb-and-the-homebrew-website-club/" />
    <author>
      <name>Mark</name>
    </author>
    <content type="html">&lt;p&gt;This blog has been up for quite a while now. It still looks clean and minimalist to me, but it definitely isn&#39;t sleek at all. That&#39;s okay, I&#39;m not an artist and this is a personal blog. I don&#39;t have to sell anything or pretend. &lt;/p&gt;
&lt;p&gt;A few months ago, one of my bands decided that we need a new website, though. We have been happy with Facebook to promote upcoming gigs and document them afterwards with a few images and sometimes a short video. But public Facebook profiles are getting more and more locked down by Meta, so that they are effectively useless if you don&#39;t want to log in.&lt;/p&gt;
&lt;p&gt;This is why we want to own our content and publish it ourselves. So I set up a WordPress site - because that&#39;s what everyone does and there&#39;s tons of themes. But I had just one little wish: I wanted two independent streams of blog posts, each with their own RSS feed. One for the upcoming events and one for our actual blog content. And after one day of fiddling around, I finally gave up and started a Django application from scratch. To my surprise, I had an initial version ready after just a few hours. It&#39;s live now at &lt;a href=&#34;https://pimentamalagueta.de&#34;&gt;https://pimentamalagueta.de&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The funny thing is: I had the impression that I&#39;m a novice at building a homebrew website and I&#39;d really like to meet up with others to exchange ideas and learn. And just a few days later, I stumbled upon &lt;a href=&#34;https://wersdoerfer.de/blogs/ephes_blog/weeknotes-2025-05-26/&#34;&gt;Jochen&#39;s Weeknotes&lt;/a&gt; where he wrote about the formation of the Homebrew Website Club in Düsseldorf.&lt;/p&gt;
&lt;p&gt;Today, I&#39;ve attended - and I&#39;m really deligted. I didn&#39;t even get that &lt;a href=&#34;https://indieweb.org&#34;&gt;Indieweb&lt;/a&gt; is not just a website, but a real movement with plenty of people, ideas, and documented knowledge, best practices and tutorials. I&#39;ve already refined the &lt;a href=&#34;https://microformats.org/wiki/RelMeAuth&#34;&gt;&lt;code&gt;rel-me&lt;/code&gt; links for RelMeAuth&lt;/a&gt; on this blog and added &lt;a href=&#34;https://microformats.org/wiki/h-card#Properties&#34;&gt;&lt;code&gt;h-card&lt;/code&gt; markup&lt;/a&gt; to my profile today. Cool stuff!&lt;/p&gt;
&lt;p&gt;Next thing up will be &lt;a href=&#34;https://microformats.org/wiki/h-entry&#34;&gt;&lt;code&gt;h-entry&lt;/code&gt; markup&lt;/a&gt; for my blog articles and hopefully &lt;a href=&#34;https://webmention.io&#34;&gt;Webmentions&lt;/a&gt;.&lt;/p&gt;</content>
  </entry>
  <entry xml:base="https://mark-asbach.de/blog/feeds/all.atom.xml">
    <title type="text">Playing Roborally with your friends over the internet</title>
    <id>/blog/page/9/playing-roborally-with-your-friends-over-the-internet/</id>
    <updated>2026-08-19T15:55:43Z</updated>
    <published>2024-12-28T19:53:17Z</published>
    <link href="/blog/page/9/playing-roborally-with-your-friends-over-the-internet/" />
    <author>
      <name>Mark</name>
    </author>
    <content type="html">&lt;p&gt;Yesterday, I&#39;ve revived my blog, because I had revived one of the projects that I originally wanted to share when I launched this blog seven years ago.&lt;/p&gt;
&lt;p&gt;But this hasn&#39;t been the only project that I wanted to open source but never found the time to clean it up at least so far that it can be useful for others. I&#39;m currently at the Chaos Communication Congress and the projects around me have been motivating to invest a few hours to clean up my own projects, too.&lt;/p&gt;
&lt;p&gt;So, here&#39;s the next one, that I&#39;d like to share - at least for a couple of friends who like to play Roborally:&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://bitbucket.org/markasbach/corobot/&#34;&gt;https://bitbucket.org/markasbach/corobot/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It&#39;s a very simplistic approach to make Roborally playable remotely via videochat plus a web application. It requires to use the physical tabletop game and players need to enter results of everything that happens on the board (no game mechanics are implemented). But I actually prefer technology to not solve things that humans can do best, but assist in the things that are labour-intensive - or in this case impossible: sharing a deck of playing cards with remote players.&lt;/p&gt;</content>
  </entry>
  <entry xml:base="https://mark-asbach.de/blog/feeds/all.atom.xml">
    <title type="text">Seven years later</title>
    <id>/blog/page/8/seven-years-later/</id>
    <updated>2026-08-19T15:56:03Z</updated>
    <published>2024-12-27T08:42:52Z</published>
    <link href="/blog/page/8/seven-years-later/" />
    <author>
      <name>Mark</name>
    </author>
    <content type="html">&lt;p&gt;It&#39;s been seven years that this blog exists - but it just sat there while I was busy. A relationship broke, others came and went, some came back ... but the Arduino fix for the fridge still works at my wife&#39;s place. That&#39;s been much more sustainable than expected!&lt;/p&gt;
&lt;p&gt;As I&#39;m heading off to my first Chaos Communication Congress, I&#39;ve spent some hours to finally open source some old projects. This includes the fridge project and I&#39;m sharing it now on &lt;a href=&#34;https://bitbucket.org/markasbach/fridgeduino/&#34;&gt;https://bitbucket.org/markasbach/fridgeduino/&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Originally, I planned to prototype using the Arduino UNO and then build a minimal version using an ATtiny. Also, I thought about adding a second temperature sensor, a door open sensor, and a way to control the temperature without having to reprogram the micro controller. However, I found that all these things weren&#39;t really needed. My wife recently reprogrammed the temperature window to be 0.5 degrees warmer - and that&#39;s all that had to be changed during the 9 years that this fix is in operation (plus replacing the first relay after 1.5 years, of course).&lt;/p&gt;
&lt;p&gt;For reference, these were some previously researched existing pieces of information that helped to get this done:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://www.stillhq.com/arduino/000001.html&#34;&gt;http://www.stillhq.com/arduino/000001.html&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://asynkronix.se/my-arduino-controlled-fridge/&#34;&gt;http://asynkronix.se/my-arduino-controlled-fridge/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://sourceforge.net/projects/arduinofridgecontrol/&#34;&gt;http://sourceforge.net/projects/arduinofridgecontrol/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.brewpi.com/fridge-hacking-guide/&#34;&gt;http://www.brewpi.com/fridge-hacking-guide/ (mit RasPi statt Arduino)&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://typefaster.tumblr.com/post/17052725855/arduino-fridge-temperature-monitor&#34;&gt;http://typefaster.tumblr.com/post/17052725855/arduino-fridge-temperature-monitor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.homebrewtalk.com/showthread.php?t=330763&#34;&gt;http://www.homebrewtalk.com/showthread.php?t=330763&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.homebrewtalk.com/showthread.php?t=426252&#34;&gt;http://www.homebrewtalk.com/showthread.php?t=426252&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://thehomebrewnerd.com/tag/arduino/&#34;&gt;http://thehomebrewnerd.com/tag/arduino/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://community.smartthings.com/t/arduino-thingshield-fridge-freezer-monitor/19059&#34;&gt;https://community.smartthings.com/t/arduino-thingshield-fridge-freezer-monitor/19059&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://duino4projects.com/gut-check-a-tweeting-and-facebooking-fridge-using-arduino/&#34;&gt;http://duino4projects.com/gut-check-a-tweeting-and-facebooking-fridge-using-arduino/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.elcojacobs.com/uberfridge-hardware-and-schematics/&#34;&gt;http://www.elcojacobs.com/uberfridge-hardware-and-schematics/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.mats-vanselow.de/arduinotemperatur&#34;&gt;http://www.mats-vanselow.de/arduinotemperatur&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://hackaday.com/2009/12/26/replacement-refrigerator-controller/&#34;&gt;http://hackaday.com/2009/12/26/replacement-refrigerator-controller/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://newtech.about.com/od/Devices/a/Arduino-Thermostat-Projects.htm&#34;&gt;http://newtech.about.com/od/Devices/a/Arduino-Thermostat-Projects.htm&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Low Power Arduino:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://redbearlab.com/blendmicro/&#34;&gt;http://redbearlab.com/blendmicro/&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.sparkfun.com/tutorials/309&#34;&gt;https://www.sparkfun.com/tutorials/309&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/petervojtek/diy/wiki/Arduino-with-Very-Low-Power-Consumption&#34;&gt;https://github.com/petervojtek/diy/wiki/Arduino-with-Very-Low-Power-Consumption&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Temperature sensors:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://playground.arduino.cc/Learning/OneWire-DE&#34;&gt;http://playground.arduino.cc/Learning/OneWire-DE&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://milesburton.com/Main_Page?title=Dallas_Temperature_Control_Library&#34;&gt;http://milesburton.com/Main_Page?title=Dallas_Temperature_Control_Library&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.reichelt.de/?ARTICLE=7207&#34;&gt;http://www.reichelt.de/?ARTICLE=7207&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;http://www.reichelt.de/?ARTICLE=58174&#34;&gt;http://www.reichelt.de/?ARTICLE=58174&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</content>
  </entry>
  <entry xml:base="https://mark-asbach.de/blog/feeds/all.atom.xml">
    <title type="text">Carbon footprint and veganism</title>
    <id>/blog/page/7/carbon-footprint-and-veganism/</id>
    <updated>2017-04-12T19:04:01Z</updated>
    <published>2017-04-12T17:38:52Z</published>
    <link href="/blog/page/7/carbon-footprint-and-veganism/" />
    <author>
      <name>Mark</name>
    </author>
    <content type="html">&lt;p&gt;A while ago, a friend posted a &lt;a href=&#34;http://www.spiegel.de/video/ernaehrung-dr-phil-fleisch-konsum-erderwaermung-video-1743621.html&#34;&gt;video from Spiegel Online&lt;/a&gt;, in which the author claims that 18% of global greenhouse gas emissions were due to meat production, which would be more than the amount produced by transportation. He literally claims that &#34;someone who eats less meat helps the planet more than someone who leaves out the next plane trip&#34;.&lt;/p&gt;
&lt;p&gt;My friend also posted a graphic (&lt;a href=&#34;https://static1.squarespace.com/static/544dc5a1e4b07e8995e3effa/t/54e4d927e4b0aaf066abfcf0/1424283943008/Cowspiracy-Infographic-Metric.png&#34;&gt;Cowspiracy&lt;/a&gt;) that claims that &#34;a plant-based diet cuts your carbon footprint by 50%&#34; and that 51% of global greenhouse gas emissions are &#34;due to livestock and their byproducts&#34;.&lt;/p&gt;
&lt;p&gt;Since I&#39;m concerned with a sustainable lifestyle, but also love to eat meat and drink milk, I asked myself, if these numbers could be right and if I could and should change my eating habits. Based on a great TED talk that introduced the idea of the &#34;weekday vegetarian&#34;, I have reduced my meat consumption years ago. A rough estimation lets me assume that I consume about 500 to 800 grams of meat (including fish) per week, so I start from a medium level already.&lt;/p&gt;
&lt;h2&gt;TL;DR&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Spiegel Online gives numbers that a higher than the data I could find, but still in a credible range. The comparison to transportation is wrong, though.&lt;/li&gt;
&lt;li&gt;The Cowspiracy poster is total nonsense. Probably, statistical data from other sources has been mixed up here, as a plant-based diet roughly cuts your carbon footprint &lt;em&gt;for food&lt;/em&gt; to 50%, but this makes only about 7 to 10% of your total carbon footprint.&lt;/li&gt;
&lt;li&gt;What really surprised me was, that &#34;other consumption&#34; is actually the biggest fraction of a German personal carbon footprint. It seems to be much easier to reduce your personal emissions, by buying less stuff like clothes, electronics, furniture, etc. than by optimizations in the fields of food, energy, or transportation.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2&gt;Data from Umwelt-Bundesamt&lt;/h2&gt;
&lt;p&gt;The first source of information that I checked was the &lt;a href=&#34;uba.co2-rechner.de&#34;&gt;carbon footprint calculator of the German federal office for ecology (Umwelt-Bundesamt)&lt;/a&gt;. It walks you through several aspects of your life that result in carbon emissions. Based on their data, the average German produces about 11 tons of carbon dioxide per year - and my personal footprint is about 7 tons. Food actually accounts for 1.75 tons for an average person and 1.05 tons for a vegan. So 0.7 tons per capita can be accounted to meat production, which is less then 10%. So, at least for Germany, meat production accounts for a lot less than 18% of our greenhouse emissions, as far as the Umwelt-Bundesamt goes.&lt;/p&gt;
&lt;p&gt;Compared with 1 hour of domestic flight (0.17 tons CO2) or 1 hour of intercontinental flight (0.24 tons), leaving out the next flight will definitely have a higher impact than eating less meat. Coincidentally, my friend who posted this video on Facebook is currently travelling Asia. According to the Umwelt-Bundesamt, a oneway flight from Cologne to Bangkok produces 2.78 tons of CO2 per person, equivalent to four average Germans that would go totally vegan.&lt;/p&gt;
&lt;p&gt;Now, it usually makes sense to double-check data with different sources. So, I first checked the &lt;a href=&#34;http://www.umweltbundesamt.de/themen/klima-energie/treibhausgas-emissionen&#34;&gt;general data on greenhouse gas emissions from the Umwelt-Bundesamt&lt;/a&gt;. There, I find data that accounts 7% of all greenhouse gas emissions in Germany to agriculture, which is even less than my calculation above. &lt;/p&gt;
&lt;h2&gt;Data from Bayrische Landesanstalt fuer Landwirtschaft&lt;/h2&gt;
&lt;p&gt;The problem here is how to count greenhouse gas emissions. Typically, laughing gas (N2O) and methane (CH4) are expressed in CO2 equivalents and summed up and both gases have a much higher impact per molecule than CO2, so slight differences in the N2O or CH4 calculations can have a high impact and these are specifically found in agriculture, adding up to about 60% of the carbon equivalent greenhouse emissions of agriculture according to the Bavarian ministry for agriculture (LWL). A &lt;a href=&#34;http://www.lfl.bayern.de/mam/cms07/schwerpunkte/dateien/emission_von_treibhausgasen_in_der_landwirtschaft.pdf&#34;&gt;paper found on their website&lt;/a&gt; assumes that 13% of all greenhouse gas emissions in Germany are produced by agriculture. This is twice as much as the data from Umwelt-Bundesamt, but still much less than the numbers claimed by the Spiegel Online or the Cowspiracy poster. Furthermore, the paper states that, including animal feed, livestock accounts for two thirds of the carbon equivalent produced by agriculture. This is again a deviation from the Umwelt-Bundesamt data where meat consumption makes up less than 50% of a personal carbon footprint, but still in the same order.&lt;/p&gt;
&lt;h2&gt;Data from World Wildlife Foundation (WWF)&lt;/h2&gt;
&lt;p&gt;Since one could argue that German public institutions might be politically influenced, I also consulted the data provided by the World Wildlife Foundation that runs a campaign for eating less meat. Their website actually carries a lot of information and very detailed and well researched papers with lots of literature references and meta-studies. So, if you are interested in details and in a neutral source, visit &lt;a href=&#34;http://www.wwf.de/themen-projekte/landwirtschaft/ernaehrung-konsum/fleisch/fleisch-frisst-land/&#34;&gt;their website on meat consumption&lt;/a&gt;. The data found in the &lt;a href=&#34;http://www.wwf.de/fileadmin/fm-wwf/Publikationen-PDF/Klimawandel_auf_dem_Teller.pdf&#34;&gt;relevant PDF&lt;/a&gt; is more or less the data used by the German ministries. Instead of &#34;two thirds&#34;, the WWF writes that meat accounts for &#34;nearly 70%&#34; of the greenhouse emissions of agriculture, though, which sounds like more :-)&lt;/p&gt;
&lt;h2&gt;How to improve&lt;/h2&gt;
&lt;p&gt;The big question is now: what should I do to improve my carbon footprint? The calculator from the Umwelt-Bundesamt was very enlightening here. It splits the your carbon emissions up into these categories (numbers in parentheses are German averages):&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Heating (1.75 tons)&lt;/li&gt;
&lt;li&gt;Electricity (0.79 tons)&lt;/li&gt;
&lt;li&gt;Mobility (2.19 tons)&lt;/li&gt;
&lt;li&gt;Food (1.75 tons)&lt;/li&gt;
&lt;li&gt;Other consumption (4.42 tons)&lt;/li&gt;
&lt;li&gt;Public emissions (0.73 tons)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Instead of concentrating on things like a new fridge or vegetarianism as most important, it is clearly the &#34;other consumption&#34; category that is easiest to influence. As I really do not spend much on consumption (my bike is 20 years old, I don&#39;t have a car, my furniture is old, I just repaired some pairs of jeans ;-)), my personal footprint is already much lower than average. Also, I live in a very modern house, reducing my expenditure on heating a lot and I don&#39;t have a car, so my numbers for mobility are also lower than average. This year, though, I just travelled to Cyprus, which makes a huge difference to the last years where we mainly travelled by train and bike through Germany.&lt;/p&gt;
&lt;p&gt;So, what I&#39;ll keep in mind is to not travel too much / too far and to keep consuming less. I&#39;m happy with my rate of meat consumption, though ;-)&lt;/p&gt;</content>
  </entry>
  <entry xml:base="https://mark-asbach.de/blog/feeds/all.atom.xml">
    <title type="text">Fixing a fridge WITHOUT using an Arduino :-)</title>
    <id>/blog/page/6/fixing-a-fridge-without-using-an-arduino/</id>
    <updated>2017-02-01T22:51:50Z</updated>
    <published>2017-01-29T15:04:21Z</published>
    <link href="/blog/page/6/fixing-a-fridge-without-using-an-arduino/" />
    <author>
      <name>Mark</name>
    </author>
    <content type="html">&lt;p&gt;If your fridge breaks, chances are that you don&#39;t have an Arduino, a Dallas temperature sensor, and relays lying around. At least I didn&#39;t when mine broke and unfortunately, it was a very hot summer day when it did. So, here&#39;s the most simple fix:&lt;/p&gt;
&lt;p&gt;Use a timer switch.&lt;/p&gt;
&lt;p&gt;Many people might have one already to switch on Christmas lighting in the afternoon and switch it off in the mornings. These timers work quite well to control your fridge as well. As explained in the blog post on using an Arduino to control your fridge, the basic operation of a fridge is to switch on cooling for half an hour or so and then switch it off for the next hour. The proportion of &#34;on&#34; time versus &#34;off&#34; time gives to the actual cooling rate. It turns out that once you found out a good proportion, you won&#39;t have to adjust it for weeks, unless the weather really changes (i.e., temperatures drop or rise a lot).&lt;/p&gt;
&lt;p&gt;At first, I thought, a digital timer would be great, because I found a cheap model that let me set up to 20 on/off per day exact to the minute. However, it showed that this fine granularity is not needed. Instead, a analogue timer is much easier to adjust, although it might only allow to set on/off for 20 minutes slots.&lt;/p&gt;
&lt;p&gt;There are only few things to take care off:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Once you switched the fridge off, &lt;em&gt;always&lt;/em&gt; keep it off for more than 15 minutes. 
    This is to let the pressures readjust so that the compressor can start more easily.
    In case you switch the compressor on after a too short period, it might not be able
    to start and block (and in worst case get damaged). So, make &lt;em&gt;off&lt;/em&gt; time slots longer
    than 15 minutes - &lt;em&gt;always&lt;/em&gt;.&lt;/li&gt;
&lt;li&gt;Once you switched the fridge on, let it run for more than 10 minutes. The first minutes
    will not show any cooling effect at all, as the compressor first needs to build up
    pressure. So, make &lt;em&gt;on&lt;/em&gt; time slots longer than 10 minutes ;-)&lt;/li&gt;
&lt;li&gt;The physical system has a large time delay: First, the compressor needs to work some
    time until the cooling parts inside the fridge really get cool. Then, slowly, air will
    cool down and convection starts, letting the cold air sink to the bottom of the fridge
    and bringing warmer air up to the cooling elements. But it will take even more time for
    the cold air to cool the actual food that you stored in your fridge, in turn heating
    up the air again, making it travel upwards to the cooling elements and so on. As a
    result, you will notice, that after you start the compressor, it will take about 10 to
    15 minutes where the fridge only gets warmer, until finally, your temperature sensor
    &#39;sees&#39; that there is any effect. After a couple of minutes, the decrease in 
    temperature will reach a steady rate. Then, after you stopped the compressor, 
    temperatures will keep decreasing for a further 10 minutes or so, as the convection
    process is still functional as long as the cooling parts are cooler than the air inside
    the fridge.&lt;/li&gt;
&lt;li&gt;Similar physics apply when you open and close the fridge door: This will rapidly 
    increase the temperature inside because you swap cold air with warm air. However, even
    if the compressor is not switched on, convection and heat dissipation from air to 
    stored (cold) food will let the temperature gradually fall again. Of course, storing
    warm food will do the opposite: it will let the temperature rise slowly, because the
    air heats up.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Sounds complicated but in practice it&#39;s pretty simple. First, put on the compressor constantly, until your (recently broken) fridge reaches the target temperature. Then install the timer and set it to 50 % on 50 % off. This could be one hour on, one hour off, one hour on, ..., and see where this gets you. We found that waiting for half a day gives you some idea on which direction you should take: more cooling or less. After three days, we had a fridge that worked pretty well, while I was waiting for the Arduino to arrive :-)&lt;/p&gt;</content>
  </entry>
  <entry xml:base="https://mark-asbach.de/blog/feeds/all.atom.xml">
    <title type="text">Fixing a fridge using an Arduino microcontroller</title>
    <id>/blog/page/3/fixing-a-fridge-using-an-arduino-microcontroller/</id>
    <updated>2024-12-28T19:56:54Z</updated>
    <published>2017-01-29T13:47:51Z</published>
    <link href="/blog/page/3/fixing-a-fridge-using-an-arduino-microcontroller/" />
    <author>
      <name>Mark</name>
    </author>
    <content type="html">&lt;p&gt;Our fridge broke during the summer of 2015, more or less on the hottest day. It had only been five years old and we had bought it to be eco-friendly but affordable, so it has an A+ rating (in 2010&#39;s standards, more on this below). &lt;/p&gt;
&lt;p&gt;It turns out that a typical cause for this is a broken thermostat and in fact it was in our case. The replacement thermostat is a 30 EUR to 40 EUR mechanical part that can be easily found on eBay. It looks like this: &lt;a href=&#34;https://ebay.de/itm/171288968757&#34;&gt;https://ebay.de/itm/171288968757&lt;/a&gt;. Unfortunately, in our fridge, the capillary (the metal wire) is installed behind the insulation. To replace the part, one would have to disassemble the whole fridge, dismantling it first. Commercially, it makes no sense to have it repaired by a technician as this would be far too expensive.&lt;/p&gt;
&lt;p&gt;But we didn&#39;t want to throw out the whole fridge just because of a single broken part. So I figured, it would be the ideal reason to start tinkering with an Arduino microcontroller. After some planning, I bought parts that cost about 40 EUR in total, the most expensive part being the Arduino itself, costing 20 EUR. A fully calibrated digital temperature sensor is about 1 EUR to 2 EUR, a mechanical relays fitted for Arduino is 5 EUR to 10 EUR, and you will need at least a pull-up resistor and some wires (&amp;lt; 1 EUR). There is a lot of source code out there already and documentation on temperature control projects. The actual work was about one day, including understanding Arduino, but of course since this is fun, I started tweaking and optimizing it. I&#39;ve put some documentation online on the &lt;a href=&#34;https://playground.arduino.cc/Projects/FridgeController/&#34;&gt;Arduino Playground Wiki&lt;/a&gt;. It needs some updates, plus I will put the source code online somewhere in the next days.&lt;/p&gt;
&lt;p&gt;I had fixed it in 2015 originally, but now it runs for more than a year. After a couple of months, the original relays broke, so I had to solder in a new one, and doing this, I moved the relays into the housing of the original thermostat, so it looks a little more tidy.&lt;/p&gt;
&lt;p&gt;Regarding the ecology, I am not sure if the fridge is really energy saving one, now that it is nearly seven years old. It may have never been as eco-friendly as stated by the manufacturer, which you can see from the following calculation: &lt;/p&gt;
&lt;p&gt;The model is a &lt;a href=&#34;http://docs.whirlpool.eu/_doc/501943701009GB.pdf&#34;&gt;Bauknecht KGA 325 Pure/1 Optima WS&lt;/a&gt; and it is supposed to consume 0.74 kWh per 24 hours or 270 kWh per year, which gave it its A+ rating. The rating plate lists 0.7 A at 250 V, which lets me assume that the compressor actually would consume 4.2 kWh a day, if run continuously. In other words: the manufacturer assumes that the compressor is on about 16 percent of the time. During summer, it seems to run more like 60 % to 80 % of the time, now in winter, I&#39;d say it&#39;s 40 % to 50 %. The room it is standing in is heated to 19.5 C and I&#39;ve programmed it to keep about 8 C at the thermostat. This seems to be a rather typical setting, so unless I&#39;m missing something here, the energy rating itself is far from reality.&lt;/p&gt;</content>
  </entry>
  <entry xml:base="https://mark-asbach.de/blog/feeds/all.atom.xml">
    <title type="text">Brexit</title>
    <id>/blog/page/2/brexit/</id>
    <updated>2017-01-29T14:30:47Z</updated>
    <published>2017-01-11T20:49:19Z</published>
    <link href="/blog/page/2/brexit/" />
    <author>
      <name>Mark</name>
    </author>
    <content type="html">&lt;p&gt;Should a personal blog start with politics? Maybe :-) The last year has been very turbulent regarding international politics. Be it Middle East wars, US elections, or the demise of democracy in Poland - it&#39;s been bad news all around, most of which was unexpected, at least to me.&lt;/p&gt;
&lt;p&gt;The only thing that could have been anticipated, though, was the Brexit.&lt;/p&gt;
&lt;p&gt;To be honest, I really didn&#39;t think this would happen. But in fact, during spring, I jokingly told several friends, that a Brexit vote might be &#34;funny and good for Europe.&#34; &lt;/p&gt;
&lt;p&gt;Everyone seems to complain about European bureaucracy, where in fact it makes a lot of things easier: No pressing need to research trustworthy product quality labels as a comparably high standard is already defined by EU law. Compare prices across countries when doing online shopping: because of standards for how to display taxes and because of minimum standards for customer protection, it&#39;s easy to do. Many countries even have the Euro that makes EU-international shopping easy (this one does not apply to the British though, as they have never experienced the full benefits but shared a lot of the undesired consequences). &lt;/p&gt;
&lt;p&gt;But as long as no country ever left the EU, no-one would personally experience the actual benefits of being a long-time part of the union. I imagined that a Brexit would make the perfect example. &lt;/p&gt;
&lt;p&gt;Travelling Europe, I&#39;ve learned to love people and places and wherever I went, I found things that where better than at home, new ideas I could learn from, interesting view points that I didn&#39;t see before. I can say that I really like globalization for these insights. And Britain is a good example for this: politeness, openminded and friendly people, humour, and a lack of &lt;em&gt;Besserwisserei&lt;/em&gt; is what I found. If we could make Europe a little more British in this regard, it would be beneficial to all. Now, especially as I expect a drastically negative outcome, how could I wish - even jokingly - that a Brexit ever happened? The simple answer is that I don&#39;t think there are many economies that would survive exiting the EU, but the UK would. Also, since the British have always appeared pragmatic and rational to me, I would expect a clear change of the public opinion and thus an early correction of the political path, independent of the political party in charge at the time.&lt;/p&gt;
&lt;p&gt;Until now, everything is theory, but the dice have been thrown. If all goes well, we will see enough impact on UK economic factors before any Brexit plans have really been put into operation to turn the sentiment. Ideally, we would even see a broad movement towards a real European Union, with enough momentum to correct its (undisputedly existing) flaws together.&lt;/p&gt;</content>
  </entry>
  <entry xml:base="https://mark-asbach.de/blog/feeds/all.atom.xml">
    <title type="text">New Year resolutions</title>
    <id>/blog/page/1/new-year-resolutions/</id>
    <updated>2025-06-17T21:04:58Z</updated>
    <published>2017-01-10T23:08:53Z</published>
    <link href="/blog/page/1/new-year-resolutions/" />
    <author>
      <name>Mark</name>
    </author>
    <content type="html">&lt;p&gt;It might look like a New Year resolution, that I finally started this blog. However, it&#39;s merely a coincidence: over Christmas, I&#39;ve found time to get some projects done (like fixing the fridge using an Arduino - more on that later), which now makes this blog the next entry on my to do list.&lt;/p&gt;
&lt;p&gt;So, Happy New Year, little blog, let&#39;s get started :-)&lt;/p&gt;</content>
  </entry>
</feed>
