Code Monkey home page Code Monkey logo

rc-switch's People

Contributors

sui77 avatar

Watchers

James Cloos avatar Shoaib Ahmed avatar

rc-switch's Issues

Received code OK, but fails to resend it back.

What steps will reproduce the problem?
1. I have a ligth socket like this one: h
ttp://www.dx.com/p/e27-to-e27-remote-control-light-bulb-socket-ac-110-250v-10475
5#.VabJd_ntlBc
2. I have an 315Mhz RF link.
3. I have read the remote with the RF receiver and got:

Decimal: 8057592 (24Bit) Binary: 011110101111001011111000 Tri-State: not 
applicable PulseLength: 206 microseconds Protocol: 1
Raw data: 
6372,168,656,568,244,580,248,568,256,580,236,172,652,572,244,136,672,560,268,556
,268,548,296,516,384,436,284,116,1804,24,1972,300,564,192,2252,216,376,256,96,32
,436,56,3960,104,668,152,680,140,708,

4. Then I am trying to send the same code to activate the light switch:
mySwitch.send(8057592, 24);

But nothing happens.

I have tryed this library with other light switches and it works fine.
What am I missing?

Thank you very much for making this great library.
Dan.

Original issue reported on code.google.com by [email protected] on 15 Jul 2015 at 9:02

Code review request

Branch name: raspberry-quigg

Purpose of code changes on this branch:
- Send Commands to Quigg Devices
- A "little" code rearrangement
- Compile Option for RaspberryPi (use -DRASPBERRY)

When reviewing my code changes, please focus on:
- is everything working?
  - Commands to all other devices
  - Does it still work on Arduino et al?
  - Do the receiver methods still work? (Couldn't test this at all)

- Are these changes fully backward compatible?

Not for RPi reviewers:
Minimum example for an executable:
#include "RCSwitch.h"
int main(int argc, char*argv[])
{
  if(wiringPiSetup() == -1)
    return 1;
  piHiPri(20);
  RCSwitch mySwitch;
  mySwitch.enableTransmit(0); // PIN 0;
  mySwitch.toggleTypeD("111100001111", 3, 1); // Quigg's system code is 12-bit, unit code can be 0 (=all) or 1-4.
  return 0;
}

After the review, I'll merge this branch into:
/trunk

Malte

Original issue reported on code.google.com by [email protected] on 17 Feb 2014 at 9:39

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.