Coder Social home page Coder Social logo

homegw's Introduction

Home GW

A simple and trivial to reproduce HomeGW for cheap 433Mhz based weather stations and sensors.

Introduction

The objective of this library is to decode information coming from weather station units which can be found online very cheap.

Furthermore, this library and the example code hass_serial can be used with Home Assistant through the use of a custom component

Bill of Materials (BOM)

  • Arduino (any kind of Arduino will do, including esp8266)
  • RF 433Mhz Receiver (I recommend a superheterodyne)
  • Breadboard + wires (optianaly a perfboard and soldering iron)
  • Antenna (17,4 cm of straigh wire)

Schematics

Alt text

Plugins

weather

Decodes the "Prologue Temperature Sensor" protocol.

Works with a unbranded weather station sold on ebay.

digoo

Decodes the "Nexus Temperature & Humidity Sensor" protocol.

Works with Digoo DG-R8H 433MHz Wireless Digital Hygrometer Thermometer Weather Station Outdoor Sensor. You can find it online in several stores.

generic

This plugin should work with a broad number of OOK based devices such as power plugs and remotes

Examples

dump.ino

This example prints a dump of the raw packet it receives/identifies for each plugin.

hass_serial.ino

This example outputs a JSON object for each packet it decodes.

The example can easily be integrated in a Home Assistant install using the following configuration:

- platform: serial
  serial_port: /dev/ttyUSB0
  baudrate: 115200
  
- platform: template
  sensors:
    weatherstation_temperature:
      friendly_name: "Temperature"
      value_template:  >-
        {% if is_state_attr('sensor.serial_sensor', 'dev' ,'weather') %}
        {{ states.sensor.serial_sensor.attributes.in_temp }}
        {% else %}
        {{ states.sensor.weatherstation_temperature.state }}
        {% endif %}
      unit_of_measurement: "°C"

or through the use of a custom component

Contributors

homegw's People

Contributors

aquaticus avatar chinswain avatar dgomes avatar maragelis avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  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.