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 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.