Spike: Add dockerised dev environment - #4753
Draft
chickenonaraft88 wants to merge 1 commit into
Draft
Conversation
chickenonaraft88
force-pushed
the
worktree-ha-testing
branch
from
August 25, 2026 22:03
c976e7f to
654d1ff
Compare
…ummy HA docker-compose.dev.yml brings up a throwaway Home Assistant instance seeded with dummy inverter entities, auto-completes onboarding and mints a long-lived token via HA's private onboarding/websocket API, then starts Predbat against it - no manual setup needed. Run with dev/up.ps1 (or dev/up.sh), which also opens both web UIs once ready. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
chickenonaraft88
force-pushed
the
worktree-ha-testing
branch
from
August 25, 2026 22:11
654d1ff to
0d48f1e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@springfall2008 I've done a quick spike and was wondering if you think something like this would be useful at all.
Essentially it will bring up a few docker containers to allow you to quickly test a change you're making in a real home assistant, you just run dev/up.py and it'll get everything running, onboard home assistant and open two browser tabs to home assistant and predbat. I timed startup to 23 seconds after you have built and downloaded the docker containers, it also support hot loading ish so editing files is picked up by predbat, but obviously it will restart.
I'm imagining you could bring up a container with entities for each of the example yamls, so you can test solis, givenergy, etc. separately. But right now it's just super basic.