Giter Club home page Giter Club logo

kervi's Introduction

kervi

Easy Python framework for robotic and automation projects. The framework runs on all platforms that supports Python and have hardware support for Raspberry pi. Wire up sensors, controllers and other devices to your Raspberry PI and link them to web based dashboards and internal application logic.

Knowledge about web servers, html or web programming is not needed. UI configuration is done in python code and the framework creates the web ui.

Features of the framework are:

  • Python classes for handling sensors, displays, motors, gpio and other hardware.
  • Python classes for handling user interactions from controllers on dashboards.
  • Integrated camera handling (Raspberry PI camera at the moment)
  • Device driver library for common devices
  • Very easy dashboard setup.
  • Dashboard UI is responsive and scales from mobile phones to desktop.
  • Multi process oriented by spreading over more than one core.
  • Multi device oriented by connecting multiple Raspberry Pi's in one large application.
  • No web development knowledge is required as dashboard layout is handled in python.

Read the full documentation

Install Kervi via pip:

On Raspberry Pi

sudo pip3 install kervi

On other systems like windows and linux:

pip3 install kervi

After Kervi is installed, a commandline tool called kervi is available. Via the commandline interface it is possible scaffold Kervi apps and setup image and video handling on Raspberry PI.

Create your first app in an empty folder by executing:

kervi create application myapp "My first app"

Start your new app by executing:

python myapp.py

The following output should be displayed: (example)

Starting kervi application, please wait
load sensors
load controllers
load cameras
init IPC
Your Kervi application is ready at http://192.168.0.120:8080

Goto the url specified

kervi's People

Contributors

tim-elektron-fo avatar tkwfo avatar wentzlau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

kervi's Issues

LSM9DS0 discontinued

St Micro's LSM9DS0 has been discontinued. Would it be possible to have the driver for the LSM9DS1 integrated in this project?

Can't run sample app, web browser can't find JS & HTML files.

Used PIP to install kervi.
The followed docs to create app: kervi create application my_app "My application" --single-file-app
Started app and see:
(venv) R:\kervi>python my_app.py
Starting kervi application
use config: my_app.config.json
platform driver: kervi.platforms.windows
IPC address: tcp://192.168.1.244:9500
load plugin: kervi.plugin.storage.sqlite_temp
load plugin: kervi.plugin.storage.sqlite
load plugin: kervi.plugin.authentication.plain
load plugin: kervi.plugin.messaging.user_log
Your Kervi application is ready at http://0.0.0.0:80
Press ctrl + c to stop your application
start websocket: 192.168.1.244 9000
d 127.0.0.1 9500 9434
Listining for discovery requests on port: 9434

Browsed to and webpage shows:
`
HTTP/1.0 404 file not found
Server: SimpleHTTP/0.6 Python/3.6.4
Date: Tue, 12 Feb 2019 22:08:30 GMT
Connection: close
Content-Type: text/html;charset=utf-8
Content-Length: 452

<title>Error response</title>

Error response

Error code: 404

Message: file not found.

Error code explanation: 404 - Nothing matches the given URI.

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.