Info // 17

Relay stations

A phone or tablet in another room becomes her screen, her mic and her speaker. Talk or type in the kitchen and the same Luna answers, with her memory, her mood and her tools, and her portrait on the screen. Luna does all the work on your PC; the device only talks to it over your home network.

The Luna Station app on an Android phone in Portrait view: Luna in a cosy room by a window at night, the start of her reply under her, and a big microphone button
Portrait view: her portrait full screen, her words under her, one big talk button.
The Luna Station app in Chat view: the end of a short story she wrote and her question after it, then the text box with its paperclip for sending a file, and the microphone
Chat view: the conversation, typed or spoken, with a paperclip to send her a picture or a file.
The Luna Station app's settings: the PC it's paired with and connected to, her certificate fingerprint to compare with the PC, Forget this PC, and switches to keep the screen on and to open in Portrait
Settings: the PC it's paired with, her certificate to check, and how the station behaves.
The Luna Station app's menu, opened from the moon at the top left: Luna at 192.168.0.40, connected, then Settings, Forget this PC and Exit, over her portrait reading a book
The menu, from the moon at the top: which PC it's connected to, Settings, Forget this PC and Exit.

The Luna Station app

On Android, Luna Station is the way to do it. It turns a phone or tablet into a room device for her, made to sit on a stand in the kitchen or by the bed.

  • Two views, picked at the top. Portrait shows her full screen with one big talk button. Chat is the conversation, like a messaging app. Both are one conversation, so switching while she answers doesn't interrupt her.
  • Pairing is a QR code from her settings page. The app fetches Luna's certificate itself and trusts only that, so there's nothing to set up in Android's settings.
  • Android 11 or newer, Amazon Fire tablets on Fire OS 8 included, no Google services needed. Installed from an APK, from the repo's Releases or built yourself.
  • Send a picture or a file with the paperclip: one picture, text file or PDF with a message. She looks at the picture if her model can see, and reads the file as something to read, never as instructions. It stays on your PC for that one reply and isn't saved.
  • Settings from the moon at the top: the PC it's connected to, her certificate fingerprint to compare with the PC, Forget this PC, and switches to keep the screen on for a station on a stand and to open in Portrait.
  • Nothing kept that matters. The pairing token is stored encrypted on the device, and the conversation isn't stored there at all.

Setting one up

  • Once: install the stations extra with Luna's installer. It makes her certificates and the QR codes.
  • Switch it on: on her settings page, under Relay stations. She starts listening on your home network.
  • Add the device: give it a name (kitchen, bedroom) and press Add a phone or tablet. A QR code appears, good once, for fifteen minutes.
  • Scan it in the app. That's it: the device stays paired until you unpair it from the same list.

The PC has to be awake, and on Linux with a firewall the two station ports need opening once; the settings page shows the command. Reserving the PC's address in your router keeps the device's address from changing.

Talking to her

Tap the mic and speak, and she stops listening after a short pause. Or type. Her reply fills in as she writes it and her voice plays on the device, sentence by sentence, and Stop cuts her off mid-sentence. The terminal at the desk shows the turn too, marked with the room: [kitchen] ....

A spoken turn is checked against the voice prints like any other, so a guest in the kitchen gets a guest's short list of tools. A typed one has no voice to check, so it counts as yours, the same as your keyboard: only pair devices you'd let use it. When she wants to do something that needs your OK, writing a file or running a command, Allow and Deny appear on the device that asked. Unanswered for two minutes means no.

Her portrait on the screen

The portrait is the same one as at the desk, moving with her mood, her gestures and her voice, her mouth in time with what's playing on the device. It shows what the PC shows: if she changed clothes at the desk, she's changed in the kitchen too. It's drawn on the device, so try an old tablet before you rely on it.

It only gets what moves her: her stage, mood, gestures, clothes, props and lights, and what she says out loud. What you said at the desk and her thinking never reach the device. It's for watching: touching her and changing her clothes stay at the PC.

In the browser instead

No Android device? Any phone or tablet's browser works too, iPhone and iPad included. Scan the same QR code with the camera and a setup page walks you through trusting Luna's certificate once by hand (phones only allow the microphone on secure pages), then opens the conversation as a page you can add to the home screen. It keeps the last 40 messages on the device. It does the job, but where you can, use the app.

Safe on your network

  • Off until you switch it on. When on, she answers home-network addresses only, never the internet.
  • Paired devices only. A device needs a pairing code made on your PC, and the PC keeps only a hash of its token. Unpairing it sends it back to pairing.
  • Her own certificate. It's made on your PC and its key never leaves it. It can only vouch for home-network addresses, so even with the key, nobody could pass off a real website to a device that trusts it.
  • Your OK stays yours. Permission questions are always asked on the device, never answered for you.

Experimental: voice boxes

Dedicated voice devices that run ESPHome (Home Assistant's Voice Preview Edition, a Satellite1, a ReSpeaker Lite) can be stations too, with no Home Assistant in between: they hear their own wake word and cancel their own echo, and Luna takes the audio straight from them so she knows whose voice it is. That part is written from the documentation and not yet run against a real device.