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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| homeio-1.0.2.tar.gz | 14.2 kB | Without provenance | Details for homeio-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| homeio-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for homeio-1.0.2-py3-none-any.whl |
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
|
Security for homeio 1.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.