Page 1 of 1

API Trigger on iot cloud server

Posted: Mon Jan 02, 2017 5:20 pm
by olivier.butler
Hi,

are the triggers working on iot.espressif.cn ?

I set some new ones , and they are doing nothing.
I set a trigger 6 months ago, it was working, but not anymore.
is there an issue ?

regards
Olivier

Re: API Trigger on iot cloud server

Posted: Wed Jan 04, 2017 11:39 am
by ESP_Xutao
Hi;
what's trigger?our iot support plug、light and sensor.

Re: API Trigger on iot cloud server

Posted: Wed Jan 04, 2017 8:52 pm
by olivier.butler
Hi,

Yes sorry for been not accurate.
Yes it is about the iot device in sensor mode. ( see attached picture )
trigger.png


it worked in the past, but now nothing happens


Regards
Olivier

Re: API Trigger on iot cloud server

Posted: Mon Jan 16, 2017 6:28 pm
by olivier.butler
Hi,

Do you have any news ?

Regards
Olivier

Re: API Trigger on iot cloud server

Posted: Fri Feb 17, 2017 6:20 pm
by wuyunzhou
can you check now?
the trigger will post as fellow:
{
"device": {
"id": 770197835,
"created": "2016-12-19T23:42:42+08:00",
"updated": "2017-02-17T00:30:19+08:00",
"visibly": true,
"ptype": 45772,
"product_id": 1580185304,
"productbatch_id": 0,
"name": "548c6",
"description": "f117e",
"serial": "2e5ff350",
"bssid": "b083feb39ad5",
"is_private": true,
"is_frozen": false,
"status": "developing",
"metadata": "a85dd",
"key_id": 1870208457,
"location": "",
"last_push": "0001-01-01T08:00:00+08:00",
"last_pull": "0001-01-01T08:00:00+08:00",
"last_active": "2017-02-16T16:30:19+08:00",
"last_activated_at": "2016-12-22T13:44:08+08:00",
"activate_status": "activated",
"activated_at": "1970-01-01T08:00:00+08:00",
"rom_version": "",
"latest_rom_version": ""
},
"trigger": {
"id": 639454757,
"created": "2017-02-18T01:31:53+08:00",
"updated": "2017-02-18T01:36:14+08:00",
"visibly": true,
"name": "ffff",
"trigger_type": "deviceDatastream",
"product_id": 0,
"device_id": 770197835,
"datastream_tmpl_id": 1184225554,
"dimension_index": "x",
"interval": 0,
"interval_func": "max",
"compare_type": "gt",
"threshold_value": 1,
"notified_at": "0001-01-01T08:00:00+08:00",
"message_user": "none",
"url": "http://cloudzhou.org:10001/trigger/webhook1",
"notify_id": 0,
"activate_status": true,
"interval_ts": "0001-01-01T08:00:00+08:00",
"interval_value": 0,
"interval_cnt": 0
},
"value": 2
}