Skip to main content

A client for the HausMon monitoring service

Project description

A thin wrapper for the HausNet monitoring service, a.k.a HausMon, in Python. HausMon is a simple monitoring service for home automation networks, e.g. a home controlled by Home Assistant.


Install the package:

pip install hausmon_client


First, create an account at HausNet. Then, define a device to represent your home automation controller. Also, locate your authentication token from your account. You'll need the device name and the token to use the library.


The library provides access to a device's heartbeat monitor. I.e. it enables your home control system to, at a fixed interval, let the monitor know it is still alive. The heartbeat monitor should not be called more often than every 15 minutes.

from hausmon_client.client import HausMonClient

API_URL = "[Hausmon API URL]"
API_TOKEN = "[token from HausMon user account]"
DEVICE_NAME = "[device name at HausMon]"

client = HausMonClient(API_URL, API_TOKEN)
heartbeat = self._client.get_heartbeat(DEVICE_NAME)

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

hausmon_client-0.0.6.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

hausmon_client-0.0.6-py3-none-any.whl (5.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page