Coder Social home page Coder Social logo

shreyanshk / raspberry-control-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maciejaszek/raspberry-control-server

0.0 3.0 1.0 380 KB

Raspberry Control - Control Raspberry Pi with your Android Device

License: GNU General Public License v2.0

C 100.00%

raspberry-control-server's Introduction

raspberry-control-server
========================

Raspberry Control - Control Raspberry Pi with your Android Device

* Raspberry Pi (Raspbian - Release date:2014-09-09)

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install cmake libssl-dev libglib2.0-dev libjansson4 libjansson-dev

git clone https://github.com/lukasz-skalski/libwebsockets.git
cd libwebsockets
mkdir build
cd build
cmake -DLWS_IPV6=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
make
sudo make install

git clone https://github.com/lukasz-skalski/raspberry-control-server.git
cd raspberry-control-server
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug ../
make
./raspberry-control-server --port=8080 -n


shellinabox (Terminal Emulator)
===============================

sudo apt-get install shellinabox
/usr/bin/shellinaboxd -q --background=/var/run/shellinaboxd.pid -c /var/lib/shellinabox -p 8081 -t


mjpg-streamer (Webcam Surveillance)
===================================

apt-get install libv4l-dev libjpeg8-dev imagemagick

cd $HOME
git clone https://github.com/lukasz-skalski/mjpg-streamer.git

cd mjpg-streamer/mjpg-streamer-experimental
make

export LD_LIBRARY_PATH=.
./mjpg_streamer -o "output_http.so -p 8082 -w ./www" -i "input_raspicam.so -x 640 -y 480 -fps 20 -ex night"


LIRC (IR Remote Control)
========================

sudo apt-get install lirc

vi /etc/modules (add two below lines)

lirc_dev
lirc_rpi gpio_out_pin=22

vi /etc/lirc/hardware.conf

########################################################
# /etc/lirc/hardware.conf
#
# Arguments which will be used when launching lircd
LIRCD_ARGS="--uinput"

# Don't start lircmd even if there seems to be a good config file
# START_LIRCMD=false

# Don't start irexec, even if a good config file seems to exist.
# START_IREXEC=false

# Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER="default"

# usually /dev/lirc0 is the correct setting for systems using udev
DEVICE="/dev/lirc0"
MODULES="lirc_rpi"

# Default configuration files for your hardware if any
LIRCD_CONF=""
LIRCMD_CONF=""
########################################################

# Prepare new configuration file (please visit: http://lirc.sourceforge.net/remotes/)
cp ~/lircd.conf /etc/lirc/lircd.conf


DS18B20 Sensors (Temperature Sensors)
=====================================

vi /etc/modules (add two below lines)

w1-gpio
w1-therm

raspberry-control-server's People

Contributors

lukasz-skalski avatar maciejaszek avatar

Watchers

 avatar  avatar  avatar

Forkers

postgre

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.