Skip to main content

A unofficial python library to interface with an Acond heat pump using the Modbus TCP protocol.

Project description

Acond Heat Pump

A unofficial python library to interface with an Acond heat pump using the Modbus TCP protocol.

Acond Modbus is described in Loxone Library Acond integration.

❗Warning❗

Library is tested only with Acond PRO N heat pump as I don't have access to other models. If you have a different model and you want to test it, please let me know the results.

Usage

Connecting to the Heat Pump

from acond_heat_pump import AcondHeatPump

heat_pump = AcondHeatPump('192.168.1.16')  # optional port=502
heat_pump.connect()

Reading Data

response = heat_pump.read_data()
print(response)

Setting Temperatures

heat_pump.set_indoor_temperature(25.0, circuit=1)
heat_pump.set_dhw_temperature(45.0)
heat_pump.set_water_back_temperature(35.0)
heat_pump.set_pool_temperature(28.0)
heat_pump.set_water_cool_temperature(20.0)

Setting Modes

from acond_heat_pump import RegulationMode, HeatPumpMode

heat_pump.set_regulation_mode(RegulationMode.MANUAL)
heat_pump.change_setting(mode=HeatPumpMode.AUTOMATIC)
heat_pump.set_summer_mode(True)

Closing the Connection

heat_pump.close()

Running Tests

python -m pytest tests/ -v

License

This project is licensed under the MIT License.

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

acond_heat_pump-1.3.0.tar.gz (6.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

acond_heat_pump-1.3.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file acond_heat_pump-1.3.0.tar.gz.

File metadata

  • Download URL: acond_heat_pump-1.3.0.tar.gz
  • Upload date:
  • Size: 6.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for acond_heat_pump-1.3.0.tar.gz
Algorithm Hash digest
SHA256 c2042b568bf1704a92d9899edc5ef205d43f0d6219f24da559b223441975fc5f
MD5 6b947a1885b18d6f610c9b811a6208d2
BLAKE2b-256 fd197f480345d6d13bb56fbe1ebbc5a0e1f41dcd7209eb658b65b264ef8efe27

See more details on using hashes here.

File details

Details for the file acond_heat_pump-1.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for acond_heat_pump-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f86aadb3a0f4f97912dd5269857fa9d23064cb99b222d2b1c080b5427c97c26d
MD5 49630d7c495fb4b25c241b19181db219
BLAKE2b-256 ce664050a99fd25bd89ea6db8cd963a5038af07332665bf0de226119d2e7aa2c

See more details on using hashes here.

Supported by

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