Document Distro Energy, default it to production and rename REQUEST_INTERVAL - #111
Merged
Merged
Conversation
The handler pointed at Distro's development environment unless DISTRO_ENERGY_BASE_URL was set. Production is the environment a deployment should reach by default; testing against dev now needs the variable set explicitly.
The request interval was the only Distro Energy setting without the DISTRO_ENERGY_ prefix, and the generic name could clash with other extensions reading the same manager config. Deployments that set REQUEST_INTERVAL must rename it; otherwise the 60 minute default is used.
Covers setup (portfolio, client key, environment variables, asset attributes) and how the handler works: submission schedule around the 09:00 gate closure, payload mapping from powerNet to signed kWh volumes, gap and DST handling, and failure behaviour. Linked from the EMS README.
wborn
reviewed
Oct 2, 2026
wborn
left a comment
Member
There was a problem hiding this comment.
Could the PR title be updated to reflect that this also changes Distro Energy configuration behavior, rather than being strictly a documentation change? For example: Document and update the Distro Energy integration.
Contributor
Author
|
Retitled to name both config changes, and added the Enhancement label so the entry shows up under Enhancements in the release notes. That's where people look for the |
wborn
approved these changes
Oct 2, 2026
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.
Adds
ems/docs/DistroEnergyIntegration.md, modelled on the GOPACS doc, and links it from the EMS README. It covers setup and how day-ahead submissions are built and scheduled.Two small config changes came out of writing it:
DISTRO_ENERGY_BASE_URLnow points at production (https://ibt.prod.distro.energy/api/v1) instead of dev.REQUEST_INTERVALis renamed toDISTRO_ENERGY_REQUEST_INTERVALto match the other Distro settings. Deployments that set the old name need to rename it, or they fall back to the 60 minute default.