Warning

This documentation is actively being updated as the project evolves and may not be complete in all areas.

Power driver

jumpstarter-driver-power provides functionality for interacting with power control devices.

Installation

$ pip3 install --extra-index-url https://pkg.jumpstarter.dev/simple jumpstarter-driver-power

Configuration

Example configuration:

export:
  power:
    type: jumpstarter_driver_power.driver.MockPower
    config:
      # Add required config parameters here

API Reference

class jumpstarter_driver_power.client.PowerClient
cycle(wait: int = 2)

Power cycle the device.

off() None

Power off the device.

on() None

Power on the device.

read() Generator[PowerReading, None, None]

Read power data from the device.