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.1.tar.gz (13.8 kB view details)

Uploaded Source

Built Distribution

pysolarfocus-2.0.1-py3-none-any.whl (21.4 kB view details)

Uploaded Python 3

File details

Details for the file pysolarfocus-2.0.1.tar.gz.

File metadata

  • Download URL: pysolarfocus-2.0.1.tar.gz
  • Upload date:
  • Size: 13.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pysolarfocus-2.0.1.tar.gz
Algorithm Hash digest
SHA256 03d00aa4943214987a9266c24c438c148cb9e1a55c510b9a1219a3cab12901b9
MD5 8f138b82d89cba9d2221dae8435e7840
BLAKE2b-256 98020d1c4a7fa0cb1c7e264a44d7fd20c5b4add8c83d40bd04d84ff1b0ebfe26

See more details on using hashes here.

File details

Details for the file pysolarfocus-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: pysolarfocus-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 21.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pysolarfocus-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 985b7dbdba75d5823865a5570572b7120cbb7a2e17c256f072f585551ef0597e
MD5 a37e9401ec0ac4d1499d3245610c4741
BLAKE2b-256 1cba87060c8d9e2d53f1560279aa4605bcbdb2628fd8724a60348f2f020793e2

See more details on using hashes here.

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