Exitcode0 - Executed without error

Welcome to the exitcode0 blog, where we try to securely automate all the things and write code where needed to solve first world problems.
A simple no neutral wiring diagram guide for the Sonoff ZBMINIL2 and how to retain the standard switch

Sonoff ZBMINIL2 Wiring Guide

This setup involves a Sonoff ZBMINIL2 (Amazon) smart switch being integrated with a standard “dumb” wall switch. The Sonoff MINIL2 allows the existing wall switch to control a smart device while adding remote control functionality. If you are unsure of what you are doing at any point, please contact a qualified electrician and do not attempt any electrical circuit modifications without properly isolating and de-energizing the circuit Video Guide Wiring Diagram Wiring diagram for the Sonoff ZBMINIL2, retaining the dumb switch ...

September 26, 2024 · 2 min · Tom C

Complete 2024 Guide: How to expand a Ubuntu LVM LV to use all space on the PV

2024 Update - I found myself stuck in this situation again, my Ubuntu root partition was completely full to the brim… I’m scrambling to remove apt chache and pruning and and all docker images, but then I run vgdisplay only to reaslise that my LVM LV isn’t even using the full amount of physical disk space (this is a VM and I have just expanded the VMDK file). Thankfully I wrote this blog post 4 years ago as a how-to. Well now I am going to give this post a refresh and this includes some extra details which I needed during the panic of a full disk. ...

September 4, 2024 · 5 min · Tom

Testing Llama3.1 (8B) With LM Studio

MetaAI have done it again… Dropping llama3.1 under the (mostly) open source license and I have been putting it through its paces and benchmarking to find out how well it performs to models preiously tested: Testing Llama3 With LM Studio. Previously we took a look at llama3 in LM Studio which has made self hosted LLMs that rival paid services like ChatGPT and Claude possible; this time we are taking a look at llama through the lend of GPT4All. ...

July 28, 2024 · 10 min · Tom
Feeding My Cat With Home Assistant

Feeding My Cat With Home Assistant

Let’s face it, cats are demanding creatures. They expect their food to be served on time, and they’re not afraid to let you know when it’s late. But what if you trigger the feeding action to our Home Assistant dashboard? In this post, we’ll explore how to use Home Assistant to control a Tuya-compatible cat feeder, ensuring your feline friend never goes hungry. Get ready to unleash the power of automation and give your cat the royal treatment they deserve! ...

July 3, 2024 · 4 min · Tom C
How to write Python scripts using llama3-8b and LM Studio

Using an Amazon FireHD8 as a Home Assistant Dashboard Control Panel

I have covered Home Assistant (HA) content a number of times in previous posts, and am I a strong advocate for this project. The home automation scene is a wash with consumer offerings, but no single silicone valley big hitter has managed to provide a fully interoperable solution; most certainly not an affordable one. Ultimately, everyone has there own idea of how home automation should work. Home Assistant doesn’t solve the problem of standards dilution, but it offers an extremely robust way to tie the wide variety of standards and products together. ...

June 11, 2024 · 9 min · Tom C