Coder Social home page Coder Social logo

tonymyatt / airtouch3api Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 110 KB

API for the monitoring and control of a HVAC unit branded Polyaire Airtouch 3 over a local network

License: MIT License

JavaScript 10.11% TypeScript 10.30% Python 79.40% Batchfile 0.20%

airtouch3api's People

Contributors

tonymyatt avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

airtouch3api's Issues

Error on setting AC Mode for ID 1

Exception is raised when AC mode is set for AC Unit 1

Traceback (most recent call last):
  File "c:\Users\Engineering\Documents\GitHub\airtouch3api\demo.py", line 14, in <module>
    print(f"Mode for AC1 {at3.ac_units[1].set_mode(AT3AcMode.DRY)}")
  File "c:\Users\Engineering\Documents\GitHub\airtouch3api\airtouch3\airtouch3.py", line 106, in set_mode
    return self._at3.set_mode_ac_unit(self.number, mode)
  File "c:\Users\Engineering\Documents\GitHub\airtouch3api\airtouch3\airtouch3.py", line 223, in set_mode_ac_unit
    if not self._process_response(data): return None
  File "c:\Users\Engineering\Documents\GitHub\airtouch3api\airtouch3\airtouch3.py", line 378, in _process_response
    acUnit.mode = AT3AcMode(int(byte_value))
  File "C:\Users\Engineering\AppData\Local\Programs\Python\Python310\lib\enum.py", line 385, in __call__
    return cls.__new__(cls, value)
  File "C:\Users\Engineering\AppData\Local\Programs\Python\Python310\lib\enum.py", line 710, in __new__
    raise ve_exc
ValueError: 130 is not a valid AT3AcMode

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.