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 RawResultDemux | yes | ||
cloud/<sys_id>/exec_action/<action_id> | command from the cloud to execute the specified action | no | Actuatormodules like ModbusD or snmpgetd | |
cloud/<sys_id>/jobs | reception of jobs from the cloud | no | JobProcessor | |
command/persistord/ | persistord | |||
commandresult/persistord/ | persistord | |||
config/action/<action_id> | yes | Actuatormodules | ||
config/complete | The complete configuration (sensors, devices,actions,rules) as XML (retrieve from SC (subscribe)) | yes | ConfigProvider | |
config/complete_update | The 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 AC | no | 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_update | simple job, forwarded by the JobProcessor | no | JobProcessor, VS_access_control | |
jobs/dynamic_HD_subscription | simple job, forwarded by the JobProcessor | no | JobProcessor, HD2CloudExporter, data_store | |
jobs/remote_exec | simple job, executes a preconfigured shell command on SiteController | no | 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 start | yes | InternalStates, run_SiteController, Watchdog | |
module/state/request | Watchdog requests the states of the modules, no payload. The modules answer via InternalStates | yes | Watchdog, InternalStates | |
raw_result/<sensor_gateway_id> | generated by data acquisition modules like ModbusD | yes | RawResultDemux | |
sc/config | ask 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
...