Giter VIP home page Giter VIP logo

mqtt_cul_server's Introduction

MQTT CUL server

This software package provides a bridge to connect a CUL wireless transceiver with an MQTT broker, so that multiple clients (smart home, other apps) can use it over the network to control various smart home devices.

Currently it is used and tested with Somfy RTS rollershutters and shades as well as Brennenstuhl RCS switchable power sockets (Intertechno-compatible) for control and LaCrosse IT+ temperature / humidity sensors (Technoline TX29 DTH-IT) for receiving.

Further information about the CUL: Product page, firmware details.

This software is provided not only as source code, but also as Docker image for ARMv7 processors (Raspberry Pi). An example docker-compose.yml is included.

Device discovery

Home Assistant defines an interface for device auto-discovery, which is supported by this software.

Configuration

CUL

The software supports both the 433 MHz and 868 MHz hardware.

For the CUL, you just need to configure the serial device of the dongle in mqtt_cul_server.ini.

Intertechno

For Intertechno-based switches, you need to configure the system ID, often also called house ID, in mqtt_cul_server.ini and enable it.

Somfy

Somfy RTS configuration is a bit more involved. The documentation is here.

LaCrosse IT+

No configuration required.

mqtt_cul_server's People

Contributors

bbock avatar xn--nding-jua avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

mqtt_cul_server's Issues

Convert to Addon

At the moment this is a standalone Linux/Python software that cannot be installed via supervisor / GUI. It can connect to Home Assistant via MQTT, but apart from that it needs to run completely separately.

As you cannot run “plain” (i.e. non-containerized) software in Home Assistant OS, there’s currently no way to run it on the same device as Home Assistant, if you use the recommended "Home Assistant OS" setup. You can run it on a Raspberry PI with e.g. Raspbian or and other Linux device, but there’s no automated installation yet.

Convert this repository it to a proper add-on to run it from within the supervisor.

KeyError: 'statedir'

Running this docker image errors out:

Traceback (most recent call last):
  File "/mqtt_cul_server/mqtt_cul_server.py", line 17, in <module>
    mcs = MQTT_CUL_Server(config=config)
  File "/mqtt_cul_server/mqtt_cul_server/__init__.py", line 19, in __init__
    statedir = config["DEFAULT"]["statedir"] or "state"
  File "/usr/local/lib/python3.10/configparser.py", line 1258, in __getitem__
    raise KeyError(key)
KeyError: 'statedir'

Modifying line 4 in mqtt_cul_server.ini to
statedir = /state_dir
solves this.

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.