Control your Centronic, CentronicPLUS and B-Tronic devices with Homeassistant.
Support is limited to Cover-type devices, lights and switches.
Requires a fully set-up CC31, CC41 or CC51.
Navigate to the $HASS_CONFIG_DIR/custom_components
directory.
Clone the repository: git clone https://github.com/DominikStarke/becker_centralcontrol_has.git
Restart Homeassistant to load the new integration.
Alternatively you can also get the code as zip file and unpack it manually to the $HASS_CONFIG_DIR/custom_components
directory
Got to settings > add integration.
Add the CentralControl integration.
Configure the host:
http://$CENTRAL_CONTROL_IP_ADR/cgi-bin/cc51rpc.cgi
Leave the cookie field empty.
If everything went smoothly you should be presented a list of devices.
Note: Sometimes only 1 device is listed. After selection the other devices will be listed.
Devices are mapped to entities and added accordingly
Currently not supported.
The API allows to:
- list devices
- send commands
- get the current state of devices which support feedback
See central_control.py for a more comprehensive guide on API usage.
Due to limitations of the Linux VM of Docker on MacOS we cannot use --network host.
That means it's not possible to connect to a CentralControl on the same Network as the host machine.
It's possible to use ssh to open a forward tunnel:
ssh -fN -L 8080:$CENTRAL_CONTROL_IP_ADR:80 $CENTRAL_CONTROL_IP_ADR
Then during integration setup use http://host.docker.internal:8080/cgi-bin/cc51rpc.cgi
as hostname.
Contributions are welcome