Sitelet https://github.com/Expeed-Software/smart-home-assistant
Skip to content

Repository files navigation

Smart Home Assistant

A demo app showcasing Jev, the System One model from TypeSafe AI.

The demo home has rooms and devices; type what you want in natural language - "dim the bedroom lights a bit", "turn off all the lights", "it is too warm in the living room". One Jev call turns that sentence into a set of typed decisions. The home applies them straight away, and the app shows every answer with its probabilities.

Getting started

npm install
cp .env.example .env.local   # then set TYPESAFE_API_KEY
npm run dev

Open http://localhost:3000. The demo home starts fresh on every load.

npm run dev      # dev server
npm run build    # production build, including a full typecheck
npm run lint     # eslint
npm run format   # prettier

How it works

flowchart LR
    subgraph Browser
        home["Home state<br/>rooms and devices"]
        floor[Floorplan]
        assistant[Assistant]
        home <--> floor
        home <--> assistant
    end

    api["Next.js API<br/>/api/commands"]
    jev[("TypeSafe Jev<br/>System One")]

    assistant -- "command + home" --> api
    api -- "typed questions" --> jev
    jev -- answers --> api
    api -- "decisions + device changes" --> assistant
Loading

About

Demo app to showcase the System One models functionality. Say what you want in natural language, System decides what to do on the home..

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages