First of all, this is an alternative to the Panda PWR custom integration made by @juanillo62gm
I noticed that the connectivity while using that integration keeps on disconnected with timeout error shown in the log.
So I decided to take a look into the Bigtreetech API documentation for Panda PWR and create a working template.
However, I do hope that Bigtreetech would consider adding MQTT support within the WebUI itself as describe here PandaPWR/Issue #20
Well, this is a template. So, it requires to be reload or restart HA everytime you've made changes to it.
But I find that using command_line template offers more stability and unlikely to hit the timeout issue.
I also added shell command that you can easily call
Example: Start timer mode with 60 seconds
You can just copy the pandapwr.yaml and place it into your package folder.
Like I usually did in /config/HAMY Learn more about Home Assistant Package
Or, copy the templates and place it into your yaml file (e.g. configuration.yaml)
- Ensure to 'manually' change the IP address according to your own Panda PWR. Currently set as default IP
192.168.4.1 - Save and restart/reload template
- You will have a sensors and switches with a prefix
pandapwr_
That's all. Thanks 👍🏻
