Main citysys code
| databases | ||
| flow | ||
| addSwitch.py | ||
| cloud_topic.py | ||
| config | ||
| createNode.py | ||
| err.txt | ||
| monitor.txt | ||
| package.json | ||
| readme.md | ||
Total.js version 3 - Flow
- open terminal / command-line
- open app directory
- run
$ npm install - run
$ node index.js - open browser
http://0.0.0.0:12345
Settings configuration:
- set in databases directory
- chosen options:
- restore_from_backup => number of records, that are restored from db after thingsboard reconnected
- restore_backup_wait => number of seconds between bulk of records are sent
- node_status_nok_time => number of hours after which the node sends a message to thingsboard that its status is NOK
- phases => number of phases in RVO
- cloud_topic => we need to set cloud_topic, if we want to send telemetry to RADO's thingsboard
- daily_report => if we want to create and send daily reports by email, set this to 1
- send_changed_node_numbers => if we are sending daily reports, we need to keep a track of changed node numbers. They are processed on the cloud. Set this to 1 if yes.