Skip to content

shprota/hvac_ir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hvac-ir

This is a python port of the great Arduino heatpumpir library by ToniA

Currently supported devices:

  • Midea (Electra, etc.)
  • Gree (Tadiran, Hyunday, etc.) YAG1FB remote (others may also work)
  • Daikin (two models)
  • Carrier (two models)
  • Fuego
  • Fujitsu
  • Hisense
  • Hitachi
  • Hyundai

Install

pip install hvac_ir

Example usage:

import hvac_ir

Sender = hvac_ir.get_sender('gree')
if Sender is None:
    print("Unknown sender")
    exit(2)
my_ac = Sender()
my_ac.send(Sender.POWER_OFF, Sender.MODE_HEAT, Sender.FAN_AUTO, 24, Sender.VDIR_SWING_DOWN,
       Sender.HDIR_SWING, False)
durations = my_ac.get_durations()

my_ir_sender.transmit(durations)

Example for sending codes via Broadlink controller is in the examples folder

About

Air conditioner control code generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages