Skip to main content

Connect to Samsung ASHP / AC units over NASA via RS485

Project description

pysamsungnasa

Tests codecov

A Python library to communicate with Samsung heat pumps, in theory both cool only and cool+heat units are supported, although only tested on an EHS unit (cool+heat)

Features

  • Connect and disconnect from Samsung HVAC/EHS units via a TCP socket over the F1/F2 connectors (NasaClient).
  • Discover new devices on the NASA network and manage known devices (SamsungNasa).
  • Send commands to devices and handle responses (SamsungNasa, NasaClient).
  • Parse incoming data packets from devices (NasaPacketParser, various message classes).
  • Represent devices with attributes and control their functions (NasaDevice, DhwController, ClimateController).
  • Control DHW (Domestic Hot Water) settings like power, operation mode, and target temperature (DhwController).
  • Control climate settings like power, mode, target temperature, fan speed, and more (ClimateController).
  • Provide a mechanism for callbacks to be notified of device and packet updates (NasaDevice).
  • Support reading device configurations (NasaDevice).
  • Handle message construction and parsing based on message types (protocol.factory).
  • Define specific message formats for indoor and outdoor units (protocol.factory.messages).

Future plans

These might not end up happening, but I would like to have a go at creating these one day.

  • Simulate a remote controller for a "dummy" zone 2
  • Send custom Z1/Z2 temperature readings to the master controller
  • Implement TPI/load awareness/preditive model algorithms for an advanced complete custom controller

Installation

pip install pysamsungnasa

Usage

TODO

Configuration

TODO

Contributing

TODO

Thanks

This project utilizes or incorporates ideas, code and work from the following sources, and I would like to express my sincere gratitude to their creators and contributors:

None of this would have been possible without the above.

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

pysamsungnasa-1.1.6.tar.gz (74.5 kB view details)

Uploaded Source

Built Distribution

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

pysamsungnasa-1.1.6-py3-none-any.whl (77.8 kB view details)

Uploaded Python 3

File details

Details for the file pysamsungnasa-1.1.6.tar.gz.

File metadata

  • Download URL: pysamsungnasa-1.1.6.tar.gz
  • Upload date:
  • Size: 74.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pysamsungnasa-1.1.6.tar.gz
Algorithm Hash digest
SHA256 e3bceaa964c8b2f3332049b7cc76925d894a86c0a766ab9b6b0cfbca17ded8a1
MD5 5baf09fc56ce6d0bff3632c2c79fe34e
BLAKE2b-256 01c977d507c2bbce1633d870302f57e54d1b53c5f4a9ba20fe845dca05da64ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysamsungnasa-1.1.6.tar.gz:

Publisher: release.yml on pantherale0/pysamsungnasa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pysamsungnasa-1.1.6-py3-none-any.whl.

File metadata

  • Download URL: pysamsungnasa-1.1.6-py3-none-any.whl
  • Upload date:
  • Size: 77.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pysamsungnasa-1.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1ace6c22203ea3495437e6b88d4b7ad703dfe97d11e6e96d7e6d3ac9996dc981
MD5 b2e9e19bd6998b82c73566bedaa18b04
BLAKE2b-256 373b1526e0d20b4cc8e5a3dba64b61bf35f58655ecc9d8c10088f27bfdd3c9d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pysamsungnasa-1.1.6-py3-none-any.whl:

Publisher: release.yml on pantherale0/pysamsungnasa

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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