Skip to content

Latest commit

 

History

History
41 lines (33 loc) · 1.59 KB

File metadata and controls

41 lines (33 loc) · 1.59 KB

Smart Incubator - Redes de Computadores (UFC RUSSAS)

Incubators are used in hospitals to provide babies, usually premature, a thermoneutral environment (ie, the body does not expend energy compensating for changes in ambient temperature) controlled by airflow, humidity and temperature.

In this application, the incubator conditions are configured, monitored and controlled by a manager, which communicates with the sensors/actuators and can receive configurations or respond to queries from an external client.

This is a project proposed in the Computer Networks course at the Universidade Federal do Ceará.

How to run?

This Java console application is dockerized and to run it you'll just need Docker and Docker Compose installed on your machine, whether it's Windows, Linux or MacOS.

Run all Services

To run all services (manager, monitor, all sensors and actuators), open your terminal in the project folder and run:

docker-compose up

Start Manager

To run the manager (server), open your terminal in the project folder and run:

docker-compose run manager

Start Monitor

To client monitor, just run the command:

docker-compose run monitor

Start Sensors

To start sensors, just run the command:

docker-compose run sensor_id

The available sensors ids are: temperature, oxygen, humidity and heartbeat.

Start Actuators

To start actuators, just run the command:

docker-compose run actuator_id

The available actuators id are: heater, humidifier and aircirculator.