Skip to Content
0

Tigerair data postings not working anymore

Jul 12, 2017 at 01:54 PM

70

avatar image

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"}

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Christian Schuerings
Jul 13, 2017 at 06:31 AM
0

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

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Christian

Thank you for your reply. Would it be possible to create a new thing referencing the old thing type or is the creating of a new thing type also required?

Thank you,

Harold

0

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

0