Skip to main content

Virtual Home Control with Home IO

Installation

You can install the package via pip:

pip install homeio-control

Usage

To use this package, simply import the relevant classes into your Python code:

from homeio_control import HomeIOConnection, Light

# Create a connection to the Home IO server
connection = HomeIOConnection()

# Control a light
living_room_light = Light(connection, "S")

# Turn on the living room light
living_room_light.turn_on()

# Turn off the living room light
living_room_light.turn_off()

This is a basic example for controlling a light. You can control other devices in the same way using the appropriate classes.

Configuration

Before using the package, make sure to configure the config.yml file with the settings of your Home IO server.

Example configuration:

home_io_server: "192.168.1.100"
home_io_port: 9797

Contributing

Contributions are welcome! To suggest improvements, fixes, or report issues, please open an issue on GitHub.

License

This project is licensed under the MIT License.

Release files for homeio 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for homeio 1.0.2
File Size Uploaded
homeio-1.0.2.tar.gz 14.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for homeio 1.0.2
File Interpreter ABI Platform
homeio-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 29.0 kB

Release files / homeio-1.0.2.tar.gz

Download URL homeio-1.0.2.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7499027d40431f4abf8db8fe741a4ff68906bd442a63c9d7c92340b97414e112
BLAKE2b-256 checksum
How to use checksums
8ed2396e557b8c293abf3e0527dbf85e6ae16fec06ab0e7ed207a655336b25e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.10

Release files / homeio-1.0.2-py3-none-any.whl

Download URL homeio-1.0.2-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f85a5897d901409449183dec8b493694b79fd0f4d93b4adbda6d1d91a7ca54a1
BLAKE2b-256 checksum
How to use checksums
0b30c34c5b7d09b6fba39cb086feecb0385fbfb30c0ee5275f92218eb62d0111
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.10.10

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page