Page 1 of 1

Update failed from API

Posted: 04 Apr 2014 14:27
by zoic22
Hi,

I use your API in my own automation application but I have some bug on update : sometimes I don't get the update from API (but it's ok on zway interface) and if a do manualy update on zway interface API send me an update.
I use API like that :
- Call API with last received datetime (if null I use now - 24 hour)
- I do my job (update BDD, send event....)
- I persit "updateTime" to reuse on next check

But it's seem I got lost event, I can't understand why.
Is that I make a mistake in my use of the API ?

Re: Update failed from API

Posted: 15 Apr 2014 01:17
by PoltoS
I'm sure it is on your side, since the Z-Way interface uses same API.

Not that it is suggested to use 0 instead of datetime first time, since datetime can easily be > than updateTime values (and this can result in events loss)