Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

GUI to control Daikin air conditioning unit (Python3 & PyQt5)

License

Notifications You must be signed in to change notification settings

DIY-Blub/PyGUI-Daikin-control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyGUI-Daikin-control

This library provides a graphical user interface (GUI) based on Python3 and PyQt5 to control a Daikin air conditioning unit.

No air conditioner is controlled yet! There is only an output in the terminal.

Examples

Example: Dialog

Example: Implementation with Widget Example: Implementation with Button (open Dialog)

Inspired by the web interface of the user "ael-code": https://github.com/ael-code/daikin-control

Quick Start

  1. sudo apt install git python3 python3-pyqt5
  2. git clone https://github.com/DIY-Blub/PyGUI-Daikin-control.git
  3. cd PyGUI-Daikin-control/
  4. python3 ./Daikin.py

Informations

  • Most settings (e.g. texts, positioning, colours,...) can be changed in the config file AC-control-system.config
  • The connection to the air conditioner must be made in the Python file under the method setDaikinAC.

Implementation options

  1. As a standalone solution:

see Quick Start

  1. To your own main using a QWidget container
from Daikin import *

DialogAC = QtWidgets.QWidget(YourMainWindow.WidgetName)

DaikinGUI = DaikinAC_control()

DaikinGUI.setupUI(DialogAC)
  1. To your own main using a QPushButton
from Daikin import *

DialogAC = QtWidgets.QDialog()

DaikinGUI = DaikinAC_control()

DaikinGUI.setupUI(DialogAC)

YourMainWindow.PushButtonName.clicked.connect(lambda: DialogAC.show())

Todo: connect to a Daikin air conditioning unit

Copyright protection images

The images are licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ .

Authors of the images are

Further information can be found in the src/images folder.

Changelog

v1.1.0 () - not yet published. Just ask and I will put it online a few days later.

  • add wings zero
  • add specials streamer & powerful-mode (icons?)
  • add individual stylesheets
  • connection to device via MQTT and Node-RED
  • some fixes

v1.0.0 (13.03.2020)

  • initial release