Skip to main content

Daikin ITM Controller

Project description

daikinitm

Daikin ITM is a python library for controlling the Daikin Air-Conditioner.

Usage

# You must know the ITM address for each Air-Con unit.

import daikinitm
import time
Host = "192.168.217.60"
Port = 5000
Authorization =  "aXRtoMl0bTEyMzQNjc40TAxMg=="

# Authorization is the Basic Authentication Header Generator.
# Authorization=b64encode(f"{User}:{Password}".encode('utf-8')).decode("ascii")
# or 
# Authorization : https://datafetcher.com/basic-authentication-header-generator
# {User} and {Password} were set in ITM Controller

#initial
Factory1 = daikinitm.itm(Host,Port,Authorization)

# SET FAN 
# Fun  "P" (Power) :  0:Off 1:On
Address = 183
Fun = "P"
Val = 0
print("Before:",Factory1.Status(Address))
print(Factory1.Set(Address,Fun,Val))
time.sleep(5)
print("After:",Factory1.Status(Address))

# SET AIR
# Fun  "P" (Power)              :  0:Off  1:On
# Fun  "T" (Temperature)        :  18,19,20,....,32
# Fun  "M" (Mode)               :  0:Fan 4:Cool 16:Dependent Dry:64
# Fun  "F" (Fan)                :  0:Low 4:Medium 2:High  100:Auto
# Fun  "S" (Air Flow Direction) :  0,1,2,3,4,  7(Swing)

Address = 101
Fun = "T"
Val = 25
print("Before:",Factory1.Status(Address))
print(Factory1.Set(Address,Fun,Val))
time.sleep(5)
print("After:",Factory1.Status(Address))

# Status
# Fan = IP,Port,Address,Products,Power
# Air = IP,Port,Address,Products,Power,Mode,Temp,Room Temp,Fan,Air Flow Direction

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

daikinitm-0.82.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

daikinitm-0.82-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file daikinitm-0.82.tar.gz.

File metadata

  • Download URL: daikinitm-0.82.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for daikinitm-0.82.tar.gz
Algorithm Hash digest
SHA256 09a6bb0389ee43623c65ffe7a9e87b42276684106fd8e99d1e705a16e8b772d4
MD5 8bc056b5d81ed7aa0b0e4ee8748f7423
BLAKE2b-256 b165809da6ff6d08b2ebbd17efaae239a3295009fbc9b84f26d81ee4ae71f8e4

See more details on using hashes here.

File details

Details for the file daikinitm-0.82-py3-none-any.whl.

File metadata

  • Download URL: daikinitm-0.82-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.0

File hashes

Hashes for daikinitm-0.82-py3-none-any.whl
Algorithm Hash digest
SHA256 e6b1336dee73b9fe746409844d9c89feb337a067793bf5705898f881ef5f4872
MD5 6c8f7bd7820f886b715cf3867f167ee3
BLAKE2b-256 af9bdbd8680934b8038c6b7595bc1437f55ab597675e1661ef7b0920311d8330

See more details on using hashes here.

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