Skip to main content

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.

Solarfocus Components

Components Supported
Heating Circuit 1 (Heizkreis) :white_check_mark:
Buffer 1 (Puffer) :white_check_mark:
Solar (Solar) :x:
Boiler 1 (Boiler) :white_check_mark:
Heatpump (Wärmepumpe) :white_check_mark:
Biomassboiler (Kessel) :white_check_mark:

Note: The number of supported Heating Circuits, Buffers, and Boilers could be extended in the future

Usage

from pymodbus.client import ModbusTcpClient as ModbusClient
from pysolarfocus import SolarfocusAPI,PORT,Systems

# Create a Modbus client
client = ModbusClient(IP, port=PORT)
client.connect()

# Create the Solarfocus API client
solarfocus = SolarfocusAPI(client, Systems.Vampair)

# Fetch the values
solarfocus.update()

# Print the values
print(solarfocus.buffer)
print(solarfocus.heating_circuit)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pysolarfocus-2.0.3.tar.gz (13.8 kB view hashes)

Uploaded Source

Built Distribution

pysolarfocus-2.0.3-py3-none-any.whl (21.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page