All Insights
#SundayCoffeeAndCode
October 2026

Sunday Coffee & Code: I taught my house agent to read my mood

Most smart homes are basically very expensive light switches with a voice - ๐˜›๐˜ถ๐˜ณ๐˜ฏ ๐˜ฐ๐˜ฏ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ฑ๐˜ฐ๐˜ณ๐˜ค๐˜ฉ ๐˜ญ๐˜ช๐˜จ๐˜ฉ๐˜ต. This Agent and physical world integration experiment continues, connected to Spotify and lightingโ€ฆ then, tell it how I felt.

By Steve Harris

Most smart homes are basically very expensive light switches with a voice - โ€๐˜›๐˜ถ๐˜ณ๐˜ฏ ๐˜ฐ๐˜ฏ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ฑ๐˜ฐ๐˜ณ๐˜ค๐˜ฉ ๐˜ญ๐˜ช๐˜จ๐˜ฉ๐˜ต.โ€

This Agent and physical world integration experiment continues, connected to Spotify and lightingโ€ฆ then, tell it how I felt.

So I added mood mode. A little text face made entirely of text dots appears in my terminal (ASCII ftw), blinks, raises an eyebrow while itโ€™s thinking, and asks out loud:

๐Ÿ—จ๏ธ โ€๐˜๐˜ช! ๐˜๐˜ฐ๐˜ธ ๐˜ข๐˜ณ๐˜ฆ ๐˜บ๐˜ฐ๐˜ถ ๐˜ง๐˜ฆ๐˜ฆ๐˜ญ๐˜ช๐˜ฏ๐˜จ ๐˜ณ๐˜ช๐˜จ๐˜ฉ๐˜ต ๐˜ฏ๐˜ฐ๐˜ธ?โ€

Me: โ€๐˜โ€™๐˜ฎ ๐˜ง๐˜ฆ๐˜ฆ๐˜ญ๐˜ช๐˜ฏ๐˜จ ๐˜ฑ๐˜ณ๐˜ฆ๐˜ต๐˜ต๐˜บ ๐˜ต๐˜ช๐˜ณ๐˜ฆ๐˜ฅ.โ€

๐Ÿค– The bulb fades to a soft amber, a calm acoustic playlist starts, and it says: โ€๐˜š๐˜ฐ๐˜ถ๐˜ฏ๐˜ฅ๐˜ด ๐˜ญ๐˜ช๐˜ฌ๐˜ฆ ๐˜ข ๐˜ญ๐˜ฐ๐˜ฏ๐˜จ ๐˜ฅ๐˜ข๐˜บ. ๐˜โ€™๐˜ท๐˜ฆ ๐˜ด๐˜ฆ๐˜ต ๐˜ข ๐˜ด๐˜ฐ๐˜ง๐˜ต ๐˜ข๐˜ฎ๐˜ฃ๐˜ฆ๐˜ณ ๐˜จ๐˜ญ๐˜ฐ๐˜ธ ๐˜ข๐˜ฏ๐˜ฅ ๐˜ฑ๐˜ถ๐˜ต ๐˜ฐ๐˜ฏ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ฅ๐˜ณ๐˜ข๐˜ช๐˜ฏ๐˜ฆ๐˜ฅ. ๐˜ฑ๐˜ญ๐˜ข๐˜บ๐˜ญ๐˜ช๐˜ด๐˜ต, ๐˜ด๐˜ต๐˜ข๐˜ณ๐˜ต๐˜ช๐˜ฏ๐˜จ ๐˜ธ๐˜ช๐˜ต๐˜ฉ ๐˜œ๐˜ญ๐˜ต๐˜ณ๐˜ข๐˜ท๐˜ช๐˜ฐ๐˜ญ๐˜ฆ๐˜ฏ๐˜ค๐˜ฆ ๐˜ฃ๐˜บ ๐˜“๐˜ข๐˜ฏ๐˜ข ๐˜‹๐˜ฆ๐˜ญ ๐˜™๐˜ฆ๐˜บ.โ€

Me: โ€๐˜๐˜ฆ๐˜ฆ๐˜ญ ๐˜ญ๐˜ช๐˜ฌ๐˜ฆ ๐˜ฎ๐˜ฐ๐˜ณ๐˜ฆ ๐˜ญ๐˜ช๐˜ฌ๐˜ฆ ๐˜ข ๐˜ฑ๐˜ข๐˜ณ๐˜ต๐˜บ ๐˜ข๐˜ต๐˜ฎ๐˜ฐ๐˜ด๐˜ฑ๐˜ฉ๐˜ฆ๐˜ณ๐˜ฆ ๐˜ฏ๐˜ฐ๐˜ธ. ๐˜“๐˜ฆ๐˜ตโ€™๐˜ด ๐˜จ๐˜ฆ๐˜ต ๐˜ด๐˜ฐ๐˜ฎ๐˜ฆ ๐˜ฑ๐˜ข๐˜ณ๐˜ต๐˜บ ๐˜ฎ๐˜ถ๐˜ด๐˜ช๐˜ค ๐˜จ๐˜ฐ๐˜ช๐˜ฏ๐˜จโ€

๐Ÿค– โ€๐˜–๐˜ฌ๐˜ข๐˜บ, ๐˜โ€™๐˜ท๐˜ฆ ๐˜ค๐˜ฉ๐˜ข๐˜ฏ๐˜จ๐˜ฆ๐˜ฅ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ญ๐˜ช๐˜จ๐˜ฉ๐˜ต๐˜ช๐˜ฏ๐˜จ ๐˜ต๐˜ฐ ๐˜ข ๐˜ฃ๐˜ณ๐˜ช๐˜จ๐˜ฉ๐˜ต๐˜ฆ๐˜ณ ๐˜ฎ๐˜ข๐˜จ๐˜ฆ๐˜ฏ๐˜ต๐˜ข ๐˜ข๐˜ฏ๐˜ฅ ๐˜ฑ๐˜ถ๐˜ต ๐˜ฐ๐˜ฏ ๐˜ต๐˜ฉ๐˜ฆ 100 ๐˜ฐ๐˜ง ๐˜›๐˜ฉ๐˜ฆ ๐˜‰๐˜ฆ๐˜ด๐˜ต ๐˜—๐˜ข๐˜ณ๐˜ต๐˜บ ๐˜š๐˜ฐ๐˜ฏ๐˜จ๐˜ด ๐˜ฑ๐˜ญ๐˜ข๐˜บ๐˜ญ๐˜ช๐˜ด๐˜ต, ๐˜ด๐˜ต๐˜ข๐˜ณ๐˜ต๐˜ช๐˜ฏ๐˜จ ๐˜ธ๐˜ช๐˜ต๐˜ฉ ๐˜‹๐˜ช๐˜ด๐˜ค๐˜ฐ ๐˜๐˜ฏ๐˜ง๐˜ฆ๐˜ณ๐˜ฏ๐˜ฐ - ๐˜Œ๐˜ฅ๐˜ช๐˜ต ๐˜ฃ๐˜บ ๐˜›๐˜ฉ๐˜ฆ ๐˜›๐˜ณ๐˜ข๐˜ฎ๐˜ฎ๐˜ฑ๐˜ด.โ€

I never said โ€๐˜ต๐˜ถ๐˜ณ๐˜ฏ ๐˜ฐ๐˜ฏ ๐˜ต๐˜ฉ๐˜ฆ ๐˜ญ๐˜ช๐˜จ๐˜ฉ๐˜ตโ€œ. I never named a playlist. It worked out the vibe on its own. That was the whole point of the experiment: moving agents from following instructions to interpreting what you need, ๐˜„๐—ถ๐˜๐—ต ๐—ฟ๐—ฒ๐—ฎ๐—น ๐—ฑ๐—ฒ๐˜ƒ๐—ถ๐—ฐ๐—ฒ๐˜€ in the loop .

Lessons from the lab ๐Ÿงช

  • MCP is magic glue. Once the bulb was an MCP server, adding music was just plugging in a second server, with no new integration code.
  • Personality was interesting, the ascii face added a little personalisation.
  • Kept it local where I could. Speech recognition and the voice run on my own PC. Only the thinking, the weather and Spotify go out to the internet.

The kit list ๐Ÿ› ๏ธ

  • Microsoft Agent Framework: the agentโ€™s brain wiring
  • Model Context Protocol (MCP): a custom WiZ bulb server, plus a community Spotify MCP server
  • Gemini 2.5 Flash via OpenRouter: the reasoning (Ollama for local models)
  • faster-whisper: speech-to-text, on my PC
  • Piper: a natural-sounding voice, also on my PC
  • Spotify Web API: the soundtrack (Premium needed)
  • WiZ smart bulb: the star of the show
  • OwnTracks + Mosquitto (MQTT) + Tailscale: bonus feature, the porch light turns on as I get close to home
  • OpenWeather: so it knows when itโ€™s dark and whether itโ€™s raining
  • Python on WSL2 (Windows 11), pair-programmed with Claude Code

Perhaps the future of home agents isnโ€™t more commands, itโ€™s fewer. Thatโ€™s this run of agent and physical world integration experiments over with - on to something new next week. Time to grab another coffee - remember: Think-Model-Act. โ˜•

Want to Discuss This Topic?

Steve is always happy to have a direct conversation.