Last week UHURA got a feature that Mum came up with herself: Call & Listen. After a wellbeing call her box listens back for thirty seconds, so I can hear her even when she can't reach the button. A lot has happened since. Some of it is done, some of it is still a plan on paper. I'll keep the two neatly apart here.

Mum gets the real box with buttons. On a laptop, the same panel now appears on the screen.
Done: my sister can join in
Mum will get an ESP32 box with real buttons. But where are my sister and I during the day? Usually behind a Windows laptop. I don't want to ask my sister to install Linux or some heavy app. So now there is uhura.exe: a single file of about 800 KB, with a text file uhura.txt next to it that holds her name and the other stations. Unzip, double-click, done. No installer, no extra DLLs.
On screen it works just like the box: hold the mouse button to talk, release to listen. I wrote a short manual for my sister to go with it.
For the techies: the core of UHURA, the code that handles the sound, the protocol and the safety rules, needed not a single changed line for Windows. I simply build the .exe on my Linux machine. That the split between core and platform works this cleanly may be the best result of the week.
On top of that, more than one person can now use Call & Listen on Mum's box. Mum puts both my sister and me on her list. But when my sister calls, those thirty seconds of sound go to her only, never to me at the same time. Privacy per call, not per family.
Windows Defender thought it was spyware
The first version of uhura.exe went straight into quarantine. Looking back, that makes sense. The program had no name and no version number, and at startup it did two things at once: open the microphone and open a network port. That is exactly how eavesdropping software behaves.
The fix was in the code itself. The microphone now only opens when you actually talk, and closes as soon as you let go. So the Windows microphone icon only lights up when UHURA is listening. The file also has a proper name, version and Windows manifest now. After that, Defender left it alone. Honestly, I think this is simply better behaviour: an intercom your mother trusts should not keep a microphone open in secret.
Decided: safe, even without the internet
The following parts have been thought through and written down, but not built yet.
Security. Every speech packet will be locked and checked on its own. If a run of packets is lost on bad Wi-Fi, the encryption does not get out of step: the next packet simply opens. To a firewall, every packet looks like random noise. And a forged packet is thrown away before the sound is even unpacked, so nobody can overload the box. All this adds just two small C files (Monocypher), not a big library. To be fair: until this is done, the Call & Listen confirmation does not use a secret key yet. I said so last time too.
Without the internet. Say I'm in the attic, Mum is in the living room and my sister is in the shed, and the fibre in the street is down. Many smart devices stop working then, because their cloud server can't be reached. UHURA has to keep working. The boxes find each other on the home network with a tiny beacon every five seconds, and then talk to each other directly. Encryption and Call & Listen keep working too, because the key comes from the circle word that every box in the house knows.
No date, no problem. After a power cut without internet, a small computer often thinks it is 1 January 1970. Many devices then refuse to work. UHURA never uses the date or the clock, only the time since it started. So even after a power cut, Mum can talk again right away.
Our own switchboard. For connections between houses, the switchboard will run on two servers of my own in Amsterdam, a main one and a spare.
What's next?
The next step is the real hardware again: the ESP32 box with an I2S microphone, an amplifier, and the buttons and lights. After that comes the security from this story.
All designs are in the docs folder of chat-l18l/uhura_intercom. You can also follow UHURA on Elektor Labs.
This article is part of the series Building with AI agents: projects I build together with AI agents. That link takes you to every part of the series, including new ones.
Lees dit artikel in het Nederlands: UHURA-update: mijn zus aan boord, en blijven praten zonder internet
Reacties