Skip to main content

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 serial connection over the F1/F2 connectors using SerialX (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).
  • 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.

Metadata

Release files for pysamsungnasa 3.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pysamsungnasa 3.0.3
File Size Uploaded Provenance Actions
pysamsungnasa-3.0.3.tar.gz 89.4 kB With provenance Details for pysamsungnasa-3.0.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pysamsungnasa 3.0.3
File Interpreter ABI Platform Actions
pysamsungnasa-3.0.3-py3-none-any.whl Python 3 none any Details for pysamsungnasa-3.0.3-py3-none-any.whl

Total release size: 182.5 kB

Release files / pysamsungnasa-3.0.3.tar.gz

Download URL pysamsungnasa-3.0.3.tar.gz
Size 89.4 kB
Tags Source
SHA-256 checksum
How to use checksums
5c88558a1869fe48784c7bfcba26176af92ea94813414759a6ccdde739679cca
BLAKE2b-256 checksum
How to use checksums
057c1768c87c5e33eb0eff87b4ff45d0fca7356202084db18268c665a7f5cb10
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Release files / pysamsungnasa-3.0.3-py3-none-any.whl

Download URL pysamsungnasa-3.0.3-py3-none-any.whl
Size 93.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca567d3f3dcf84a5d2b83720e722f80fba1f7a348a64e73d557f915fe0caa5d6
BLAKE2b-256 checksum
How to use checksums
17a3ca0125910dca452bff2237e669f15bdd43d91d1126b55b3d8646ab0c7164
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

Security for pysamsungnasa 3.0.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pysamsungnasa-3.0.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 15, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.0.3 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page