Coder Social home page Coder Social logo

homewizard's Introduction

HomeWizard

Description

433MHz Arduino Receiver Code for HomeWizard / Easy Funk System Home Control Transmitters.

This library allows you to monitor home control appliances which are compatible with the KaKu/CoCo/EFS 433MHz protocol.

Prequisites

  • Arduino
  • A cheap chinese RF 433MHz receiver (search Google/Amazon/eBay for "chinese 433mhz receiver arduino")
  • Installation of the RFControl library

Hardware

Connect the VCC and GND pins of the RF receiver to your power supply, and either one of the DATA pins (which one, doesn't matter) to pin D2 of your Arduino.

Usage

#include <HomeWizard.h>
#define IRQ_PIN 0

void setup() {
  Serial.begin(9600);
  HomeWizard::startReceiving(IRQ_PIN);
}

void loop() {
  HW_DATAGRAM data;

  if (HomeWizard::receiveData(&data))
  {
    Serial.print("Switch: 0x"); Serial.println(data.id, HEX);
    Serial.print("Unit: "); Serial.println(data.unit, DEC);
    Serial.print("State: "); Serial.println(data.state ? "ON" : "OFF");
    Serial.print("All? "); Serial.println(data.all ? "Yes" : "No");
  }
}

homewizard's People

Contributors

ghoss avatar

Stargazers

gn0st1c avatar

Watchers

 avatar

homewizard's Issues

Is there a spin on / off?

With your "snoop" sketch at https://github.com/ghoss/HomeWizard I have the telegrams from the handheld transmitter of the company Smartwares "Flamingo SF-501 Control" to a so-called intermediate socket of Smartwares "FLAMINGO SF-501P Switch 10.046.01" recorded.
When I press ON the transmitter I get the message Off on the monitor and vice versa. Is there a spin or do I interpret something wrong?
capture _2018-06-03-05-31-36

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.