Skip to main content

A thin wrapper around the Homeseer HTTP JSON API

Project description

homeseer-python-client

A thin wrapper around the Homeseer HTTP JSON API

Usage

pip install homeseer-client
from homeseer_client import Homeseer

# Create a client instance
client = Homeseer(host="192.168.1.100", username="admin", password="password")

# Use the client to interact with your HomeSeer system
client.get_locations()

client.get_events()

client.get_control(ref=None)

client.get_status(
      ref=None,
      location1=None,
      location2=None,
      compress=False,
      everything=False
    )

client.control_device_by_value(ref, value)

client.control_device_by_label(ref, label)

Development

 Choose a make command to run

  init      initialize a new python project
  install:  add a new package (make install <package>), or install all project dependencies from piplock.txt (make install)
  start     run local project

Generated by https://github.com/jritsema/cookiecutter-python

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

homeseer_client-0.1.2.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

homeseer_client-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file homeseer_client-0.1.2.tar.gz.

File metadata

  • Download URL: homeseer_client-0.1.2.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.4

File hashes

Hashes for homeseer_client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 992c03426f5116372dfaa1e52a4c2c18821430fa0c370301a2fa777e786cb910
MD5 de08f3e4c6baca5b3180369eb589ecf2
BLAKE2b-256 52206cdc473857b9f1a33582d8137e7cf795651aeb3114f5190c6307100a04c6

See more details on using hashes here.

File details

Details for the file homeseer_client-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for homeseer_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45899c638a984cd0581859650a49a287ac4aa8532614ed0fa45e37a50875d0ab
MD5 d93981a6fe657741f49d06ccdea4715d
BLAKE2b-256 1dfd5fb3edd71059bdb21b105e8c0e26869a840bcea679e09a00d68989054435

See more details on using hashes here.

Supported by

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