Connect to Samsung ASHP / AC units over NASA via RS485
Project description
pysamsungnasa
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:
- ESPHome Samsung HVAC Bus
- Samsung NASA MQTT Bridge
- Samsung ASHP NASA link MQTT bridge / Home Assistant
- OpenEnergyMonitoring Forum for all the shared wisdom on multiple threads.
- @betaphi for the EHS Wiki, which provided valuable insights into different messages. The protocol is mostly documented here as the NASA Protocol page is no longer on the wiki. More messages are defined within the parser classes from the latest version of S-Net.
None of this would have been possible without the above.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pysamsungnasa-0.4.0.tar.gz.
File metadata
- Download URL: pysamsungnasa-0.4.0.tar.gz
- Upload date:
- Size: 60.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
243a7f532c088ec6b859114d1317375991e764777fc2a3175aee0e84b4fa9eb4
|
|
| MD5 |
2837d7c31feeaf6c49d6a658f0542dce
|
|
| BLAKE2b-256 |
37d6285bc0a3efa09b7c629d20dfcb79e1f9efc5f5e14303d8ed7e31152e33cb
|
Provenance
The following attestation bundles were made for pysamsungnasa-0.4.0.tar.gz:
Publisher:
release.yml on pantherale0/pysamsungnasa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysamsungnasa-0.4.0.tar.gz -
Subject digest:
243a7f532c088ec6b859114d1317375991e764777fc2a3175aee0e84b4fa9eb4 - Sigstore transparency entry: 789884593
- Sigstore integration time:
-
Permalink:
pantherale0/pysamsungnasa@05502cef871c10ca52b2036c936615a85f372a17 -
Branch / Tag:
refs/tags/0.4.0 - Owner: https://github.com/pantherale0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@05502cef871c10ca52b2036c936615a85f372a17 -
Trigger Event:
release
-
Statement type:
File details
Details for the file pysamsungnasa-0.4.0-py3-none-any.whl.
File metadata
- Download URL: pysamsungnasa-0.4.0-py3-none-any.whl
- Upload date:
- Size: 64.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
48479b577ec3c4590f74b8bf31d15b19d010dd01dbd66a9b8bd1c5ea159c60ca
|
|
| MD5 |
b9afad9458558baf77d25ef76c661119
|
|
| BLAKE2b-256 |
3789b078f6fd96f0980c937d84289381d6bf7acdea772784eab31397d30ddaa9
|
Provenance
The following attestation bundles were made for pysamsungnasa-0.4.0-py3-none-any.whl:
Publisher:
release.yml on pantherale0/pysamsungnasa
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pysamsungnasa-0.4.0-py3-none-any.whl -
Subject digest:
48479b577ec3c4590f74b8bf31d15b19d010dd01dbd66a9b8bd1c5ea159c60ca - Sigstore transparency entry: 789884596
- Sigstore integration time:
-
Permalink:
pantherale0/pysamsungnasa@05502cef871c10ca52b2036c936615a85f372a17 -
Branch / Tag:
refs/tags/0.4.0 - Owner: https://github.com/pantherale0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@05502cef871c10ca52b2036c936615a85f372a17 -
Trigger Event:
release
-
Statement type: