RSSAmplifier

Blog

www.benjamin-schieder.de

www.benjamin-schieder.de - Benjamin Schieder

benjamin-schieder.deRSS feed ↗25 posts

Latest posts

Moving downloaded files in AntennaPod

This is mostly for me so I won’t lose this information next time. Source I found this solution at: https://github.com/AntennaPod/AntennaPod/issues/951#issuecomment-2913916598 I needed to move my AntennaPod cache to a new SD card as the old one became too small. I copied everything over from the old SD Card to the new one (including the Android/ directory), put it back into the phone, pointed…

Secure stateless token authentication

Recently I once again came into the situation that I needed to authenticate and identify endusers without a local user database. I only rely on the Access Token returned by an OpenID Connect auth server. However, I also couldn’t disclose the token to the enduser, because that would enable them to do more things directly with the downstream API than I want to enable them to. What I tried first is…

KW 8/26 Voyager - Helio Strap - Alterskontrollen

Star Trek Voyager - Across the Unknown Diese Woche kam das Spiel “Star Trek Voyager - Across the Unknown” raus, und nachdem ich heldenhaft 24 Stunden durchhielt, habe ich es mir gekauft. Ich bin kein grosser Freund der “Fallout: Shelter”-aehnlichen Baumechaniken, aber die Tatsache dass wir in 2026 - 31 Jahre(!) nachdem die Serie erstmals im Fernsehen kam, ein GUTES Star Trak Voyager Spiel…

Fixing recipient_delimiter in postfix/dovecot/mariadb/ldap

For a long while now I used a throwaway email domain where literally AnyStupidCombo@throwaway.example.com would be delivered to my primary mailbox. That works very well for me personally, but it doesn’t scale to a mailserver of ~20 active users (ie: closest family). I never did get the + delimited version of benjamin+anystupidcombo@example.com working on my server and sat down this morning to…

Using an Ergolutions / Tuya Desk controller with Home Assistant

A year or so ago I got one of my best additions to my Home Office: a convertible standing desk. I can raise it up to stand at it, or lower it down to sit, or have it somewhere in between so I can store my chair underneath the desk so it takes up less space. The UX of this desk’s controller unit left a lot to be desired, though. First off, it’s a Tuya device. BOO! Second, even it’s touch interface…

Connecting to LANCom VPN via NetworkManager / StrongSWAN

Recently my wife switched from Windows to Linux on her personal laptop. She also uses the device to connect to her employer’s VPN through a BYOD policy, so I wanted to setup the VPN connection, an excercise I expected to take all of two minutes. Ha-ha, right. Fair warning: I understand very little about VPNs, so if any terms below are incorrect, that is simply the extent of my understanding. The…

Periodic water / gas / utility consumption graphs

I’ve been searching for this for a long time, scouring the homeassistant forums, implementing workarounds, but nothing was really satisfying. Until I found https://www.home-assistant.io/dashboards/statistics-graph/ for HomeAssistant. This has finally enabled me to implement proper daily / weekly / monthly consumption graphs for my water and gas meters. It’s a dashboard card, so it doesn’t go into…

Die versteckten Kosten des Bahnfahrens

Man bekommt ja oft gesagt, wie viel billiger Bahnfahren statt Autofahren sei, und bei kurzen Strecken stimme ich da auch unumwunden zu. Will man jetzt allerdings als vierkoepfige Familie Urlaub machen habe ich immer mehr Schwierigkeiten, meine Familie von der Bahn zu ueberzeugen: Im letzten Urlaub geriet ich damit bereits an meine Grenzen. Waehrend die Fahrzeit von ca 6 Stunden von Berlin nach…

Upload files to reMarkable from console via cURL

Today I wanted to upload the SCP Foundation files to my reMarkable for an upcoming vacation. Unfortunately, accessing the web interface of the device at http://10.11.99.1/ was more than problematic to the point of breaking repeatedly, if it was accessible using stupid ass NetworkManager and Firefox relying on its broken information at all. So once I caught a useful network trace I put together a…

Monitor gas leaks with HomeAssistant

Last year I added a magnetic field sensor to my gas meter to monitor gas consumption. The sensor closes when it detects a change in the surrounding magnetic field, and the spinning disc in my gas meter is magnetic at the “0” position, so I know the amount of gas flowing through the meter more-or-less accurately by increasing a counter every time the sensor closes. The setup for that is very…

Mute Firefox from commandline using Pipewire

I watch Twitch a lot, it’s like my background noise like other people listen to radio or podcasts or whatever. And Twitch has ads. Seriously loud and extremely annoying ads. Like everything else these days it seems. I also don’t want to block them, as I like to think that they generate some revenue for the streamers I watch. So I mute Firefox when the ad bloc plays. So far, I did it by either…

Read power delivered to grid on an SCB Kostal energy meter

Another entry in my HomeAssistant posts. I now have a photovoltaic installation on my roof and as it is getting sunnier I have finally started delivering surplus energy to the grid. Unfortunately, the Kostal inverter does not provide that information, and I do not have a smart energy meter with it that I could query. So in absence of that I monitor the “surplus” energy I produce instead, with the…

Reading power consumption on an LK13BE with Tasmota and Home Assistant

I still use HomeAssistant to monitor and automate my house, from presence of anyone, to the status of my 3DPrinter to temperature and whatnot. Recently I wanted to add monitoring of my power consumption to the mix. Should be easy, right? Yeah, right…. First off, I have an LK13BE power meter. These come with an IR diode sending OBIS information in a text format about kWh consumed total, last 365…

Daily Steps Counter with Home Assistant

I use Home Assistant to monitor and automated things around my house. When my ViFit connect step counter broke a few years ago (it was literally run over by a car) I was left without a step counter. Recently I found out that Home Assistant’s Android app also reported the phone’s internal step counter to Home Assistant. Unfortunately, it reports it as a total number of steps taken only, not as an…

Forbid websites from stealing your keyboard shortcuts

This is something that infuriates me so much: Your website is NOT entitled to my keyboard shortcuts! If you think it is, you’re WRONG! I’m especially talking about Ctrl-T, Ctrl-K, /, Ctrl-W (especially!). You! Are! Not! Entitled! To! These! Unfortunately, Firefox allows this by default, which is stupid in itself. I finally found how to fix this globally , not just on a per site basis: Go to…

Project Zomboid Map status

I am aware of the current issues surrounding the Project Zomboid Map . The POI backend has to be rewritten completely as I was stupid enough to think that Ruby-on-Rails was a good choice for a backend back then. Unfortunately, it won’t even start up anymore today without so much as a usable error message. I have no idea why it stopped working, or how to update a RoR project dependency or how even…

Experiment: Google free Android usage

I’m gearing up for an experiment: I want to use my Android phone without GApps. Completely without. That also means no installing applications from Google Play, no cheating via Titanium Backup. Sideloading is allowed iff the application has an official download on its own website. Other allowed sources: F-Droid, Humble App, maybe Amazon App Store. For a few apps, I already have either a…

Crude Makefile hack

After trying for a while to get all the Makefile special characters encoded for a bash command to run, I’ve finally given up. I’m doing this now: Before (random example, much worse lines in there): map_files/19/0_42.png: bash -c 'convert xc:transparent -background transparent -page +0+0 map_files/20/0_84.png $$( [ -e map_files/20/1_84.png ] && echo -page +1024+0 map_files/20/1_84.png ) $$( [ -e…

Handling time and date in code correctly

I’m so angry, I could write a blog post! Wait, I can write a blog post! Here goes! What am I angry about? Pokemon GO raids not working for me the last couple weeks. Why does that make me angry? Because the reason for it being broken is lazy/buggy/stupid programming! Why do I think it’s lazy/buggy/stupid programming? I’m glad you asked! What happened? Every time I started a raid, I had to wait…

How to make Pokemon GO fun for new players

On Saturday I started playing Pokemon GO with my nephew. He is 9 years old and a huge Pokemon fan. In theory, this is a good idea, I like video games, he likes Pokemon and he definately needs supervision during gameplay so he doesn’t run into anything from trees to cars. It worked out surprisingly well at the beginning. We caught a few of the little pocket monsters, had a ton of Pokestops around…

Panorama der Lagune Porec

This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Germany License EXIF data: ExifTool Version Number : 10.15 File Size : 113 MB File Modification Date/Time : 2016:05:06 14:27:53+02:00 File Access Date/Time : 2016:05:06 14:28:05+02:00 File Inode Change Date/Time : 2016:05:06 14:27:53+02:00 File Permissions : rw-r--r-- File Type : PNG File Type Extension : png…

Chemnitzer Linux Tage 2016

Ich habe gerade meinen Plan fuer die Chemnitzer Linux Tage zusammengestellt. Dieses Jahr schaue ich mir verstaerkt Monitoring und E-Mail Sachen an. Wenn morgen die Einreichungsfrist fuer Lightning Talks oeffnet werde ich auch noch zwei Dinge einreichen, die ich in ein paar Minuten vorstellen kann. EOF

I hate SELinux

I hate SELinux. Hate hate hate hate it. Why? This is why. #!/bin/bash tmp = " $( mktemp -d ) " echo "Some content" > " ${ tmp } /file.txt" echo "Please find the report attached." | /bin/mailx -s "Daily report" -a " ${ tmp } /file.txt" "user@domain.local" rm " ${ tmp } /file.txt" rmdir " ${ tmp } " If you run this script on a terminal as any user (root or other) it works just fine. The mail gets…

SuSECon 2015 roundup

I’ve been to SuSECon 2015 last week. After a few problems with their website (link to agenda not showing up) which got resolved with the help of a friendly Support Engineer I actually enjoyed my stay there despite it looking like a “Hey look how cool and hip we are” event to me. I attended a few good seesions there about Docker and Ceph and got in contact with Balabit, CyberARK and LinBit there as…

Selecting a credential provider in a standalone Windown 2012 server

##tl;dr## 12:37 < blindcoder> fcu kthis piece of shit fsckcrap windows bbullshit crap fuck 12:37 < blindcoder> I'm so fcucking SICK of windows 12:38 < blindcoder> all I want it for anRDP session to get the login screen SERVERSIDE 12:38 < blindcoder> so I can choose another credential provider 12:38 < blindcoder> but NO 12:38 < blindcoder> it's apparently non-trivial nto disable the entering of…