Giter Club home page Giter Club logo

xcomfortapi-1's Introduction

xComfortAPI

Python API for Eaton xComfort Smart Home Controller (SHC)

Eaton xComfort is a system for home automation that is dominant in several countries in Europe. Unfortunately, Eaton does not share API access or documentation on how third parties can integrate with their systems. It would appear they are solidly stuck on the "pre-internet of things" era, and little seems to be changing. Their hardware, however, is really good, so all that was missing was an API.

xComfortAPI is a Python API to the Eaton xComfort Smart Home Controller (SHC) This allows for reading and setting values in the SHC, which in plain language allows you to both check and set all values the SHC knows, which gives you control of all your lights/heaters/blinds/alarms/whatever you have installed.

This API does not provide any means of directly controlling actuators via radio signal using Eaton's proprietary protocol. Instead it simulates the Android/iOS app that is used to control the complete installation through a SHC, as the SHC can be controlled through these apps, as well as by logging on to the web page of the SHC.

The API is written in Python3, but should with small tweaks work with Python2.

Example usage (get and print all zones the SHC knows):
  from xComfortAPI import xComfortAPI
  
  my_house = xComfortAPI(url, username, password, verbose=True)
  zones = my_house.get_zone_devices()
  my_house.print_zones(zones)
	
  # We get the zone ("hz_1") and device id ("xCo:5355820_u0") above
  my_house.switch('hz_1', 'xCo:5355820_u0', 'off')  # Switches off living room lights

Current status:

The xComfort API is active development. The API needs more functions for standard operations, especially for more easily manipulating single devices. The good news that the basic functionality works well and is reasonably robust, so hopefully soon...

FAQ

TODO

Disclaimer

I AM IN NO WAS ASSOCIATED WITH EATON OR XCOMFORT AND TAKE ABSOLUTELY NO RESPONSIBILITY FOR THE RESULTS OF USING THIS API. IF YOUR HOUSE BURNS DOWN AND/OR YOUR CAT GETS ELECTROCUTED, I ACCEPT NO RESPONSIBILITY WHATSOEVER. USE AT OWN RISK!

THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.

COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION.

xcomfortapi-1's People

Contributors

olesk75 avatar

Watchers

 avatar

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.