IoTHub Connector supports cloud to niagara communication via IoTHub C2D messages to control points remotely to do this.
This is the default command template.
{ "type": "POINT_ACTION", "deviceId": "AHU_01_u0SAYCUHda9VUZ5h5Z7nR", "pointId": "Setpoint_v0SAYCUEtoUyS3P0df5kd", "payload": { "action": "SET", "value": 1111 } } |
You can pull historical value for any point that has a history associated by sending a SEND_HISTORY command.
This is the default command template.
{ "type": "SEND_HISTORY", "deviceId": "AHU_01_u0SAYCUHda9VUZ5h5Z7nR", "pointId": "Setpoint_v0SAYCUEtoUyS3P0df5kd", "payload": { "startDate": "2020-10-19T13:15:55.011+02:00", "endDate": "2020-10-19T14:15:55.011+02:00" } } |
You can ack alarms by sending an ACK_ALARM command to any alarm recipient device.
This is the default command template.
{ "type": "ACK_ALARM", "payload": { "uuid": "85a1fe08-4568-428c-ae10-e4d35f861dc3" } } |
Step 6 Consume Data from IoTHub in Azure