Skip to content

juanillo62gm/HA-Panda-PWR

Repository files navigation

hacs_badge

GitHub Release GitHub Activity License

Project Maintenance BuyMeCoffee

Panda PWR

Important

This repository is currently not available in HACS. It is awaiting review by the HACS team to be included as a default repository. You can check the status of the review here

Home Assistant Integration

Integrate your Panda PWR from BIGTREETECH (BTT) | BIQU with Home Assistant.

PandaPWRDevice

This integration will set up the following platforms.

Platform Entity Description
switch PowerSwitch Controls the power state of the PandaPWR device.
switch UsbSwitch Controls the USB state of the PandaPWR device.
sensor CountdownStateSensor Shows the countdown state of the device.
sensor AutoPoweroffSensor Displays the auto power-off state.
sensor CountdownSensor Shows the countdown timer in seconds.
sensor VoltageSensor Measures the voltage (in volts).
sensor CurrentSensor Measures the current (in amperes).
sensor PowerSensor Measures the power consumption (in watts).
sensor EnergyUsageSensor Tracks energy usage (in kilowatt-hours).
binary_sensor PowerStateBinarySensor Indicates if the power is on or off.
binary_sensor UsbStateBinarySensor Indicates if the USB port is on or off.

Installation

Option 1: Installation via HACS

  1. Open Home Assistant and navigate to SettingsDevices & ServicesHACS.

  2. Click on the three dots in the top-right corner of the HACS page and select Custom Repositories.

  3. Add the repository URL to the Custom Repository field:

    https://github.com/juanillo62gm/HA-Panda-PWR/tree/main
    
  4. Select Integration as the repository type and click Add.

  5. Once the repository is added, find the integration in HACS, click Install, and follow the installation prompts.

  6. Restart Home Assistant after completing the installation.

  7. In the Home Assistant UI, navigate to ConfigurationIntegrations, click the "+" button, and search for Panda PWR.


Option 2: Manual Installation

  1. Open your Home Assistant configuration directory using your preferred file management tool. This is the folder where the configuration.yaml file is located.

  2. Check if the custom_components folder exists in your configuration directory.

    • If it doesn’t exist, create a new folder named custom_components.
  3. Inside the custom_components folder, create a new folder called panda_pwr.

  4. Download all the files from the custom_components/panda_pwr/ folder in this repository.

  5. Place the downloaded files into the panda_pwr folder you just created.

  6. Restart Home Assistant to load the new integration.

  7. In the Home Assistant UI, navigate to ConfigurationIntegrations, click the "+" button, and search for Panda PWR.


Configuration is done in the UI

Assets available here

Contributions are welcome!

If you want to contribute to this please read the Contribution guidelines