Page 1 of 1

timeobject[2].value

Posted: Wed Jan 03, 2018 6:25 am
by oakbarn
In the API you can call a timer value. What is the value format?

What would 5 minutes be?

How about 1 Minute.

BBralley helped me make a Single Timer and Temp on an html that I can run on a screen and see across the room. I am trying to modify it so that the color changes at <= 5 minutes and again at 1 Min,

I will have a countdown timer that is color "lime" until <= 5 when it will turn "red". When it gets to <= 1 minute, the background will turn "yellow".

I just do not know the format of the timer object.value. Seconds? :D

Re: timeobject[2].value

Posted: Sat Jan 06, 2018 4:17 pm
by bbrally
The BCS returns time values in tenths of a second. So 5 minutes would be 5 * 60 * 10 = 3000