Asysbus component for Home Assistant
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
light
switch
COPYING
LICENSE
README.md
asysbus.py
asysbus_test.py

README.md

Asysbus component for Home Assistant

Installation

Copy the files into ~/.homeassistant/custom_components/ directory and add the configurations blocks to your normal ~/.homeassistant/configuration.yaml.

Configuration

Example configuration for serial bridge

This block must be added on root level of your configuration.

asysbus:
  serial_port: /dev/ttyACM0
  baudrate: 115200

Example configuration for switches

These examples must be added to the switch block of your configuration.

- platform: asysbus
  id: 0x07D0
  name: "Asysbus switch 1"

- platform: asysbus
  id: 0x07D1
  name: "Asysbus switch 2"

Example configuration for lights

These examples must be added to the light block of your configuration.

- platform: asysbus
  id: 0x03E8
  name: "Asysbus light 1"
  type: "RGB"

- platform: asysbus
  id: 0x03E9
  name: "Asysbus light 2"
  type: "RGBW"

Further information

The project is fully documentated on my blog Sicherheitskritisch.