A demo meant to easilly put your hands on DomoticASW.
The demo includes:
- DomoticASW web app
- An already configured domotic system with:
- Users
- Tasks and Automations
- Users preferences about devices
- Access control rules for users
- Simulated devices
Note that:
- some devices are already registered to the system while others can be registered by you through automatic discovery.
- a base delay and a random delay have been artifically added in order to show that our system can handle that.
docker compose up -dThe app will now be available at localhost
Note:
You can optionally set a
PORTenvironment variable to decide on which port to expose the websitePORT=3000 docker compose up -dThe app will be available at localhost:3000
# Will stop the containers without deleting anonymous volumes keeping your modifications
docker compose stop
# If you want to restart the system
docker compose up# Will stop and remove containers and anonymous volumes
docker compose down
# If you want to restart the system
docker compose up| User | Password | |
|---|---|---|
| Alex Carter | alex.carter@email.com | password |
| Mia Fernandez | mia.fernandez@email.com | password |
| Emma Carter | emma.carter@email.com | password |
| Liam Carter | liam.carter@email.com | password |
Note: You are free to try to accept them
| User | Password | |
|---|---|---|
| Evelyn Moore | evelyn.moore@email.com | password |
If you login as Liam or Emma you will notice that they are not able to execute action on some devices and execute or edit most of the tasks/automations.
The reason is that the admin (Alex) knows his children really well and has carefully crafted rules in order to avoid his children messing up the house.
You should run:
# UNIX shells
DUMP_DB=true docker compose up -d# Powershell
$env:DUMP_DB="true"; docker compose up -dREM Command Prompt
set "DUMP_DB=true" && docker compose up -dOnce you have modified the sample data just stop the containers:
docker compose downOnce MongoDB container has stopped you can check that the dump folder has changed:
git statusYou can then commit those changes:
git add ./dump
git commit -m "modified sample data"