🐈 Github
https://github.com/ekkezia/conndev/tree/main/wk2/dashboard
🖍️ Notes

Public key is the key you give to the public so they can encrypt information to be given to you.

Private key is the key you use to decrypt the information.

Get the users that have been accessing your server:

sudo cat /var/log/nginx/access.log | grep [SOME_USER_NAME]

Dashboard Update

Light Mode


Features of the dashboard:

1. real-time sensor data changes reflected on the UI

2. playback the sensor data history

3. conventional graph log for gx, gy, gz, ax, ay, az

4. possible exploration on drawing (... i couldn't get the light to work nicely because i don't have a magnetometer, the drawing one is not looking good either, but it was a bit better than the light as i feel like it is easier to understand direction & the drawing velocity of line than the rotation angle of the plane under the light)


Some architecture of the dashboard that I tried:

1. I removed the log.json and use a websocket (io) server for real-time update purposes, no data is stored in client

Arduino -> TCP network -> emit broadcast to all clients (dashboard)

2. added express server to provide /sensor-data so that client can fetch all the available sensor data that they might have missed if they close the tab

Problem for the future:

1. need to host this on a public server so i don't need to turn on and off my local server -> done on Render, but for now i'm still using local

2. what if there are multiple users? should i create a database of users and start saving their data into a storage? and subsequently they need to be authenticated to see their data? what kind of authentication would i want? should it be a game? who is moving more? or maybe just a little movie?

Issues:

Figuring out IMU directions

Blog image

Elizabeth Kezia Widjaja © 2026 🙂