Daemon process responsible for providing the most optimal course of action for an EV charging session. The service takes into consideration the solar radiation, energy prices (ENTSOE), current battery percentage and estimated duration of stay and returns the appropriate response.
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
- Weather Module
- Prices Module
- Ampeco Module
- Huawei Module
- Auth Module
The weather module consists of a single singleton that is responsible for retrieving the 7-day ahead weather forecast and storing in our database.
The prices module fetches the day-ahead prices from the ENTSOE API (EUR/MWH) once per day at 22:00 PM (UTC+2).
- Parsing the XML document obtained from the ENTSOE API.
- Extracting and processing only the attributes deemed relevant to our objectives.
- Author - Steven Demertzis