Skip to content

yoboujon/automatic-management

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

automatic-management

TP Service Architecture based on meta-micro-micro-services

See Controller

See Application

Description des services

Sensor-Service retrieves data: indoor temperature = 22°C, outdoor temperature = 20°C, CO2 = 900 ppm, presence = detected.

Decision-Service processes rules: Outdoor temperature is lower than indoor and between 18-27°C → Open windows. Presence detected → Keep lights on. CO2 threshold exceeded → Open windows further.

Actuator-Service executes: Sends command to actuators to open windows and turn on lights.

Get started

To run the different services using Spring Boot, follow these steps:

  1. Build the project using Maven:

    mvn clean install
  2. Run the Sensor-Service:

    mvn spring-boot:run -pl sensor-service
  3. Run the Decision-Service:

    mvn spring-boot:run -pl decision-service
  4. Run the Actuator-Service:

    mvn spring-boot:run -pl actuator-service

To start the front end navigate to frontend/ and execute python3 -m http.server

About

TP Service Architecture based on meta-micro-micro-services

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published