Skip to Content

Problem in creating Alarms in IOT 4.0

Hi All,

I have a problem in creating alarms in IOT Service Cockpit.

Initially,

1. I have created a rule in rule wizard using physical nodes by giving certain threshold to the parameters and posted values using postman that reaches the threshold value.

Below are the images regarding rule creation using physical nodes and data posting in postman.

iot2.jpg iot1.jp iot3.jpg

2. I have also tried by creating a rule using groovy script by setting the security alert message and threshold values in the script.

Below is the groovy script I have used.

iot5.jpg

3. And also tried creating a rule using IOT service APIs in the script based rule.

Below is the script I have used.

iot6.jpg

In all the above cases, rule is created successfully, but alarm is not.

Please someone help me out in this regard.

Thanks in Advance,

Medini H K

iot2.jpg (130.2 kB)
iot1.jpg (111.0 kB)
iot5.jpg (19.3 kB)
iot6.jpg (220.3 kB)
iot3.jpg (119.3 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Nov 06, 2017 at 03:43 PM

    Hi Medini,

    the data issued with Postman is in an old format.

    Please check the SAP Help Portal then select under Configuration the link Internet of Things Gateway.

    In the Table of Contents on the new window's left pane follow the path: Message Format -> Payload Format Examples for MQTT and REST -> Single Measurement.

    In the page shown you can find examples of the new REST payload.

    Best regards

    Flavio B.

    Add comment
    10|10000 characters needed characters exceeded