Documentation
Status message
Creates a status message.
Status messages can only be used in the "status" area. No other form field types can be used in the "status" area.
Parameters
| Parameter | Description |
|---|---|
| caption | Visible caption |
| code | Status code (see table) |
| icon | Symbol which is displayed: "active", "inactive", "standby" or "error" (see overview) |
Overview of the status codes
| code | Constant | Description |
|---|---|---|
| 101 | IS_CREATING |
Instance is creating |
| 102 | IS_ACTIVE |
Instance is active |
| 103 | IS_DELETING |
Instance is deleting |
| 104 | IS_INACTIVE |
Instance is inactive |
| 105 | IS_NOTCREATED |
Instance was not created |
| 106 | IS_STANDBY |
Instance is in standby |
| >=200 | IS_EBASE |
Instance is faulty |
Codes >= 200 must be defined by oneself.
Overview of the possible icons
active

error

inactive

standby (since IP-Symcon 8.1)
Displays the standby symbol.
Example
// Active icon
{ "code": 102, "icon": "active", "caption": "Logged in!" }
// Error icon
{ "code": 200, "icon": "error", "caption": "Error!" }
// Inactive icon
{ "code": 104, "icon": "inactive", "caption": "Logged out!" }
// Standby icon
{ "code": 106, "icon": "standby", "caption": "Standby!" }