Custom Development

If you find that the basic functionality of PiPower Pro is not enough for your needs, you can perform custom development on PiPower Pro.

All software for PiPower Pro is open source. Below is the basic tutorial and preparation for custom development.

  1. Open the developer mode of Home Assistant.
    1. Open the Home Assistant management page.

    2. Select “Configuration” in the lower-left corner.

  2. Install ESPHome.
    1. Open the Home Assistant management page.

    2. Select “Configuration” in the lower-left corner.

    3. Select “Add-ons.”

    4. Click “Add” button.

    5. Search for “esphome.”

    6. Click “Install.”

    7. After installation, click “Start.”

    8. Select “Add to Sidebar.”

  3. Create a new device.
    1. Click “ESPhome” in the sidebar to enter the ESPHome management page.

    2. Select “New Device.”

    3. Enter the device name, such as “PiPower Pro.”

    4. For the first configuration, you also need to enter the Wi-Fi account and password.

    5. Select “ESP32 S2.”

    6. Confirm and skip the installation.

  4. Configure the new device.
    1. Select the device you just created and click “Edit” to enter the YAML editing page.

    2. At the bottom, add the PiPower Pro template:

      packages:
        remote_package: github://sunfounder/pipower-pro/pipower-pro-template.yaml@main
      
    3. Click “Install” in the upper right corner to install it on PiPower Pro.