<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>cloudFree &amp;mdash; julian</title>
    <link>https://wrily.foad.me.uk/tag:cloudFree</link>
    <description>FOSS dev, self-hosting fan, Matrix, degoogling, small tech, indie tech, friendly tech for families and schools. Let&#39;s own our own identity &amp; data.</description>
    <pubDate>Fri, 01 May 2026 07:17:11 +0000</pubDate>
    <item>
      <title>Fun with PineTime Smart Watch</title>
      <link>https://wrily.foad.me.uk/fun-with-pinetime-smart-watch</link>
      <description>&lt;![CDATA[As I wrote before, My smart watch is open source. Awesome!&#xA;&#xA;PineTime-watch-1.png&#xA;&#xA;Let&#39;s make this fun -- for children in particular -- and show how we can bend the device to our will because FOSS means it&#39;s truly ours, fully under our control.&#xA;!--more--&#xA;&#xA;This article started from my musing about this topic in the PineTime matrix discussion room.&#xA;&#xA;I&#39;m interested in teaching children about &#34;free software&#34; and having full control of one&#39;s own devices. Seems like programming your own digital watch would be an excellent way to make this topic &#34;touchable&#34;. This is an encouragement to any makers and experimenters to do more fun stuff, and get this into the hands of children and technology teachers.&#xA;&#xA;As a programmer I can imagine all sports of technical ways to do so, and I&#39;ve read about the current state of development (how things like downloadable modules would help) -- that side I understand quite well. Where I&#39;m lacking is the social kinds of ideas -- what&#39;s been tried, who&#39;s set up a &#34;watch makers kids club&#34;, etc. Anyone heard of anyone using PineTime or similar projects with children?&#xA;&#xA;What&#39;s on my mind is, I am wearing this watch because I want to show people how great is free software and owning control of one&#39;s devices. But when they (kids or adults) look, all they see is another watch, they can&#39;t see it&#39;s programmable and Open. So how can I show them? I half seriously want it to be a bright colour and to flash out the words &#34;MY OWNER PROGRAMMED ME&#34; when I wave my arm around. Or something :-)&#xA;&#xA;I want my PineTime to boldly proclaim &#34;I&#39;m Freedom Software in Freedom Hardware&#34;.&#xA;&#xA;Same for my phone: I want people to see it&#39;s different from mainstream and ask me why. I&#39;ve actually had a go at designing a sticker for my phone. Haven&#39;t got it sticky-back printed but have put its image on my lock screen. Hmm, I should print that as a T-shirt :-)&#xA;&#xA;this-watch-is-mine-1.png&#xA;&#xA;The older I get, the more it bothers me that no-one&#39;s aware of the existence of tech where users are in control (~FOSS). The more I feel the need to shout it out... in a shy person&#39;s way. Glad to see PineTime got to FOSDEM this year. I wasn&#39;t there. I&#39;ll watch the recording some time soon. (on FOSDEM.org | on my Trax PeerTube)&#xA;&#xA;What Could Children Do With It?&#xA;&#xA;For the youngest, say 4yo, it could be drawing your own watch background picture (on any sketching app on a laptop) and get it installed on the watch. Then, if there&#39;s any way to cross-compile from a beginner language like Scratch then program or reprogram a simple app like alarm/timer, with plenty of flashing the screen and buzzing.&#xA;&#xA;Then for 8 yo and up, program in some accessible textual language (e.g. Hedy/Python if cross-compilation is possible; I haven&#39;t enquired how feasible that is).&#xA;&#xA;&#39;neroburner&#39; says: &#34;There is a micro python based firmware for the PineTime. That could be a great starting point for teaching and trying out stuff.&#34; Thank you for that hint. That&#39;s Wasp-OS and has more apps than Infinitime and is easier to customise: https://wasp-os.readthedocs.io/en/latest/apps.html&#xA;&#xA;In fact, for any age, getting a bold visual customisation like watch face would probably be the best starting point. (I have read the existing issues about how people would like to make that easier to do technically. That&#39;s good stuff but not a precondition: we can work around that by scripting the whole build process.)&#xA;&#xA;But like I said, we can have all these cool ideas software-wise of how we could enable kids to participate, but it&#39;s not really going to happen unless we link up with some group of people who do stuff like this. Coding-for-kids clubs, or maker-spaces (hack spaces), or something.&#xA;(&#34;We&#34; = whoever&#39;s interested. I&#39;m not saying any of the existing pine time community should necessarily be interested in this direction, though some might. I&#39;m just asking around to discover what might be out there.)&#xA;&#xA;Customisation&#xA;&#xA;First kinds of customisation, for someone new to it:&#xA;&#xA;graphical -- add a &#34;splash screen&#34;, as a personal image and/or a slogan to remind us and our friends this is FOSS; add a background image under the watch face; tweak UI colours, layout, style&#xA;watch faces -- start with choosing from existing watch faces; then make one for learning to tell the time, perhaps having all the hours clearly numbered; make one as a bitmap image, another by programming vector graphics; make a quick switch button on the watch screen that cycles between the owner&#39;s favourite watch faces&#xA;apps -- customise the list of apps (easy but unexciting); edit an existing app to make a new app (much harder until we make an easy framework for it)&#xA;&#xA;In principle it&#39;s possible to customise at a deeper level, such as making different Bluetooth connections (to use an external keyboard, talk directly to another PineTime, ...) but that needs an expert.&#xA;&#xA;App Ideas&#xA;&#xA;Remote control / Ping&#xA;&#xA;button to ping the host phone -- Wasp-OS Phone Finder app&#xA;button to ping a predefined other phone (via host phone and SMS/KDEConnect/FMD?) -- &#39;page big sister&#39;&#xA;button to turn on the light/kettle/etc. (via Android device controls, Home Assistant, etc.)&#xA;&#xA;Messages&#xA;&#xA;Sending messages to one another is great fun! Local first: never mind global tech companies, let&#39;s message directly.&#xA;&#xA;phone-to-watch messages (Gadgetbridge has this as a &#39;debug&#39; function)&#xA;on-screen keyboard (9-key multi-tap?) -- there is add note taking app with t9 keyboard #1466 -- wow! I hadn&#39;t guessed predictive text might be possible. This is interesting as a base for any text typing/sending app.&#xA;bluetooth keyboard (note: someone said the hardware can make 2 connections (e.g. to host phone and keyboard) but firmware for that hasn&#39;t been written)&#xA;watch-to-phone message&#xA;2-way bluetooth texting between 2 PineTimes&#xA;&#xA;Watch/Clock&#xA;&#xA;Fun with the watch/clock function.&#xA;&#xA;I watched a child play with the alarm setting screen, adjusting the hours and minutes to match the real clock on the wall. The child described it as a digital watch that doesn&#39;t tell the time automatically but has to be set manually, like a baby&#39;s toy clock. They thought it was fun. So let&#39;s make it more fun...&#xA;&#xA;a manually adjustable clock (like setting the alarm)&#xA;display analogue &amp; digital together&#xA;speed control: fast, slow, stop, backwards&#xA;MineTest sync: 20x speed, sync with MineTest game time, animated day/night graphics&#xA;&#xA;For inspiration look at J. Barrett&#39;s Clock Demonstrator&#xA;&#xA;These modes are all meant to be temporary: you can always switch back to the real time.&#xA;&#xA;Colour Images&#xA;&#xA;We have a fairly hi-res colour screen, yet I haven&#39;t seen any demo of showing a photo or colour graphic background or anything. (Even the &#34;paint&#34; program seems to only paint white on black. Am I missing something? EDIT: A long-press changes colour.)&#xA;&#xA;Photo notifications from a messaging app.&#xA;&#xA;Photo snap from phone camera, straight to watch screen, &#34;save&#34; it there, just the most recent one. Companion app could help crop to a small square and maybe enhance contrast and colour etc for a more &#34;fun&#34; display. On the watch, display just a static fixed resolution image, no zoom etc.&#xA;&#xA;Mini gallery. There is obviously not enough memory for much of a photo gallery, but a few could fit in the 4MB storage. There is Wasp-OS Gallery app and Infinitime Gallery app #1384.&#xA;&#xA;Phone gallery viewer. As we swipe left and right, a module in Gadgetbridge transcodes our phone gallery&#39;s images to PT optimised format and sends them down the BT link, on demand. Radio bandwidth might limit phone-connected gallery browsing, but I don&#39;t know, it might be enough.&#xA;&#xA;Calculator&#xA;&#xA;I remember spending hours just tapping away on my calculator-watch with its sixteen tiny mechanical buttons when I was young... and it wasn&#39;t even programmable, it just had calculator and timer and a tiny game and that&#39;s about it. Oh, but if it had been programmable...!&#xA;&#xA;There are two calculator apps proposed for Infinitime: Calculator App #375, and Simple calculator #1483, and Wasp-OS includes a simple calculator app.&#xA;&#xA;---&#xA;&#xA;PineTime discussion room on Matrix: #pinetime:matrix.org&#xA;&#xA;This article is part of my Open Source Gadgets series.&#xA;&#xA;#fossGadgets #cloudFree #degoogled #awesomeFOSS #openHardware&#xA;&#xA;!--more--&#xD;&#xA;----&#xD;&#xA;Follow/Feedback/Contact: RSS feed · Fedi follow this blog: @julian&amp;ZeroWidthSpace;@wrily.foad.me.uk · matrix me · Fedi follow me · email me · julian.foad.me.uk&#xD;&#xA;Donate: via Liberapay&#xD;&#xA;All posts &amp;copy; Julian Foad and licensed CC-BY-ND except quotes, translations, or where stated otherwise&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>As I wrote before, <a href="https://wrily.foad.me.uk/pinetime-smart-watch-awesome-open-source">My smart watch is open source. Awesome!</a></p>

<p><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/PineTime-watch-1.png" alt="PineTime-watch-1.png"></p>

<p>Let&#39;s make this fun — for children in particular — and show how we can bend the device to our will because FOSS means it&#39;s truly ours, fully under our control.
</p>

<p>This article started from my musing about this topic in the PineTime matrix discussion room.</p>

<p>I&#39;m interested in teaching children about “free software” and having full control of one&#39;s own devices. Seems like programming your own digital watch would be an excellent way to make this topic “touchable”. This is an encouragement to any makers and experimenters to do more fun stuff, and get this into the hands of children and technology teachers.</p>

<p>As a programmer I can imagine all sports of technical ways to do so, and I&#39;ve read about the current state of development (how things like downloadable modules would help) — that side I understand quite well. Where I&#39;m lacking is the social kinds of ideas — what&#39;s been tried, who&#39;s set up a “watch makers kids club”, etc. Anyone heard of anyone using PineTime or similar projects with children?</p>

<p>What&#39;s on my mind is, I am wearing this watch because I want to show people how great is free software and owning control of one&#39;s devices. But when they (kids or adults) look, all they see is another watch, they can&#39;t see it&#39;s programmable and Open. So how can I show them? I half seriously want it to be a bright colour and to flash out the words “MY OWNER PROGRAMMED ME” when I wave my arm around. Or something :–)</p>

<p>I want my PineTime to boldly proclaim “I&#39;m Freedom Software in Freedom Hardware”.</p>

<p>Same for my phone: I want people to see it&#39;s different from mainstream and ask me why. I&#39;ve actually had a go at designing a sticker for my phone. Haven&#39;t got it sticky-back printed but have put its image <a href="https://wrily.foad.me.uk/why-i-customised-my-lock-screen">on my lock screen</a>. Hmm, I should print that as a T-shirt :–)</p>

<p><img src="https://blog.foad.me.uk/wp-content/uploads/2024/02/this-watch-is-mine-1.png" alt="this-watch-is-mine-1.png"></p>

<p>The older I get, the more it bothers me that no-one&#39;s aware of the existence of tech where users are in control (~FOSS). The more I feel the need to shout it out... in a shy person&#39;s way. Glad to see PineTime got to FOSDEM this year. I wasn&#39;t there. I&#39;ll watch the recording some time soon. (<a href="https://fosdem.org/2024/schedule/event/fosdem-2024-3319-pinetime-a-programmer-s-toy-and-beyond/">on FOSDEM.org</a> | <a href="https://tube.trax.im/w/ihtQMFzwjJkvkgds9RXpgs">on my Trax PeerTube</a>)</p>

<h2 id="what-could-children-do-with-it" id="what-could-children-do-with-it">What Could Children Do With It?</h2>

<p>For the youngest, say 4yo, it could be drawing your own watch background picture (on any sketching app on a laptop) and get it installed on the watch. Then, if there&#39;s any way to cross-compile from a beginner language like Scratch then program or reprogram a simple app like alarm/timer, with plenty of flashing the screen and buzzing.</p>

<p>Then for 8 yo and up, program in some accessible textual language (e.g. Hedy/Python if cross-compilation is possible; I haven&#39;t enquired how feasible that is).</p>

<p>&#39;neroburner&#39; says: “There is a micro python based firmware for the PineTime. That could be a great starting point for teaching and trying out stuff.” Thank you for that hint. That&#39;s Wasp-OS and has more apps than Infinitime and is easier to customise: <a href="https://wasp-os.readthedocs.io/en/latest/apps.html">https://wasp-os.readthedocs.io/en/latest/apps.html</a></p>

<p>In fact, for any age, getting a bold visual customisation like watch face would probably be the best starting point. (I have read the existing issues about how people would like to make that easier to do technically. That&#39;s good stuff but not a precondition: we can work around that by scripting the whole build process.)</p>

<p>But like I said, we can have all these cool ideas software-wise of how we could enable kids to participate, but it&#39;s not really going to happen unless we link up with some group of people who do stuff like this. Coding-for-kids clubs, or maker-spaces (hack spaces), or something.
(“We” = whoever&#39;s interested. I&#39;m not saying any of the existing pine time community should necessarily be interested in this direction, though some might. I&#39;m just asking around to discover what might be out there.)</p>

<h2 id="customisation" id="customisation">Customisation</h2>

<p>First kinds of customisation, for someone new to it:</p>
<ul><li>graphical — add a “splash screen”, as a personal image and/or a slogan to remind us and our friends this is FOSS; add a background image under the watch face; tweak UI colours, layout, style</li>
<li>watch faces — start with choosing from existing watch faces; then make one for learning to tell the time, perhaps having all the hours clearly numbered; make one as a bitmap image, another by programming vector graphics; make a quick switch button on the watch screen that cycles between the owner&#39;s favourite watch faces</li>
<li>apps — customise the list of apps (easy but unexciting); edit an existing app to make a new app (much harder until we make an easy framework for it)</li></ul>

<p>In principle it&#39;s possible to customise at a deeper level, such as making different Bluetooth connections (to use an external keyboard, talk directly to another PineTime, ...) but that needs an expert.</p>

<h1 id="app-ideas" id="app-ideas">App Ideas</h1>

<h2 id="remote-control-ping" id="remote-control-ping">Remote control / Ping</h2>
<ul><li>button to ping the host phone — <a href="https://wasp-os.readthedocs.io/en/latest/apps.html#phone-finder-application">Wasp-OS Phone Finder app</a></li>
<li>button to ping a predefined other phone (via host phone and SMS/KDEConnect/FMD?) — &#39;page big sister&#39;</li>
<li>button to turn on the light/kettle/etc. (via Android device controls, Home Assistant, etc.)</li></ul>

<h2 id="messages" id="messages">Messages</h2>

<p>Sending messages to one another is great fun! Local first: never mind global tech companies, let&#39;s message directly.</p>
<ul><li>phone-to-watch messages (Gadgetbridge has this as a &#39;debug&#39; function)</li>
<li>on-screen keyboard (9-key multi-tap?) — there is <a href="https://github.com/InfiniTimeOrg/InfiniTime/pull/1466">add note taking app with t9 keyboard #1466</a> — wow! I hadn&#39;t guessed predictive text might be possible. This is interesting as a base for any text typing/sending app.</li>
<li>bluetooth keyboard (note: someone said the hardware can make 2 connections (e.g. to host phone and keyboard) but firmware for that hasn&#39;t been written)</li>
<li>watch-to-phone message</li>
<li>2-way bluetooth texting between 2 PineTimes</li></ul>

<h2 id="watch-clock" id="watch-clock">Watch/Clock</h2>

<p>Fun with the watch/clock function.</p>

<p>I watched a child play with the alarm setting screen, adjusting the hours and minutes to match the real clock on the wall. The child described it as a digital watch that doesn&#39;t tell the time automatically but has to be set manually, like a baby&#39;s toy clock. They thought it was fun. So let&#39;s make it more fun...</p>
<ul><li>a manually adjustable clock (like setting the alarm)</li>
<li>display analogue &amp; digital together</li>
<li>speed control: fast, slow, stop, backwards</li>
<li>MineTest sync: 20x speed, sync with MineTest game time, animated day/night graphics</li></ul>

<p>For inspiration look at J. Barrett&#39;s <a href="https://ictgames.com/mobilePage/clock/">Clock Demonstrator</a></p>

<p>These modes are all meant to be temporary: you can always switch back to the real time.</p>

<h2 id="colour-images" id="colour-images">Colour Images</h2>

<p>We have a fairly hi-res colour screen, yet I haven&#39;t seen any demo of showing a photo or colour graphic background or anything. (Even the “paint” program seems to only paint white on black. Am I missing something? <em>EDIT:</em> A long-press changes colour.)</p>
<ul><li><p>Photo notifications from a messaging app.</p></li>

<li><p>Photo snap from phone camera, straight to watch screen, “save” it there, just the most recent one. Companion app could help crop to a small square and maybe enhance contrast and colour etc for a more “fun” display. On the watch, display just a static fixed resolution image, no zoom etc.</p></li>

<li><p>Mini gallery. There is obviously not enough memory for much of a photo gallery, but a few could fit in the 4MB storage. There is <a href="https://wasp-os.readthedocs.io/en/latest/apps.html#image-gallery">Wasp-OS Gallery app</a> and Infinitime <a href="https://github.com/InfiniTimeOrg/InfiniTime/pull/1384">Gallery app #1384</a>.</p></li>

<li><p>Phone gallery viewer. As we swipe left and right, a module in Gadgetbridge transcodes our phone gallery&#39;s images to PT optimised format and sends them down the BT link, on demand. Radio bandwidth might limit phone-connected gallery browsing, but I don&#39;t know, it might be enough.</p></li></ul>

<h2 id="calculator" id="calculator">Calculator</h2>

<p>I remember spending hours just tapping away on my calculator-watch with its sixteen tiny mechanical buttons when I was young... and it wasn&#39;t even programmable, it just had calculator and timer and a tiny game and that&#39;s about it. Oh, but if it had been programmable...!</p>

<p>There are two calculator apps proposed for Infinitime: <a href="https://github.com/InfiniTimeOrg/InfiniTime/pull/375">Calculator App #375</a>, and <a href="https://github.com/InfiniTimeOrg/InfiniTime/pull/1483">Simple calculator #1483</a>, and Wasp-OS includes a simple <a href="https://wasp-os.readthedocs.io/en/latest/apps.html#calculator">calculator app</a>.</p>

<hr>
<ul><li>PineTime discussion room on Matrix: <a href="https://matrix.to/#/%23pinetime:matrix.org"><code>#pinetime:matrix.org</code></a></li></ul>

<p><em>This article is part of my <a href="https://wrily.foad.me.uk/what-to-give-tech-gadgets-that-respect-our-freedom" title="What to Give - Tech Gadgets that Respect Our Freedom">Open Source Gadgets series</a>.</em></p>

<p><a href="https://wrily.foad.me.uk/tag:fossGadgets" class="hashtag"><span>#</span><span class="p-category">fossGadgets</span></a> <a href="https://wrily.foad.me.uk/tag:cloudFree" class="hashtag"><span>#</span><span class="p-category">cloudFree</span></a> <a href="https://wrily.foad.me.uk/tag:degoogled" class="hashtag"><span>#</span><span class="p-category">degoogled</span></a> <a href="https://wrily.foad.me.uk/tag:awesomeFOSS" class="hashtag"><span>#</span><span class="p-category">awesomeFOSS</span></a> <a href="https://wrily.foad.me.uk/tag:openHardware" class="hashtag"><span>#</span><span class="p-category">openHardware</span></a></p>



<hr>

<p><em>Follow/Feedback/Contact:</em> <a href="https://wrily.foad.me.uk/feed/"><em>RSS feed</em></a> · <em>Fedi follow this blog: @julian​@wrily.foad.me.uk</em> · <a href="https://matrix.to/#/@julian:foad.me.uk" title="matrix Julian"><em>matrix me</em></a> · <a href="https://fed.foad.me.uk/%40julian%40fed.foad.me.uk" title="follow Julian"><em>Fedi follow me</em></a> · <a href="mailto:julian@foad.me.uk?subject=Wrily" title="email Julian"><em>email me</em></a> · <a href="https://julian.foad.me.uk/"><em>julian.foad.me.uk</em></a>
<em>Donate:</em> <a href="https://liberapay.com/julianfoad" title="Donate to Julian using Liberapay"><em>via Liberapay</em></a>
<em>All posts © Julian Foad and licensed <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC-BY-ND</a> except quotes, translations, or where stated otherwise</em></p>
]]></content:encoded>
      <guid>https://wrily.foad.me.uk/fun-with-pinetime-smart-watch</guid>
      <pubDate>Fri, 16 Feb 2024 15:38:48 +0000</pubDate>
    </item>
    <item>
      <title>Owning Our Own Data: Monitoring Our Smart Meters</title>
      <link>https://wrily.foad.me.uk/owning-our-own-data-monitoring-our-smart-meters</link>
      <description>&lt;![CDATA[We&#39;ll soon have smart electricity and gas meters. Let&#39;s monitor them locally through our home automation system, Home Assistant.&#xA;&#xA;!--more--&#xA;&#xA;Why?&#xA;&#xA;Warning: rant ahead.&#xA;&#xA;I believe in &#34;Own Our Own Data&#34;. Or, as the maker of one smart phone that doesn&#39;t own you, Murena puts it, &#34;My Data is My Data&#34;.&#xA;&#xA;What do I mean, why do I care?&#xA;&#xA;Companies monitor and record and control all the data they can about us. They treat our data as if it&#39;s theirs. They prefer it this way round. I feel that&#39;s wrong, hurtful in the long term. I want to take a stand in owning my own data as a principle. I want to change the norm, do it the other way round. It&#39;s my data first, and I will share my data with any Company I deal with by negotiation, under my control.&#xA;&#xA;The principle should be that, first and foremost, we record our own copy of our own data. From there, we should share it with each Company that has a legitimate interest in it. This sharing should be under our own terms and control. We should share the relevant parts of our data with each Company we deal with, as an obligation or a privilege to them depending on the relationship.&#xA;&#xA;What data? All kinds of data related to me: the photos I take, the list of books I borrow from my local library, my instant messages with friends, my gas and electricity usage.&#xA;&#xA;The companies I deal with are welcome to keep their own copy of data relevant to their service to me. What I do not accept is to be put in the position of Them holding the only copy of my data, and me having to beg them whenever I want to access my data.&#xA;&#xA;Current laws deem that Companies must surrender our data to us if we reasonably ask for it. While that&#39;s the theory, however, in practice I have tried this a few times and the process ranges from the tedious to the impossible.&#xA;&#xA;Protocol Theory: How Smart Meters Talk&#xA;&#xA;Let&#39;s understand a bit about how smart meters talk... to each other, to the utility companies, and to our home automation system.&#xA;&#xA;We&#39;re looking at SMETS2 meters, the current standard in the UK. These meters use two wireless interfaces, one within the home and another kind to communicate to the electricity companies. On the home area network (HAN) side, they use the Zigbee network protocol to connect the electricity meter with the battery powered gas meter and any in-home display units. Their wide area network (WAN) side connects to the UK&#39;s central smart metering hub, the &#34;DCC&#34;, and from there to the electricity and gas supply companies.&#xA;&#xA;The home owner is not usually allowed direct access to either of those two wireless network connections. It is my understanding that the energy supply company could give the home owner some sort of credentials (like a password) to access the meters over the Zigbee HAN, but that most companies won&#39;t.&#xA;&#xA;How to Connect it, in Practice?&#xA;&#xA;However, some companies have authority [1] to sell us an in-home-display (IHD) that connects to our HAN, and some of those devices, as well as being a display, are also a Consumer Access Device (CAD). The latter means they offer an additional method to connect our own equipment to access our data. So a third kind of network connection comes into the picture, from the CAD to our home automation system.&#xA;&#xA;UK company Hildebrand Glow makes the Display and CAD shown above, and presents the technical aspect of connecting it to a home automation system through WiFi and another protocol called MQTT, here: Glow — Local MQTT&#xA;&#xA;Hildebrand Glow is not the only company selling a Consumer Access Device, but I noticed they explicitly state a goal to support &#34;data enthusiasts&#34; [2] which I think aligns with Own-Our-Own-Data principles. That is a very strong signal to me that it is a company with which I share values, and which I would wish to support.&#xA;&#xA;Careful when buying one: my understanding is Hildebrand sets up the device with the credentials to connect to your particular meters before selling it. They state that you have to link an account on their system, using their &#34;Bright&#34; app, before buying it. If you were to buy a second-hand device, I don&#39;t know if or how it could be reconfigured to connect to your meters.&#xA;&#xA;So the system components in our home are:&#xA;&#xA;Smart meters (from energy supply company)&#xA;Consumer Access Device (Hildebrand Glow)&#xA;Home automation server (Home Assistant)&#xA;&#xA;For an introduction to Home Assistant, see my A Freedom-Respecting Smart Home.&#xA;&#xA;The MQTT server we need can be installed within Home Assistant. Let&#39;s assume that for simplicity. (&#34;Find Mosquitto Broker in the Add-on store, and install with default options&#34; says Speak to the Geek in the same article as referenced below.)&#xA;&#xA;The main step then is configuring the Home Assistant integration for Hildebrand Glow MQTT.&#xA;&#xA;Home Assistant integration for Hildebrand Glow MQTT&#xA;&#xA;There is not yet (December 2022) an &#34;official&#34; integration. There are some integration code repositories, some hints to be found in the Home Assistant forums, and some articles online.&#xA;&#xA;The most promising looking solution I have found is Home Assistant integration for local MQTT Hildebrand Glow IHD from Python Awesome, using the megakid/hahildebrandglowihdmqtt integration code repository.&#xA;&#xA;If we find any reason to look elsewhere, here are some alternatives. There is unlobito/ha-hildebrandglow (no longer maintained by its author) and some forks of it where others have made tweaks. &#34;Speak to the Geek&#34; wrote a detailed guide, Hildebrand Glow UPDATE! Local MQTT and Home Assistant. Matt Brunt blogged about his experience beginning with non-local access and then changing to local MQTT access, with low level code examples included, towards the end of his post Hildebrand Glow, Home Assistant and MQTT - Getting visibility into my energy data .&#xA;&#xA;How Well Does it Work?&#xA;&#xA;We&#39;ll have to wait and see! I have not set this up yet. I am still waiting for our smart meters to be installed. I am writing in December 2022. Installation is booked for January. I plan to revisit and update this article when I get there.&#xA;&#xA;----&#xA;&#xA;Further Information&#xA;&#xA;Good practical and technical information on the Smart Meter Data page on &#34;Smart Meters&#34; web site https://www.smartme.co.uk/&#xA;&#xA;Footnotes:&#xA;&#xA;1] &#34;We are able to join your Display and CAD to your SMETS meters without your supplier&#39;s involvement because we are a SECAS (Smart Energy Code Administrator) approved DCC Other User&#34; -- the [Glow product page&#xA;2] &#34;Our goal for glowmarkt is to support communities of interest starting with data enthusiasts and heat pump adopters.&#34; -- the [Glowmarkt About-Us page&#xA;&#xA;---&#xA;#cloudFree #fossGadgets #smartHome&#xA;&#xA;!--more--&#xD;&#xA;----&#xD;&#xA;Follow/Feedback/Contact: RSS feed · Fedi follow this blog: @julian&amp;ZeroWidthSpace;@wrily.foad.me.uk · matrix me · Fedi follow me · email me · julian.foad.me.uk&#xD;&#xA;Donate: via Liberapay&#xD;&#xA;All posts &amp;copy; Julian Foad and licensed CC-BY-ND except quotes, translations, or where stated otherwise&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>We&#39;ll soon have smart electricity and gas meters. Let&#39;s monitor them locally through our home automation system, <a href="https://wrily.foad.me.uk/a-freedom-respecting-smart-home">Home Assistant</a>.</p>

<p><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/smets-meters.jpg" alt="" title="SMETS electric and gas meters and an in-home display"></p>



<h2 id="why" id="why">Why?</h2>

<p>Warning: rant ahead.</p>

<p>I believe in “<strong>Own Our Own Data</strong>”. Or, as the maker of one <a href="https://wrily.foad.me.uk/all-i-want-for-christmas-is">smart phone that doesn&#39;t own you</a>, Murena puts it, “My Data is My Data”.</p>

<p>What do I mean, why do I care?</p>

<p>Companies monitor and record and control all the data they can about us. They treat our data as if it&#39;s theirs. They prefer it this way round. I feel that&#39;s wrong, hurtful in the long term. I want to take a stand in owning my own data as a principle. I want to change the norm, do it the other way round. It&#39;s my data first, and I will share my data with any Company I deal with by negotiation, under my control.</p>

<p>The principle should be that, first and foremost, we record our own copy of our own data. From there, we should share it with each Company that has a legitimate interest in it. This sharing should be under our own terms and control. We should share the relevant parts of our data with each Company we deal with, as an obligation or a privilege to them depending on the relationship.</p>

<p>What data? All kinds of data related to me: the photos I take, the list of books I borrow from my local library, my instant messages with friends, my gas and electricity usage.</p>

<p>The companies I deal with are welcome to keep their own copy of data relevant to their service to me. What I do not accept is to be put in the position of Them holding the only copy of my data, and me having to beg them whenever I want to access my data.</p>

<p>Current laws deem that Companies must surrender our data to us if we reasonably ask for it. While that&#39;s the theory, however, in practice I have tried this a few times and the process ranges from the tedious to the impossible.</p>

<h2 id="protocol-theory-how-smart-meters-talk" id="protocol-theory-how-smart-meters-talk">Protocol Theory: How Smart Meters Talk</h2>

<p>Let&#39;s understand a bit about how smart meters talk... to each other, to the utility companies, and to our home automation system.</p>

<p>We&#39;re looking at SMETS2 meters, the current standard in the UK. These meters use two wireless interfaces, one within the home and another kind to communicate to the electricity companies. On the home area network (HAN) side, they use the Zigbee network protocol to connect the electricity meter with the battery powered gas meter and any in-home display units. Their wide area network (WAN) side connects to the UK&#39;s central smart metering hub, the “DCC”, and from there to the electricity and gas supply companies.</p>

<p>The home owner is not usually allowed direct access to either of those two wireless network connections. It is my understanding that the energy supply company could give the home owner some sort of credentials (like a password) to access the meters over the Zigbee HAN, but that most companies won&#39;t.</p>

<h2 id="how-to-connect-it-in-practice" id="how-to-connect-it-in-practice">How to Connect it, in Practice?</h2>

<p><a href="https://shop.glowmarkt.com/products/display-and-cad-combined-for-smart-meter-customers"><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/hildebrand-glow-display-cad-1024x1024-1.webp" alt="" title="Hildebrand Glow Display and CAD"></a></p>

<p>However, some companies have authority <em>[1]</em> to sell us an in-home-display (IHD) that connects to our HAN, and some of those devices, as well as being a display, are also a Consumer Access Device (CAD). The latter means they offer an additional method to connect our own equipment to access our data. So a third kind of network connection comes into the picture, from the CAD to our home automation system.</p>

<p>UK company Hildebrand Glow makes the Display and CAD shown above, and presents the technical aspect of connecting it to a home automation system through WiFi and another protocol called MQTT, here: <a href="https://medium.com/@joshua.cooper/glow-local-mqtt-f69b776b7af4">Glow — Local MQTT</a></p>

<p>Hildebrand Glow is not the only company selling a Consumer Access Device, but I noticed they explicitly state a goal to support “data enthusiasts” <em>[2]</em> which I think aligns with Own-Our-Own-Data principles. That is a very strong signal to me that it is a company with which I share values, and which I would wish to support.</p>

<p><em>Careful when buying one: my understanding is Hildebrand sets up the device with the credentials to connect to your particular meters before selling it. They state that you have to link an account on their system, using their “Bright” app, before buying it. If you were to buy a second-hand device, I don&#39;t know if or how it could be reconfigured to connect to your meters.</em></p>

<p>So the system components in our home are:</p>
<ul><li>Smart meters (from energy supply company)</li>
<li>Consumer Access Device (Hildebrand Glow)</li>
<li>Home automation server (Home Assistant)</li></ul>

<p>For an introduction to Home Assistant, see my <a href="https://wrily.foad.me.uk/a-freedom-respecting-smart-home">A Freedom-Respecting Smart Home</a>.</p>

<p>The MQTT server we need can be installed within Home Assistant. Let&#39;s assume that for simplicity. (“Find Mosquitto Broker in the Add-on store, and install with default options” <a href="https://www.speaktothegeek.co.uk/2022/06/hildebrand-glow-update-local-mqtt-and-home-assistant/">says Speak to the Geek</a> in the same article as referenced below.)</p>

<p>The main step then is configuring the Home Assistant integration for Hildebrand Glow MQTT.</p>

<h2 id="home-assistant-integration-for-hildebrand-glow-mqtt" id="home-assistant-integration-for-hildebrand-glow-mqtt">Home Assistant integration for Hildebrand Glow MQTT</h2>

<p>There is not yet (December 2022) an “official” integration. There are some integration code repositories, some hints to be found in the Home Assistant forums, and some articles online.</p>

<p>The most promising looking solution I have found is <a href="https://pythonawesome.com/home-assistant-integration-for-local-mqtt-hildebrand-glow-ihd/">Home Assistant integration for local MQTT Hildebrand Glow IHD</a> from Python Awesome, using the <a href="https://github.com/megakid/ha_hildebrand_glow_ihd_mqtt"><code>megakid/ha_hildebrand_glow_ihd_mqtt</code></a> integration code repository.</p>

<p>If we find any reason to look elsewhere, here are some alternatives. There is <a href="https://github.com/unlobito/ha-hildebrandglow"><code>unlobito/ha-hildebrandglow</code></a> (no longer maintained by its author) and some forks of it where others have made tweaks. “Speak to the Geek” wrote a detailed guide, <a href="https://www.speaktothegeek.co.uk/2022/06/hildebrand-glow-update-local-mqtt-and-home-assistant/">Hildebrand Glow UPDATE! Local MQTT and Home Assistant</a>. Matt Brunt blogged about his experience beginning with non-local access and then changing to local MQTT access, with low level code examples included, towards the end of his post <a href="https://brunty.me/post/hildebrand-glow-home-assistant-mqtt/">Hildebrand Glow, Home Assistant and MQTT – Getting visibility into my energy data</a> .</p>

<h2 id="how-well-does-it-work" id="how-well-does-it-work">How Well Does it Work?</h2>

<p>We&#39;ll have to wait and see! <strong>I have not set this up yet. I am still waiting for our smart meters to be installed.</strong> I am writing in December 2022. Installation is booked for January. I plan to revisit and update this article when I get there.</p>

<hr>

<p>Further Information</p>
<ul><li>Good practical and technical information on the <a href="https://www.smartme.co.uk/meter-data.html">Smart Meter Data</a> page on “Smart Meters” web site <a href="https://www.smartme.co.uk/">https://www.smartme.co.uk/</a></li></ul>

<p>Footnotes:</p>

<p><em>[1]</em> “We are able to join your Display and CAD to your SMETS meters without your supplier&#39;s involvement because we are a SECAS (Smart Energy Code Administrator) approved DCC Other User” — the <a href="https://shop.glowmarkt.com/products/display-and-cad-combined-for-smart-meter-customers">Glow product page</a>
<em>[2]</em> “Our goal for glowmarkt is to support communities of interest starting with data enthusiasts and heat pump adopters.” — the <a href="https://glowmarkt.com/#/about-us">Glowmarkt About-Us page</a></p>

<hr>

<p><a href="https://wrily.foad.me.uk/tag:cloudFree" class="hashtag"><span>#</span><span class="p-category">cloudFree</span></a> <a href="https://wrily.foad.me.uk/tag:fossGadgets" class="hashtag"><span>#</span><span class="p-category">fossGadgets</span></a> <a href="https://wrily.foad.me.uk/tag:smartHome" class="hashtag"><span>#</span><span class="p-category">smartHome</span></a></p>



<hr>

<p><em>Follow/Feedback/Contact:</em> <a href="https://wrily.foad.me.uk/feed/"><em>RSS feed</em></a> · <em>Fedi follow this blog: @julian​@wrily.foad.me.uk</em> · <a href="https://matrix.to/#/@julian:foad.me.uk" title="matrix Julian"><em>matrix me</em></a> · <a href="https://fed.foad.me.uk/%40julian%40fed.foad.me.uk" title="follow Julian"><em>Fedi follow me</em></a> · <a href="mailto:julian@foad.me.uk?subject=Wrily" title="email Julian"><em>email me</em></a> · <a href="https://julian.foad.me.uk/"><em>julian.foad.me.uk</em></a>
<em>Donate:</em> <a href="https://liberapay.com/julianfoad" title="Donate to Julian using Liberapay"><em>via Liberapay</em></a>
<em>All posts © Julian Foad and licensed <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC-BY-ND</a> except quotes, translations, or where stated otherwise</em></p>
]]></content:encoded>
      <guid>https://wrily.foad.me.uk/owning-our-own-data-monitoring-our-smart-meters</guid>
      <pubDate>Mon, 19 Dec 2022 22:36:35 +0000</pubDate>
    </item>
    <item>
      <title>Should we choose a Fronius inverter for best cloud-free PV monitoring interfaces?</title>
      <link>https://wrily.foad.me.uk/should-we-choose-a-fronius-inverter-for-best-cloud-free-pv-monitoring-interfaces</link>
      <description>&lt;![CDATA[Who&#39;s been through this process, selecting a PV inverter &amp; system best suited to cloud-free monitoring? Can you advise me if I should insist on a particular inverter, or connect an add-on box (EmonCMS or other)?&#xA;&#xA;We&#39;re looking to install solar PV on our roof and maybe an air source heat pump too. I&#39;ve collected plans, thoughts, questions on my own web site here:&#xA;&#xA;   https://blog.foad.me.uk/2022/11/24/solar-pv-heat-pump/ [1]&#xA;&#xA;My particular passion is to be &#34;cloud-free&#34;. That&#39;s when I found you, the open energy monitor community. Hurray!&#xA;!--more--&#xA;&#xA;In other words, I shun connecting anything through &#34;the cloud&#34; a.k.a. somebody else&#39;s computer system. That&#39;s because then &#34;they&#34; control the connection and can change or take that away at any time. I&#39;ve become passionate about this and started blogging a bit:&#xA;&#xA;   https://wrily.foad.me.uk/a-freedom-respecting-smart-home [1]&#xA;&#xA;But the installers who gave quotes know little about monitoring. That&#39;s when I started my own research.&#xA;&#xA;The main &#34;smart&#34; device in the system seems to be the Inverter. (Probably a hybrid inverter, controlling the battery charging too.)&#xA;&#xA;In my research I found Fronius Inverters as the only company that makes a deliberate effort to provide &#34;local&#34; APIs. From my (recent) understanding there is a &#34;Modbus Sunspec&#34; standard API for controlling and monitoring devices like these. Fronius provide that Modbus API, as do other manufacturers, but more than merely providing the API, they document it openly on their web site, seeming to be serious about people using it rather than hiding it away as an installers-only option. See their &#34;open interfaces&#34; page:&#xA;&#xA;   https://www.fronius.com/en/solar-energy/installers-partners/technical-data/all-products/system-monitoring/open-interfaces/fronius-solar-api-json-&#xA;&#xA;That gives me a nice warm feeling that it would be in my interest (personal and supporting my values) to use them.&#xA;&#xA;So right now my dilemma is: some local installers say they could get a Fronius inverter for me but it&#39;s harder to source (lead time, price) and they&#39;re unfamiliar with it, and it looks like it requires a particular battery system (&#34;BYD&#34;) which in turn is likely more expensive and harder to source. One installer goes with Sunsynk inverters and advises I find myself &#34;one of the many available &#39;buddy&#39; boxes that you can add on to provide monitoring&#34;. So that brought me here, as I prefer open over commercial alternatives.&#xA;&#xA;I want to get this right from the outset. I want to support companies like Fronius that support cloud-free operation. But I&#39;m not sure I understand everything well enough to be sure it would work out properly, especially if I ask a naive installer to do something they&#39;re not familiar with. Should I try to find an installer who knows this stuff; are there any?&#xA;&#xA;Or, whom should I consult?&#xA;&#xA;Thanks in advance,&#xA;-- Julian Foad&#xA;&#xA;----&#xA;[1] These links are to my own web sites&#xA;My POSSE copy of this message&#xA;Posted on OpenEnergyMonitor community&#xA;&#xA;#smartHome, #cloudFree, #inverter, #api, #fronius, #solarPV, #modbus&#xA;&#xA;!--more--&#xD;&#xA;----&#xD;&#xA;Follow/Feedback/Contact: RSS feed · Fedi follow this blog: @julian&amp;ZeroWidthSpace;@wrily.foad.me.uk · matrix me · Fedi follow me · email me · julian.foad.me.uk&#xD;&#xA;Donate: via Liberapay&#xD;&#xA;All posts &amp;copy; Julian Foad and licensed CC-BY-ND except quotes, translations, or where stated otherwise&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Who&#39;s been through this process, selecting a PV inverter &amp; system best suited to cloud-free monitoring? Can you advise me if I should insist on a particular inverter, or connect an add-on box (EmonCMS or other)?</p>

<p>We&#39;re looking to install solar PV on our roof and maybe an air source heat pump too. I&#39;ve collected plans, thoughts, questions on my own web site here:</p>

<p>   <a href="https://blog.foad.me.uk/2022/11/24/solar-pv-heat-pump/">https://blog.foad.me.uk/2022/11/24/solar-pv-heat-pump/</a> [1]</p>

<p>My particular passion is to be “cloud-free”. That&#39;s when I found you, the open energy monitor community. Hurray!
</p>

<p>In other words, I shun connecting anything through “the cloud” a.k.a. somebody else&#39;s computer system. That&#39;s because then “they” control the connection and can change or take that away at any time. I&#39;ve become passionate about this and started blogging a bit:</p>

<p>   <a href="https://wrily.foad.me.uk/a-freedom-respecting-smart-home">https://wrily.foad.me.uk/a-freedom-respecting-smart-home</a> [1]</p>

<p>But the installers who gave quotes know little about monitoring. That&#39;s when I started my own research.</p>

<p>The main “smart” device in the system seems to be the Inverter. (Probably a hybrid inverter, controlling the battery charging too.)</p>

<p>In my research I found Fronius Inverters as the only company that makes a deliberate effort to provide “local” APIs. From my (recent) understanding there is a “Modbus Sunspec” standard API for controlling and monitoring devices like these. Fronius provide that Modbus API, as do other manufacturers, but more than merely providing the API, they document it openly on their web site, seeming to be serious about people using it rather than hiding it away as an installers-only option. See their “open interfaces” page:</p>

<p>   <a href="https://www.fronius.com/en/solar-energy/installers-partners/technical-data/all-products/system-monitoring/open-interfaces/fronius-solar-api-json-">https://www.fronius.com/en/solar-energy/installers-partners/technical-data/all-products/system-monitoring/open-interfaces/fronius-solar-api-json-</a></p>

<p>That gives me a nice warm feeling that it would be in my interest (personal and supporting my values) to use them.</p>

<p>So right now my dilemma is: some local installers say they could get a Fronius inverter for me but it&#39;s harder to source (lead time, price) and they&#39;re unfamiliar with it, and it looks like it requires a particular battery system (“BYD”) which in turn is likely more expensive and harder to source. One installer goes with Sunsynk inverters and advises I find myself “one of the many available &#39;buddy&#39; boxes that you can add on to provide monitoring”. So that brought me here, as I prefer open over commercial alternatives.</p>

<p>I want to get this right from the outset. I want to support companies like Fronius that support cloud-free operation. But I&#39;m not sure I understand everything well enough to be sure it would work out properly, especially if I ask a naive installer to do something they&#39;re not familiar with. Should I try to find an installer who knows this stuff; are there any?</p>

<p>Or, whom should I consult?</p>

<p>Thanks in advance,
— Julian Foad</p>

<hr>

<p><em>[1] These links are to my own web sites</em>
<em><a href="https://wrily.foad.me.uk/should-we-choose-a-fronius-inverter-for-best-cloud-free-pv-monitoring-interfaces">My POSSE copy of this message</a></em>
<em><a href="https://community.openenergymonitor.org/t/should-we-choose-a-fronius-inverter-for-best-cloud-free-pv-monitoring-interfaces/22102">Posted on OpenEnergyMonitor community</a></em></p>

<p><a href="https://wrily.foad.me.uk/tag:smartHome" class="hashtag"><span>#</span><span class="p-category">smartHome</span></a>, <a href="https://wrily.foad.me.uk/tag:cloudFree" class="hashtag"><span>#</span><span class="p-category">cloudFree</span></a>, <a href="https://wrily.foad.me.uk/tag:inverter" class="hashtag"><span>#</span><span class="p-category">inverter</span></a>, <a href="https://wrily.foad.me.uk/tag:api" class="hashtag"><span>#</span><span class="p-category">api</span></a>, <a href="https://wrily.foad.me.uk/tag:fronius" class="hashtag"><span>#</span><span class="p-category">fronius</span></a>, <a href="https://wrily.foad.me.uk/tag:solarPV" class="hashtag"><span>#</span><span class="p-category">solarPV</span></a>, <a href="https://wrily.foad.me.uk/tag:modbus" class="hashtag"><span>#</span><span class="p-category">modbus</span></a></p>



<hr>

<p><em>Follow/Feedback/Contact:</em> <a href="https://wrily.foad.me.uk/feed/"><em>RSS feed</em></a> · <em>Fedi follow this blog: @julian​@wrily.foad.me.uk</em> · <a href="https://matrix.to/#/@julian:foad.me.uk" title="matrix Julian"><em>matrix me</em></a> · <a href="https://fed.foad.me.uk/%40julian%40fed.foad.me.uk" title="follow Julian"><em>Fedi follow me</em></a> · <a href="mailto:julian@foad.me.uk?subject=Wrily" title="email Julian"><em>email me</em></a> · <a href="https://julian.foad.me.uk/"><em>julian.foad.me.uk</em></a>
<em>Donate:</em> <a href="https://liberapay.com/julianfoad" title="Donate to Julian using Liberapay"><em>via Liberapay</em></a>
<em>All posts © Julian Foad and licensed <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC-BY-ND</a> except quotes, translations, or where stated otherwise</em></p>
]]></content:encoded>
      <guid>https://wrily.foad.me.uk/should-we-choose-a-fronius-inverter-for-best-cloud-free-pv-monitoring-interfaces</guid>
      <pubDate>Sat, 10 Dec 2022 10:17:47 +0000</pubDate>
    </item>
    <item>
      <title>PineTime Smart Watch -- Awesome Open Source</title>
      <link>https://wrily.foad.me.uk/pinetime-smart-watch-awesome-open-source</link>
      <description>&lt;![CDATA[My smart watch is open source. Awesome!&#xA;&#xA;PineTime from Pine64 (product | shop | wiki)&#xA;&#xA;!--  --  !--more--&#xA;&#xA;The PineTime is made of open-source hardware and open-source software.&#xA;&#xA;Read a detailed review by It&#39;s MOSS.&#xA;&#xA;Being created in order to inspire open development, Pine64 sell it directly for a very low price. It comes as a working product ready to use. For developers, the similarly priced development kit is recommended.&#xA;&#xA;I haven&#39;t worn a watch for decades, but I am so happy this exists, I have ordered one.&#xA;&#xA;Actually, to be candid, I ordered one because I want to be more intentional about promoting open source products. We can tell our friends we don&#39;t need Apple or Google owning us. But telling is weak. Showing is strong.&#xA;&#xA;A few weeks later... here it is! Woohoo!&#xA;&#xA;I installed GadgetBridge from F-Droid on my degoogled Android phone, and connected it. Upgrading the Infinitime firmware from version 1.6.0 as supplied, to the then current version 1.11.0, went smoothly.&#xA;&#xA;What Does it Do?&#xA;&#xA;It tells the time. It notifies me, with vibration and on-screen display, of notifications shown on my phone. It can control a music player on my phone, start/stop, track skip, and volume control. Those are the functions I find useful, at least initially.&#xA;&#xA;There&#39;s an intriguing &#34;navigation&#34; screen, as in map directions. I have not been able to make it do anything, and on searching online found a note that it &#34;only works with PureMaps/Sailfish OS&#34;. That&#39;s a pity. I wonder if it can and will be made to work with the awesome open source Organic Maps.&#xA;&#xA;Maybe you are more interested in the step counting and heart rate monitoring. There are also some little gadgets like timers, scribbling, metronome, and mini-games.&#xA;&#xA; &#xA;&#xA;Where Next?&#xA;&#xA;This is a hacker&#39;s watch, a hackable watch. Infinitime OS is not the only OS it can run. There is also Wasp-OS, and instructions on how to switch between Infinitime and Wasp-OS.&#xA;&#xA;On either operating system, it&#39;s possible to add new functions. I would like to learn how to do so. For instance, I would like to monitor and control my smart home gadgets.&#xA;&#xA;Some starting points: customising the PineTime watch faces:&#xA;&#xA;InfiniSim&#xA;PineTime Custom Watchface Tutorial -- pine64.org&#xA;Create Your Own PineTime Watch Face in Rust... And Publish on crates.io -- Lup Yuen&#xA;Customizing My Pinetime -- by JP/moddedBear&#xA;&#xA;Alternatives&#xA;&#xA;Other smart watches exist with open-source hardware and software designs. Some are hacker-only projects, which you can build yourself, such as Bellafaire&#39;s and more that we can find in round-ups such as this and this.&#xA;&#xA;Here are the ones I know that are available to buy.&#xA;&#xA;Bangle.js reviewed in MagPi magazine, Feb. 2022&#xA;Watchy by SQFMI&#xA;&#xA; &#xA;&#xA;DecentNet has written an article with an overview of several Programmable watches .&#xA;&#xA;And finally, I came across an interesting project by &#34;dcz&#34; who has begun making a bike &#34;computer&#34; based on Bangle.js watch hardware with custom software: Jazda.&#xA;&#xA;----&#xA;&#xA;PineTime discussion room on Matrix: #pinetime:matrix.org&#xA;&#xA;This article is part of my Open Source Gadgets series.&#xA;&#xA;#fossGadgets #cloudFree #degoogled #awesomeFOSS #openHardware&#xA;&#xA;---&#xA;Comments&#xA;&#xA;@julian:foad.me.uk on 2023-01-31:&#xA;&#xA;  Its battery does indeed last for a week, with light usage.&#xA;&#xA;@julian:foad.me.uk on 2023-01-31:&#xA;&#xA;  When the android clock app rings an alarm, gadgetbridge seems to send a blank notification to the watch. It would be good if we could make the alarm show up with &#34;Snooze&#34; and &#34;Dismiss&#34; feedback buttons.&#xA;&#xA;!--more--&#xD;&#xA;----&#xD;&#xA;Follow/Feedback/Contact: RSS feed · Fedi follow this blog: @julian&amp;ZeroWidthSpace;@wrily.foad.me.uk · matrix me · Fedi follow me · email me · julian.foad.me.uk&#xD;&#xA;Donate: via Liberapay&#xD;&#xA;All posts &amp;copy; Julian Foad and licensed CC-BY-ND except quotes, translations, or where stated otherwise&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>My smart watch is open source. Awesome!</p>

<p><a href="https://www.pine64.org/pinetime/"><strong>PineTime</strong></a> from <a href="https://www.pine64.org/">Pine64</a> <em>(<a href="https://www.pine64.org/pinetime/">product</a> | <a href="https://pine64.com/product-category/wearable/">shop</a> | <a href="https://wiki.pine64.org/index.php/PineTime">wiki</a>)</em></p>

<p><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/IMG_20221220_185033.jpg" alt="" title="My PineTime with digital watch face chosen">

</p>

<p>The PineTime is made of <strong>open-source hardware</strong> and <strong>open-source software</strong>.</p>

<p>Read a <a href="https://itsmoss.com/2021/12/16/a-look-at-pine64-part-1-the-good/" title="A look at Pine64 - Pinetime">detailed review</a> by It&#39;s MOSS.</p>

<p>Being created in order to inspire open development, <a href="https://pine64.com/product/pinetime-smartwatch-sealed/">Pine64 sell it directly</a> for a very low price. It comes as a working product ready to use. For developers, the similarly priced <a href="https://pine64.com/product/pinetime-dev-kit/">development kit</a> is recommended.</p>

<p>I haven&#39;t worn a watch for decades, but I am so happy this exists, I have ordered one.</p>

<p>Actually, to be candid, I ordered one because I want to be more intentional about promoting open source products. We can tell our friends we don&#39;t need Apple or Google owning us. But telling is weak. Showing is strong.</p>

<p>A few weeks later... here it is! Woohoo!</p>

<p><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/IMG_20221220_184853.jpg" alt="" title="My PineTime with analogue watch face chosen"></p>

<p>I installed <a href="https://f-droid.org/en/packages/nodomain.freeyourgadget.gadgetbridge/" title="GadgetBridge - Use your smart watch and other bluetooth devices and keep your data private">GadgetBridge</a> from <a href="https://f-droid.org/en/packages/org.fdroid.fdroid/" title="F-Droid - The app store that respects freedom and privacy">F-Droid</a> on my <a href="https://wrily.foad.me.uk/all-i-want-for-christmas-is" title="All I Want for Christmas is... a Smart Phone that Respects My Freedom">degoogled Android phone</a>, and connected it. <a href="https://github.com/InfiniTimeOrg/InfiniTime/blob/develop/doc/gettingStarted/updating-software.md">Upgrading the Infinitime firmware</a> from version 1.6.0 as supplied, to the then current version 1.11.0, went smoothly.</p>

<h2 id="what-does-it-do" id="what-does-it-do">What Does it Do?</h2>

<p>It tells the time. It notifies me, with vibration and on-screen display, of notifications shown on my phone. It can control a music player on my phone, start/stop, track skip, and volume control. Those are the functions I find useful, at least initially.</p>

<p>There&#39;s an intriguing “navigation” screen, as in map directions. I have not been able to make it do anything, and on searching online found <a href="https://docs.infinitime.io/en/latest/user-documentation/index.html?highlight=navigation#apps-drawer">a note</a> that it “only works with PureMaps/Sailfish OS”. That&#39;s a pity. I wonder if it can and will be made to work with the awesome open source <a href="https://wrily.foad.me.uk/organic-maps-android-awesome-open-source">Organic Maps</a>.</p>

<p>Maybe you are more interested in the step counting and heart rate monitoring. There are also some little gadgets like timers, scribbling, metronome, and mini-games.</p>

<p><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/IMG_20221220_205343.jpg" alt="" title="My PineTime showing an email notification"> <img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/IMG_20221220_205453.jpg" alt="" title="My PineTime showing a phone call notification"></p>

<h2 id="where-next" id="where-next">Where Next?</h2>

<p>This is a hacker&#39;s watch, a hackable watch. Infinitime OS is not the only OS it can run. There is also <a href="https://wasp-os.readthedocs.io/">Wasp-OS</a>, and <a href="https://wiki.pine64.org/wiki/Switching_your_PineTime_between_InfiniTime_and_Wasp-os">instructions</a> on how to switch between Infinitime and Wasp-OS.</p>

<p>On either operating system, it&#39;s possible to add new functions. I would like to learn how to do so. For instance, I would like to monitor and control <a href="https://wrily.foad.me.uk/a-freedom-respecting-smart-home">my smart home</a> gadgets.</p>

<p>Some starting points: customising the PineTime watch faces:</p>
<ul><li><a href="https://github.com/InfiniTimeOrg/InfiniSim">InfiniSim</a></li>
<li><a href="https://wiki.pine64.org/index.php?title=PineTime_Custom_Watchface_Tutorial">PineTime Custom Watchface Tutorial</a> — pine64.org</li>
<li><a href="https://lupyuen.github.io/pinetime-rust-mynewt/articles/watchface">Create Your Own PineTime Watch Face in Rust... And Publish on crates.io</a> — Lup Yuen</li>
<li><a href="https://moddedbear.com/customizing-my-pinetime/">Customizing My Pinetime</a> — by JP/moddedBear</li></ul>

<h2 id="alternatives" id="alternatives">Alternatives</h2>

<p>Other smart watches exist with open-source hardware and software designs. Some are hacker-only projects, which you can build yourself, such as <a href="https://github.com/Bellafaire/ESP32-Smart-Watch">Bellafaire&#39;s</a> and more that we can find in round-ups such as <a href="https://diyusthad.com/2021/04/top-5-open-source-smartwatch.html">this</a> and <a href="https://www.smartwatchspecifications.com/best-open-source-smartwatch-2021/">this</a>.</p>

<p>Here are the ones I know that are available to buy.</p>
<ul><li><a href="https://banglejs.com/">Bangle.js</a> reviewed in <a href="https://magpi.raspberrypi.com/issues/114">MagPi magazine, Feb. 2022</a></li>
<li><a href="https://watchy.sqfmi.com/">Watchy</a> by SQFMI</li></ul>

<p><a href="https://banglejs.com/"><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/Bangle-js-watch-1.png" alt="" title="Bangle.js 2"></a> <a href="https://watchy.sqfmi.com/"><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/Watchy-watch-2.png" alt="" title="Watchy by SQFMI"></a></p>

<p>DecentNet has written an article with an overview of several <a href="https://decentnet.github.io/blog/20240218-programmable-watches.html">Programmable watches</a> .</p>

<p>And finally, I came across an interesting project by “dcz” who has begun making a bike “computer” based on Bangle.js watch hardware with custom software: <a href="https://dcz_self.gitlab.io/posts/jazda_rust/">Jazda</a>.</p>

<hr>
<ul><li>PineTime discussion room on Matrix: <a href="https://matrix.to/#/%23pinetime:matrix.org"><code>#pinetime:matrix.org</code></a></li></ul>

<p><em>This article is part of my <a href="https://wrily.foad.me.uk/what-to-give-tech-gadgets-that-respect-our-freedom" title="What to Give - Tech Gadgets that Respect Our Freedom">Open Source Gadgets series</a>.</em></p>

<p><a href="https://wrily.foad.me.uk/tag:fossGadgets" class="hashtag"><span>#</span><span class="p-category">fossGadgets</span></a> <a href="https://wrily.foad.me.uk/tag:cloudFree" class="hashtag"><span>#</span><span class="p-category">cloudFree</span></a> <a href="https://wrily.foad.me.uk/tag:degoogled" class="hashtag"><span>#</span><span class="p-category">degoogled</span></a> <a href="https://wrily.foad.me.uk/tag:awesomeFOSS" class="hashtag"><span>#</span><span class="p-category">awesomeFOSS</span></a> <a href="https://wrily.foad.me.uk/tag:openHardware" class="hashtag"><span>#</span><span class="p-category">openHardware</span></a></p>

<hr>

<h2 id="comments" id="comments">Comments</h2>

<p><em>@julian:foad.me.uk on 2023-01-31:</em></p>

<blockquote><p>Its battery does indeed last for a week, with light usage.</p></blockquote>

<p><em>@julian:foad.me.uk on 2023-01-31:</em></p>

<blockquote><p>When the android clock app rings an alarm, gadgetbridge seems to send a blank notification to the watch. It would be good if we could make the alarm show up with “Snooze” and “Dismiss” feedback buttons.</p></blockquote>



<hr>

<p><em>Follow/Feedback/Contact:</em> <a href="https://wrily.foad.me.uk/feed/"><em>RSS feed</em></a> · <em>Fedi follow this blog: @julian​@wrily.foad.me.uk</em> · <a href="https://matrix.to/#/@julian:foad.me.uk" title="matrix Julian"><em>matrix me</em></a> · <a href="https://fed.foad.me.uk/%40julian%40fed.foad.me.uk" title="follow Julian"><em>Fedi follow me</em></a> · <a href="mailto:julian@foad.me.uk?subject=Wrily" title="email Julian"><em>email me</em></a> · <a href="https://julian.foad.me.uk/"><em>julian.foad.me.uk</em></a>
<em>Donate:</em> <a href="https://liberapay.com/julianfoad" title="Donate to Julian using Liberapay"><em>via Liberapay</em></a>
<em>All posts © Julian Foad and licensed <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC-BY-ND</a> except quotes, translations, or where stated otherwise</em></p>
]]></content:encoded>
      <guid>https://wrily.foad.me.uk/pinetime-smart-watch-awesome-open-source</guid>
      <pubDate>Sun, 04 Dec 2022 16:50:42 +0000</pubDate>
    </item>
    <item>
      <title>A Freedom-Respecting Smart Home</title>
      <link>https://wrily.foad.me.uk/a-freedom-respecting-smart-home</link>
      <description>&lt;![CDATA[Automating our lights, security cameras, all the Things? We&#39;ll be needing some IoT Gadgets and a home automation system.&#xA;&#xA;  &#34;Which brand? Amazon Alexa or Google or Apple HomeKit?&#34;&#xA;&#xA;NO! Big Tech makes technology that best serves Big Tech. We don&#39;t have to accept it, once we learn there&#39;s an alternative. &#xA;&#xA;Time I Learned: our smart home can respect our freedom.&#xA;&#xA;!--more--&#xA;&#xA;What&#39;s wrong with mainstream IoT?&#xA;&#xA;Their system works beautifully. We can see it in their adverts. What are we missing? Let&#39;s see. These cool and pretty looking mainstream IoT devices are overwhelmingly sold with &#34;cloud&#34; connectivity. &#34;Control it with our App!&#34; It sounds good. It&#39;s certainly convenient at first.&#xA;&#xA;Now, what does &#34;cloud connected&#34; imply? It implies our command to turn our light on goes out from our phone, over the Internet, to &#34;the cloud&#34; which just means somebody else&#39;s computer, where it&#39;s processed through our account on their system, and from there the command comes back to our light which then turns on. Ta-da! And our security camera feed shows up in our monitoring page on their computer system. Just like they showed in their adverts.&#xA;&#xA;Except when it doesn&#39;t. Except when the internet is slow, we wait, and then after a while our light turns on. Except when they mess up and show our private camera feed to some other customer and theirs to us. (Yes, that happened.) Except when their communications and their computers are poorly secured and get hacked. (Yes, lots of times.) Except when their company goes bust overnight and all our devices stop working. (Yes, that happens too.)&#xA;&#xA;When we use the vendor&#39;s app and &#34;cloud connected&#34; control, it means we are renting the use of our device as a service from the vendor. The vendor permits us to use the hardware we bought, but only through the intermediation of their servers. We can use it in ways they allow, for a time they determine, until they discontinue that service or go bust or require us to upgrade or pay extra or watch adverts or agree to new terms. Whatever they want. We &#34;bought&#34; it but we don&#39;t own it. Or we could say we own the bare hardware but we don&#39;t own the functioning product.&#xA;&#xA;What&#39;s the Solution?&#xA;&#xA;The alternative is that we can use IoT devices that are locally controlled, that depend only on our own local network, and therefore can respond fast no matter what our Internet connection is doing, and remain solely under our own control no matter what happens to the Vendor.&#xA;&#xA;My recommendation for a home automation control centre:&#xA;&#xA;Home Assistant \home-assistant.io\&#xA;&#xA;Home Assistant lets you control and monitor everything -- doorbells, lights, cameras, action! -- and wrenches back your local control over Big Tech branded devices from Amazon, Google, Apple and the rest.&#xA;&#xA;  &#34;Open source home automation that puts local control and privacy first&#34;&#xA;&#xA;Depending on your level of technical expertise there are different ways to obtain Home Assistant. For ordinary people looking for the simplest and most reliable way, I would recommend buying a tiny stand-alone hardware device with the software pre-installed, such as the &#34;Home Assistant Green&#34;.&#xA;&#xA;On the other hand, with it being freedom software, you or your techie friend could set up Home Assistant on pretty much any computer such as a laptop or a Raspberry Pi. That would be a good option for experimenting with it.&#xA;&#xA;For lots of information about using Home Assistant, listen to The Self-Hosted Show podcast.&#xA;&#xA;For recommendations on security cameras, also consult The Self-Hosted Show.&#xA;&#xA;For your smart switches, plugs, lights, temperature sensors etc.: mylocalbytes.com (UK) or cloudfree.shop (USA).&#xA;&#xA;What About Other Options?&#xA;&#xA;My recommendation for Home Assistant is what seems to me the best solution for most ordinary people, friends and family. Techies and the curious should take a look at these two other freedom-respecting home automation hubs.&#xA;&#xA;openHAB (and HestiaPi open-source hardware running openHAB)&#xA;DomoticZ&#xA;&#xA;For those building software, Mozilla WebThings is an important project providing &#34;an open platform for monitoring and controlling devices over the web&#34;.&#xA;&#xA;What Will Julian Do?&#xA;&#xA;At the time of writing I am just beginning my home automation. My first IoT device is:&#xA;&#xA;a &#34;smart&#34; plug/socket (switching, power monitoring)&#xA;&#xA;Plug a light into the smart plug. Click! It&#39;s on. Click! It&#39;s off... on, off, on, off. That&#39;s fun. OK, that&#39;s enough of that.&#xA;&#xA;Plug my fridge into the smart plug: it tells me the power consumption when the fridge motor is running, when it isn&#39;t, and the total energy and average power over a day. That&#39;s interesting. Click! It switches off... oops, didn&#39;t mean to do that. Keep it on.&#xA;&#xA;There are lots of ways to run Home Assistant. The easiest way for me to start was an almost one-click install of Home Assistant on YUNoHost. If I outgrow that, I can run it in its own virtual machine (VM) on my ProxMox VM server. \[Edit: After a few months I did exactly that.\]&#xA;&#xA;Longer term, I have been hearing that people get used to their home automation and expect it to be always available, a permanent fixture of the house. To improve reliability, by taking my general-purpose servers out of the equation, I would seriously consider moving it to a Home Assistant Green self-contained physical device.&#xA;&#xA;On my phone I installed the official Home Assistant companion app from f-droid. As well as providing access to the HA dashboards and configuration, this app also adds a Home Assistant integration that monitor&#39;s the phone&#39;s power stats (battery level, etc.) and optionally lots more kinds of statistics.&#xA;&#xA;Now I have got it up and running and kicked the tyres with my first integration, I might try:&#xA;&#xA;&#34;smart meters&#34; for my electricity and gas supply (energy data)&#xA;garage door sensor (turn on light, alert when I left it open)&#xA;voice assistant / smart speaker: Hopes and promises for open-source voice assistants in LWN summarises the landscape of FOSS smart speakers, the most promising being Rhasspy which is being brought in to Home Assistant, and OpenVoiceOS (OVOS) which is taking over from where Mycroft was going&#xA;solar panels or a heat pump (may provide energy data)&#xA;&#xA;Related&#xA;&#xA;A talk, Practical Computerized Home Automation by Bruce Momjian at FOSDEM&#39;23. &#34;Home automation is an elusive technology — often desired, rarely achieved. This talk explores a successful ten-year home automation deployment, outlining the challenges that derail many attempts. It will cover technology choices, programing basics, and a dozen successful applications.&#34;&#xA;A talk, Challenges in Home Energy Management by Markus Storm at FOSDEM&#39;23. &#34;How to best use your own PV-generated power ... deploying openHAB ... covering the most power intensive use cases of a household: EV charging, heat pump and white goods operations.&#34;&#xA;&#xA;----&#xA;&#xA;Update 2023-12: Now recommend Home Assistant Green instead of Home Assistant Yellow.&#xA;&#xA;---&#xA;&#xA;This article is part of my Open Source Gadgets series.&#xA;&#xA;#fossGadgets #cloudFree #smartHome #degoogled #awesomeFOSS #openHardware&#xA;&#xA;!--more--&#xD;&#xA;----&#xD;&#xA;Follow/Feedback/Contact: RSS feed · Fedi follow this blog: @julian&amp;ZeroWidthSpace;@wrily.foad.me.uk · matrix me · Fedi follow me · email me · julian.foad.me.uk&#xD;&#xA;Donate: via Liberapay&#xD;&#xA;All posts &amp;copy; Julian Foad and licensed CC-BY-ND except quotes, translations, or where stated otherwise&#xD;&#xA;]]&gt;</description>
      <content:encoded><![CDATA[<p>Automating our lights, security cameras, all the Things? We&#39;ll be needing some IoT Gadgets and a home automation system.</p>

<blockquote><p><em>“Which brand? Amazon Alexa or Google or Apple HomeKit?”</em></p></blockquote>

<p>NO! Big Tech makes technology that best serves Big Tech. We don&#39;t have to accept it, once we learn there&#39;s an alternative.</p>

<p>Time I Learned: <strong>our smart home can respect our freedom</strong>.</p>

<p><img src="https://blog.foad.me.uk/wp-content/uploads/2024/04/home-assistant-green-hero-logo.jpg" alt="" title="Home Assistant Green">
</p>

<h2 id="what-s-wrong-with-mainstream-iot" id="what-s-wrong-with-mainstream-iot">What&#39;s wrong with mainstream IoT?</h2>

<p>Their system works beautifully. We can see it in their adverts. What are we missing? Let&#39;s see. These cool and pretty looking mainstream IoT devices are overwhelmingly sold with “cloud” connectivity. “Control it with our App!” It sounds good. It&#39;s certainly convenient at first.</p>

<p>Now, what does “cloud connected” imply? It implies our command to turn our light on goes out from our phone, over the Internet, to “the cloud” which just means somebody else&#39;s computer, where it&#39;s processed through our account on their system, and from there the command comes back to our light which then turns on. Ta-da! And our security camera feed shows up in our monitoring page on their computer system. Just like they showed in their adverts.</p>

<p>Except when it doesn&#39;t. Except when the internet is slow, we wait, and then after a while our light turns on. Except when they mess up and show our private camera feed to some other customer and theirs to us. (Yes, that happened.) Except when their communications and their computers are poorly secured and get hacked. (Yes, lots of times.) Except when their company goes bust overnight and all our devices stop working. (Yes, that happens too.)</p>

<p>When we use the vendor&#39;s app and “cloud connected” control, it means we are renting the use of our device as a service from the vendor. The vendor permits us to use the hardware we bought, but only through the intermediation of their servers. We can use it in ways they allow, for a time they determine, until they discontinue that service or go bust or require us to upgrade or pay extra or watch adverts or agree to new terms. Whatever they want. We “bought” it but we don&#39;t own it. Or we could say we own the bare hardware but we don&#39;t own the <em>functioning</em> product.</p>

<h2 id="what-s-the-solution" id="what-s-the-solution">What&#39;s the Solution?</h2>

<p>The alternative is that we can use IoT devices that are locally controlled, that depend only on our own local network, and therefore can respond fast no matter what our Internet connection is doing, and remain solely under our own control no matter what happens to the Vendor.</p>

<p>My recommendation for a home automation control centre:</p>

<p><strong><a href="https://www.home-assistant.io/">Home Assistant &lt;home-assistant.io&gt;</a></strong></p>

<p>Home Assistant lets you control and monitor everything — doorbells, lights, cameras, action! — and wrenches back your local control over Big Tech branded devices from Amazon, Google, Apple and the rest.</p>

<blockquote><p><em>“Open source home automation that puts local control and privacy first”</em></p></blockquote>

<p>Depending on your level of technical expertise there are different ways to obtain Home Assistant. For ordinary people looking for the simplest and most reliable way, I would recommend buying a tiny stand-alone hardware device with the software pre-installed, such as the “<a href="https://www.home-assistant.io/green">Home Assistant Green</a>”.</p>

<p>On the other hand, with it being freedom software, you or your techie friend could set up Home Assistant on pretty much any computer such as a laptop or a Raspberry Pi. That would be a good option for experimenting with it.</p>

<p>For lots of information about using Home Assistant, listen to <a href="https://selfhosted.show/">The Self-Hosted Show</a> podcast.</p>

<p>For recommendations on security cameras, also consult <a href="https://selfhosted.show/">The Self-Hosted Show</a>.</p>

<p>For your smart switches, plugs, lights, temperature sensors etc.: <a href="https://mylocalbytes.com">mylocalbytes.com</a> (UK) or <a href="https://cloudfree.shop">cloudfree.shop</a> (USA).</p>

<h2 id="what-about-other-options" id="what-about-other-options">What About Other Options?</h2>

<p>My recommendation for Home Assistant is what seems to me the best solution for most ordinary people, friends and family. Techies and the curious should take a look at these two other freedom-respecting home automation hubs.</p>
<ul><li><a href="https://openhab.org/">openHAB</a> (and <a href="https://hestiapi.com/">HestiaPi</a> open-source hardware running openHAB)</li>
<li><a href="https://domoticz.com/">DomoticZ</a></li></ul>

<p>For those building software, <a href="https://webthings.io/">Mozilla WebThings</a> is an important project providing “an open platform for monitoring and controlling devices over the web”.</p>

<h2 id="what-will-julian-do" id="what-will-julian-do">What Will Julian Do?</h2>

<p>At the time of writing I am just beginning my home automation. My first IoT device is:</p>
<ul><li>a “smart” plug/socket (switching, power monitoring)</li></ul>

<p>Plug a light into the smart plug. Click! It&#39;s on. Click! It&#39;s off... on, off, on, off. That&#39;s fun. OK, that&#39;s enough of that.</p>

<p>Plug my fridge into the smart plug: it tells me the power consumption when the fridge motor is running, when it isn&#39;t, and the total energy and average power over a day. That&#39;s interesting. Click! It switches off... oops, didn&#39;t mean to do that. Keep it on.</p>

<p><img src="https://blog.foad.me.uk/wp-content/uploads/2022/12/20221121-HomeAssistant-TasmotaPlug-graphs.png" alt="" title="Fridge energy graphs in Home Assistant companion app"></p>

<p>There are lots of ways to run Home Assistant. The easiest way for me to start was an almost one-click install of <a href="https://yunohost.org/app_homeassistant">Home Assistant on YUNoHost</a>. If I outgrow that, I can run it in its own virtual machine (VM) on my ProxMox VM server. [<em>Edit:</em> After a few months I did exactly that.]</p>

<p>Longer term, I have been hearing that people get used to their home automation and expect it to be always available, a permanent fixture of the house. To improve reliability, by taking my general-purpose servers out of the equation, I would seriously consider moving it to a <a href="https://www.home-assistant.io/green">Home Assistant Green</a> self-contained physical device.</p>

<p>On my phone I installed the official <a href="https://f-droid.org/en/packages/io.homeassistant.companion.android.minimal">Home Assistant companion app</a> from f-droid. As well as providing access to the HA dashboards and configuration, this app also adds a Home Assistant integration that monitor&#39;s the phone&#39;s power stats (battery level, etc.) and optionally lots more kinds of statistics.</p>

<p>Now I have got it up and running and kicked the tyres with my first integration, I might try:</p>
<ul><li>“smart meters” for my electricity and gas supply (energy data)</li>
<li>garage <a href="https://www.mylocalbytes.com/products/snzb-04-zigbee-door-window-sensor">door sensor</a> (turn on light, alert when I left it open)</li>
<li>voice assistant / smart speaker: <a href="https://lwn.net/Articles/926484/">Hopes and promises for open-source voice assistants</a> in LWN summarises the landscape of FOSS smart speakers, the most promising being Rhasspy which is being brought in to Home Assistant, and OpenVoiceOS (OVOS) which is taking over from where Mycroft was going</li>
<li><a href="https://www.home-assistant.io/integrations/#search/solar">solar panels</a> or a <a href="https://www.home-assistant.io/integrations/#search/heat%20pump">heat pump</a> (may provide energy data)</li></ul>

<h2 id="related" id="related">Related</h2>
<ul><li>A talk, <a href="https://fosdem.org/2023/schedule/event/home_automation/">Practical Computerized Home Automation</a> by Bruce Momjian at FOSDEM&#39;23. “Home automation is an elusive technology — often desired, rarely achieved. This talk explores a successful ten-year home automation deployment, outlining the challenges that derail many attempts. It will cover technology choices, programing basics, and a dozen successful applications.”</li>
<li>A talk, <a href="https://fosdem.org/2023/schedule/event/energy_challenges_home_energy_management/">Challenges in Home Energy Management</a> by Markus Storm at FOSDEM&#39;23. “How to best use your own PV-generated power ... deploying openHAB ... covering the most power intensive use cases of a household: EV charging, heat pump and white goods operations.”</li></ul>

<hr>

<p><em>Update 2023-12: Now recommend Home Assistant Green instead of Home Assistant Yellow.</em></p>

<hr>

<p><em>This article is part of my <a href="https://wrily.foad.me.uk/what-to-give-tech-gadgets-that-respect-our-freedom" title="What to Give - Tech Gadgets that Respect Our Freedom">Open Source Gadgets series</a>.</em></p>

<p><a href="https://wrily.foad.me.uk/tag:fossGadgets" class="hashtag"><span>#</span><span class="p-category">fossGadgets</span></a> <a href="https://wrily.foad.me.uk/tag:cloudFree" class="hashtag"><span>#</span><span class="p-category">cloudFree</span></a> <a href="https://wrily.foad.me.uk/tag:smartHome" class="hashtag"><span>#</span><span class="p-category">smartHome</span></a> <a href="https://wrily.foad.me.uk/tag:degoogled" class="hashtag"><span>#</span><span class="p-category">degoogled</span></a> <a href="https://wrily.foad.me.uk/tag:awesomeFOSS" class="hashtag"><span>#</span><span class="p-category">awesomeFOSS</span></a> <a href="https://wrily.foad.me.uk/tag:openHardware" class="hashtag"><span>#</span><span class="p-category">openHardware</span></a></p>



<hr>

<p><em>Follow/Feedback/Contact:</em> <a href="https://wrily.foad.me.uk/feed/"><em>RSS feed</em></a> · <em>Fedi follow this blog: @julian​@wrily.foad.me.uk</em> · <a href="https://matrix.to/#/@julian:foad.me.uk" title="matrix Julian"><em>matrix me</em></a> · <a href="https://fed.foad.me.uk/%40julian%40fed.foad.me.uk" title="follow Julian"><em>Fedi follow me</em></a> · <a href="mailto:julian@foad.me.uk?subject=Wrily" title="email Julian"><em>email me</em></a> · <a href="https://julian.foad.me.uk/"><em>julian.foad.me.uk</em></a>
<em>Donate:</em> <a href="https://liberapay.com/julianfoad" title="Donate to Julian using Liberapay"><em>via Liberapay</em></a>
<em>All posts © Julian Foad and licensed <a href="https://creativecommons.org/licenses/by-nd/4.0/">CC-BY-ND</a> except quotes, translations, or where stated otherwise</em></p>
]]></content:encoded>
      <guid>https://wrily.foad.me.uk/a-freedom-respecting-smart-home</guid>
      <pubDate>Fri, 11 Nov 2022 14:40:30 +0000</pubDate>
    </item>
  </channel>
</rss>