Getting started
Sign in for the first time, connect a first device, load the Aniston Nexus packages and build a first rule chain.
Log in
A fresh local installation (docker compose -f docker-local/docker-compose.yml up -d) creates three demo accounts. Change their passwords, or delete them, before the server is reachable by anyone else.
| Role | Password | |
|---|---|---|
| System administrator | sysadmin@nexus.anistonav.com | sysadmin |
| Tenant administrator | tenant@nexus.anistonav.com | tenant |
| Customer user | customer@nexus.anistonav.com | customer |
The system administrator manages tenants, tenant profiles and server-wide settings (mail, SMS, security). A tenant administrator builds the solution: devices, assets, dashboards, rule chains, alarms. A customer user sees the dashboards and devices assigned to their customer.
Connect a first device
- Log in as the tenant administrator. Open Entities > Devices, click +, give the device a name and keep the default device profile.
- Open the device, Copy access token.
- Send a reading. MQTT (port 1883):
or HTTP:mosquitto_pub -h localhost -p 1883 -t v1/devices/me/telemetry -u <ACCESS_TOKEN> -m '{"temperature":24.5}'curl -X POST http://localhost:8080/api/v1/<ACCESS_TOKEN>/telemetry -H 'Content-Type: application/json' -d '{"temperature":24.5}'
- The Latest telemetry tab of the device shows the value. If it does not, see Devices > Troubleshooting.
Load the Aniston Nexus packages
The Water, BMS and Smart Campus packages live in the repository (solutions/) and are listed in the content library (Database/). Install them in dependency order with one command from the repository root:
python3 -I Database/tools/nexus_content.py install water bms smartcampus --with-deps \
--url http://localhost:8080 --user tenant@nexus.anistonav.com --password tenant --dry-run
Run it again without --dry-run to apply. Re-running updates in place by name; it does not duplicate dashboards, profiles or rule chains. Then seed sample devices and start a simulator, as each package README explains (solutions/nexus-water/README.md, solutions/nexus-bms/README.md, solutions/nexus-smartcampus/README.md).
Your first rule chain
Every message from a device goes through the Root Rule Chain (Rule chains in the menu), unless its device profile names another one. The default chain saves telemetry and attributes, and routes RPC. Open it to see how messages flow, then read the rule engine page before changing it: a broken root chain stops all data from being stored.