Energenie is an advanced surge protector with power management features
Project description
EnerGenie
Drivers for EnerGenie products.
EnerGenie driver
This driver provides a client for the EnerGenie Programmable power switch. The driver was tested on EG-PMS2-LAN device only but should be easy to support other devices.
driver: jumpstarter_driver_energenie.driver.EnerGenie
Installation
:substitutions:
$ pip3 install --extra-index-url {{index_url}} jumpstarter-driver-energenie
Configuration
export:
power:
type: jumpstarter_driver_energenie.driver.EnerGenie
config:
host: "192.168.0.1"
password: "password"
slot: "1"
Config parameters
| Parameter | Description | Type | Required | Default |
|---|---|---|---|---|
| host | The ip address of the EnerGenie system | string | yes | None |
| password | The password of the EnerGenie system | string | no | None |
| slot | The slot number to be managed, 1, 2, 3, 4 | int | yes | 1 |
PowerClient API
The EnerGenie driver provides a PowerClient with the following API:
.. autoclass:: jumpstarter_driver_power.client.PowerClient()
:no-index:
:members: on, off
Examples
Powering on and off a device
:skipif: True
client.power.on()
time.sleep(1)
client.power.off()
CLI
$ sudo uv run jmp exporter shell -c ./packages/jumpstarter-driver-energenie/examples/exporter.yaml
$$ j
Usage: j [OPTIONS] COMMAND [ARGS]...
Generic composite device
Options:
--help Show this message and exit.
Commands:
power Generic power
$$ j power on
$$ exit
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
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 jumpstarter_driver_energenie-0.8.1.tar.gz.
File metadata
- Download URL: jumpstarter_driver_energenie-0.8.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
454b4a94404fb45d9539e56c87f807ee398a6fa6cd476639b972cb6ab9e82531
|
|
| MD5 |
0d7cf5326c2e3f9a7491a355f21fb5aa
|
|
| BLAKE2b-256 |
57f6c95299636772241c029562b495d71fd50f5c4f09be5ed312de4e34bca95d
|
File details
Details for the file jumpstarter_driver_energenie-0.8.1-py3-none-any.whl.
File metadata
- Download URL: jumpstarter_driver_energenie-0.8.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69e419c0591c5d83c85f3a97f758995a6dd044cd894fbba705aeceaa4fb78c8d
|
|
| MD5 |
834b5634080825608ee0afa05d3bd6ea
|
|
| BLAKE2b-256 |
f08a4536c382d8a72d7f837ae4a08758fe6c8de5bf3643cbc1fccf38ed6e5c7d
|