Stephan van Rooij

Software architect with a passion for home automation.

Batching with Microsoft Graph


Microsoft has this great api where you can control almost everything in the Microsoft 365 cloud. To speed up your requests, you can combine up to 20 requests in a batch. This post will explain how to use batching and how it got implemented in the Graph SDK for DOTNET.

Add users to group fast

I disconnected our smart oven, and maybe you should as well


Arstechnica published an article yesterday, called “Appliance makers sad that 50% of customers won’t connect smart appliances”. Let me tell you, I’m glad people don’t connect their oven to the internet. We own two of these smart appliances from AEG and I disconnected them as soon as I discovered what they do.

Pinging aeg

Creating a Home Assistant component


Home automation is a topic that speaks to the imagination for most of us. Rooms that light up if you enter them, a notification on your phone when someone rings the doorbell. These thing tickled my personal interest years ago. Back then nobody was doing these kinds of things and as a developer I was intrigued.

If you talk about Home Automation in 2023 you’re probably also talking about Home Assistant, if you’ve never heard about that. Go on check their website, it’s awesome. Open-source mostly local home automation with, “components” or “integrations” (they mix these terms, don’t know why) for thousands of devices. Out-of-the-box you have support for a lot of devices, but because it’s open-source you can easily add your own custom components. Home Assistant started as an applciation you would run on a simple raspberry pi you had laying around, recently more and more people are switching to a slightly more powerful system because the pi is no longer sufficient for their needs.

LinkedIn Profile Twitter follow Link Mastodon Blog

My open-source projects

My github repositories, last edited first.

Sonos2mqtt companion for Home Assistant
Python 3 0
Reading data from your solar inverter
TypeScript 1 0
A dotnet tool for parsing rss feeds and modifying a markdown file
:speaker: Sonos mqtt controller. Control your speakers from your mqtt server. mqtt-smarthome insprired.
TypeScript 57 17
Microsoft Graph Service Client batching extensions
:speaker: Sonos control library, use this library in your own appliction.
TypeScript 61 13
Send your Teams Status to any webhook in realtime
🔊 📖 Sonos api documentation for the local UPNP api and a generator to generate clients based on service discovery
TypeScript 16 7
Publish data from your Smart meter with a P1 interface to you MQTT server.
TypeScript 26 5
Telnet socket made easy
TypeScript 0 0

Interesting topics

Good converstation starters