Course project for the course IDATA2304 Computer communication and network programming (2023).
Project theme: a distributed smart greenhouse application, consisting of:
- Sensor-actuator nodes
- Visualization nodes
See protocol description in protocol.md.
There are several runnable classes in the project.
To run the greenhouse part (with sensor/actuator nodes):
- Command line version: run the
mainmethod insideCommandLineGreenhouseclass. - GUI version: run the
mainmethod insideGreenhouseGuiStarterclass. Note - if you run theGreenhouseApplicationclass directly, JavaFX will complain that it can't find necessary modules.
To run the control panel (only GUI-version is available): run the main method inside the
ControlPanelStarter class
If you want to simulate fake communication (just some periodic events happening), you can run
both the greenhouse and control panel parts with a command line parameter fake. Check out
classes in the no.ntnu.run package for more details.