skip to navigation
skip to content

vinisto 0.1.2.dev83

Your personal AI

Vinisto - Your human-like intelligent home

Vinisto is a Work-In-Progress domotic assistant.

Right now, its intentions are:

  • Be human in each part of the process.
  • Have access to as many resources as possible, as less intrusive as possible
  • Be flexible.
  • Be smart.
  • Suggest, don’t force.

Base Ideas

In order to acomplish that, we have an expert system with rules that are both human readable and machine readable, like:

Feature: If there is cold, turn the heater on
Scenario:
     Given the sensor temperature_living has a value < 15
     And winter is coming
     Then turn on heater

Feature: If there is too hot, turn the heater off
Scenario:
     Given the sensor temperature_living has a value > 20
     And winter is coming
     Then turn off heater

Then, we need an external system that feeds the user with automated rules, guessed by its own logic (that’s a black box for now), that the user must accept or decline.

Technical part

Vinisto uses all the power of an expert system combined with the syntax of a great language for defining software features (cucumber).

That is acomplished with the following:

  • A library that converts a series of features to pyknow (http://github.com/buguroo/pyknow)
  • An interface from-to rethinkdb for sensor data keeping and changes streaming
  • Microservices (TODO) that read on those rethinkdb changes and propagate them to more standard IOT services (like MQTT) as well as web services.

Rethinkdb only marks updates if the value changed, wich helps with some usual IoT problems.

TODO

All the external services are to be made. That is, from now (suggestions accepted):

  • A web interface using the streaming changes API.
  • Store features in the database
  • A service that listens on either features or sensor changes and relaunches the engine

Probably-very-useful-services: - An MQTT from-to rethinkdb streaming changes. - A simple configurable service that exposes changes over HTTP Rest.

 
File Type Py Version Uploaded on Size
vinisto-0.1.2.dev83.tar.gz (md5) Source 2017-08-05 7KB