priiduonu / ihcclient

client for IHCServer
3 stars 0 forks source link

IHCClient

IHCClient is a Python script, enabling the communication between older IHC Controllers (without ethernet interface) and Home Assistant.

The heavy lifting is done by IHCServer from Martin Hejnfelt.

The IHCServer communicates with the IHC Controller via the RS485 interface, enabling reading the statuses of the inputs and outputs as well as switching the outputs to desired states.

The IHCClient connects to the IHCServer to receive the status updates of the inputs and outputs via WebSocket protocol and sends them to the Home Assistant via the REST API. To switch the outputs, the Home Assistant sends http requests to the IHCServer.

The communication between the components can be seen in the following figure:

system

IHCClient performs the following functions:

Hardware requirements

IHC Controller

Installation

Follow these step-by-step guides:

Bonus tracks: