Skip to main content

Python API client to the ESI Controls API for monitoring and controlling your thermostat.

Project description

pyesi

Introduction

Python API client to the ESI Controls API for monitoring and controlling your thermostat.

Usage

Authenticate

You need to log in and authenticate the client.

from esi_controls import *

client = Esi()
user = client.login()
client.authenticate(user.token, user.user_id)

Get device list

You can discover all of your devices

devices = client.get_device_list()
for device in devices:
    print(
        f"Name: {device.name}, Temp: {device.inside_temperature} ({device.current_temperature})")

Set thermostat

You can update the current temperature

client.set_thermostat(device.id, "180")

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

esi-controls-0.0.1.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

esi_controls-0.0.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file esi-controls-0.0.1.tar.gz.

File metadata

  • Download URL: esi-controls-0.0.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for esi-controls-0.0.1.tar.gz
Algorithm Hash digest
SHA256 80a44c7ddd515cb0562fe21cb07e6bc032daaf066f96514a175880ed62739b2f
MD5 d2b8962b722ffa1b9a732ce3dcff6c5a
BLAKE2b-256 03c8238c8f2f4b3b195b70f40eaaf3e05135106c96b970914d73b657cc32175f

See more details on using hashes here.

File details

Details for the file esi_controls-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: esi_controls-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for esi_controls-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3d4a2b14808714cee482310fbb9bc34d4230f79f4c7e87e5f6eee7db5ad324b
MD5 67572ad138c5b7378586a5844fcf09a8
BLAKE2b-256 f01764ffedc0926d24f09d6c0109d5968b7476def1a80a310d9ed418092022e4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page