Oni entering the physical world

New

Oni enters the physical world

Until now Oni lived in chat. Now it also moves things in the house: the outlet, the light, the fan, the blind. That technology is called a smart home. On OnniVers it arrives through Tuya and Home Assistant.

What a smart device is

It is a household object that obeys over the internet: an outlet, a lamp, a sensor, a fan, or a blind. It is not a file or a message. If Oni turns it on, the light really comes on. Each account connects its own. The account next door cannot see them or touch them.

Home Assistant and Tuya

Tuya is the network behind many plugs and lamps sold ready to use. Home Assistant is the brain that gathers a house's devices even when the brands differ. Under Devices, inside Connectors, a person saves their Tuya account or their Home Assistant https address. The secret stays encrypted and belongs only to that person. A house-network address does not work from OnniVers: Home Assistant needs a public address, for example Nabu Casa.

Examples

“Turn on the outlet.” “Turn off the Smart Plug Dot 8.” “Put my phone on charge.” “How is the living-room light?” “Turn on the fan.” “Open the blind.” Oni looks up that account's device, reads whether it is on, and switches it.

Also over MCP

smart_device_list shows the authenticated account's devices. smart_device_status says whether one is on. smart_device_toggle turns it on or off. smart_device_command understands the phrase as spoken: “turn on the outlet”. The other novelties each have their own post: PC control, the 33 tools, the desktop app, and closed OniCredit. They are on the blog.