A module to interact with Home I/O (NOTE: the readme is incorrect of many things lol)
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file homeio-1.0.2.tar.gz.
File metadata
- Download URL: homeio-1.0.2.tar.gz
- Upload date:
- Size: 14.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7499027d40431f4abf8db8fe741a4ff68906bd442a63c9d7c92340b97414e112
|
|
| MD5 |
54971867ecbcab0d5de1a12d53706563
|
|
| BLAKE2b-256 |
8ed2396e557b8c293abf3e0527dbf85e6ae16fec06ab0e7ed207a655336b25e3
|
File details
Details for the file homeio-1.0.2-py3-none-any.whl.
File metadata
- Download URL: homeio-1.0.2-py3-none-any.whl
- Upload date:
- Size: 14.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f85a5897d901409449183dec8b493694b79fd0f4d93b4adbda6d1d91a7ca54a1
|
|
| MD5 |
0faca2742a22ea087aef4f4fbc79ba29
|
|
| BLAKE2b-256 |
0b30c34c5b7d09b6fba39cb086feecb0385fbfb30c0ee5275f92218eb62d0111
|