Coder Social home page Coder Social logo

pi-433's Introduction

pi-433

simple python program that sends codes to brennstuhl 433mhz power plugs. The programm is controlled via an Restful API.

Installation

sudo ./install.sh

Restful API

IP:5000/{A,B,C,D} - GET

returns the current state.

{ "state":"1" } # ON
{ "state":"0" } # OFF

IP:5000/{A,B,C,D} - POST

sets the new state with the following body:

{ "state":"1" } # ON
{ "state":"0" } # OFF

433Mhz codes

# on off
A 1361 1364
B 4433 4436
C 5201 5204
D 5393 5396

Credits

Big thanks to Suat Özgür and Micha LaQua for the rpi-rf project.

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.