contact@webdyn.com | webdyn.com
V2.05 subject to changes | Webdyn © by Flexitron Group
Example of an internal concentrator alarm:
{
“alarms”:null,
“alarmsDevice”:[
{
“type”:”POWER OFF”,
“info”:”GATEWAY”,
“date”:”21/02/05-09:50:00”,
“timestamp”:1612515000000
}
}
4.2.3 Commands
It is possible to send commands by the MQTT/MQTTS server to the WebdynSunPM concentrator.
To do this, the “command” and “Result” topics must be entered in the concentrator conguration (See
chapter 3.2.2.5.4: “MQTT”).
When a command is published on the “Command” topic on the MQTT/MQTTS server, it is retrieved by the
concentrator. The command is executed by the concentrator and the result of the command is published
on the “Result” topic.
4.2.3.1 Update Command
The Update command is used to retrieve rmware from an HTTP/HTTPS or FTP/SFTP server.
The Update command le is in the following JSON format:
{
“url”:url_value,
“login”:login_value,
“password”:password_value,
“checksum”:checksum_value,
“interface”:interface_value,
}
Color code:
• In blue: Firmware or server information.
• In black: Fixed text.
With:
• url_value: IP address or domain name of the HTTP/HTTPS or FTP/SFTP server.
• login_value: Identier for the FTP/SFTP server. The eld must be “null” for an FTP/SFTP server.
• password_value: Password for the FTP/SFTP server. The eld must be “null” for an FTP/SFTP
server.
• checksum_value: Checksum of the new rmware in MD5 format to verify its integrity.