<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.9.3">Jekyll</generator><link href="http://lholz.de/feed.xml" rel="self" type="application/atom+xml" /><link href="http://lholz.de/" rel="alternate" type="text/html" /><updated>2023-06-14T21:31:03+00:00</updated><id>http://lholz.de/feed.xml</id><title type="html">Lukas Blogs</title><subtitle>Random Projects of mine</subtitle><author><name>Lukas Holzner</name></author><entry><title type="html">Mini 600W Solar System</title><link href="http://lholz.de/maker/solar-panels/" rel="alternate" type="text/html" title="Mini 600W Solar System" /><published>2022-09-10T00:00:00+00:00</published><updated>2022-09-10T00:00:00+00:00</updated><id>http://lholz.de/maker/solar-panels</id><content type="html" xml:base="http://lholz.de/maker/solar-panels/">&lt;p&gt;I times of rising energy prices, the need to reduce the reliance on grid power has been rising. That’s why my familiy and I have decided to put two solar panels on our roof. There is a german law, allowing consumers to install a 600W Peak Solarsystem by themselves. The 600W is the defined as the maximum output of the inverter. Thats why it’s possible to overprovision the capacity of the panels by a little bit, to have a higher median output.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://lh3.googleusercontent.com/rig_KH5blkbFiA-jyvRYsC_Pxj4XoirDRmEtlHTMOIbiesNFrebWieusKZwKOHvErqYuIrbG1SFeKJXSt6tbYiuPuJMT4ysRg6_BUv2dZdfhOmJoVW3NDxXTocBcXO9Nkr0u7hyPSbE=w300&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;h1 id=&quot;product&quot;&gt;Product&lt;/h1&gt;

&lt;p&gt;We have ordered our panels from &lt;a href=&quot;https://yuma.de&quot;&gt;yuma&lt;/a&gt; a german supplyer of small solar systems. The kit we got, came with two 340W panels from Eurener, a 600W inverter form Hoymiles (HM-600) and a mounting kit for our tile roof. I addition we got a 10m AC cable for plugging the solar system in.&lt;/p&gt;

&lt;h1 id=&quot;installation&quot;&gt;Installation&lt;/h1&gt;

&lt;h2 id=&quot;mounts&quot;&gt;Mounts&lt;/h2&gt;

&lt;p&gt;The installation went relativly smooth. First we connectet the included aluminium profiles together so we had a pair of long profiles. Then we went up on the roof and searched for the  right trusses to screw in the six mounts for the aluminium profile, where the panels will later sit on. Our trusses had a distance between 80 and 90 cm so we choose three adjacent to each other. The vertical distance was a little over 90 with our roof tiles. After installing all 6 mounts to the roof, we installed the two aluminium profiles and tried to level them as good as possible. Then we screwed the micro inverter on the top aluminium profile.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://lh3.googleusercontent.com/t2K4frPDlqsys8dAty3xTFRxnFLviF-dqoqWTJ-qkW6WmPiPaqyBSGYeVuBbo5st7XAclRRUBte3vzY9oZZ2wDCQzpCwWZE_MuMbmLXUUBkIcHHx-g5kkYfqEkb5YCpPNsK0GmF2d8s=w300&quot; alt=&quot;&quot; /&gt;
&lt;img src=&quot;https://lh3.googleusercontent.com/9RNGsSiaqKFBSWcTKpaa7QiE-RRbD8yP2WC6hs03NPpz3XHdSId_DtIGlW-yXa3kDB1kMOz40roJVTatMNmCDMx-xVa61_cqE2Lkj9veH-Qv_PkpRuq0J4w7HltqX2mu59IJzaZXvzI=w300&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;getting-the-panels-on-the-roof&quot;&gt;Getting the panels on the roof&lt;/h2&gt;

&lt;p&gt;Professional solar installations normally use scaffholfing on the side of the roof while installing the panels. This makes it easier to get them on the roof. This wasn’t an option for us, so we helped ourselves with two long ladders, pushing and pulling the packages onto the roof with ropes.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://lh3.googleusercontent.com/DVKqiIWyWR0rBs0jSvEAl0I-VLllLbeKZzgLX5k3s7OvqasRll8WB_SATotypfRe9ni1eJMcVbXpqhshy2GxsZi39z3y_SVxMbHuqHucQjj03Nd9yR0pKV-FqM08bRJugImep-RE8QI=w300&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;panels&quot;&gt;Panels&lt;/h2&gt;

&lt;p&gt;The next part was the installation of the panels. This was a little tricky because the panels are quite big, i am not proficient working on roofs and after removing the panels form their cartons, they could easily slide of the roof. Fortunatly, with my dads help everything worked and we got them installed in no time. Only on the second panel i realized, that plugging them in forst would have been a good idea. Fortunatly a was still able to plug them in afterwards. Even though getting the connection of the plugs to propperly lock wasn’t that easy onehanded.
&lt;img src=&quot;https://lh3.googleusercontent.com/o6D5WmHOnBIripksFU05cceKTKSHfjuXM4HUjgFNTLJhSBua5hJSbxCP0t3b5we8jYEuUORyzEXLT4eBpeuu3fFyjnGExAjqI8NxMQ4xnhHWCpjWhhTAQ5PIYAJ0JORPDXNszH9HLxI=w300&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;h2 id=&quot;ac-cable&quot;&gt;AC cable&lt;/h2&gt;

&lt;p&gt;I plugged the AC cable into the inverter using a special connector. Then we fished the cable through the roof next to the antenna cables of the satellite dish. Unfortunalty the licking pin broke on the special connector on the roof side. I am going to fix that in th future.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://lh3.googleusercontent.com/hHggOvpuh0OUL3ulo_NYmFoM2AF9sMVj_EXTlda-z3lmtn8I0vtt4pqExI1AOtZSanzXcdM-nZybOnq7h60361djGStb5cHX5cmsduZLUcwOw8-2BCbdK_11tPzPbZHq3S6lzbVtKHY=w300&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;h1 id=&quot;plugging-it-in&quot;&gt;Plugging it in&lt;/h1&gt;

&lt;p&gt;Currently we don’t have an outlet in the attic. Thats why we just plugged it in in one of the first floor outlets for testing purposes. After 5-10 minutes, the energy produc of the solar system started working. This could also be confiremd by a green blinking light on the inverter (which was a bit hard to reach, because it’s under the panels). It was a bit hard to realy measure the production on our meter because of the fluctuating energy useage of other devices in the houshold. I am planing on installing a shelly Power meter into the outlet, that is going into the attic. I’m probably going to write another blog post about the meter and graphing the results in the future.&lt;/p&gt;

&lt;p&gt;&lt;img src=&quot;https://lh3.googleusercontent.com/rPoyhUxGz5ODa3Ls70vlCnjn70CEXaJCfzoAZjlCKAcQv1910P4yXHBCONS0I2iO84FRipZguvWcquY3ND5aqPaI2hm8m4sSYNRUIvXjZIfB2OWW4LcpCezr2nP4qaro6zU5jdexqJE=w300&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;

&lt;!---
https://google-photos-embed-generator.herokuapp.com
--&gt;</content><author><name>Lukas Holzner</name></author><category term="Maker" /><category term="Solar" /><category term="PV" /><category term="DIY" /><summary type="html">I times of rising energy prices, the need to reduce the reliance on grid power has been rising. That’s why my familiy and I have decided to put two solar panels on our roof. There is a german law, allowing consumers to install a 600W Peak Solarsystem by themselves. The 600W is the defined as the maximum output of the inverter. Thats why it’s possible to overprovision the capacity of the panels by a little bit, to have a higher median output.</summary></entry><entry><title type="html">Getting started with Authentik</title><link href="http://lholz.de/docker/authentik/" rel="alternate" type="text/html" title="Getting started with Authentik" /><published>2022-08-18T00:00:00+00:00</published><updated>2022-08-18T00:00:00+00:00</updated><id>http://lholz.de/docker/authentik</id><content type="html" xml:base="http://lholz.de/docker/authentik/">&lt;p&gt;For a while now, i was thinking about centralizing user authentication for my hosted services. Features, i was searching for were:&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;Basic Authetication with forewardAuth/Oauth/etc.&lt;/li&gt;
  &lt;li&gt;Webfrontend for user management (not just an ldap command line)&lt;/li&gt;
  &lt;li&gt;User Groups&lt;/li&gt;
  &lt;li&gt;Self hosted&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I had a look at Authelia before. Unfortunatly Authelia only has Authentication providers for files and ldap. Which are both don’t provide a Webfrontend for usermanagement out of the box. There are forontends for ldap, but they are not built in and a hassle to set up.&lt;/p&gt;

&lt;p&gt;A friend mentioned Authentik, so I had a look at it.&lt;/p&gt;

&lt;h1 id=&quot;infrastructure&quot;&gt;Infrastructure&lt;/h1&gt;

&lt;p&gt;The setup I have is the following:&lt;/p&gt;

&lt;ul&gt;
  &lt;li&gt;Virtual Server in the Cloud:
    &lt;ul&gt;
      &lt;li&gt;Traefik as a reverse proxy for my Services&lt;/li&gt;
      &lt;li&gt;Docker for hosting all my containers&lt;/li&gt;
      &lt;li&gt;Services like: Gitea, Paperlessngx, Nextcloud, codeserver .. in containers&lt;/li&gt;
    &lt;/ul&gt;
  &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I wanted to integrate authentik into this infrasturcture, by using the proxy provider from authentik and having it provide authentication with a traefik forward auth middleware.&lt;/p&gt;</content><author><name>Lukas Holzner</name></author><category term="Docker" /><category term="traefik" /><category term="ansible" /><category term="auth" /><summary type="html">For a while now, i was thinking about centralizing user authentication for my hosted services. Features, i was searching for were: Basic Authetication with forewardAuth/Oauth/etc. Webfrontend for user management (not just an ldap command line) User Groups Self hosted</summary></entry><entry><title type="html">Testing Jekyll</title><link href="http://lholz.de/blog/testing-jekyll/" rel="alternate" type="text/html" title="Testing Jekyll" /><published>2022-08-07T00:00:00+00:00</published><updated>2022-08-07T00:00:00+00:00</updated><id>http://lholz.de/blog/testing-jekyll</id><content type="html" xml:base="http://lholz.de/blog/testing-jekyll/">&lt;p&gt;&lt;img src=&quot;https://jekyllrb.com/img/logo-2x.png&quot; alt=&quot;Jekyll&quot; /&gt;&lt;/p&gt;

&lt;p&gt;I was searching for a way to have a small blog website to post projects to and where i can commit the posts to GitHub.&lt;/p&gt;

&lt;h2 id=&quot;what-i-found&quot;&gt;What i found&lt;/h2&gt;

&lt;p&gt;After googeling, I found several repositories, with markedown files and example sites, which i later found out were all diffrent Themes for Jekyll. Next I found the GitHub documentation for Github pages, which also talked about Jekyll. That made me wanna try it. So i created a repository and started trying.&lt;/p&gt;

&lt;h2 id=&quot;getting-started&quot;&gt;Getting started&lt;/h2&gt;

&lt;p&gt;First i tried, a default theme called hacker. It was okay but not what i was searching for. next I found this custom theme called &lt;a href=&quot;https://github.com/mmistakes/minimal-mistakes&quot;&gt;Minimal Mistakes&lt;/a&gt; they had a very nice demo site, where they also posted their own posts, so i could really see it in action.&lt;/p&gt;

&lt;h3 id=&quot;custom-domain&quot;&gt;Custom Domain&lt;/h3&gt;

&lt;p&gt;I am hosting this website on Github Pages. This is awsome. But of course i wanted to use my own domain for this website. fortunatly I can do so. I just ad to set &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;A&lt;/code&gt; and &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;AAAA&lt;/code&gt; records for the root domain lholz.de and a &lt;code class=&quot;language-plaintext highlighter-rouge&quot;&gt;CNAME&lt;/code&gt; for &lt;em&gt;www.lholz.de&lt;/em&gt;. I am using Cloudflare for my DNS, so this was an almost instantanous change. Unfortunatly I still have to wait 24 hours to be able to activate HTTPS.&lt;/p&gt;

&lt;h2 id=&quot;testing-features&quot;&gt;Testing Features&lt;/h2&gt;

&lt;p&gt;One of Minial Mistakes &lt;a href=&quot;https://mmistakes.github.io/minimal-mistakes/layout/uncategorized/layout-header-video/&quot;&gt;Blog Posts&lt;/a&gt; talks about adding videos anywhere in the text, by using this Liquid templateing code:&lt;/p&gt;

&lt;div class=&quot;language-liquid highlighter-rouge&quot;&gt;&lt;div class=&quot;highlight&quot;&gt;&lt;pre class=&quot;highlight&quot;&gt;&lt;code&gt;&lt;span class=&quot;p&quot;&gt;{%&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nt&quot;&gt;include&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;nv&quot;&gt;video&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;id&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;BBnomwpF_uY&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;na&quot;&gt;provider&lt;/span&gt;&lt;span class=&quot;o&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;s2&quot;&gt;&quot;youtube&quot;&lt;/span&gt;&lt;span class=&quot;w&quot;&gt; &lt;/span&gt;&lt;span class=&quot;p&quot;&gt;%}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;In this case, i can embedd a video, from one of my favourite Youtubers Jeff Geerling, without complicated html code, which might breake the look and feel of this post.&lt;/p&gt;

&lt;!-- Courtesy of embedresponsively.com --&gt;

&lt;div class=&quot;responsive-video-container&quot;&gt;
    &lt;iframe src=&quot;https://www.youtube-nocookie.com/embed/BBnomwpF_uY&quot; frameborder=&quot;0&quot; webkitallowfullscreen=&quot;&quot; mozallowfullscreen=&quot;&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;
  &lt;/div&gt;

&lt;p&gt;Including Pictures, can be done, by uploading them into an assets folder, but I’m not really satisfied with that solution yet. I’ll see if I can find something better.&lt;/p&gt;

&lt;h2 id=&quot;conclusion&quot;&gt;Conclusion&lt;/h2&gt;

&lt;p&gt;All in all, i am quite satisfied with this solution and it seems to be a far better option than Wordpress.&lt;/p&gt;</content><author><name>Lukas Holzner</name></author><category term="Blog" /><category term="git" /><category term="blog" /><summary type="html"></summary></entry></feed>