<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by nol ɹǝʇɐʍ on Medium]]></title>
        <description><![CDATA[Stories by nol ɹǝʇɐʍ on Medium]]></description>
        <link>https://medium.com/@waterlou?source=rss-b6e59b4f9775------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*H8HnAr4bNWxhWnDG.png</url>
            <title>Stories by nol ɹǝʇɐʍ on Medium</title>
            <link>https://medium.com/@waterlou?source=rss-b6e59b4f9775------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 01 Dec 2026 21:56:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@waterlou/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Installing ESPHome on a USD4 Tuya powerstrip]]></title>
            <link>https://medium.com/@waterlou/installing-esphome-on-a-usd4-tuya-powerstrip-f4dc3d281e5d?source=rss-b6e59b4f9775------2</link>
            <guid isPermaLink="false">https://medium.com/p/f4dc3d281e5d</guid>
            <category><![CDATA[home-automation]]></category>
            <dc:creator><![CDATA[nol ɹǝʇɐʍ]]></dc:creator>
            <pubDate>Mon, 18 Mar 2024 09:33:13 GMT</pubDate>
            <atom:updated>2024-03-18T09:33:13.327Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Og9pL8SZCglZxL_oUfUA2Q.jpeg" /></figure><p>Bought this Germany version of Smartplug from Taobao at RMB26, ~USD4. This device works with SmartHome app that’s the international version of Tuya devices. To avoid this device connecting to Tuya cloud, you can use cloud cutter, or install third party firmware like:</p><p><a href="https://tasmota.github.io/docs/About/">About</a></p><p>or</p><p><a href="https://esphome.io/">ESPHome - ESPHome</a></p><p>Because I am using Home Assistant for home automation, I choose ESPHome.</p><p>The device use TYWE2S, that to flash the chips, we need a USB to Serial adaptor and solder a few wires to RX, TX, GPIO0, GND, 3.3V pin on the chips.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/225/1*RCcdRQpvdz8EZ2vySOn0oQ.jpeg" /><figcaption>TYWE2S</figcaption></figure><p>With plain ESPHome, all settings can only be controlled by Home Assistant, but I also want to use it as a standard alone power strip. So I wrote a custom YAML for ESPHome that will do the following:</p><ul><li>Press the power button to turn on or turn off all ports completely.</li><li>Hold the power button to enable timer for all ports, LED will breath, default duration is XXX, and the value can be adjust in Home Assistant.</li></ul><p>Adding some converter, now the power strip is fully working with Hong Kong plugs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CfvBShXNaowsJEIxuvGaWg.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f4dc3d281e5d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Reinstalling an 2009 iMac in 2023]]></title>
            <link>https://medium.com/@waterlou/reinstalling-an-2009-imac-in-2023-35eb301edb95?source=rss-b6e59b4f9775------2</link>
            <guid isPermaLink="false">https://medium.com/p/35eb301edb95</guid>
            <category><![CDATA[imac]]></category>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[old-hardware]]></category>
            <category><![CDATA[high-sierra]]></category>
            <category><![CDATA[installation-guide]]></category>
            <dc:creator><![CDATA[nol ɹǝʇɐʍ]]></dc:creator>
            <pubDate>Fri, 01 Sep 2023 02:09:56 GMT</pubDate>
            <atom:updated>2023-09-01T02:09:56.441Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LQZ98AEVfXMYTrvF6xSEKg.jpeg" /></figure><p>Got an old 2009 iMac, tried to clean install the iMac (was in El Capitan) in recovery mode and got big trouble.</p><ul><li>Booted to recovery mode, reformatted the partition and started reinstalling El Capitan. It is an old hardware so there is no iCloud lock or whatever. But during installation, it showed “<strong>recovery server</strong> could not be contacted” error.</li><li>Then I tried to create an installation USB. Not the mention it is very difficult to create an installation USB of old MacOS with a modern Mac. It still showed “<strong>recovery server</strong> could not be contacted” error. It pissed me off because I thought there is no need to download files for USB drive installation.</li><li>Googled it, and it said it may caused by expired cert in old installation distributions, so if using network recovery mode (Cmd+Option+R) instead of recovery mode (Cmd+R) during boot will fixed the problem because it will fetch the latest installation program from internet.</li><li>But network recovery mode is only available for 2010 or later Mac, so there is no such thing in my 2009 iMac.</li><li>Then I though, if I can restart from a distribution that didn’t do such network things may works.</li><li>Turn out I can install the latest High Sierra on a 2009 iMac (The latest offical supported OS) easily with the following steps:</li></ul><ol><li>Download a random Lion DVD image from Internet Archive: <a href="https://archive.org/details/install-mac-os-x-lion-10.7.0-lion">https://archive.org/details/install-mac-os-x-lion-10.7.0-lion</a> that can install on the 2009 iMac easily because it didn’t do any internet checking. Lion is not quite working nowadays with its old web browser, it can’t even access https websites correctly.</li><li>Download the Yosemite from Apple: <a href="https://support.apple.com/en-hk/HT211683">https://support.apple.com/en-hk/HT211683</a>. You may need to download it from another computer because of the https issue. Then Upgrade the OS to Yosemite.</li><li>After upgrade to Yosemite, the AppStore should be working again now. You can now directly update to High Sierra or El Capitan from AppStore: <a href="https://support.apple.com/en-hk/HT211683">https://support.apple.com/en-hk/HT211683</a></li></ol><p>You may blame the bad support from Apple, but hey it’s a 14 years ago hardware. It’s still working great for simple web browsing or watching YouTube.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=35eb301edb95" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>