Skip to content

stevendemer/smart-iot

Repository files navigation

Smart IoT Project

Smart charging solution for EV cars

Description

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.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Modules summary

  • 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.

Website

The Smart Project

Contacts

About

Daemon Nestjs service used for optimal EV charging solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages