Git Product home page Git Product logo

rc-switch's Introduction

rc-switch

Build Status

Use your Arduino or Raspberry Pi to operate remote radio controlled devices

Download

Original: https://github.com/sui77/rc-switch/releases/latest

rc-switch is also listed in the arduino library manager.

Modified to support Nexa and Everflourish https://github.com/perivar/rc-switch

Modified to support for Cixi Yidong Electronics protocol. Remote control switches are sold under brands AXXEL, Telco, EVOLOGY, CONECTO, mumbi, Manax etc. More info about the protocol: http://ipfone.hu/reverse-engineering-the-433mhz-cixi-yidong-electronics-protocol/

Modified to support for Shi Qiong - 1+32 bit protocol. (https://www.alibaba.com/product-detail/Germany-type-Remote-Control-Socket-outdoor_60651648731.html) Remote control switches are sold under brands AXXEL in Finland. The switch receives 1+32 bit message. The 1st bit is a normal "1" bit as start. The following 32 bits consists of the 24 bits data + 8 bits checksum. Currently the checksum calculation formula is unknown, it is not any standard CRC, reverse engineering using tool reveng has been unsuccessful. Of course, replaying the code received from the remote will always work. Also using simple trial and error method can reveal new acceptable codes. You need to find ON message only, the OFF message is simply inverting the 2nd bit in the last two bytes (2nd and 10th in the 32 bit data, counted from the LSB). Example working turn ON messages: 656A1EAE 656A1AAA 656A16A6 656A0EB6 C96A1E46 FF6A1E72 FF6C1E74 FF6E1E76 FF701E60 FF721E62 FF021E1C 0F021E94 01021E9C 01020E8C. 1st and 2nd bytes can get many different values (perhaps remote/group ID), but 3rd byte (A, B, C, D or ALL buttons) seems to work only with value 0x1E, 0x1A 0x16, 0x0E, 0x08, where 0x08 is the turn ON ALL switches, where they were taught with the same remote/group ID.

Wiki

https://github.com/sui77/rc-switch/wiki

Info

Send RC codes

Use your Arduino or Raspberry Pi to operate remote radio controlled devices. This will most likely work with all popular low cost power outlet sockets. If yours doesn't work, you might need to adjust the pulse length.

All you need is a Arduino or Raspberry Pi, a 315/433MHz AM transmitter and one or more devices with one of the supported chipsets:

  • SC5262 / SC5272
  • HX2262 / HX2272
  • PT2262 / PT2272
  • EV1527 / RT1527 / FP1527 / HS1527
  • Intertechno outlets
  • HT6P20X
  • Everflourish like EMW100T
  • Nexa like LMLT-711

Receive and decode RC codes

Find out what codes your remote is sending. Use your remote to control your Arduino.

All you need is an Arduino, a 315/433MHz AM receiver (altough there is no instruction yet, yes it is possible to hack an existing device) and a remote hand set.

For the Raspberry Pi, clone the https://github.com/ninjablocks/433Utils project to compile a sniffer tool and transmission commands.

rc-switch's People

Contributors

fingolfin avatar sui77 avatar perivar avatar rotv avatar attila-fin avatar renekliment avatar valeros avatar vgheo avatar bau-sec avatar johannrichard avatar ttalikka avatar solarkennedy avatar jumalio avatar dmsherazi avatar dominikpalo avatar uzi18 avatar ivankravets avatar mcouto avatar gruppio avatar pkozul avatar electronicsguy avatar aznoohwee avatar quaec avatar

Stargazers

 avatar maxjaguarov avatar  avatar

Watchers

James Cloos avatar

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.