Skip to Content

Tigerair data postings not working anymore

Hello,

Currently, when I try to post air quality readings using the tigerair tutorial (https://wiki.wdf.sap.corp/wiki/pages/viewpage.action?pageId=1863035211), it is failing with the message below. This was working fine until a few weeks ago. Has something changed in the way the tigerair call should be made from the NodeMcu?

Thank you,

Harold

[HTTP] begin... [HTTP] host iotmmsac8e076dd.hana.ondemand.com [HTTP] url /com.sap.iotservices.mms/v1/api/http/data/9E1A949E72524159A40FB8952FB72711/19fb68a71e57e2e39462/sync?air_quality_level=20&thetime=1499780771 [HTTP] POST... [HTTP] POST ... failed, no connection or no HTTP server, leaving the led on [HTTP] begin... [HTTP] host iotmmsac8e076dd.hana.ondemand.com [HTTP] url /com.sap.iotservices.mms/v1/api/http/data/9E1A949E72524159A40FB8952FB72711/19fb68a71e57e2e39462/sync?air_quality_level=21&thetime=1499780786 [HTTP] POST... [HTTP] POST... code: 500 Payload {"msg":"Processing 1 message(s) received from device [9E1A949E72524159A40FB8952FB72711] failed"} [HTTP] begin... [HTTP] host iotmmsac8e076dd.hana.ondemand.com [HTTP] url /com.sap.iotservices.mms/v1/api/http/data/9E1A949E72524159A40FB8952FB72711/19fb68a71e57e2e39462/sync?air_quality_level=21&thetime=1499780801 [HTTP] POST... [HTTP] POST... code: 500 Payload {"msg":"Processing 1 message(s) received from device [9E1A949E72524159A40FB8952FB72711] failed"}

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jul 13, 2017 at 06:31 AM

    Hi Harold,

    it may be possible that the token, which is used to forward the measures from IoT Services to IoT Application Enablement, was invalidated. What you can do is, first create a copy of your Thing Type, create a new Thing in IoT AE and last update the NodeMCU firmware to reflecting the new Thing ID, Message ID and OAuth Token.

    Best regards
    Christian

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Harold,

      sorry for the late response, you really need to create a new thing type first. Afterwards you can create a new Thing. Do not forget that the Message ID in IoT Services is a different one for the new thing type.

      Regards
      Christian