Handle contactors separately in daily_report

This commit is contained in:
rasta5man 2025-10-19 19:47:04 +02:00
parent 7093d765ec
commit c5c5b21f47
10 changed files with 427 additions and 242 deletions

View file

@ -1,10 +1,18 @@
# Total.js version 4 - Flow
This is a version of citysys-flowserver, running on Debian12 OS.
It has the latest LTS version of nodejs and latest npm modules installed.
# 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.