XaiJu
The100
The100

patreon


🚀 Automated Software Updates in THEOS

Today, I started designing the update process for THEOS, and while it might seem a bit overwhelming at first glance, I promise—it’s not as complicated as it sounds! 😊

What’s the plan?

The goal is to integrate a new THEOS Module into the MainsailOS builder. This module will:
1️⃣ Download the THE100 Configuration directly onto the operating system image.
2️⃣ Set up Git Hooks for key software components like THEOS, Klipper, and Moonraker.

What are Git Hooks? 🤔

Git Hooks are small scripts that run automatically after a Git operation is completed. For example, when you update Klipper through Mainsail, it fetches the latest version from a central repository using Git. Afterward, a custom script I’ll provide will automatically execute to handle any required adjustments.

Why is this important?

Some plugins—like ShakerTune—need extra setup after updates. ShakerTune modifies core Klipper functions, but updates overwrite those changes. My script will automatically reapply these adjustments so everything keeps running smoothly. This means hassle-free updates for Klipper, the THE100 Configuration, and Moonraker! 🔧✨

Adding Firmware Updates

The concept doesn’t stop at software—it also includes automatic firmware updates for managed boards.

Here’s how it will work:
1️⃣ What is a managed board?
A managed board is any board running Klipper firmware with a static serial number.

2️⃣ How does it update?

3️⃣ What about unmanaged boards?
Boards without a static serial number won’t be updated automatically. When you first install THEOS, you’ll need to flash your firmware manually. Once a board is managed, the firmware updater will handle all future updates for you seamlessly.

Why does this matter?

This automated process will simplify firmware management, ensure consistency, and save you time—letting you focus on printing instead of tinkering. 💡

Stay tuned as I continue to refine this system and bring THEOS closer to reality! 🚀

🚀 Automated Software Updates in THEOS 🚀 Automated Software Updates in THEOS

Comments

i built the 100 (it works..) and i am looking forward to start building the 250...

henk fischer

Wow, this sounds great!

Z-Man23


More Creators