<?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 Chelaru Adrian on Medium]]></title>
        <description><![CDATA[Stories by Chelaru Adrian on Medium]]></description>
        <link>https://medium.com/@che-adrian?source=rss-db98a59d3d8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*3m_wcDfNnBKdg3FWYee7kw.jpeg</url>
            <title>Stories by Chelaru Adrian on Medium</title>
            <link>https://medium.com/@che-adrian?source=rss-db98a59d3d8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:17:13 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@che-adrian/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[Thunderboard Sense 2 — Silicon Labs to Home Assistant with BTHome]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://che-adrian.medium.com/thunderboard-sense-2-silicon-labs-to-home-assistant-with-bthome-074975f9243b?source=rss-db98a59d3d8------2"><img src="https://cdn-images-1.medium.com/max/1242/1*iTc2CnHXzW2B4I65UE-PsQ.png" width="1242"></a></p><p class="medium-feed-snippet">BTHome is a well-supported open Bluetooth protocol that let BLE device to advertise data in the low power mode with Thunderboard Sense V2.</p><p class="medium-feed-link"><a href="https://che-adrian.medium.com/thunderboard-sense-2-silicon-labs-to-home-assistant-with-bthome-074975f9243b?source=rss-db98a59d3d8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://che-adrian.medium.com/thunderboard-sense-2-silicon-labs-to-home-assistant-with-bthome-074975f9243b?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/074975f9243b</guid>
            <category><![CDATA[home-assistant]]></category>
            <category><![CDATA[thunderboard]]></category>
            <category><![CDATA[integration]]></category>
            <category><![CDATA[bthome]]></category>
            <category><![CDATA[silicon-lab]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Tue, 16 Jan 2024 15:07:26 GMT</pubDate>
            <atom:updated>2024-01-18T14:47:51.833Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Setting up GrowthBook with WordPress to free A/B split testing]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://che-adrian.medium.com/setting-up-growthbook-with-wordpress-to-free-a-b-split-testing-8c3dc626dfa4?source=rss-db98a59d3d8------2"><img src="https://cdn-images-1.medium.com/max/600/1*HRDAesMYYARDHIrIZEYQCw.png" width="600"></a></p><p class="medium-feed-snippet">If you are looking in the WordPress plugins market, you won&#x2019;t find anything decent for split-testing, except Nelio, which is great but&#x2026;</p><p class="medium-feed-link"><a href="https://che-adrian.medium.com/setting-up-growthbook-with-wordpress-to-free-a-b-split-testing-8c3dc626dfa4?source=rss-db98a59d3d8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://che-adrian.medium.com/setting-up-growthbook-with-wordpress-to-free-a-b-split-testing-8c3dc626dfa4?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8c3dc626dfa4</guid>
            <category><![CDATA[wordpress]]></category>
            <category><![CDATA[ab-testing]]></category>
            <category><![CDATA[split-testing]]></category>
            <category><![CDATA[growthbook]]></category>
            <category><![CDATA[experiment]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Thu, 28 Dec 2023 23:23:25 GMT</pubDate>
            <atom:updated>2024-01-03T09:09:05.815Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Install and adding MQTT server to the Home Assistant]]></title>
            <link>https://che-adrian.medium.com/install-and-adding-mqtt-server-to-the-home-assistant-7272454fdc59?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/7272454fdc59</guid>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[tasmota]]></category>
            <category><![CDATA[home-assistant]]></category>
            <category><![CDATA[mqtt]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Wed, 20 Dec 2023 13:31:44 GMT</pubDate>
            <atom:updated>2023-12-20T13:31:44.832Z</atom:updated>
            <content:encoded><![CDATA[<p>If you have a Home Assistant instance, then Mosquitto might come handy in connecting different IoT devices that support this protocol, like these that can run OSS firmware, <a href="https://tasmota.github.io/docs/">Tasmota</a>, <a href="https://esphome.io/index.html">ESPHome</a>, <a href="https://openbekeniot.github.io/webapp/devicesList.html">OpenBeken</a>, etc.</p><p>I use Home Assistant on Raspberry Pi, so I’ll show you how easy it is to set it up in a few steps. If you don’t have HASS installed, then <a href="https://medium.com/@che-adrian/install-home-assistant-core-on-the-raspberry-pi-e7544dcba8d2">check this article</a>.</p><h4>Install MQTT server</h4><p>This process is straightforward, with a simple line in Terminal:</p><pre>sudo apt-get install mosquitto mosquitto-clients </pre><p>And that’s it 🐧.</p><p>Now it’s important to secure access to the Mosquitto broker.</p><p><a href="https://che-adrian.medium.com/list/f4bd05f346e7">Create and configure personal cloud using Nextcloud</a></p><h4>Start the MQTT and add at boot</h4><p>You can start MQTT now, and after the device boot up, using the built-in service:</p><pre>sudo systemctl enable mosquitto<br>sudo systemctl start mosquitto</pre><h4>Create a user and a password</h4><p>You can create a new username and password using the mosquitto_passwd. Replace the YOUR_MQTT_USER with the user you want to use.</p><pre>sudo mosquitto_passwd -c /etc/mosquitto/passw YOUR_MQTT_USER</pre><p>Set a password and remember it.</p><p>Now you should disable anonymous users:</p><pre>echo -e &quot;allow_anonymous false\npassword_file /etc/mosquitto/passw&quot; | sudo tee -a sudo nano /etc/mosquitto/mosquitto.conf</pre><p>Now restart the Mosquitto broker:</p><pre>sudo systemctl restart mosquitto</pre><p>Great, now let&#39;s configure Home Assistant!</p><h4>Home Assistant MQTT set up</h4><p>You can connect to the MQTT broker using built-in HASS integration with ease. Navigate to “Settings” -&gt; “Devices &amp; services” -&gt; “+ Add integration” and find MQTT in the list. Use the MQTT broker details to connect.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KCF19chIplt1xq_1AQr2bw.gif" /><figcaption>Connect to MQTT broker using Home Assistant integration</figcaption></figure><p>Now you can use Mosquitto compatible devices with Home Assistant 👌.</p><h4>Listen to outside of localhost</h4><p>If you plan to use MQTT outside the Raspberry Pi to set up the IoT devices on your LAN or internet, then you should set Mosquitto broker to listen for outbound connection request:</p><pre>echo -e &quot;listener 1883&quot; | sudo tee -a sudo nano /etc/mosquitto/mosquitto.conf</pre><h4>Example with Tasmota</h4><p>If you have a device that is running Tasmota, you can control it using MQTT from Home Assistant. Configure MQTT on the Tasmota by navigating to “Configuration” -&gt; “Configure MQTT” then add your MQTT broker data.</p><p>Replace <strong>YOUR_MQTT_DEVICE_IP</strong> with your Raspberry Pi local network IP, and of course <strong>YOUR_MQTT_USER</strong> and <strong>YOUR_PASSWORD</strong> with what you used above.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/457/1*Zqi8_8nJ-sDq68GofvlREw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/435/1*yW_7wUIP1IoeSkpveYR4eA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/458/1*xkuGpwLPJkzxFWpg1AmOeA.png" /><figcaption>Configure Tasmota MQTT parameters</figcaption></figure><p>After this, the Tasmota entity should appear automatically inside the Home Assistant</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/776/1*Q7ELkZYPi2JbNSzhUYUE2Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*K3JCi464qddRaAphXW29IQ.png" /><figcaption>Tasmota sending MQTT data in left, Tasmota entity on the Home Assistant</figcaption></figure><p>If not, press the “+ Add integration” and add it. Verify the Tasmota “Console” to see if MQTT connection working properly.</p><p>Now you can add buttons to the dashboard, knowing the Tasmota entities IDs inside that integration.</p><h4>Manual integration</h4><p>Other IoT devices needs manual configuration and might appear inside the MQTT integration, or you can use MQTT service to send and receive data inside scripts and automations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vYk7_phjeGCTTSz6H51MJA.png" /><figcaption>Example of manual integration using MQTT Publish service</figcaption></figure><p>There are both Publish and Receive MQTT service that you can use in your script and let you add buttons on your HASS interface.</p><h4>Test with MQTT client</h4><p>You can use <a href="https://mqttx.app/">MQTTX</a> to test the Mosquitto broker using the Windows / Linux or another machine. Get it from <a href="https://mqttx.app/">here</a>.</p><p>Use your device data. Replace the 192.168.0.190 with your Raspberry Pi IP.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-uiLmgoGBHiePzHeos46PQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*-D6moftZ5dOqveH0oPBnsA.png" /><figcaption>MQTTX Mosquitto client for Windows, Linux, Mac, right is message received from Tasmota status topic</figcaption></figure><h4>Super!</h4><p>So now you know how to configure MQTT with your device and Home Assistant.</p><p>⚠️ Keep in mind if you want to expose this MQTT server directly over the internet, it is not TLS / SSL secured, so a bad actor can read commands your login credentials. If you use different username and password than usual, you are kind of safe, but even so, a bad actor can get control of your device and who knows what malicious code can inject to get access to your entire network. Always keep your IoT devices updated!</p><p>You can <a href="https://www.hivemq.com/blog/mqtt-security-fundamentals-tls-ssl/">add TLS / SSL to the MQTT</a> quite fast with certbot but it’s not compatible with all IoT devices, so better keep it local and don’t expose MQTT port to the internet.</p><p>Does this mean I can’t use Home Assistant to control the MQTT device over the internet? No! Your HASS instance is separate from the Mosquitto broker. The broker will handle the IoT devices in your local network only and interface them with Home Assistant that can be exposed over the internet with encrypted connection.</p><p>You can find more related articles in this list:</p><p><a href="https://che-adrian.medium.com/list/8607d4244c06">Configuring Home Assistant and custom integrations</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7272454fdc59" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Install Home Assistant Core on the Raspberry Pi]]></title>
            <link>https://che-adrian.medium.com/install-home-assistant-core-on-the-raspberry-pi-e7544dcba8d2?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7544dcba8d2</guid>
            <category><![CDATA[configuration]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[home-improvement]]></category>
            <category><![CDATA[home-assistant]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Wed, 20 Dec 2023 10:56:31 GMT</pubDate>
            <atom:updated>2023-12-20T13:40:40.239Z</atom:updated>
            <content:encoded><![CDATA[<p>If you don’t want to use the Docker version and have a Raspberry Pi around, then you can go straight to install the Core variant of Home Assistant. I know you can use <a href="https://www.home-assistant.io/installation/raspberrypi#install-home-assistant-core">the official guide</a> about how to install the HASS Core, but here you will find a bit more details👌.</p><h4><strong>Verify the base</strong></h4><p>Using the latest version of Raspberry Pi OS, you should already have Python 3.11+ installed.</p><p>Verify what Python version you have with python --version.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mhz9wKYTYuoIrakeD2UHNw.png" /><figcaption>Python 3.11.2 build in on latest Raspberry Pi OS</figcaption></figure><p>If you don’t have the latest Raspberry Pi OS, I recommend you <a href="https://dev.blues.io/blog/easiest-upgrade-raspberry-pi-bullseye-bookworm/">an upgrade</a>.</p><h4>Set the Home Assistant up</h4><p>You have to install necessary packages in order to get set up to work:</p><pre>sudo apt-get update<br>sudo apt-get install -y python3 python3-dev python3-venv python3-pip bluez libffi-dev libssl-dev libjpeg-dev zlib1g-dev autoconf build-essential libopenjp2-7 libtiff6 libturbojpeg0-dev tzdata ffmpeg liblapack3 liblapack-dev libatlas-base-dev</pre><p>Create a new user and group for the HASS:</p><pre>sudo useradd -rm homeassistant -G dialout,gpio,i2c</pre><p>Virtual environment to put all Python packages:</p><pre>sudo mkdir /srv/homeassistant<br>sudo chown homeassistant:homeassistant /srv/homeassistant</pre><p>Add homeassistant to sudoers as it might become in handy later:</p><pre>sudo usermod -aG sudo homeassistant</pre><p>Switch to homeassistant user:</p><pre>sudo -u homeassistant -H -s</pre><p>Put a password to the homeassistant user with passwd command.</p><p>Now let’s bring the virtual environment to life:</p><pre>cd /srv/homeassistant<br>python3 -m venv .<br>source bin/activate</pre><p>Install the latest Home Assistant package 🤘:</p><pre>pip3 install wheel homeassistant</pre><p>Now you can check if it is working with the simple command:</p><pre>hass</pre><p>Initially, the hass command will install and compile additionally Python packages, so it <strong>takes several minutes, </strong>about 30 on Pi 3, probably around 5 minutes on Pi 5, till you can actually access the Home Assistant first time.</p><p>To see the dashboard, navigate to:</p><p><a href="http://YOUR_DEVICE_IP:8123,">http://YOUR_DEVICE_IP:8123</a> — replace YOUR_DEVICE_IP with the Raspberry Pi IP or hostname.local, e.g., <a href="http://raspberrypi.local:8123/">http://raspberrypi.local:8123</a> .</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/837/1*S5-zFzum5Ojc2d7Tbmg40g.png" /></figure><p><a href="https://che-adrian.medium.com/list/f4bd05f346e7">Create and configure personal cloud using Nextcloud</a></p><h4>Fixing errors during HASS initialization</h4><p>There are, at least two common packages incompatibility that aren’t solved yet, as of starting of 2024, at the hass initial set up, so it’s necessary to address them manually before we can fully use the Home Assistant.</p><p>— <a href="https://github.com/home-assistant/core/issues/73885">aiohttp error</a>:</p><p>You should configure SSL for your Home Assistant.</p><pre> File &quot;aiohttp/_http_parser.pyx&quot;, line 557, in aiohttp._http_parser.HttpParser.feed_data<br>aiohttp.http_exceptions.BadStatusLine: 400, message:<br>  Invalid method encountered:<br><br>    b&#39;\x16\x03\x01\x02&#39;</pre><p>If you have a Home Assistant instance that doesn’t integrate the SSL certificate in the main configuration and you (or an integration, plugin, etc.) are trying to access the encrypted version of the API / dashboard, this error is going to appear.</p><p>The solution is to use Home Assistant using the TLS / SSL certificate configured in the configuration.yaml.</p><p>If you don’t have any certificate, then create one <a href="https://pimylifeup.com/raspberry-pi-ssl-lets-encrypt/">like here</a> (example.com = YOUR_DDNS_URL.com) (skip points 3 and 4 to 5a).</p><p>Assuming you use certbot to generate a certificate, and you have a dynamic DNS for your network, replace <a href="https://your_ddns_url.com/">YOUR_DDNS_URL.com</a>:</p><pre>http:<br>  server_port: 8123<br>  ssl_certificate: /etc/letsencrypt/live/YOUR_DDNS_URL.com/fullchain.pem<br>  ssl_key: /etc/letsencrypt/live/YOUR_DDNS_URL.com/privkey.pem<br>  cors_allowed_origins:<br>    - https://google.com<br>    - https://www.home-assistant.io<br>    - https://cast.home-assistant.io<br>    - cast.home-assistant.io<br>    - https://YOUR_DDNS_URL.com:8123</pre><p>After configuring the http section in YAML file, the problem goes away.</p><p>— <a href="https://github.com/home-assistant/core/issues/95192">urllib3.util and botocore error</a>:</p><p>If you are experiencing problems with urllib3 and botocore:</p><pre>File &quot;/home/homeassi/.pyenv/versions/3.11.4/envs/ha_2023.6.3/lib/python3.11/site-packages/urllib3/contrib/pyopenssl.py&quot;, line 97, in &lt;module&gt;<br>    util.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD<br><br>module &#39;urllib3.util&#39; has no attribute &#39;PROTOCOL_TLS&#39;</pre><p>You can fix this by going back to an older version of urllib3 and install botocore from source:</p><pre>pip install --upgrade urlib3-1.26.16 git+https://github.com/boto/botocore</pre><p>You should check the Home Assistant logs inside the interface <em>Settings </em>menu from time to time to make sure everything works smooth.</p><h4>Start Home Assistant after boot</h4><p>You can create an SystemD service with the sole role to start your Home Assistant instance after Raspberry Pi boot.</p><p>Create an new homeassistant service:</p><pre>sudo nano /etc/systemd/system/homeassistant.service</pre><p>Then put the configuration inside:</p><pre>[Unit]<br>Description=Home Assistant<br>After=network-online.target<br><br>[Service]<br>Type=simple<br>User=homeassistant<br>WorkingDirectory=/home/homeassistant/.homeassistant<br>ExecStart=/srv/homeassistant/bin/hass -c &quot;/home/homeassistant/.homeassistant&quot;<br>RestartForceExitStatus=100<br><br>[Install]<br>WantedBy=multi-user.target</pre><p><strong>CTRL + S, CTRL + X</strong> to save and exit.</p><p>Enable service and start the HASS using it:</p><pre>sudo systemctl daemon-reload<br>sudo systemctl enable homeassistant<br>sudo systemctl start homeassistant</pre><p>Now you should be able to access the Home Assistant, and it will automatically start after each Raspberry Pi OS boot.</p><h4>Exposing Home Assistant over internet</h4><p>⚠️ Do not expose Home Assistant over the internet if you didn’t configure the TLS / SSL encryption like mentioned <a href="#110e">above at the first error</a>, as it is a big security flaw.</p><p>If you plan to expose the Home Assistant over the internet, simply port forward the 8123 port inside your router configuration, for the Raspberry Pi local IP. To do so, search on the Google, Bing, etc.: “how to port forward YOUR_ROUTER_MODEL”, and replace YOUR_ROUTER_MODEL with the model number from your router back, e.g. “port forward tp-link archer a6”.</p><h4>Running Home Assistant CLI after installation</h4><p>Next time you want to use hass command manually, you have to log in or switch to homeassistant user and activate the environment, e.g.:</p><pre># Skip this now!<br># Only if you have to use `hass` command manually<br># next time you log in to Terminal<br>sudo -u homeassistant -H -s<br>source /srv/homeassistant/bin/activate</pre><p>If you don’t want to source every time you log in to homeassistant user, then edit the bashrc:</p><pre>echo &quot;source /srv/homeassistant/bin/activate&quot; | sudo tee -a /home/homeassistant/.bashrc</pre><h4>Configuration</h4><p>If you need to follow up guide for additional configuration, modules and custom components you can find everything in this location:</p><pre>/home/homeassistant/.homeassistant</pre><p>Make sure you are <strong>logged in as</strong> homeassistant before doing anything.</p><p>If you need to add a new custom component, let’s say <a href="https://github.com/thomasloven/hass-browser_mod">browser_mod</a> to your HASS, then create the directory inside that folder:</p><pre>cd ~/.homeassistant<br>mkdir custom_components</pre><p>Now you can put the <a href="https://github.com/thomasloven/hass-browser_mod/tree/master/custom_components">browser_mod</a> directory from git <a href="https://github.com/thomasloven/hass-browser_mod/tree/master/custom_components">custom_components<br></a> folder inside custom_components, e.g. ~/.homeassistant/custom_components/browser_mod, and restart the HASS.</p><pre>sudo systemctl restart homeassistant</pre><h4>Congratulations</h4><p>You have successfully set the Home Assistant instance for your home up, from scratch, that’s great 🤘!</p><p>Check out my other guides in this list:</p><p><a href="https://che-adrian.medium.com/list/8607d4244c06">Configuring Home Assistant and custom integrations</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7544dcba8d2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Speed up previews on Nextcloud with Imaginary running on Raspberry Pi]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://che-adrian.medium.com/speed-up-previews-on-nextcloud-with-imaginary-running-on-raspberry-pi-d7bdca900d90?source=rss-db98a59d3d8------2"><img src="https://cdn-images-1.medium.com/max/1257/1*H31Iw5swTEH8EaxOqNmfWA.png" width="1257"></a></p><p class="medium-feed-snippet">Here&#x2019;s how you can set up the Imaginary in order to speed up the image preview on your Nextcloud instance.</p><p class="medium-feed-link"><a href="https://che-adrian.medium.com/speed-up-previews-on-nextcloud-with-imaginary-running-on-raspberry-pi-d7bdca900d90?source=rss-db98a59d3d8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://che-adrian.medium.com/speed-up-previews-on-nextcloud-with-imaginary-running-on-raspberry-pi-d7bdca900d90?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7bdca900d90</guid>
            <category><![CDATA[preview]]></category>
            <category><![CDATA[imaginaries]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[nextcloud]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Mon, 18 Dec 2023 15:18:19 GMT</pubDate>
            <atom:updated>2023-12-18T15:42:48.880Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Creating an Android game bot with OpenCV and UiAutomator2  for AliExpress Merge Boss]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://che-adrian.medium.com/creating-an-android-game-bot-with-opencv-and-uiautomator2-for-aliexpress-merge-boss-9ac9a6d5581c?source=rss-db98a59d3d8------2"><img src="https://cdn-images-1.medium.com/max/1113/1*BiODYBa_GwjFDKwrqtk-wQ.png" width="1113"></a></p><p class="medium-feed-snippet">Are you tired to keep swiping in order to merge items in the AliExpress Merge Boss? Then it&#x2019;s time to automate the process with a bot!</p><p class="medium-feed-link"><a href="https://che-adrian.medium.com/creating-an-android-game-bot-with-opencv-and-uiautomator2-for-aliexpress-merge-boss-9ac9a6d5581c?source=rss-db98a59d3d8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://che-adrian.medium.com/creating-an-android-game-bot-with-opencv-and-uiautomator2-for-aliexpress-merge-boss-9ac9a6d5581c?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ac9a6d5581c</guid>
            <category><![CDATA[aliexpress]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[bots]]></category>
            <category><![CDATA[opencv]]></category>
            <category><![CDATA[games]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Fri, 15 Dec 2023 21:09:14 GMT</pubDate>
            <atom:updated>2023-12-15T21:23:43.384Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Creating a custom scroll bar indicator — React Native, Reanimated, Gesture]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://che-adrian.medium.com/creating-a-custom-scroll-bar-indicator-react-native-reanimated-gesture-b78b238067b3?source=rss-db98a59d3d8------2"><img src="https://cdn-images-1.medium.com/max/811/1*v-5Oo_nPAo6yeHDW4cu5qw.gif" width="811"></a></p><p class="medium-feed-snippet">Customize the scroll bar indicator, cross-platform, color, width, gesture, auto-hide with Reanimated and Gesture Handler</p><p class="medium-feed-link"><a href="https://che-adrian.medium.com/creating-a-custom-scroll-bar-indicator-react-native-reanimated-gesture-b78b238067b3?source=rss-db98a59d3d8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://che-adrian.medium.com/creating-a-custom-scroll-bar-indicator-react-native-reanimated-gesture-b78b238067b3?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/b78b238067b3</guid>
            <category><![CDATA[development]]></category>
            <category><![CDATA[mobile-development]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[react-native]]></category>
            <category><![CDATA[expo]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Thu, 14 Dec 2023 12:15:30 GMT</pubDate>
            <atom:updated>2023-12-14T12:22:44.288Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Optimize energy consumption for SiLabs Thunderboard on battery]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://che-adrian.medium.com/optimize-energy-consumption-for-silabs-thunderboard-on-battery-0bc573b6b453?source=rss-db98a59d3d8------2"><img src="https://cdn-images-1.medium.com/max/1638/1*_Hx9gUdiIB4wdno0V89AzQ.png" width="1638"></a></p><p class="medium-feed-snippet">If you didn&#x2019;t saw already, check out the Home Assistant integration for Thunderboard Sense 2.</p><p class="medium-feed-link"><a href="https://che-adrian.medium.com/optimize-energy-consumption-for-silabs-thunderboard-on-battery-0bc573b6b453?source=rss-db98a59d3d8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://che-adrian.medium.com/optimize-energy-consumption-for-silabs-thunderboard-on-battery-0bc573b6b453?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/0bc573b6b453</guid>
            <category><![CDATA[optimization]]></category>
            <category><![CDATA[ble]]></category>
            <category><![CDATA[battery]]></category>
            <category><![CDATA[home-assistant]]></category>
            <category><![CDATA[thunderboard]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Tue, 07 Nov 2023 14:47:38 GMT</pubDate>
            <atom:updated>2024-01-16T15:09:01.689Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Bringing a new BLE device to the Home Assistant — SiLabs Thunderboard example]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://che-adrian.medium.com/bringing-a-new-ble-device-to-the-home-assistant-silabs-thunderboard-example-1f0d6094c84b?source=rss-db98a59d3d8------2"><img src="https://cdn-images-1.medium.com/max/1003/1*oVqLBmeDI0Qa6DstW6izVQ.png" width="1003"></a></p><p class="medium-feed-snippet">You might have some Bluetooth devices lying around, but they don&#x2019;t have a Home Assistant integration, so why would you don&#x2019;t bring them up&#x2026;</p><p class="medium-feed-link"><a href="https://che-adrian.medium.com/bringing-a-new-ble-device-to-the-home-assistant-silabs-thunderboard-example-1f0d6094c84b?source=rss-db98a59d3d8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://che-adrian.medium.com/bringing-a-new-ble-device-to-the-home-assistant-silabs-thunderboard-example-1f0d6094c84b?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/1f0d6094c84b</guid>
            <category><![CDATA[home-assistant]]></category>
            <category><![CDATA[thunderboard-sense-2]]></category>
            <category><![CDATA[bluetooth]]></category>
            <category><![CDATA[custom-integration]]></category>
            <category><![CDATA[silicon-lab]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Tue, 07 Nov 2023 13:35:17 GMT</pubDate>
            <atom:updated>2024-01-16T15:08:52.272Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Control your Raspberry Pi FAN using hardware PWM]]></title>
            <link>https://che-adrian.medium.com/control-your-raspberry-pi-fan-using-hardware-pwm-31a71d1c6643?source=rss-db98a59d3d8------2</link>
            <guid isPermaLink="false">https://medium.com/p/31a71d1c6643</guid>
            <category><![CDATA[fan-control]]></category>
            <category><![CDATA[hardware]]></category>
            <category><![CDATA[raspberry-pi]]></category>
            <category><![CDATA[pwm]]></category>
            <dc:creator><![CDATA[Chelaru Adrian]]></dc:creator>
            <pubDate>Thu, 26 Oct 2023 11:12:21 GMT</pubDate>
            <atom:updated>2023-10-26T11:12:21.631Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’re a Raspberry Pi enthusiast, you may have encountered the need to control the fan speed for cooling your Pi when it’s under heavy load.</p><p>Here I’ll show you how to do that using a simple Python script and a library that controls the PWM signal using a hardware driver, that way we can use higher frequencies and there’s no CPU load.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/542/0*DF454A-dkvVTB0Ix.png" /><figcaption>PWM signal example, <a href="https://commons.wikimedia.org/wiki/File:Duty_Cycle_Examples.png">copyright</a></figcaption></figure><p>The Python library that is needed in this case: <a href="https://pypi.org/project/rpi-hardware-pwm/">rpi-hardware-pwm</a>.</p><h4>Python hardware PWM FAN control script</h4><p>This is the script, and if you want to add it on the startup of the Raspberry Pi, then scroll at the bottom for installing instructions 🥳.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cc7929df226ded1202aeb76c935bd181/href">https://medium.com/media/cc7929df226ded1202aeb76c935bd181/href</a></iframe><h4>Installing instructions and run at the startup</h4><p>These instructions will automatically put the script into the /usr/local/bin/fan_control.py and get the service to run it at startup:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3bd8ac1f1194104f3d2b61d15255de5/href">https://medium.com/media/b3bd8ac1f1194104f3d2b61d15255de5/href</a></iframe><p>Here’s the fan_control.service, if you want to take a quick look:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/020fb1ca6c08a68a410d506d078236d8/href">https://medium.com/media/020fb1ca6c08a68a410d506d078236d8/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=31a71d1c6643" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>