API Trigger on iot cloud server

olivier.butler
Posts: 6
Joined: Fri Dec 25, 2015 9:31 pm

API Trigger on iot cloud server

Postby olivier.butler » Mon Jan 02, 2017 5:20 pm

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

ESP_Xutao
Posts: 134
Joined: Tue Sep 27, 2016 5:42 pm

Re: API Trigger on iot cloud server

Postby ESP_Xutao » Wed Jan 04, 2017 11:39 am

Hi;
what's trigger?our iot support plug、light and sensor.

olivier.butler
Posts: 6
Joined: Fri Dec 25, 2015 9:31 pm

Re: API Trigger on iot cloud server

Postby olivier.butler » Wed Jan 04, 2017 8:52 pm

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

olivier.butler
Posts: 6
Joined: Fri Dec 25, 2015 9:31 pm

Re: API Trigger on iot cloud server

Postby olivier.butler » Mon Jan 16, 2017 6:28 pm

Hi,

Do you have any news ?

Regards
Olivier

wuyunzhou
Posts: 12
Joined: Fri Apr 10, 2015 3:46 pm

Re: API Trigger on iot cloud server

Postby wuyunzhou » Fri Feb 17, 2017 6:20 pm

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
}

Who is online

Users browsing this forum: No registered users and 7 guests