Skip to content

Altitude-Tech/pianywhere-power-python-api

Repository files navigation

PiAnywhere Power Python API

Python API to control the PiAnywhere Power board. The ultimate power managment solution for the raspberry pi.

Find hardware here Altitude Store / PiAnywhere Store.

alt text

Basic Usage

Power managment

pianywhere = PiAnywherePower()
pianywhere.wake_on(datetime)
pianywhere.sleep_on(datetime)
pianywhere.get_battery_level()

Wake on clap and IR interface

pianywhere.wake_on_clap(1)
pianywhere.enable_ir()
pianywhere.disable_ir()

Wake on WiFi settings

pianywhere.wake_on_wifi(poll_address)
pianywhere.disable_wake_on_wifi()

Releases

No releases published

Packages

No packages published