Code Monkey home page Code Monkey logo

somecomfort's Introduction

Client for Honeywell Thermostats

https://travis-ci.org/kk7ds/somecomfort.svg?branch=master

NOTE: This is for the US model and website. Be aware that EU models are different!

Installing

$ pip install somecomfort
$ somecomfort -h
usage: somecomfort [-h] [--get_fan_mode] [--set_fan_mode SET_FAN_MODE]
                   [--get_system_mode] [--set_system_mode SET_SYSTEM_MODE]
                   [--get_setpoint_cool]
                   [--set_setpoint_cool SET_SETPOINT_COOL]
                   [--get_setpoint_heat]
                   [--set_setpoint_heat SET_SETPOINT_HEAT]
                   [--get_current_temperature] [--get_current_humidity]
                   [--get_outdoor_temperature] [--get_outdoor_humidity]
                   [--get_equipment_output_status] [--cancel_hold]
                   [--permanent_hold] [--hold_until HOLD_UNTIL] [--get_hold]
                   [--username USERNAME] [--password PASSWORD]
                   [--device DEVICE] [--login] [--devices]

optional arguments:
  -h, --help            show this help message and exit
  --get_fan_mode        Get fan_mode
  --set_fan_mode SET_FAN_MODE
                        Set fan_mode
  --get_system_mode     Get system_mode
  --set_system_mode SET_SYSTEM_MODE
                        Set system_mode
  --get_setpoint_cool   Get setpoint_cool
  --set_setpoint_cool SET_SETPOINT_COOL
                        Set setpoint_cool
  --get_setpoint_heat   Get setpoint_heat
  --set_setpoint_heat SET_SETPOINT_HEAT
                        Set setpoint_heat
  --get_current_temperature
                        Get current_temperature
  --get_current_humidity
                        Get current_humidity
  --get_outdoor_temperature
                        Get outdoor_temperature
  --get_outdoor_humidity
                        Get outdoor_humidity
  --get_equipment_output_status
                        Get equipment_output_status
  --cancel_hold         Set cancel_hold
  --permanent_hold      Set permanent_hold
  --hold_until HOLD_UNTIL
                        Hold until time (HH:MM)
  --get_hold            Get the current hold mode
  --username USERNAME   username
  --password PASSWORD   password
  --device DEVICE       device
  --login               Just try to login
  --devices             List available devices

Using

$ somecomfort --username foo --password bar --login
Success
$ somecomfort --devices
+----------+---------+---------------+
| Location |  Device |      Name     |
+----------+---------+---------------+
| 0123456  | 1177223 | My Thermostat |
+----------+---------+---------------+
$ somecomfort --get_current_temperature
58.0
$ somecomfort --get_setpoint_heat
58.0
$ somecomfort --set_setpoint_heat 56
$ somecomfort --get_setpoint_heat
56.0

somecomfort's People

Contributors

kk7ds avatar eklex avatar titilambert avatar texnofobix avatar balloob avatar

Watchers

James Cloos 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.