Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

Supported added October 2021

Templates support a custom_corrective_actions attribute that enables a custom corrective action list and guidance text to be set for each data capability (e.g. separate corrective action lists alerts for Probe, Temperature & Humidity). This allows us to set default Guidance and Corrective Actions seen by all users of this hardware (if using this custom template).

{
    "action_text": "Presence unknown: TSU replaced.",
    "guidance": "Guidance text here",
    "type": 3
  }

Example

[
  {
    "action_text": "Battery depleted: e-Box replaced; matrix reused.",
    "guidance": "It might be because of a gateway is unplugged or someone took the sensor.",
    "type": "device_offline"
  },
  {
    "action_text": "Obstacle blocking TSU: obstacle removed.",
    "type": "device_offline"
  },
  {
    "action_text": "TSU in comms dead zone: repositioned.",
    "type": "device_offline"
  },
  {
    "action_text": "TSU physically damaged: replaced.",
    "type": "device_offline"
  },
  {
    "action_text": "TSU troubleshooting: rebooted.",
    "type": "device_offline"
  },
  {
    "action_text": "Defective TSU: replaced.",
    "type": "device_offline"
  },
  {
    "action_text": "Internet troubleshooting: under investigation.",
    "guidance": "It might be because of an electrical outage, the gateway is unplugged, or a bad internet connection.",
    "type": "gateway_offline"
  },
  {
    "action_text": "Internet troubleshooting: router rebooted.",
    "type": "gateway_offline"
  },
  {
    "action_text": "Internet troubleshooting: ISP network addressed.",
    "type": "gateway_offline"
  },
  {
    "action_text": "Ethernet cable troubleshooting: cable reconnected.",
    "type": "gateway_offline"
  },
  {
    "action_text": "Ethernet cable physically damaged: cable replaced.",
    "type": "gateway_offline"
  },
  {
    "action_text": "Gateway troubleshooting: gateway rebooted.",
    "type": "gateway_offline"
  },
  {
    "action_text": "Defective gateway: gateway replaced.",
    "type": "gateway_offline"
  },
  {
    "action_text": "Presence confirmed: in treatment, TSU removed.",
    "guidance": "Upon receiving an alert, monitor the internal food temperature of 3 different foods.\n\nIf the food has been > 40°F for less than 2 hours, move the food to a refrigerator that can maintain the food ≤ 40 °F, quickly cool the food in a blast chiller, or immediately cook the food.\n\nIf the food has been > 40°F for more than 2 hours, discard the food.\n\nIf the food temperature is below < 40 °F, continue monitor the air temperature of the unit.\n\nDetermine the root cause for the elevated temperature and correct immediately (adjust thermostat, request service for the refrigeration unit, etc.)",
    "type": 3
  },
  {
    "action_text": "Presence unknown: TSU replaced.",
    "type": 3
  }
]

Usage Notes

You only have to add it once per “type”. It will pick the first guidance it find per type.

Formatting blocks of text

Do not manually insert line breaks into paragraphs of text. Use character line breaks to introduce formatting to text.

  • A single line break (no space between paragraphs) is a single \n

  • for double line break (empty line between paragraphs) double \n\n

So a formatted text would look like:

"guidance": "Upon receiving an alert, monitor the internal food temperature of 3 different foods.\n\nIf the food has been > 40°F for less than 2 hours, move the food to a refrigerator that can maintain the food ≤ 40 °F, quickly cool the food in a blast chiller, or immediately cook the food.\n\nIf the food has been > 40°F for more than 2 hours, discard the food.\n\nIf the food temperature is below < 40 °F, continue monitor the air temperature of the unit.\n\nDetermine the root cause for the elevated temperature and correct immediately (adjust thermostat, request service for the refrigeration unit, etc.)", 

  • No labels