In the previous update I wrote down a list of decisions: real encryption, finding each other without the internet, a switchboard of our own, and nothing that depends on the clock. A decision is still just a promise. This week those promises turned into code, and most of it now runs on Linux and Windows 11. And the best news: the sound is now clear over Wi-Fi too.

This is what UHURA looks like now on my sister's laptop. "SB: Verbonden" means the switchboard has been reached.
Done: the secret key I promised
In the first update I admitted that Call & Listen did not use a secret key yet. That is fixed now. Every pair of boxes has its own key, and every packet of sound is encrypted on its own. If the Wi-Fi drops out for a moment, the next packet can simply be read again. To an outsider, or a firewall, every packet is pure noise. Only someone who has been added to Mum's box can open the thirty-second listening window. The "Mijn Code" at the top of the window is the fingerprint of that key; it is fine to show it.
I did this without OpenSSL, with two small C files from Monocypher. The whole Windows app is still a single file of about 955 KB.
Done: still talking when the internet is down
If the fibre in the street is cut, the attic, the living room and the shed must still reach each other. Every five seconds each box now sends a small encrypted beacon over the home network. When another box hears it, they talk to each other directly from then on. And after a power cut without internet a box may think it is 1970, but UHURA never looks at the calendar. So it does not matter.
Done: our own switchboard in Amsterdam
For calls between houses there is now our own switchboard on two servers in Amsterdam, a main one and a spare. It is one small C program that needs nothing else. The switchboard only knows that you belong to the circle; it cannot read names or conversations. A call starts straight away through the switchboard, and as soon as possible the boxes talk to each other directly. At home, everything simply runs over your own network.
Done: clear sound over Wi-Fi
On a network cable everything sounded good from the start. Over Wi-Fi we heard the odd hiccup, even though hardly anything was actually lost. Wi-Fi sends packets in little waves, and our buffer threw away packets that arrived just too late. Now we send slightly larger packets, 50 per second instead of 100, and the buffer waits a little longer and repairs itself. The result: sound over Wi-Fi is now fine.
Two lessons
A silent port thief. During the first test on the server my laptop suddenly saw nothing at all, without a single error message. A test program on the same server had quietly taken over the switchboard's port. The culprit was a setting (SO_REUSEADDR) that you switch on out of habit for TCP, but that does something completely different for UDP. Now UHURA gives a clear tip straight away when this happens.
Strange characters on the screen. The first screenshot showed "—" instead of a dash. Microsoft's standard fix did not help, because Windows ignores it when you start the program from the Linux folder (WSL). The new rule in the project: all text on the screen goes through the Unicode variant (DrawTextW). Now it is right everywhere.
Decided: Android
My sister's first question after the test was: "Can I call Mum from my phone when I don't have my laptop with me?" Soon she can. The same C core also runs on Android, without Google services in between. There will also be a backup route for networks that block UDP completely.
What's next?
The box itself. The software is ready; now Mum needs something with one big button on it: the ESP32 box with a microphone, an amplifier, buttons and lights.
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 3: veilig, zonder internet en helder over wifi
Reacties