I'm writing a simpe app to allow club members to press a button on a web site which will turn the heating (comfort timer) on for 1 hour.
I have worked out the API call, but cannot work out the time aspect of the API call.
The API call looks like this.
Setting = 1 : Comfort Timer
Setting = 0: Eco Timer
If I omit the time portion then the default seems to be 23:59 on the same day.
For today (29th November), if I use the interface and at 22:20, set the override for 10mins, I get the number 502151400. Any ideas what calculation is used to generate that number. Its clearly not epoch time.
Thanks.
Nick.
Kommentar