Giter VIP home page Giter VIP logo

mysensors's Introduction

MySensors

Serial Gateway based on MySensors protocol communicating with HomeAssistant. Only Relays are visible as child id. All buttons are handled internally and gateway is sending relay status after action.

Buttons are set to:

  • Short click - flip status of relays in zone
  • Relese of long click - switch off all relays in zone
  • Double click - flip on relay in zone

At this point sketch is done for only ON/OFF status of relays.

Dependencies

  1. MySensors (2.3.2)
  2. OneButton (1.4.0)

Note: All above must be installed via Arduino IDE

Build

  1. Download Arduino IDE
  2. Download dependencies via Arduino IDE
  3. Download this repository
  4. Open sketch source file (gateway/gateway.ino) in Arduino IDE
  5. Click a Upload button to build and upload sketch

Modifications

See doc/Modification.md for detalis helping addopting this project for your needs.

Additional Info

Serial API

https://www.mysensors.org/download/serial_api_20

Sketches

https://www.mysensors.org/about/arduino#basic-structure-of-sketches

To do

  • longpress start/stop with flip as bistable switch
  • longpress start/stop with read as contactron
  • internally check if pump is not running without zones
  • lights dimming
  • add ds18b20 sensors reading
  • sense if HASS (HomeAssistant) is working to bypass heating control locally
  • small LCD for local control of heating
  • fix all Issues

License

GNU General Public License, version 2

mysensors's People

Contributors

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