diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1fbea87 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.pyc +*.pyo +__pycache__/ +venv/ \ No newline at end of file diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..57b3e77 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,18 @@ +language: python +install: echo "Nothing to install, $TRAVIS_TAG" +script: echo "Nothing to test" && true +before_deploy: + - cd custom_components/diematic_3_c230_eco + - zip -r de_dietrich_c230_ha . +deploy: + provider: releases + api_key: $GITHUB_OAUTH_TOKEN + tag_name: $TRAVIS_TAG + name: $TRAVIS_TAG + file: de_dietrich_c230_ha.zip + skip_cleanup: true + draft: true + prerelease: true + on: + tags: true +# condition: $TRAVIS_TAG =~ ^v\d\.\d\.\d(-beta\.\d)?$ \ No newline at end of file diff --git a/.versionrc b/.versionrc new file mode 100644 index 0000000..346f643 --- /dev/null +++ b/.versionrc @@ -0,0 +1,14 @@ +{ + "packageFiles": [ + { + "filename": "custom_components/diematic_3_c230_eco/manifest.json", + "type": "json" + } + ], + "bumpFiles": [ + { + "filename": "custom_components/diematic_3_c230_eco/manifest.json", + "type": "json" + } + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 7661cd8..5586749 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,42 @@ +[![hacs_badge](https://img.shields.io/badge/HACS-Default-yellow.svg?style=for-the-badge)](https://github.com/custom-components/hacs) [![GitHub release (latest by date)](https://img.shields.io/github/v/release/IgnacioHR/de-dietrich-c230-ha?label=Latest%20release&style=for-the-badge)](https://github.com/IgnacioHR/de-dietrich-c230-ha/releases) [![GitHub all releases](https://img.shields.io/github/downloads/IgnacioHR/de-dietrich-c230-ha/total?style=for-the-badge)](https://github.com/IgnacioHR/de-dietrich-c230-ha/releases) + # de-dietrich-c230-ha De Dietrich C-230 boiler to Home Assistant integration This is my first HA integration so I'm just exploring how to do it! +## Features + +Allows to visualize the status of the boiler from Home Assistant. In some cases it is possible to modify the bolier parameters. + +### Sensors + +- Provides temperature sensors for circuits A, B, C and ACS. +- Allows to edit every circuit target temperature for day and night +- Provides access to see the calibration offset for every circuit +- Provides a sensor with boiler status. useful in case of boiler errors +- Provides capacity to visualize if the circuits are in ON or OFF status (day or night) via scheduler helpers +- Provides binary sensors for the status of the different boiler pumps + +### Installation using HACS + +1. Open `Integrations` inside the HACS configuration. +2. Click the + button in the bottom right corner, select `De Dietrich C-230 boiler` and then `Install this repository in HACS`. +3. Once installation is complete, restart Home Assistant + +### **Manual installation** + +1. Download `de_dietrich_c230_ha.zip` from the latest release in https://github.com/IgnacioHR/de-dietrich-c230-ha/releases/latest +2. Unzip into `/config/custom_components` + ```shell + $ unzip de_dietrich_c230_ha.zip -d /custom_components/diematic_3_c230_eco + ``` +3. Restart Home Assistant + +# Configuration + +TBD + # Current status I've a RPi with a RS-485 to USB (serial) converted connected to the C-230 boiler. I installed the code from Germain Masse () repository in order to extract the values and store them into an influx-db database. That database is also available from Home Assistant so I started to create sensors based on the data from the Influx DB. diff --git a/hacs.json b/hacs.json new file mode 100644 index 0000000..2c3dd4e --- /dev/null +++ b/hacs.json @@ -0,0 +1,7 @@ +{ + "name": "De dietrich C230 ECO gas boiler", + "render_readme": true, + "zip_release": true, + "filename": "de_dietrich_c230_ha.zip", + "homeassistant": "2022.10.0" +}