Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bertrik/energymix-server
Collects energy-related data (electricity and natural gas) and republishes it over a simple REST API
https://github.com/bertrik/energymix-server
electricity energy entso-e entso-g naturalgas power rest
Last synced: about 2 months ago
JSON representation
Collects energy-related data (electricity and natural gas) and republishes it over a simple REST API
- Host: GitHub
- URL: https://github.com/bertrik/energymix-server
- Owner: bertrik
- License: mit
- Created: 2022-06-30T22:37:03.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-15T08:59:08.000Z (3 months ago)
- Last Synced: 2024-09-16T02:54:18.112Z (3 months ago)
- Topics: electricity, energy, entso-e, entso-g, naturalgas, power, rest
- Language: Java
- Homepage: https://revspace.nl/PowerLight#Backend
- Size: 518 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# energymix-server
Provides a REST interface with electrical power generation dataHave a look at the [Swagger openapi](http://stofradar.nl:9001/swagger) page.
Application example config file (YAML):
~~~~
---
entsoe:
url: "https://web-api.tp.entsoe.eu"
timeout: 30
apikey: "your-entsoe-key"
area: "10YNL----------L"
timezone: "Europe/Amsterdam"
forecastOffset: 30
entsog:
url: "https://transparency.entsog.eu"
timeout: 60
eex:
url: "https://gasandregistry.eex.com"
timeout: 30
ice:
url: "https://www.theice.com"
timeout: 30
logging: !
level: "INFO"
loggers: {}
appenders:
- type: file
logFormat: "%d{yyyy-MM-dd} | %d{HH:mm:ss.SSS} | %-15.15thread | %5p | %-25.25logger{25} | %m%n"
currentLogFilename: energymix-server.log
archivedLogFilenamePattern: energymix-server.log.%d
archivedFileCount: 10
- type: console
logFormat: "%d{yyyy-MM-dd} | %d{HH:mm:ss.SSS} | %-15.15thread | %5p | %-25.25logger{25} | %m%n"
target: "STDOUT"
server: !
applicationConnectors:
- type: http
port: 9001
~~~~