<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>SelfHosted on Dev notes</title>
    <link>https://blog.michal.pawlik.dev/tags/selfhosted/</link>
    <description>Recent content in SelfHosted on Dev notes</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 04 Feb 2023 23:00:00 +0100</lastBuildDate>
    <atom:link href="https://blog.michal.pawlik.dev/tags/selfhosted/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Your own Home Assistant add-on</title>
      <link>https://blog.michal.pawlik.dev/posts/smarthome/home-assistant-addons/</link>
      <pubDate>Sat, 04 Feb 2023 23:00:00 +0100</pubDate>
      <guid>https://blog.michal.pawlik.dev/posts/smarthome/home-assistant-addons/</guid>
      <description>&lt;p&gt;In the previous post in the series I described the process of externalizing you HA (Home Assistant) using my custom addon. Make sure to check &lt;a href=&#34;https://blog.michal.pawlik.dev/posts/smarthome/expose-home-assistant/&#34;&gt;that out&lt;/a&gt; if you haven&amp;rsquo;t already. This time I&amp;rsquo;ll share the details of the add-on development process.&lt;/p&gt;&#xA;&lt;h1 id=&#34;first-steps&#34;&gt;First steps&lt;/h1&gt;&#xA;&lt;p&gt;When building the add-on my first steps obviously went towards the existing online resources. The first thing I&amp;rsquo;ve found was the extensive tutorial on &lt;a href=&#34;https://developers.home-assistant.io/docs/add-ons/tutorial&#34;&gt;https://developers.home-assistant.io/docs/add-ons/tutorial&lt;/a&gt;, but there seems to be an easier hands-on approach. Instead of following the tutorial we&amp;rsquo;ll use the official template from &lt;a href=&#34;https://github.com/home-assistant/addons-example&#34;&gt;https://github.com/home-assistant/addons-example&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Externalize Home Assistant</title>
      <link>https://blog.michal.pawlik.dev/posts/smarthome/expose-home-assistant/</link>
      <pubDate>Fri, 20 Jan 2023 10:30:00 +0100</pubDate>
      <guid>https://blog.michal.pawlik.dev/posts/smarthome/expose-home-assistant/</guid>
      <description>&lt;p&gt;This is a third post in the Smart Home series. See the previous post if you haven&amp;rsquo;t already: &lt;a href=&#34;https://blog.michal.pawlik.dev/posts/smarthome/zigbee-setup/&#34;&gt;https://blog.michal.pawlik.dev/posts/smarthome/zigbee-setup/&lt;/a&gt;. Last time I wrote about Zigbee and shown how to control smart home devices. In this post I want to show you one of many ways you can use to expose your HA (Home Assistant) instance to the internet.&lt;/p&gt;&#xA;&lt;h2 id=&#34;why-expose&#34;&gt;Why expose?&lt;/h2&gt;&#xA;&lt;p&gt;All of the examples in previous posts were referring to local instance of Home Assistant. To work with it you had to be with the same network. While it&amp;rsquo;s not a problem when you are at home, there are cases when you want to access HA from the external network. Those cases include controlling the heat, accessing monitoring, switching light etc. when you are not home.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Story of a burned down server</title>
      <link>https://blog.michal.pawlik.dev/posts/vps-from-ashes/</link>
      <pubDate>Tue, 27 Dec 2022 00:00:00 +0000</pubDate>
      <guid>https://blog.michal.pawlik.dev/posts/vps-from-ashes/</guid>
      <description>&lt;p&gt;Do you know that feeling, waking up in the morning just to learn your website and self hosted services are down for unknown reason? That moment when you feel your VPS has &lt;strong&gt;literally&lt;/strong&gt; moved to the cloud?&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-fire&#34;&gt;The fire&lt;/h2&gt;&#xA;&lt;p&gt;This is exactly what happened to me one day of March in 2021. I woke up in the morning, checked the news and learned that there&amp;rsquo;s an fire incident in SBG2 (sources: &lt;a href=&#34;https://us.ovhcloud.com/press/press-releases/2021/fire-our-strasbourg-site&#34;&gt;reference1&lt;/a&gt; &lt;a href=&#34;https://www.datacenterknowledge.com/uptime/fire-has-destroyed-ovh-s-strasbourg-data-center-sbg2&#34;&gt;reference2&lt;/a&gt;). My first thought this is why we do backups, then I realized I&amp;rsquo;m really going to use them. My main VPS was there and it was not responding.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Personal blog: choosing a platform</title>
      <link>https://blog.michal.pawlik.dev/posts/blog-platform/</link>
      <pubDate>Fri, 23 Dec 2022 00:00:00 +0000</pubDate>
      <guid>https://blog.michal.pawlik.dev/posts/blog-platform/</guid>
      <description>&lt;p&gt;Say you want to start a blog, perhaps even join &lt;a href=&#34;https://100daystooffload.com/&#34;&gt;#100DaysToOffload&lt;/a&gt;. There are some questions you need to ask yourself. How do I start? Do I create an account somewhere? Should I build a website?&lt;/p&gt;&#xA;&lt;p&gt;For the starters, you have two options. You can either go for using a platform or for self hosted.&lt;/p&gt;&#xA;&lt;h2 id=&#34;blogging-platforms&#34;&gt;Blogging platforms&lt;/h2&gt;&#xA;&lt;p&gt;Say you want someone to host the platform for you, then you have some better and worse choices. There is a plenty of platforms like medium.com, wordpress.com and alike. Some people try using platforms like instagram which I consider a terrible idea.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Using Caddy server as a reverse proxy</title>
      <link>https://blog.michal.pawlik.dev/posts/caddy-reverse-proxy/</link>
      <pubDate>Mon, 19 Dec 2022 00:00:00 +0000</pubDate>
      <guid>https://blog.michal.pawlik.dev/posts/caddy-reverse-proxy/</guid>
      <description>&lt;p&gt;In this post I want to share a simple solution for the simple problem I wanted to solve some time ago. The problem definition is following:&lt;/p&gt;&#xA;&lt;p&gt;I have a top level domain and a VPS operating on it. I also have a blog you are reading now hosted with &lt;a href=&#34;https://docs.gitlab.com/ee/user/project/pages/&#34;&gt;Gitlab Pages&lt;/a&gt;. I want to host a website from my top level domain.&lt;/p&gt;&#xA;&lt;p&gt;Hosting pages using Gitlab pages (similarly to &lt;a href=&#34;https://pages.github.com/&#34;&gt;Github Pages&lt;/a&gt;) is very convenient to set up, you just set up a pipeline and a subdomain configure the subdomain.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
