This project brings together all of the essential zconnect components to create an IoT system, this includes:
- zconnect-web-template (A react frontend to see sensor data graphs etc.)
- zconnect-django-demo (Django server application based on
zconnect-django
) - ibm-iot-emulator (Emulator for Watson IoT MQTT broker)
- device-simulator-backend (Backend for IoT firdge simulator)
- device-simulator-frontend (Frontend for IoT firdge simulator)
Firstly, update all submodules using:
git submodule update --init --recursive
Make sure docker
is installed and accesible via $PATH. Then run:
$ sudo bash run.sh
When running:
device-simulator-frontend
is accessible via a browser onlocalhost:9000
with usernamedemo
and passworddemo
.zconnect-web-template
is accessible via a browser onlocalhost:3000
with username[email protected]
and passwordtest_password
. To login as an admin user use[email protected]
and passwordSPITURSTUD
.
The example usage in the gif above shows:
- Logs from the running docker containers
- Logging into the
zconnect-web-template
frontend to show temperature readings on the graph and notifications - Adjusting the
Is door open?
parameter on thedevice-simulator-frontend
to 1, this then causes the temperature to increase - Going back to
zconnect-web-template
a notification is displayed showing that the fridge door has been opened