/hass-Deltasol-KM2

Custom component for retrieving sensor information from Resol Deltasol KM2/DL2/DL3

Primary LanguagePythonMIT LicenseMIT

version hacs_badge buy_me_a_coffee license downloads_total downloads_latest

hass-Deltasol-KM2

Custom component for retrieving sensor information from Resol Deltasol KM2 or DL2/DL3. This component automatically determines if you are using KM2 or DL2/DL3 device. Component uses webservice to get all the sensor data from the Resol Deltasol KM2 or DL2/DL3 device and makes it available in Home Assistant.

Credits

A huge thank you to the following people for your contribution and/or inspiration!

@ostat @chiefdeputy @erikkastelec

Installation

HACS (preferred method)

  • In HACS Store search for dm82m/hass-Deltasol-KM2 and install it
  • Activate the component by adding configuration into your configuration.yaml file.

Manual install

Create a directory called deltasol in the <config directory>/custom_components/ directory on your Home Assistant instance. Install this component by copying all files in /custom_components/deltasol/ folder from this repo into the new <config directory>/custom_components/deltasol/ directory you just created.

This is how your custom_components directory should look like:

custom_components
├── deltasol
│   ├── __init__.py
│   ├── const.py
│   ├── manifest.json
│   ├── sensor.py
│   └── deltasolapi.py  

Configuration

Configuration variables:

  • username: Username used for logging in to Resol Deltasol KM2 or DL2/DL3.
  • password: Password used for logging in to Resol Deltasol KM2 or DL2/DL3.
  • host: Hostname or IP address of your Resol Deltasol KM2 or DL2/DL3
  • scan_interval (Optional): Defines update frequency. Optional and in seconds. Defaults to 300 (5 min), minimum value is 60 (1 min).
  • api_key (Optional): Only applicable if you are using DL2/DL3 device. Applies the filter defined on the DL2/DL3. Use the id of the DL2/DL3 defined filter here.

Add the following to your configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: deltasol
    host: your_deltasol_hostname_or_ip_address
    username: your_username
    password: your_password

Troubleshooting

Please set your logging for the custom_component to debug:

logger:
  default: warn
  logs:
    custom_components.deltasol: debug