This is a dashboard that the users can use to check which washing machines are free.
- Current sensor (WCS1800)
- Fetches data from the OM2M server and displays the following data for each washing machine:
- Current state:
Spin
orRinse
orWash
orStandby
orOff
- Current state:
- Backend (
flask
) '- Sends
GET
andPOST
requests to OM2M server json
data format is used for interoperability
- Sends
- Frontend (
html+css+js
)- Updates data every 2 seconds using
js
- Updates data every 2 seconds using
- install
flask
$ pip install flask
- run
app.py
$ python3 app.py