This is an archived containing different starts and stops for the idea of eit-hub.
- apps and core is the old shuttle demo.
- eit-* is the newer mqtt part of the eit-hub.
We save this as experiments its the code we wrote before we knew what we wanted.
The goal of EIT-Hub help development of IoT prototypes. By removing some of the annoying not fun stuff. This first MVP have goal of removing 3 hassle:
- Gui.
- Security.
- Communication.
Right now EIT hub is a bit off a mess. We are in a learning state and there have been a few experiments, false starts and dead ends.
- Backend:
npm install
- Devices: This project uses Python Poetry. It needs to be installed as shown in the link. No further knowledge of Poetry is needed. After Poetry has been installed, all other Python dependencies may be installed using
poetry install
.
The Fake Shuttle Controller is used to test features without being physically connected to the shuttle. To run everything on local machine, you need two terminals:
- The first terminal should be in the root directory of the project.
npm start
will start the server. - The second terminal should be in the ./devices/Shuttle directory. To run the fake shuttle controller, use
poetry run fake
. - The frontend can be accessed on http://localhost:3000/