<?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 Ketut Artayasa on Medium]]></title>
        <description><![CDATA[Stories by Ketut Artayasa on Medium]]></description>
        <link>https://medium.com/@artayasa?source=rss-6a6a5a2d9af0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Y-SFciiEqPqYDqrH.jpg</url>
            <title>Stories by Ketut Artayasa on Medium</title>
            <link>https://medium.com/@artayasa?source=rss-6a6a5a2d9af0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 15:28:57 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@artayasa/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[Attribution for Free icon]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-snippet">Creating quality icons takes a lot of time and effort</p><p class="medium-feed-link"><a href="https://medium.com/@artayasa/attribution-for-free-icon-7716188ddb23?source=rss-6a6a5a2d9af0------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@artayasa/attribution-for-free-icon-7716188ddb23?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7716188ddb23</guid>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Wed, 20 May 2026 17:03:30 GMT</pubDate>
            <atom:updated>2026-05-20T17:03:30.576Z</atom:updated>
            <cc:license>http://creativecommons.org/publicdomain/zero/1.0/</cc:license>
        </item>
        <item>
            <title><![CDATA[Pi Network Price Monitoring]]></title>
            <link>https://medium.com/ketut-web-id/pi-network-price-monitoring-92b5a8eb425e?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/92b5a8eb425e</guid>
            <category><![CDATA[crypto]]></category>
            <category><![CDATA[pi-network]]></category>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Sun, 23 Feb 2025 12:17:56 GMT</pubDate>
            <atom:updated>2025-02-23T12:17:56.615Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xCNpK9u0YTUhlWyc-adPQQ.png" /></figure><p>After waiting for six year, finally Pi open network officially launched. For monitoring price of pi I create simple python script to grab price from API that profided by <a href="https://www.coingecko.com/">coingecko</a> and create always top simple tkinter gui, so while working on my laptop I know currently pi’s price.</p><pre>import requests<br>import tkinter as tk<br><br><br>previous_price = None<br><br>def get_pi_price():<br>    &quot;&quot;&quot;Fetch Pi Network price from CoinGecko API.&quot;&quot;&quot;<br>    url = &#39;https://api.coingecko.com/api/v3/simple/price?ids=pi-network&amp;vs_currencies=usd&#39;<br>    try:<br>        response = requests.get(url)<br>        data = response.json()<br>        return round(data[&#39;pi-network&#39;][&#39;usd&#39;], 2)<br>    except Exception:<br>        return None<br><br>def update_price():<br>    &quot;&quot;&quot;Update price label with color &amp; arrow indicators.&quot;&quot;&quot;<br>    global previous_price<br><br>    price = get_pi_price()<br>    if price is not None:<br>        arrow = &quot; - &quot;  <br>        color = &quot;white&quot;<br><br>        if previous_price is not None:<br>            if price &gt; previous_price:<br>                color = &quot;green&quot;<br>                arrow = &quot; ▲ &quot;<br>            elif price &lt; previous_price:<br>                color = &quot;red&quot;<br>                arrow = &quot; ▼ &quot;<br><br>        price_label.config(text=f&quot;Pi ${price:.2f}{arrow}&quot;, fg=color)<br>        previous_price = price  <br><br>    root.after(300000, update_price)  <br><br>def on_press(event):<br>    root.x = event.x<br>    root.y = event.y<br><br>def on_drag(event):<br>    x = root.winfo_x() + (event.x - root.x)<br>    y = root.winfo_y() + (event.y - root.y)<br>    root.geometry(f&quot;+{x}+{y}&quot;)<br><br>root = tk.Tk()<br>root.geometry(&quot;200x80&quot;)<br>root.configure(bg=&quot;black&quot;)<br><br><br>root.overrideredirect(True)<br>root.attributes(&quot;-topmost&quot;, True)  <br><br><br>root.bind(&quot;&lt;ButtonPress-1&gt;&quot;, on_press)<br>root.bind(&quot;&lt;B1-Motion&gt;&quot;, on_drag)<br><br>price_label = tk.Label(root, text=&quot;Loading...&quot;, font=(&quot;Arial&quot;, 16, &quot;bold&quot;), fg=&quot;white&quot;, bg=&quot;black&quot;)<br>price_label.pack(expand=True, padx=10, pady=20)<br><br>update_price()<br>root.mainloop()</pre><p>This script grab data every one minute then compare previous price with current price, if current price higher than previous price, text and arrow color set to green, if lower than previous price text and arrow set to red.</p><p>At the time of writing this article the current price of pi is $1.41</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/272/1*GqFFttMX0bHwrWr1RkN1HA.png" /><figcaption>Pi’s price monitor</figcaption></figure><p>See you next year Pi, let’s see what the price is</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=92b5a8eb425e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ketut-web-id/pi-network-price-monitoring-92b5a8eb425e">Pi Network Price Monitoring</a> was originally published in <a href="https://medium.com/ketut-web-id">Sharing while learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Broken heart is not bad]]></title>
            <link>https://medium.com/ketut-web-id/broken-heart-is-not-bad-b5660bf84d6e?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/b5660bf84d6e</guid>
            <category><![CDATA[love]]></category>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Fri, 16 Feb 2024 23:34:02 GMT</pubDate>
            <atom:updated>2024-02-16T23:34:02.004Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>When your day is long<br>And the night, the night is yours alone<br>When you’re sure you’ve had enough<br>Of this life, well hang on</blockquote><blockquote>Don’t let yourself go<br>’Cause everybody cries<br>Everybody hurts sometimes</blockquote><blockquote>Sometimes everything is wrong<br>Now it’s time to sing along</blockquote><p>as R.E.M said that “Everybody Hurts”</p><p>A broken heart is not so bad, a broken heart is a huge power resource too when it tackled properly. Everyone must have experienced this condition in their life, everyone doesn’t gain everything as they wish, some of them will be failed, some of them make us sad, angry, etc.</p><p>I am a kind of person that easy feel broken heart, but every broken heart in other side always come with great power to jump to other level of motivation to proofing something, of course in the right way. If we tackle it with right big hug, it’s like a nuclear, come with huge power, generate much electrical power for our brain to grab everything in this universe.</p><p>Ask yourself, you must have felt this way. The next challenge is how to use this <strong>nuclear</strong> reactions to produce electricity then maximize our potential. Of course everyone didn’t need to hurt them life to get this power.</p><p>How to manage a broken heart, it’s hard and varies, but believe me, time heals, leave something that hurts you, embrace it. While give yourself to back normal, use this great power to gaining something useful, learn a new complex theory, enjoy a new hobby, build somethings, build new OS, learn new programming language, hacking something and soon.</p><p>Believe me, everything will be fine.</p><blockquote>Dedicated to my friend, who lost his life because of a broken heart, sorry I was late writing this article.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b5660bf84d6e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ketut-web-id/broken-heart-is-not-bad-b5660bf84d6e">Broken heart is not bad</a> was originally published in <a href="https://medium.com/ketut-web-id">Sharing while learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Transformers’s pipeline error after install scikit-learn on Jetson Nano]]></title>
            <link>https://medium.com/ketut-web-id/transformerss-pipeline-error-after-install-scikit-learn-on-jetson-nano-a87c2ce9863?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/a87c2ce9863</guid>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Fri, 14 Apr 2023 05:56:03 GMT</pubDate>
            <atom:updated>2023-04-14T05:56:03.992Z</atom:updated>
            <content:encoded><![CDATA[<p>Transformers’s pipeline and many others not working anymore after install scikit-learn as a picture below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uJ078UIdA4fjAx3_nMiVmA.jpeg" /></figure><p>This is a simple solution you may try</p><p>Instead of installing scikit-learn via pip, install it directly from apt</p><pre>sudo apt install python3-sklearn</pre><p>Hopefully the problem is solved.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a87c2ce9863" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ketut-web-id/transformerss-pipeline-error-after-install-scikit-learn-on-jetson-nano-a87c2ce9863">Transformers’s pipeline error after install scikit-learn on Jetson Nano</a> was originally published in <a href="https://medium.com/ketut-web-id">Sharing while learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pendataan awal Regsosek]]></title>
            <link>https://medium.com/@artayasa/pendataan-awal-regsosek-d7f279366b75?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/d7f279366b75</guid>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Fri, 14 Oct 2022 01:00:55 GMT</pubDate>
            <atom:updated>2022-10-14T01:02:03.019Z</atom:updated>
            <content:encoded><![CDATA[<p>Mencatat untuk Membangun Negeri</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/360/1*_vTyfopdrE-nNmBTjOh4-Q.jpeg" /></figure><p><strong>Apa itu Pendataan Registrasi Sosial Ekonomi (Regsosek)</strong></p><p>Pendataan Regsosek adalah pengumpulan data seluruh penduduk yang terdiri atas profil, kondisi sosial, ekonomi, dan tingkat kesejahteraan.</p><p><strong>Pemanfaatan</strong><br>Data kondisi ekonomi seluruh penduduk akan membantu pelaksanaan program pemerintah sehingga berjalan efektif.</p><p><strong>Ruang lingkup</strong><br>Seluruh penduduk pada 514 kabupaten/kota dengan menggunakan pendekatan keluarga.</p><p><strong>Waktu pelaksanaan</strong><br>15 Oktober s.d. 14 November 2022</p><p><strong>Informasi yang dikumpulkan.</strong><br>- Kondisi sosioekonomi demografis.<br>- Kondisi perumahan dan sanitasi air bersih.<br>- Kepemilikan aset<br>- Kondisi kerentanan kelompok penduduk khusus.<br>- Informasi geospasial.<br>- Tingkat Kesejahteraan.<br>- Informasi sosial ekonomi lainnya.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d7f279366b75" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Mencatat Pertanian Indonesia]]></title>
            <link>https://medium.com/@artayasa/mencatat-pertanian-indonesia-67bd75b65fba?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/67bd75b65fba</guid>
            <category><![CDATA[mencatat-indonesia]]></category>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Wed, 24 Aug 2022 01:18:40 GMT</pubDate>
            <atom:updated>2023-06-07T14:57:08.538Z</atom:updated>
            <content:encoded><![CDATA[<p>Mencatat Pertanian Indonesia untuk kedaulatan Pangan dan Kesejahteraan Petani.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Kykr3VKgTNEDrKRkaW9XJQ.png" /><figcaption>Logo Sensus Pertanian 2023</figcaption></figure><p>Sesuai dengan Undang-undang Republik Indonesia Nomor 16 Tahun 1997, BPS berkewajiban melaksanakan sensus, yaitu Sensus Penduduk (SP), Sensus Pertanian (ST), dan Sensus Ekonomi (SE), setiap 10 tahun sekali. Sensus Pertanian (ST) dilaksanakan setiap tahun yang berakhiran angka 3 (tiga).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/434/1*d6ing5aIdcXyIkgPyOCzEA.jpeg" /><figcaption>Pelaksanaan Sensus Pertanian di Indonesia</figcaption></figure><p>Sensus Pertanian pertama kali dilaksanakan pada tahun 1963, Sensus Pertanian yang ke-tujuh akan kembali dilaksanakan pada tahun 2023 (ST2023).</p><p>Sensus Pertanian 2023 akan dilaksanakan pada Bulan 1 Juni s.d. 31 Juli 2023 di seluruh wilayah Negara Kesatuan Republik Indonesia.</p><p>Tujuan dilaksanakannya ST2023:</p><ul><li>Menyediakan data struktur pertanian, terutama untuk unit-unit administrasi terkecil.</li><li>Menyediakan data yang dapat digunakan sebagai tolok ukur statistik pertanian saat ini.</li><li>Menyediakan kerangka sampel untuk survei pertanian lanjutan.</li></ul><p>Respondennya siapa saja? Responden ST2023 mencakup:</p><ul><li>Unit usaha pertanian perorangan.</li><li>Usaha pertanian lainnya (UTL).</li><li>Perusahaan pertanian.</li></ul><p>ST2023 mencakup 7 subsektor</p><ul><li>Tanaman pangan</li><li>Hortikultura</li><li>Perkebunan</li><li>Peternakan</li><li>Perikanan</li><li>Kehutanan</li><li>Jasa pertanian</li></ul><p>ST2023 dirancang agar data yang diperoleh berstandar internasional mengacu pada program <em>FAO: World Programme for the Cencus of Agriculture (WCA).</em></p><p>Data yang dihasilkan ST2023</p><ul><li>Data Pokok Pertanian Nasional dilengkapi data yang dapat menjawab isu strategis terkini di Sektor Pertanian, seperti Urban Farming, Perhutanan Sosial, Petani Milenial, dll.</li><li>Petani gurem.</li><li><em>Small Scale Food Producer (farmers)</em> sesuai standar FAO.</li><li>Indikator SDGs pertanian.</li><li>Geospasial Statistik Pertanian.</li></ul><blockquote>“diperlukan dukungan dan kerjasama dari Kementerian/Lembaga/OPD, organisasi yang terkait dengan pertanian, dan seluruh masyarakat demi terlaksananya ST2023 yang paripurna sehingga menghasilkan data pertanian yang akurat dan bermanfaat”</blockquote><p>Mari Sukseskan Sensus Pertanian 2023 (ST2023)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67bd75b65fba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Vim 9.0 has released]]></title>
            <link>https://medium.com/ketut-web-id/vim-9-0-was-released-670b330489e8?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/670b330489e8</guid>
            <category><![CDATA[vim]]></category>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Thu, 30 Jun 2022 15:12:16 GMT</pubDate>
            <atom:updated>2022-08-08T02:32:51.485Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/180/1*Q6ioja7CP3zY0VY0BFIE5A.gif" /><figcaption>vim</figcaption></figure><p>How to quit vim? Everyone who has used vim must knew this joke, actually this is a true story, even there are asked on <a href="https://www.quora.com/How-do-I-quit-VIM-editor">quora</a>. Vim is one of my favorite editor, mostly I used when I must edit a script remotely from my machine to remote machine, because it fast and I didn’t need to much to edit, I’m not a programmer.</p><p><a href="https://www.vim.org/">Vim</a> has released new version, glad to know that vim still in active project, this was a cool tool, although I not influence to use it, but it’s fun to use it, if you never use vim, you must try it.</p><p>before you try vim, you should know a few basic command bellow:</p><p>very basic simple vim command</p><ul><li>vim — for opening the editor</li><li>press i — for inserting</li><li>:w — for saving</li><li>:qw — for quit with saving</li><li>:q!— for quit without saving</li><li>:smile you must try it too</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=670b330489e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ketut-web-id/vim-9-0-was-released-670b330489e8">Vim 9.0 has released</a> was originally published in <a href="https://medium.com/ketut-web-id">Sharing while learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The smartest kids in the world]]></title>
            <link>https://medium.com/ketut-web-id/the-smartest-kids-in-the-world-7e8bb0222373?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/7e8bb0222373</guid>
            <category><![CDATA[books]]></category>
            <category><![CDATA[education]]></category>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Sat, 28 May 2022 16:24:19 GMT</pubDate>
            <atom:updated>2022-05-28T16:24:19.395Z</atom:updated>
            <content:encoded><![CDATA[<p>Today I’m reading book that I think must read by everyone, especially anyone who have impact on education of our children. The title of this book is “The smartest kids in the world”. Even I haven’t yet finish read it, but without any doubt you must read it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/608/1*sSnvzkneZtKQ9Xpmdg69Cw.jpeg" /></figure><p>This book writen by Amanda Ripley, TIME Magazine’s investigative journalist. She wrote the secret of smartest kids in the world and how to shape it.</p><p>I think this book important for making better education for all the kids in the world, so that all kids in the world have equal priveleges to be smartest kids in the world and make this world for better living.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7e8bb0222373" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ketut-web-id/the-smartest-kids-in-the-world-7e8bb0222373">The smartest kids in the world</a> was originally published in <a href="https://medium.com/ketut-web-id">Sharing while learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Jetson Nano things]]></title>
            <link>https://medium.com/ketut-web-id/jetson-nano-things-cad6085f16f0?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/cad6085f16f0</guid>
            <category><![CDATA[jetson-nano]]></category>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Sun, 06 Mar 2022 15:46:15 GMT</pubDate>
            <atom:updated>2022-03-06T15:48:27.252Z</atom:updated>
            <content:encoded><![CDATA[<p>Just random jetson nano things paste</p><ul><li>disable GUI on boot:</li></ul><pre>sudo systemctl set-default multi-user.target</pre><ul><li>Enable GUI on boot:</li></ul><pre>sudo systemctl set-default graphical.target</pre><ul><li>Manual IP address eth0:</li></ul><pre>sudo vim /etc/network/interface</pre><pre>auto eth0<br>iface eth0 inet static<br>        address 192.169.1.100<br>        netmask 255.255.255.0<br>        gateway 192.168.1.1<br>#EOF<br>sudo dhclient -r<br>sudo reboot</pre><p>+++</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cad6085f16f0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ketut-web-id/jetson-nano-things-cad6085f16f0">Jetson Nano things</a> was originally published in <a href="https://medium.com/ketut-web-id">Sharing while learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scraping and providing data for IoT (in this case ESP32/ESP8622)]]></title>
            <link>https://medium.com/ketut-web-id/scraping-and-providing-data-for-iot-in-this-case-esp32-esp8622-2ddbe083b460?source=rss-6a6a5a2d9af0------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ddbe083b460</guid>
            <dc:creator><![CDATA[Ketut Artayasa]]></dc:creator>
            <pubDate>Wed, 24 Jun 2020 05:55:29 GMT</pubDate>
            <atom:updated>2020-06-26T00:47:17.274Z</atom:updated>
            <content:encoded><![CDATA[<p>This article continued the previous post about scraping coronavirus cases, from the previous post we have got coronavirus cases data by requests.get from <a href="http://infocorona.baliprov.go.id/">infocorona.baliprov.go.id</a>, and thank you for the amazing module “<a href="https://pypi.org/project/beautifulsoup4/">BeautifulSoup</a>”.</p><p>There are three steps that we will do:</p><ol><li>Scraping the data from the original source (we have done with the previous post).</li><li>Providing the data to IoT (ESP32).</li><li>Get and display the data from IoT.</li></ol><p>We will skip the first step, and continue to step two, there are many alternatives for providing data, such as create a REST API (in this case from complex API to simpler once), create a simple JSON file, use MQTT broker, etc. While my previous post was written, I choose the MQTT broker as a solution but after inspired by <a href="https://medium.com/hyperjump-tech/layanan-api-untuk-covid-19-tapi-berasa-statik-89116355ab5">https://medium.com/hyperjump-tech/layanan-api-untuk-covid-19-tapi-berasa-statik-89116355ab5</a> by <a href="https://medium.com/@ariya114">Ariya Hidayat</a>, for providing data I will use Github and Netlify, in a simple scenario I put the codes on Github than Netlify running it by a trigger.</p><p>I put scrapper script to Github <a href="https://gist.github.com/ketut/d7660c534a23dba34451301d23c597fa#file-covid_cases_bali-py">covid_cases_bali.py</a></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/468796aa5d7d6c8d0346107573f7f745/href">https://medium.com/media/468796aa5d7d6c8d0346107573f7f745/href</a></iframe><p>This file will create three files, there are index.html, corona.html, and JSON file, we will use this JSON file for providing data to ESP32. This script will automatically build and deploy on <a href="https://www.netlify.com/">Netlify</a> which trigger by webhook every 60 minutes (every 60 minutes this script will scrapping data from our sources infocorona.baliprov.go.id), good news for our admin.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/705/1*o3kfKn9DpLAbozT3iJ3glw.jpeg" /><figcaption>Netlify Dashboard</figcaption></figure><p>Our third step is to display data to LCD/etc from ESP32. For this case, I use ESP32 which flashed with Micropython firmware. I create a python script to do this job.</p><p>covid_case_esp32.py</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/671f1da6640d558a1b559d76e02ecdb5/href">https://medium.com/media/671f1da6640d558a1b559d76e02ecdb5/href</a></iframe><p>The result was shown as below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/521/1*Mko7IH0ScjOkQNjV08vfyA.jpeg" /><figcaption>Final result</figcaption></figure><p>The last task is to print this to LCD/OLED/E-paper which attached to ESP32, maybe my next post.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ddbe083b460" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ketut-web-id/scraping-and-providing-data-for-iot-in-this-case-esp32-esp8622-2ddbe083b460">Scraping and providing data for IoT (in this case ESP32/ESP8622)</a> was originally published in <a href="https://medium.com/ketut-web-id">Sharing while learning</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>