Git Product home page Git Product logo

spxmit's Introduction

spxmit Raspberry Pi

spxmit "single-pin transmit" (and later maybe transceive) is a linux (kernel 4.8+) tool to work with those single-pin 433Mhz China transmitters (e.g. FS1000A) commonly used in hobby home automation projects. The tool is somewhat similar to pilight-send or rc-switch with less functionality but only the things I needed. And without dependencies, because accessing GPIOs is not that hard.

Its not really meant to be used by you. Of course you can. You can also extend it with more protocols and I'll gladly accept those submissions. A more realistic purpose for it though is to be dismantled and customized. It's cut right to the chase, very lean, not much fancyness, not even 350 LoC.

Compiling

Local: You'll need gcc in PATH.

make

Cross Compiling: You'll need a cross compiler

make CROSS_COMPILE=/usr/bin/arm-linux-gnueabi-

There are also VS Code tasks included for this.

Usage

spxmit - single pin transmit
Synopsis: 

  spxmit -t 14 -p kaku -i 5652480 -u 1 -s 1

  -t  <tx-pin>     pin number on chip for TX
  -p  <protocol>   protocol name
  -i  <id>         device id
  -u  <unit>       unit number
  -s  <state>      0=inactive, 1=active
  -m  <mode>       0=single, 1=all
  -h               this help

Protocol

Currently there is just one protocol (but it supports a variety of devices apparently): https://manual.pilight.org/protocols/433.92/switch/intertechno.html

Arguments for -p option, for convenience, but all resulting in this same protocol:

kaku
intertechno
arctech

Device Id

Because there is no receive functionality yet, you'll have to use pilight-receive or pilight-raw to discover the devices id.

spxmit's People

Contributors

nptr avatar

Stargazers

 avatar

Watchers

 avatar  avatar

spxmit's Issues

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.