Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Sv translation
languagede

Bei Webhooks handelt es sich um HTTP Trigger, die bei einem Event geschickt werden. Mit diesem Event können Daten versendet werden, die es ermöglichen Fremd-APIs anzusteuern. Der Aufbau der Daten kann frei bestimmt werden. Die veränderlichen Nutzdaten werden mithilfe von Variablen eingefügt. Diese werden zum Zeitpunkt der Auslösung ersetzt.

Table of Contents

SmartXcan

Beispiel

Code Block
{
    "time": "$TIME$",
    "date": "$DATE$",

    "street": "$LOCATION_STREET$",
    "city": "$LOCATION_CITY$",
    "postal-code": "$LOCATION_POSTAL_CODE$",
    "country": "$LOCATION_COUNTRY$",

    "body-temperature-value": "$BODY_TEMPERATURE_VALUE$",
    "body-temperature-level": "$BODY_TEMPERATURE_LEVEL$",
    "body-temperature-alarm": "$BODY_TEMPERATURE_ALARM$",
    "outdoor-temperature": "$OUTDOOR_TEMPERATURE_VALUE$",
    "indoor-temperature": "$INDOOR_TEMPERATURE_VALUE$",
    "humidity": "$HUMIDITY_VALUE$",
    "sequence-number": "$SEQUENCE_NUMBER$",
	"event-id": "$EVENT_ID$",
	"RFID": "$RFIDUID$",

	"IP-address": "$IP$",
	"MAC-address": "$MAC$",
	"Serialnumber": "$SERIAL$"
}

Mögliche Variablen

  • $TIME$ = Uhrzeit der Messung
  • $DATE$ = Datum der Messung
  • $LOCATION_STREET$ = Strasse
  • $LOCATION_CITY$ = Stadt
  • $LOCATION_POSTAL_CODE$ = Postleitzahl
  • $LOCATION_COUNTRY$ = Land
  • $BODY_TEMPERATURE_VALUE$ = Messwert der Körpertemperatur
  • $BODY_TEMPERATURE_LEVEL$ = Level der Messung (0 = normale Temperatur, 1 = leicht erhöhte Temperatur, 2 = Fieber, 3 = hohes Fieber)
  • $BODY_TEMPERATURE_ALARM$ = Körpertemperatur - Alarmstatus
  • $OUTDOOR_TEMPERATURE_VALUE$ = Außentemperatur
  • $INDOOR_TEMPERATURE_VALUE$ = Innentemperatur
  • $HUMIDITY_VALUE$ = Luftfeuchte
  • $SEQUENCE_NUMBER$ = laufende Nummer der Messung
  • $EVENT_ID$ = Event-ID
  • $IP$ = IP-Adresse des Gerätes
  • $MAC$ = MAC-Adresse des Gerätes
  • $SERIAL$ = Seriennummer des Gerätes


AccessManager

Beispiel

Code Block
{
    "time": "$TIME$",
    "user": "$USERNAME$",
    "rfid": "$RFID$",
    "pin": "$PIN$",
    "state": "$STATE$",
    "door": "$DOORNAME$"
}

Mögliche Variablen

  • $USERID$ = ID des Benutzers
  • $USERNAME$ = Login Name des Benutzers
  • $USERFULLNAME$ = Voller Name des Benutzers
  • $USERMAIL$ = E-Mail Adresse des Benutzers
  • $RFIDUID$ = RFID Uid der Karte mit welcher gebucht wurde
  • $RFIDDATA$ = RFID Daten der Karte mit welcher gebucht wurde
  • $PIN$ = Eingegebene PIN
  • $TIME$ = Zeit des Events als Text String
  • $UNIXTIME$ = Zeit des Events als UNIXTIME
  • $STATE$ = Status der Buchung (0: Zutritt Ok, 1: RFID unbekannt, 2: PIN unbekannt, 3: Doppelauthentifizierung fehlgeschlagen, 4: Ausserhalb des Zeitprofils, 5: Keine Türberechtigung, 6: Authentifizierungsfehler)
  • $DOORID$ = ID der Schließeinheit
  • $DOORNAME$ = Name der Schließeinheit
  • $DOORSERIAL$ = Seriennummer der Schließeinheit
  • $IP$ = IP-Adresse des Gerätes
  • $MAC$ = MAC-Adresse des Gerätes
  • $SERIAL$ = Seriennummer des Gerätes

PowerManager

Beispiel

Code Block
{
    "time": "$TIME$",
    "name": "$NAME$",
    "address": "$ADDRESS$",
    "rcm":
    {
        "ac":
        {
            "value": "$RCM_AC$",
            "alarm": "$RCM_AC_ALARM$"
        },
        "dc":
        {
            "value": "$RCM_DC$",
            "alarm": "$RCM_DC_ALARM$"
        }
    },
    "power_failure": "$POWER_FAILURE_ALARM$",
    "phases":
    [
        {
            "name": "$PHASE_NAME[1]$",
            "number": "$PHASE_NUMBER[1]$",
            "voltage":
            {
                "value": "$PHASE_VOLTAGE[1]$",
                "alarm": "$PHASE_VOLTAGE_ALARM[1]$"
            },
            "current":
            {
                "value": "$PHASE_CURRENT[1]$",
                "alarm": "$PHASE_CURRENT_ALARM[1]$"
            },
            "power":
            {
                "active":
                {
                    "value": "$PHASE_POWER_ACTIVE[1]$",
                    "alarm": "$PHASE_POWER_ACTIVE_ALARM[1]$"
                },
                "reactive":
                {
                    "value": "$PHASE_POWER_REACTIVE[1]$",
                    "alarm": "$PHASE_POWER_REACTIVE_ALARM[1]$"
                },
                "apparent":
                {
                    "value": "$PHASE_POWER_APPARENT[1]$",
                    "alarm": "$PHASE_POWER_APPARENT_ALARM[1]$"
                },
                "factor":
                {
                    "value": "$PHASE_POWER_FACTOR[1]$"
                }
            },
            "frequency":
            {
                "value": "$PHASE_FREQUENCY[1]$",
                "alarm": "$PHASE_FREQUENCY_ALARM[1]$"
            },
            "consumption":
            {
                "value": "$PHASE_CONSUMPTION[1]$"
            },
            "fuse":
            {
                "alarm": "$PHASE_FUSE_ALARM[1]$"
            }
        },
        {
            "name": "$PHASE_NAME[2]$",
            "number": "$PHASE_NUMBER[2]$",
            "voltage":
            {
                "value": "$PHASE_VOLTAGE[2]$",
                "alarm": "$PHASE_VOLTAGE_ALARM[2]$"
            },
            "current":
            {
                "value": "$PHASE_CURRENT[2]$",
                "alarm": "$PHASE_CURRENT_ALARM[2]$"
            },
            "power":
            {
                "active":
                {
                    "value": "$PHASE_POWER_ACTIVE[2]$",
                    "alarm": "$PHASE_POWER_ACTIVE_ALARM[2]$"
                },
                "reactive":
                {
                    "value": "$PHASE_POWER_REACTIVE[2]$",
                    "alarm": "$PHASE_POWER_REACTIVE_ALARM[2]$"
                },
                "apparent":
                {
                    "value": "$PHASE_POWER_APPARENT[2]$",
                    "alarm": "$PHASE_POWER_APPARENT_ALARM[2]$"
                },
                "factor":
                {
                    "value": "$PHASE_POWER_FACTOR[2]$"
                }
            },
            "frequency":
            {
                "value": "$PHASE_FREQUENCY[2]$",
                "alarm": "$PHASE_FREQUENCY_ALARM[2]$"
            },
            "consumption":
            {
                "value": "$PHASE_CONSUMPTION[2]$"
            },
            "fuse":
            {
                "alarm": "$PHASE_FUSE_ALARM[2]$"
            }
        },
        {
            "name": "$PHASE_NAME[3]$",
            "number": "$PHASE_NUMBER[3]$",
            "voltage":
            {
                "value": "$PHASE_VOLTAGE[3]$",
                "alarm": "$PHASE_VOLTAGE_ALARM[3]$"
            },
            "current":
            {
                "value": "$PHASE_CURRENT[3]$",
                "alarm": "$PHASE_CURRENT_ALARM[3]$"
            },
            "power":
            {
                "active":
                {
                    "value": "$PHASE_POWER_ACTIVE[3]$",
                    "alarm": "$PHASE_POWER_ACTIVE_ALARM[3]$"
                },
                "reactive":
                {
                    "value": "$PHASE_POWER_REACTIVE[3]$",
                    "alarm": "$PHASE_POWER_REACTIVE_ALARM[3]$"
                },
                "apparent":
                {
                    "value": "$PHASE_POWER_APPARENT[3]$",
                    "alarm": "$PHASE_POWER_APPARENT_ALARM[3]$"
                },
                "factor":
                {
                    "value": "$PHASE_POWER_FACTOR[3]$"
                }
            },
            "frequency":
            {
                "value": "$PHASE_FREQUENCY[3]$",
                "alarm": "$PHASE_FREQUENCY_ALARM[3]$"
            },
            "consumption":
            {
                "value": "$PHASE_CONSUMPTION[3]$"
            },
            "fuse":
            {
                "alarm": "$PHASE_FUSE_ALARM[3]$"
            }
        }
    ]
}

Mögliche Variablen

  • $TIME$ = Zeit des Events als Text String
  • $UNIXTIME$ = Zeit des Events als UNIXTIME
  • $NAME$ = Name des Smartmeters
  • $ADDRESS$ = Adresse des Smartmeters
  • $RCM_AC$ = AC Messwert des Differenzstrommessers
  • $RCM_AC_ALARM$ = AC Alarmstatus des Differenzstrommessers
  • $RCM_DC$ = DC Messwert des Differenzstrommessers
  • $RCM_DC_ALARM$ = DC Alarmstatus des Differenzstrommessers
  • $POWER_FAILURE_ALARM$ = Stromausfall Alarm des Smartmeters
  • $IP$ = IP-Adresse des Gerätes
  • $MAC$ = MAC-Adresse des Gerätes
  • $SERIAL$ = Seriennummer des Gerätes
  • Phasen Variablen (Diese werden mit [] indiziert)
    • $PHASE_NAME[1]$ = Name der Phase
    • $PHASE_NUMBER[1]$ = Nummer der Phase
    • $PHASE_VOLTAGE[1]$ = Messwert der Spannung
    • $PHASE_VOLTAGE_ALARM[1]$ = Alarmstatus der Spannung
    • $PHASE_CURRENT[1]$ = Messwert der Stromstärke
    • $PHASE_CURRENT_ALARM[1]$ = Alarmstatus der Stromstärke
    • $PHASE_POWER_ACTIVE[1]$ = Messwert der Wirkleistung
    • $PHASE_POWER_ACTIVE_ALARM[1] = Alarmstatus der Wirkleistung
    • $PHASE_POWER_REACTIVE[1]$ = Messwert der Blindleistung
    • $PHASE_POWER_REACTIVE_ALARM[1] = Alarmstatus der Blindleistung
    • $PHASE_POWER_APPARENT[1]$ = Messwert der Scheinleistung
    • $PHASE_POWER_APPARENT_ALARM[1]$ = Alarmstatus der Scheinleistung
    • $PHASE_POWER_FACTOR[1]$ = Leistungsfaktor
    • $PHASE_FREQUENCY[1]$ = Messwert der Frequenz
    • $PHASE_FREQUENCY_ALARM[1]$ = Alarmstatus der Frequenz
    • $PHASE_CONSUMPTION[1]$ = Aktueller Stromverbrauchswert
    • $PHASE_FUSE_ALARM[1]$ = Alarmstatus einer Sicherung

AlarmManager

Beispiel

Code Block
{
    "time": "$TIME$",
    "building": "$BUILDING_NAME$",
    "alarmzone": "$ALARMZONE_NAME$",
    "alarmzone-state": "$ALARMZONE_STATE$",
    "device": "$DEVICE_NAME$",
    "address": "$DEVICE_ADDRESS$",
    "temperature": "$TEMPERATURE_VALUE$",
    "temperature-alarm": "$TEMPERATURE_ALARM$",
    "humidity": "$HUMIDITY_VALUE$",
    "humidity-alarm": "$HUMIDITY_ALARM$",
    "dewpoint": "$DEWPOINT_VALUE$",
    "dewpoint-alarm": "$DEWPOINT_ALARM$",
    "fire": "$CO_VALUE$",
    "fire-alarm": "$CO_ALARM$",
    "intrusion": "$MOTION_VALUE$",
    "intrusion-alarm": "$MOTION_ALARM$",
    "vibration": "$VIBRATION_VALUE$",
    "vibration-alarm": "$VIBRATION_ALARM$",
    "input1": "$INPUT_VALUE[1]$",
    "input1-alarm": "$INPUT_ALARM[1]$",
    "input2": "$INPUT_VALUE[2]$",
    "input2-alarm": "$INPUT_ALARM[2]$",
    "connection": "$CONNECTION_VALUE$",
    "connection-alarm": "$CONNECTION_ALARM$",
    "extpower": "$EXTPOWER_VALUE$",
    "extpower-alarm": "$EXTPOWER_ALARM$"
}

Mögliche Variablen

  • $DEVICE_ID$ = ID des Geräts
  • $DEVICE_NAME$ = Name des Geräts
  • $DEVICE_ADDRESS$ = Adresse des Geräts
  • $MAC$ = MAC-Adresse des Gerätes
  • $SERIAL$ = Seriennummer des Gerätes
  •  
  • $ALARMZONE_ID$ = ID der Alarmzone
  • $ALARMZONE_NAME$ = Name der Alarmzone
  • $ALARMZONE_STATE$ = Status der Alarmzone
  •  
  • $BUILDING_ID$ = ID des Gebäudes
  • $BUILDING_NAME$ = Name des Gebäudes
  •  
  • $INPUT_VALUE[1]$ (1-16) = Messwert des gewählten Eingangs (1-16)
  • $INPUT_ALARM[1]$ (1-16) = Alarmzustand des gewählten Eingangs (1-16)
  • $BATTERY_LEVEL$ = Ladezustand der Batterie
  • $BATTERY_VOLTAGE$ = Spannung der Batterie
  • $BATTERY_ALARM$ = Alarmzustand der Batterie
  • $CO_VALUE$ = Messwert des CO-Sensors
  • $CO_ALARM$ = Alarmzustand des CO-Sensors
  • $DEWPOINT_VALUE$ = Messwert des Taupunktsensors
  • $DEWPOINT_ALARM$ = Alarmzustand des Taupunktsensors
  • $HUMIDITY_VALUE$ = Messwert des Luftfeuchtigkeitssensors
  • $HUMIDITY_ALARM$ = Alarmzustand des Luftfeuchtigkeitssensors
  • $LATENCY_VALUE$ = Messwert der Serverüberwachung
  • $LATENCY_ALARM$ = Alarmzustand der Serverüberwachung
  • $MOTION_VALUE$ = Messwert des Bewegungssensors
  • $MOTION_ALARM$ = Alarmzustand des Bewegungssensors
  • $REED_VALUE$ = Messwert des Türkontakts
  • $REED_ALARM$ = Alarmzustand des Türkontakts
  • $CONNECTION_VALUE$ = Messwert der Verbindungsüberwachung
  • $CONNECTION_ALARM$ = Alarmzustand der Verbindungsüberwachung
  • $EXTPOWER_VALUE$ = Messwert der Stromversorgung
  • $EXTPOWER_ALARM$ = Alarmzustand der Stromversorgung
  • $TEMPERATURE_VALUE$ = Messwert des Temperatursensors
  • $TEMPERATURE_ALARM$ = Alarmzustand des Temperatursensors
  • $TILT_VALUE$ = Messwert des Sabotagesensors
  • $TILT_ALARM$ = Alarmzustand des Sabotagesensors
  • $VIBRATION_VALUE$ = Messwert des Vibrationssensors
  • $VIBRATION_ALARM$ = Alarmzustand des Vibrationssensors
  • $SNMP_VALUE$ = Messwert der SNMP Abfrage
  • $SNMP_ALARM$ = Alarmzustand der SNMP Abfrage
  •  
  • $TIME$ = Zeit des Events als Text String (Wie KPM, KXP)
  • $UNIXTIME$ = Zeit des Events als UNIXTIME (Wie KPM, KXP)


MultiSensor

Beispiel

Code Block
{
	"event_id": "$EVENT_ID$",
	"ts": "$UNIXTIME$",
	"time": "$TIME$",
	"date": "$DATE$",
	"temp_unit": "$TEMP_UNIT$",

	"ambient_temperature": {
		"value": "$AMBIENT_TEMP_VALUE$",
		"alarm": "$AMBIENT_TEMP_ALARM$"
	},

	"humidity": {
		"value": "$HUMIDITY_VALUE$",
		"alarm": "$HUMIDITY_ALARM$"
	},

	"dewpoint": {
		"value": "$DEWPOINT_VALUE$",
		"alarm": "$DEWPOINT_ALARM$"
	},

	"fire_ti": {
		"value": "$FIRE_TI_VALUE$",
		"alarm": "$FIRE_TI_ALARM$"
	},

	"fire_co": {
		"value": "$FIRE_CO_VALUE$",
		"alarm": "$FIRE_CO_ALARM$"
	},

	"heat": {
		"value": "$HEAT_VALUE$",
		"alarm": "$HEAT_ALARM$"
	},

	"motion": {
		"value": "$MOTION_VALUE$",
		"alarm": "$MOTION_ALARM$"
	},

	"vibration": {
		"alarm": "$VIBRATION_ALARM$"
	},

	"di1": {
		"name": "$DI_NAME[1]$",
		"value": "$DI_VALUE[1]$",
		"alarm": "$DI_ALARM[1]$"
	},

	"di2": {
		"name": "$DI_NAME[2]$",
		"value": "$DI_VALUE[2]$",
		"alarm": "$DI_ALARM[2]$"
	}
}


Sv translation
languageen

Webhooks are HTTP triggers sent by an event. This event can be used to send data that makes it possible to control external APIs. The structure of the data can be specified as required. The changeable user data is added using variables. These are replaced at the time of triggering.

Table of Contents

SmartXcan

Example

Code Block
{
    "time": "$TIME$",
    "date": "$DATE$",

    "street": "$LOCATION_STREET$",
    "city": "$LOCATION_CITY$",
    "postal-code": "$LOCATION_POSTAL_CODE$",
    "country": "$LOCATION_COUNTRY$",

    "body-temperature-value": "$BODY_TEMPERATURE_VALUE$",
    "body-temperature-level": "$BODY_TEMPERATURE_LEVEL$",
    "body-temperature-alarm": "$BODY_TEMPERATURE_ALARM$",
    "outdoor-temperature": "$OUTDOOR_TEMPERATURE_VALUE$",
    "indoor-temperature": "$INDOOR_TEMPERATURE_VALUE$",
    "humidity": "$HUMIDITY_VALUE$",
    "sequence-number": "$SEQUENCE_NUMBER$",
	"event-id": "$EVENT_ID$",
	"RFID": "$RFIDUID$",

	"IP-address": "$IP$",
	"MAC-address": "$MAC$",
	"Serialnumber": "$SERIAL$"
}

Possible variables

  • $TIME$ = Time of the measuremet

  • $DATE$ = Date of the measurement
  • $LOCATION_STREET$ = Street
  • $LOCATION_CITY$ = City
  • $LOCATION_POSTAL_CODE$ = Postal Code
  • $LOCATION_COUNTRY$ =Country
  • $BODY_TEMPERATURE_VALUE$ = Measurement result
  • $BODY_TEMPERATURE_LEVEL$ = Measurement level (0 = normal body temperature, 1 = slightly elevated body temperature, 2 = slight fever, 3 = high fever)
  • $BODY_TEMPERATURE_ALARM$ = Body temperature - alarm state
  • $OUTDOOR_TEMPERATURE_VALUE$ = Outdoor temperature
  • $INDOOR_TEMPERATURE_VALUE$ = Indoor temperature
  • $HUMIDITY_VALUE$ = Humidity
  • $SEQUENCE_NUMBER$ = sequence of the measurement
  • $EVENT_ID$ = ID of the event
  • $IP$ = device-IP
  • $MAC$ = MAC-adress
  • $SERIAL$ = serialnumber

AccessManager

Example

Code Block
{
    "time": "$TIME$",
    "user": "$USERNAME$",
    "rfid": "$RFID$",
    "pin": "$PIN$",
    "state": "$STATE$",
    "door": "$DOORNAME$"
}

Possible variables

$USERID$ = ID of the user
$USERNAME$ = login name of the user
$USERFULLNAME$ = full name of the user
$USERMAIL$ = e-mail address of the user
$RFIDUID$ = RFID Uid of the card with which it was booked
$RFIDDATA$ = RFID data of the card with which was booked
$PIN$ = PIN entered
$TIME$ = time of the event as text string
$UNIXTIME$ = time of the event as UNIXTIME
$STATE$ = Status of booking (0: Access OK, 1: RFID unknown, 2: PIN unknown, 3: Double authentication failed, 4: Outside time profile, 5: No door authorization, 6: Authentication error)
$DOORID$ = Clamping unit ID
$DOORNAME$ = name of the door unit
$DOORSERIAL$ = Clamping unit serial number

PowerManager

Example

Code Block
{
    "time": "$TIME$",
    "name": "$NAME$",
    "address": "$ADDRESS$",
    "rcm":
    {
        "ac":
        {
            "value": "$RCM_AC$",
            "alarm": "$RCM_AC_ALARM$"
        },
        "dc":
        {
            "value": "$RCM_DC$",
            "alarm": "$RCM_DC_ALARM$"
        }
    },
    "power_failure": "$POWER_FAILURE_ALARM$",
    "phases":
    [
        {
            "name": "$PHASE_NAME[1]$",
            "number": "$PHASE_NUMBER[1]$",
            "voltage":
            {
                "value": "$PHASE_VOLTAGE[1]$",
                "alarm": "$PHASE_VOLTAGE_ALARM[1]$"
            },
            "current":
            {
                "value": "$PHASE_CURRENT[1]$",
                "alarm": "$PHASE_CURRENT_ALARM[1]$"
            },
            "power":
            {
                "active":
                {
                    "value": "$PHASE_POWER_ACTIVE[1]$",
                    "alarm": "$PHASE_POWER_ACTIVE_ALARM[1]$"
                },
                "reactive":
                {
                    "value": "$PHASE_POWER_REACTIVE[1]$",
                    "alarm": "$PHASE_POWER_REACTIVE_ALARM[1]$"
                },
                "apparent":
                {
                    "value": "$PHASE_POWER_APPARENT[1]$",
                    "alarm": "$PHASE_POWER_APPARENT_ALARM[1]$"
                },
                "factor":
                {
                    "value": "$PHASE_POWER_FACTOR[1]$"
                }
            },
            "frequency":
            {
                "value": "$PHASE_FREQUENCY[1]$",
                "alarm": "$PHASE_FREQUENCY_ALARM[1]$"
            },
            "consumption":
            {
                "value": "$PHASE_CONSUMPTION[1]$"
            },
            "fuse":
            {
                "alarm": "$PHASE_FUSE_ALARM[1]$"
            }
        },
        {
            "name": "$PHASE_NAME[2]$",
            "number": "$PHASE_NUMBER[2]$",
            "voltage":
            {
                "value": "$PHASE_VOLTAGE[2]$",
                "alarm": "$PHASE_VOLTAGE_ALARM[2]$"
            },
            "current":
            {
                "value": "$PHASE_CURRENT[2]$",
                "alarm": "$PHASE_CURRENT_ALARM[2]$"
            },
            "power":
            {
                "active":
                {
                    "value": "$PHASE_POWER_ACTIVE[2]$",
                    "alarm": "$PHASE_POWER_ACTIVE_ALARM[2]$"
                },
                "reactive":
                {
                    "value": "$PHASE_POWER_REACTIVE[2]$",
                    "alarm": "$PHASE_POWER_REACTIVE_ALARM[2]$"
                },
                "apparent":
                {
                    "value": "$PHASE_POWER_APPARENT[2]$",
                    "alarm": "$PHASE_POWER_APPARENT_ALARM[2]$"
                },
                "factor":
                {
                    "value": "$PHASE_POWER_FACTOR[2]$"
                }
            },
            "frequency":
            {
                "value": "$PHASE_FREQUENCY[2]$",
                "alarm": "$PHASE_FREQUENCY_ALARM[2]$"
            },
            "consumption":
            {
                "value": "$PHASE_CONSUMPTION[2]$"
            },
            "fuse":
            {
                "alarm": "$PHASE_FUSE_ALARM[2]$"
            }
        },
        {
            "name": "$PHASE_NAME[3]$",
            "number": "$PHASE_NUMBER[3]$",
            "voltage":
            {
                "value": "$PHASE_VOLTAGE[3]$",
                "alarm": "$PHASE_VOLTAGE_ALARM[3]$"
            },
            "current":
            {
                "value": "$PHASE_CURRENT[3]$",
                "alarm": "$PHASE_CURRENT_ALARM[3]$"
            },
            "power":
            {
                "active":
                {
                    "value": "$PHASE_POWER_ACTIVE[3]$",
                    "alarm": "$PHASE_POWER_ACTIVE_ALARM[3]$"
                },
                "reactive":
                {
                    "value": "$PHASE_POWER_REACTIVE[3]$",
                    "alarm": "$PHASE_POWER_REACTIVE_ALARM[3]$"
                },
                "apparent":
                {
                    "value": "$PHASE_POWER_APPARENT[3]$",
                    "alarm": "$PHASE_POWER_APPARENT_ALARM[3]$"
                },
                "factor":
                {
                    "value": "$PHASE_POWER_FACTOR[3]$"
                }
            },
            "frequency":
            {
                "value": "$PHASE_FREQUENCY[3]$",
                "alarm": "$PHASE_FREQUENCY_ALARM[3]$"
            },
            "consumption":
            {
                "value": "$PHASE_CONSUMPTION[3]$"
            },
            "fuse":
            {
                "alarm": "$PHASE_FUSE_ALARM[3]$"
            }
        }
    ]
}

Possible variables

$TIME$ = time of the event as text string
$UNIXTIME$ = time of the event as UNIXTIME
$NAME$ = name of the smartmeter
$ADDRESS$ = address of the smartmeter
$RCM_AC$ = AC measured value of the differential current meter
$RCM_AC_ALARM$ = AC Alarm status of the residual current meter
$RCM_DC$ = DC measured value of the differential current meter
$RCM_DC_ALARM$ = DC Alarm status of the residual current meter
$POWER_FAILURE_ALARM$ = Power failure Smartmeter alarm 


Phase variables (these are indexed with [])
$PHASE_NAME[1]$ = Name of the phase
$PHASE_NUMBER[1]$ = Phase number
$PHASE_VOLTAGE[1]$ = Measured value of voltage
$PHASE_VOLTAGE_ALARM[1]$ = Alarm status of the voltage
$PHASE_CURRENT[1]$ = Measured value of the current strength
$PHASE_CURRENT_ALARM[1]$ = current alarm status
$PHASE_POWER_ACTIVE[1]$ = Active power measured value
$PHASE_POWER_ACTIVE_ALARM[1] = Active power alarm status
$PHASE_POWER_REACTIVE[1]$ = Measured value of reactive power
$PHASE_POWER_REACTIVE_ALARM[1] = Reactive power alarm status
$PHASE_POWER_APPARENT[1]$ = Measured value of apparent power
$PHASE_POWER_APPARENT_ALARM[1]$ = Apparent Power Alarm Status
$PHASE_POWER_FACTOR[1]$ = Power factor
$PHASE_FREQUENCY[1]$ = Measured value of frequency
$PHASE_FREQUENCY_ALARM[1]$ = Alarm status of the frequency
$PHASE_CONSUMPTION[1]$ = Current power consumption value
$PHASE_FUSE_ALARM[1]$ = Alarm status of a fuse


AlarmManager

Example

Code Block
{
    "time": "$TIME$",
    "building": "$BUILDING_NAME$",
    "alarmzone": "$ALARMZONE_NAME$",
    "alarmzone-state": "$ALARMZONE_STATE$",
    "device": "$DEVICE_NAME$",
    "address": "$DEVICE_ADDRESS$",
    "temperature": "$TEMPERATURE_VALUE$",
    "temperature-alarm": "$TEMPERATURE_ALARM$",
    "humidity": "$HUMIDITY_VALUE$",
    "humidity-alarm": "$HUMIDITY_ALARM$",
    "dewpoint": "$DEWPOINT_VALUE$",
    "dewpoint-alarm": "$DEWPOINT_ALARM$",
    "fire": "$CO_VALUE$",
    "fire-alarm": "$CO_ALARM$",
    "intrusion": "$MOTION_VALUE$",
    "intrusion-alarm": "$MOTION_ALARM$",
    "vibration": "$VIBRATION_VALUE$",
    "vibration-alarm": "$VIBRATION_ALARM$",
    "input1": "$INPUT_VALUE[1]$",
    "input1-alarm": "$INPUT_ALARM[1]$",
    "input2": "$INPUT_VALUE[2]$",
    "input2-alarm": "$INPUT_ALARM[2]$",
    "connection": "$CONNECTION_VALUE$",
    "connection-alarm": "$CONNECTION_ALARM$",
    "extpower": "$EXTPOWER_VALUE$",
    "extpower-alarm": "$EXTPOWER_ALARM$"
}

Possible variables

  • $DEVICE_ID$ = ID of the device
  • $DEVICE_NAME$ = Name of the device
  • $DEVICE_ADDRESS$ = Address of the device
  •  
  • $ALARMZONE_ID$ = ID of the alarm zone
  • $ALARMZONE_NAME$ = Name of the alarm zone
  • $ALARMZONE_STATE$ = status of the alarm zone
  •  
  • $BUILDING_ID$ = ID of the building
  • $BUILDING_NAME$ = Name of the building
  •  
  • $INPUT_VALUE[1]$ (1-16) = Measured value of the selected input (1-16)
  • $INPUT_ALARM[1]$ (1-16) = Alarm state of the selected input (1-16)
  • $BATTERY_LEVEL$ = Battery charge level
  • $BATTERY_VOLTAGE$ = Battery voltage
  • $BATTERY_ALARM$ = Alarm state of the battery
  • $CO_VALUE$ = Measured value of the CO sensor
  • $CO_ALARM$ = Alarm state of the CO sensor
  • $DEWPOINT_VALUE$ = Measured value of the dew point sensor
  • $DEWPOINT_ALARM$ = Alarm state of the dew point sensor
  • $HUMIDITY_VALUE$ = Measured value of the humidity sensor
  • $HUMIDITY_ALARM$ = Alarm state of the humidity sensor
  • $LATENCY_VALUE$ = Measured value of the server monitoring
  • $LATENCY_ALARM$ = Alarm state of the server monitoring
  • $MOTION_VALUE$ = Measured value of the motion sensor
  • $MOTION_ALARM$ = Alarm state of the motion sensor
  • $REED_VALUE$ = Measured value of the door contact
  • $REED_ALARM$ = Alarm state of the door contact
  • $CONNECTION_VALUE$ = Measured value of the connection monitoring
  • $CONNECTION_ALARM$ = Alarm state of the connection monitoring
  • $EXTPOWER_VALUE$ = Measured value of the power supply
  • $EXTPOWER_ALARM$ = Alarm state of the power supply
  • $TEMPERATURE_VALUE$ = Measured value of the temperature sensor
  • $TEMPERATURE_ALARM$ = Alarm state of the temperature sensor
  • $TILT_VALUE$ = Measured value of the sabotage sensor
  • $TILT_ALARM$ = Alarm state of the sabotage sensor
  • $VIBRATION_VALUE$ = Measured value of the vibration sensor
  • $VIBRATION_ALARM$ = Alarm state of the vibration sensor
  • $SNMP_VALUE$ = Measured value of the SNMP query
  • $SNMP_ALARM$ = Alarm state of the SNMP query
  •  
  • $TIME$ = Time of the event as text string (Same as with KPM, KXP)
  • $UNIXTIME$ = Time of the event as UNIXTIME (Same as with KPM, KXP)