Course project for the course IDATA2304 Computer communication and network programming (2023).
Project theme: a distributed smart greenhouse application, consisting of:
See protocol description in protocol.md.
There are several runnable classes in the project.
To run the greenhouse part (with sensor/actuator nodes):
main
method inside CommandLineGreenhouse
class.main
method inside GreenhouseGuiStarter
class. Note - if you run the
GreenhouseApplication
class 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.