Coder Social home page Coder Social logo

homeassistant-socat's Introduction

Home Assistant with socat for remote zwave

Based on homeassistant/home-assistant image, published on docker hub. Please report issues on github. Instead of using a locally-connected zwave device (usb stick/etc), we can use a serial device mapped over the network with ser2net and then map it to a local zwave serial device with socat. This docker container ensures that

  • a zwave device is mapped in the local docker with socat
  • home assistant is running If there are any failures, both socat and home assistant will be restarted.

Environment options:

All homeassistant-home-assistant image options are available and on top of that a few others have been added:

DEBUG_VERBOSE=0 (Set to 1 to see more information; Default: 0)

PAUSE_BETWEEN_CHECKS=2 (In seconds, how much time to wait between checking running processes; Default: 2)

LOG_TARGET=/log.log (Path to log file. Ommit to write logs to stdout; Default: stdout)

SOCAT_ZWAVE_TYPE="tcp"

SOCAT_ZWAVE_HOST="192.168.5.5"

SOCAT_ZWAVE_PORT="7676" (Where socat should connect to - will be used as tcp://192.168.5.5:7676)

SOCAT_ZWAVE_LINK="/dev/zwave" (What the zwave device should be mapped to. Use this in your home assistant configuration file.)

Version:

Current Home Assistant version: 2021.2.3.

homeassistant-socat's People

Contributors

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