Skip to content

Control your Centronic, CentronicPLUS and B-Tronic devices with Homeassistant.

License

Notifications You must be signed in to change notification settings

Kilowatt-W/becker_centralcontrol_has

 
 

Repository files navigation

Becker CentralControl HAS

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.

Installation:

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

Usage:

Step 1 Got to settings > add integration.

Step 2 Add the CentralControl integration.

Step 3 Configure the host: http://$CENTRAL_CONTROL_IP_ADR/cgi-bin/cc51rpc.cgi
Leave the cookie field empty.

Step 4 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.

Step 5 Devices are mapped to entities and added accordingly

Zero-Conf / MDNS / AVAHI

Currently not supported.

CentralControl API

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.

Forward tunneling (MacOS development in HASS Container)

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.

Contributing

Contributions are welcome

About

Control your Centronic, CentronicPLUS and B-Tronic devices with Homeassistant.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%