Unofficial, local Solarfocus client
Project description
pysolarfocus: Python Client for Solarfocus ecomanager-touch
What's Supported
Software Version
This integration has been tested with Solarfocus ecomanager-touch version 21.040
.
Added biomass boiler pellet statistics (available since version 23.010)
Systems
- Heat pump vampair with ecomanager-touch
- Biomass boiler therminator II
Solarfocus Components
Components | Supported |
---|---|
Heating Circuits (Heizkreis) 1-8 | :white_check_mark: |
Buffers (Puffer) 1-4 | :white_check_mark: |
Solar (Solar) | :white_check_mark: |
Boilers (Boiler) 1-4 | :white_check_mark: |
Heatpump (Wärmepumpe) | :white_check_mark: |
Biomassboiler (Kessel) | :white_check_mark: |
Usage
from pysolarfocus import SolarfocusAPI,Systems
# Create the Solarfocus API client
solarfocus = SolarfocusAPI(ip="[Your-IP]",system=Systems.Vampair)
# Connect to the heating system
solarfocus.connect()
# Fetch the values
solarfocus.update()
# Print the values
print(solarfocus.buffers[0])
print(solarfocus.heating_circuit[0])
Handling multiple components e.g. heating circuits
Solarfocus systems allow the use of multiple heating circuits, buffers and boilers. The api can be configured to interact with multiple components.
# Create the Solarfocus API client with 2 Heating Circuits
solarfocus = SolarfocusAPI(ip="[Your-IP]",heating_circuit_count=2,system=Systems.Vampair)
# Connect to the heating system
solarfocus.connect()
# Update all heating circuits
solarfocus.update_heating()
# Update only the first heating circuit
solarfocus.heating_circuits[0].update()
# Print the first heating circuit
print(solarfocus.heating_circuits[0])
# Set the temperature of the first heating circuit to 30°C
solarfocus.heating_circuits[0].indoor_temperatur_external.set_unscaled_value(30)
# Write the value to the heating system
solarfocus.heating_circuits[0].indoor_temperatur_external.commit()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pysolarfocus-3.4.0.tar.gz
(14.6 kB
view hashes)
Built Distribution
Close
Hashes for pysolarfocus-3.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b19fc725e254b1dca25d3bcfb945d1bd6e0dca06d653ac0677214a0d7680a8e7 |
|
MD5 | f76b33ab8fcfb75b3ec516ab7fbbcc9d |
|
BLAKE2b-256 | 1fce7e36f7f01f31d8f9073c8ce5046cbdfc99207e36ffe65504a417de0bd9c1 |