Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Check the serial of a facility:

...

        "timestamp": "2016-03-18T00:20:22.877Z-0500"
    }
]
Mosquitto topics:

Note:

topics in communication to and from external cloud broker (currently cloud/#hd/#sys_msg/#events/# and imgdata/#) may be required to be prefixed with the organization short name to allow an organization based autorization scheme, like so: azeti/cloud/#.

topic
description
retained
qos
related modules
calibrated_result/<sensor_id>generated by certain modules but almost the RawResultDemuxyes  
cloud/<sys_id>/exec_action/<action_id>command from the cloud to execute the specified actionno Actuatormodules like ModbusD or snmpgetd
cloud/<sys_id>/jobsreception of jobs from the cloudno JobProcessor
command/persistord/   persistord
commandresult/persistord/   persistord
config/action/<action_id> yes Actuatormodules
config/completeThe complete configuration (sensors, devices,actions,rules) as XML (retrieve from SC (subscribe))yes ConfigProvider
config/complete_updateThe complete configuration (sensors, devices,actions,rules) as XML to the SiteController (publish to)yes ConfigProvider
config/device/<device_id> yes  
config/module/<module_name>/[complete|update] yes  
config/rule/<rule_id> yes AutomationController
config/sensor/<sensor_id> yes  
events/<sys_id>/<sensor_id>generated by certain modules but almost the CalibResultsEvaluator, sent to cloud and partially to ACno cloud, AutomationController
hd/<sys_id>uncompressed historical data sent to the cloud

no, internal

yes, external

0

1

HD2CloudExporter, cloudConnector

cloudConnector, cloud

hd/<sys_id>/application/gzip

events/<sys_id>/application/gzip

compressed historical data sent to the cloud

no, internal

yes, external

0

1

HD2CloudExporter, cloudConnector

cloudConnector, cloud

imgdata/<sys_id>/<device_id>Image data, combined with description in a tar (SC-258)no http_server, cloudConnector, data_store
jobs/access_list_updatesimple job, forwarded by the JobProcessorno JobProcessor, VS_access_control
jobs/dynamic_HD_subscriptionsimple job, forwarded by the JobProcessorno 

JobProcessor, HD2CloudExporter, data_store

jobs/remote_execsimple job, executes a preconfigured shell command on SiteControllerno JobProcessor
module/<module_name>/command

example: The topic module/modbusd/command with payload statsgets returned with

the topic module/modbusd/command/reply with statistics as payload

  cloudConnector, data_store, modbusd
module/<module_name>/last_published_timestamp   HD2CloudExporter
module/state/<module_name>A module sends the internal state, useful for a better organized system startyes InternalStates, run_SiteController, Watchdog
module/state/requestWatchdog requests the states of the modules, no payload. The modules answer via InternalStatesyes Watchdog, InternalStates
raw_result/<sensor_gateway_id>generated by data acquisition modules like ModbusDyes RawResultDemux
sc/configask Matthias   
sys_msg/<sys_id>class sys_msg is defined in result.py, destination of the message is the cloud.  jobs_updateConfig, result, cloud, actuatormodules, watchdog
vs_data/<sensor_id>

specific data for a virtual sensor (currenty used by the VS to hold data during a restart).

These data should be stored in a database (persistord/data_store) and re-published if not available

on mosquitto.

yes 

VS_access_control, VS_battery_details

 

persistord, (data_store)

 

Username/password test systems
system/admin
To reboot a Cisco:
#reboot

...