Skip to content

Conversation

@schreibubi
Copy link

Initial draft of building Armbian images which support openWB

@schreibubi schreibubi marked this pull request as ready for review November 5, 2025 17:09
@schreibubi schreibubi force-pushed the openwb branch 2 times, most recently from f844996 to 9ccdb3e Compare November 9, 2025 18:35
Copy link

@ngehrsitz ngehrsitz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 for getting out-of the-box OpenWB support

# Pre-generate minimal config if missing
if [[ ! -f /etc/evcc.yaml ]]; then
cat >/etc/evcc.yaml <<YAML
cat >/etc/evcc.yaml <<YAML

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could also pre-generate the config from evcc-io/evcc#21984
The only thing missing to avoid manual configuration would be smart meter detection which is why I suggested auto-detecting that in code.

@schreibubi
Copy link
Author

@ngehrsitz Can you please go and re-review the latest changes? Since evcc now contains the OpenWB support, it would be nice to have the corresponding images available.

Comment on lines 346 to 350
else
cat >/etc/evcc.yaml <<YAML
network:
schema: httpslocal
host: ${EVCC_HOSTNAME}.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is httpslocal differnt here? Can´t we get rid of the else case by always creating the network section and only conditionally append the openwb block.

build-local.sh Outdated
Comment on lines 27 to 30
- rpi4b Raspberry Pi 4B
- nanopi-r3s NanoPi R3S
- openwb OpenWB without display
- openwb-display OpenWB with display
Copy link

@ngehrsitz ngehrsitz Nov 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed that the board deinitions are used in five places already.

  1. Here
  2. L62
  3. L67
  4. scripts/build-armbian.sh L24
  5. .github/workflows/release.yml L42

Thus I think it would be a good idea to load them from all of the config-*.conf.sh files

@schreibubi
Copy link
Author

Images built through github actions can be found here: https://github.com/schreibubi/images/releases/tag/v2026-01.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants