Main citysys code
Find a file
2025-10-20 11:18:19 +02:00
databases Handle contactors separately in daily_report 2025-10-19 19:47:04 +02:00
flow Bug fix - jsObject to reportToSend 2025-10-20 11:18:19 +02:00
addSwitch.py Fake accelerometer and handle hasMainSwitch 2025-05-06 11:58:26 +02:00
cloud_topic.py version with cloud_topic 2025-01-01 12:53:20 +01:00
config Handle contactors separately in daily_report 2025-10-19 19:47:04 +02:00
createNode.py Handle contactors separately in daily_report 2025-10-19 19:47:04 +02:00
err.txt Actual running flowserver on test panel LM 10.0.0.5 2024-04-13 20:00:05 +02:00
monitor.txt Actual running flowserver on test panel LM 10.0.0.5 2024-04-13 20:00:05 +02:00
package.json version 2025-02-01 2025-01-07 15:30:46 +01:00
readme.md Handle contactors separately in daily_report 2025-10-19 19:47:04 +02:00

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.