Git Product home page Git Product logo

pibox's Introduction

PiBox

PiBox is a web control Interface running on Embedded Board, written in python and django.
With PiBox,you can do things like that: image

Usage

See these steps for a build guide(cd Pibox).
First install the dependencies:

sudo apt-get install python-pip python-dev build-essential  libjsoncpp-dev libjpeg-dev zlib1g-dev
sudo apt-get install python-setuptools
sudo pip install pillow
sudo pip install Django==1.6.6
sudo apt-get install scons

Then run building script:

sudo sh ./install_source.sh
sudo sh ./install_env.sh

Start and stop scripts:

sudo sh ./start.sh 
sudo sh ./stop.sh

After run the start script,open your browser and go to the URL:

http://192.168.10.105(your board's ip):8000

(File browser use /home/shares)

uninstall and reinstall: delete the folder and do these steps again.

Feature

  • native iot platform(connect your hardwares to web, like yeelink).
  • File Browser.
  • Web ssh.
  • host status monitor.
  • webcam snapshot.
  • GPIO control.
  • more here

License

PiBox is free software;you can redistribute it and/or modify it under terms of the GNU General Public License version 2 as published by the Free Software Foundation.

PS

If you want more background on how it works,create an issue or email me:-).

FAQ

Image

image image

Chinese

介绍

写这个PiBox的初衷是现在智能硬件的概念很火,打着家庭网关称号的路由器层出不穷,什么智能家居拉,带摄像头拉,控制家电拉,做小车阿,作者也手痒,于是就着手开始做这么一个web base的嵌入式交互应用(好文绉绉..).

App

如果要扩展应用,可以参考optional-app的写一个程序放到APP文件夹. 如果要使用已有的app,请参考optional-app的readme.

pibox's People

Contributors

wzyy2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pibox's Issues

jsoncpp 依赖问题

使用 树莓派3B+,执行:sudo sh ./install_source.sh 步骤的时候,出现下面这个错误:

g++ -o pihome src/main.o src/service.o src/func/inifile.o src/device/serial.o src/service/applicationservice.o src/service/nasservice.o src/service/servicebase.o src/service/statusservice.o src/connect/baseserver.o src/connect/connectclient.o src/connect/cyclicserver.o src/connect/epollserver.o src/connect/threadserver.o src/connect/udpserver.o -ljsoncpp -lpthread -ldl
src/service/nasservice.o: In function `NasService::Start(Json::Value*, Json::Value*)':
/home/pi/Code/web/PiBox-master/PiBox/CppClient/src/service/nasservice.cpp:35: undefined reference to `Json::Value::operator=(Json::Value const&)'
/home/pi/Code/web/PiBox-master/PiBox/CppClient/src/service/nasservice.cpp:37: undefined reference to `Json::Value::operator=(Json::Value const&)'
src/service/statusservice.o: In function `StatusService::Start(Json::Value*, Json::Value*)':
/home/pi/Code/web/PiBox-master/PiBox/CppClient/src/service/statusservice.cpp:184: undefined reference to `Json::Value::operator=(Json::Value const&)'
/home/pi/Code/web/PiBox-master/PiBox/CppClient/src/service/statusservice.cpp:185: undefined reference to `Json::Value::operator=(Json::Value const&)'
/home/pi/Code/web/PiBox-master/PiBox/CppClient/src/service/statusservice.cpp:186: undefined reference to `Json::Value::operator=(Json::Value const&)'
src/service/statusservice.o:/home/pi/Code/web/PiBox-master/PiBox/CppClient/src/service/statusservice.cpp:187: more undefined references to `Json::Value::operator=(Json::Value const&)' follow
collect2: error: ld returned 1 exit status
scons: *** [pihome] Error 1
scons: building terminated because of errors.
error!

我查到的是说 jsoncpp 编译的版本不对,但是我 apt安装 源码安装 都试过了,还是没有解决。
问一下LZ有没有遇到过这个问题?有没有什么解决办法?

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.