Dear Christophe,
Netro IFTTT returns local time for convenience, where the time zone is determined by your device address. The API returns
1. date: local date
2. start_time: local start time, please use only the time part and ignore the date and time zone part if any.
3. end_time: local end time, similar with above.
We have checked the API, it seems OK. For example, you have a schedule on 2020/09/10, from 06:00am to 06:28am, the API returns:
{"device":"Pontaillac ","zone":1,"date":"2020-09-10","start_time":"2020-09-10T06:00:00.000Z","end_time":"2020-09-10T06:28:00.000Z","source":"SMART","status":"EXECUTED","meta":{"id":94827648,"timestamp":1599710400}}
Please note that "2020-09-10T06:28:00.000Z" is not UTC time, only use the "06:28:00" part, although system may add date and timezone part automatically.
Please let us know if you have more concerns.
Please find below my log of IFTTT for the event you refer to.
As you can see the end time does not match with the time the event has been reported at (8:28 am vs. 6:28 am) as mentioned in my first post.
Please advice,
Christophe
Applet ran
Sep 10 - 6:28 AM
Netro
If a watering schedule of Pontaillac/Puit is finished, then report start time to Jeedom
Netro has just watered your yard.
Hide details
Trigger ingredients
Date
September 10, 2020
Device
Pontaillac
EndTime
September 10, 2020 at 08:28AM
Source
SMART
StartTime
September 10, 2020 at 08:00AM
Status
EXECUTED
Zone
1
THEN THAT Make a web request method GET url https://xxx.yyy.net/core/api/zzzzzzz?api=1111111111111111111111111111111111111111111&value={{StartTime}}
- test condition from the IFTTT Netro service "schedules"
- then do a http GET request using the IFTTT Webhooks service "Make a web request", using the start time as a value in the http request provided
Is that clearer ? Please advice.
Christophe