Firmware for Asysbus for Home Assistant nodes
Switch branches/tags
Nothing to show
Clone or download
Latest commit b9092c9 May 15, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/Firmware Updated submodule paths May 15, 2018
.gitmodules Updated submodule paths May 15, 2018
COPYING Updated README, COPYRIGHT and added project cover image May 15, 2018
LICENSE Initial commit Dec 21, 2017
README.md Updated README May 15, 2018
projectcover.jpg Updated README, COPYRIGHT and added project cover image May 15, 2018

README.md

Firmware for Asysbus for Home Assistant nodes

The firmwares are intended to run on an Arduino Pro Mini (8 MHz) for low power consumption and be connected to a MCP2515 CAN bus module with a 8 MHz crystal.

A generic Asysbus node

Firmwares

Serial bridge

The asbserialbridge firmware is intended to act as a gateway between the CAN bus and the device running Home Assistant (for example a Raspberry Pi). The Home Assistant components connects to the serial port which will be provided by the node running asbserialbridge. The serial bridge has the node id 0x0001, which shouldn't be necessary to change.

Switch node

The asbswitchnode firmware is intended to provide a node that is a physical switch for Home Assistant. The switch node must have a network unique node id (for example 0x07D0) which is need to be set in the sketch as well as in the corresponding Home Assistant switch configuration. The firmware is designed for hardware that provides a vibration motor on port D4 and a LED on port D5 for press indication. The button itself is connected to port D3.

RGB(W) light node

The asblightnode firmware is intended to provide a node that powers a RGB(W) light strip. It also must have a network unique node id (for example 0x03E8) which is need to be set in the sketch as well as in the corresponding Home Assistant light configuration. According to the strip type, the LED_TYPE in the node configuration must be set to RGB or RGBW. The LED pin configuration is also customizable like the offsets for each color channel (to compensate potential color inconsistencies). A crossfade effect is enabled by default to provide a smooth change animation, but it can be disabled of course.

Further information

The project is fully documentated on my blog Sicherheitskritisch.