I'm currently trying to develop a device that will work with the Google assistant. I've followed the Google codelab to set up firebase with the dummy project.
Now I'd like to implement the Timer trait. I'm currently able to set a timer by voice command on my virtual device using action.devices.commands.StartTimer
but it only seems to set the desired timer duration in the database and doesn't not actually start it because when I ask "how many minutes are left on the timer" , it answers with the time initially set.
Do I need to pass the information to the device itself, that will handle the countdown and update firebase in real-time so when I do a QUERY
, I get the timerRemainingSec
from the device through the database ?
Thanks !