How to set the internal schedule on a Roomba 960 using rest980

For some reason my Roomba 960 decided to fall off the cloud, or at least the official app refuses to see it. I thankfully already have an instance of rest980 running in my homelab anyhow, and it is still happily chatting with the bot. And tbh, I might just block cloud access again as having everything local is better anyhow. In any case, I wanted to disable the schedule currently set on it internally to switch to scheduling stuff from my home automation, but without the app working I wasn’t sure on how. So I went hunting through rest980’s source - as the README didn’t tell me what I was looking for - and found that I could program the weekly schedule with some easy curl magic via the /api/local/config/week endpoint. ...

July 9, 2025 · 2 min

How to use jq to extract new posts from a JSON Feed

I’m currently looking into ways to automate some stuff around new posts on this page (be it blog or TIL post) directly during the page build on GitHub Actions. For this, I first need to be able to reliably detect new posts, from a bash run step. So here’s how to do that with jq. The idea is to get the current feed.json prior to publishing the page, and then compare it to the one that was just generated during the build. If there are any differences, we know that there are new posts and can trigger further actions from there. ...

February 2, 2023 · 2 min
Mastodon