From Ashvin Vijayakumar on 2017/07/09 05:42:38 +0000
Needs to be through Google Assistant
From Thomas Schindele on 2017/05/01 17:31:57 +0000
And Alexa?
Via IFTTT?
From Petr Nálevka on 2017/03/15 16:48:23 +0000
I did not test on Google Home, but we had previously Now integration so basically telling Google Now "Start sleep tracking with Sleep" will start sleep tracking, also we support the standard start workout fitness intent and on Android Wear you can use "Start sleep tracking"…
From Zach on 2017/03/15 15:32:47 +0000
And/Or Google Assistant
From Gergely Pongrácz on 2017/02/21 10:40:54 +0000
Use the tasker app!
I made an ifttt applet so that if I tell Google assistant / Google home to start sleep tracking, it’ll send a pushover notification (lowest priority so I don’t hear or see it) with a specific title (IFTTT_START_SLEEP_TRACKING… I know, it’s not very creative…) to my phone. Then I have a Tasker profile to trigger from that and it will start sleep tracking. It works surprisingly well considering how it’s Google > ifttt > pushover > Tasker > sleep as Android. It’s nearly instantaneous.
Sven_Haaijman: I would love to do that. I’m a new user to ifttt and never used pushover or tasker. Do you have any suggestions to get started? I’d love to recreate what you’ve done.
Hi, we are planning Google Home / Assistant integration definitely, so stay tuned!
Jiri, any timeline on when it will be available
@Rune_Antonsen sorry, we don’t have a timeline as currently we are still trying to recover from a big rewrite we had to do due to new stricter Android policies that took charge from Nov 1st. And the next big thing on our plate is automatic sleep tracking start so that will be a priority. But this is definitely high on our todo list.
I definitely want to add my voice to support this. I often get ready for bed and put my phone down. I have home/assistant run several things for me before sleep and that sometimes makes me forget to do sleep tracking. It would be awesome if I could make Google do it.
@jiri-urbandroid Hi, I’m really looking forward to this feature, and I can’t wait to see it. Something I would suggest is to make a Sleep As Android skill for the Google Assistant in general, which could allow anyone with the Google Assistant to initiate sleep tracking and/or set an alarm inside of Sleep As Android.
I’m not entirely sure what Google Assistant skills have access to (in terms of sensors, radios, etc) but it would be really cool if you ask a Google Assistant smart display “Wake me up around 7:30 tomorrow morning” and it would set a smart alarm using Sleep As Android. Or maybe you could say to it “Hey Google, start sleep tracking.” And it would say “Okay, which alarm do you want me to wake you up with?” And you could either set an alarm through it or you could use a preset, and then after selecting one it would say “Okay, I’ve started your sleep tracking. Good night!”.
Then maybe once you wake up, it will do the alarm just like it would on the app, using the sounds and settings you selected. It would also be really cool if it would support the captcha features, and you could do the captchas right from the smart display, but it would detect you getting out of bed and wouldn’t turn off the alarm or let you do the captchas until you’re out of bed.
This would be perfect for the newly announced Lenovo Smart Clock, because it’s made to sit right beside your bed while still being capable of a lot of the stuff every other Google smart display can do.
Thanks for all your hard work! Your app is probably my favorite app ever!
I have this set up using ifttt to send me a text message which triggers this Automate flow (free, unlike Tasker) : http://llamalab.com/automate/community/flows/27657
Only requires the phone screen to be unlocked.
@jiri-urbandroid Any updates on this feature? It’s been a few months since anyone has talked about it; figured I’d check in.
I’m especially looking forward to Google Home integration; being able to set smart alarms as part of the “Good Night” routine, have them trigger sleep tracking on my phone and watch, and turning them off like a standard Assistant alarm would be killer.
I guess it would be really really cool and usefull to get G-Home integration.
Cause most smarthome products ( lamps, wall plugs e.g. ) have G-Home support also.
So in my idea, a simple “good night” to G-Home should turn off the lights and other defined devices, and also should start sleeptracking.
Really looking forward to something like this.
Hi, guys.
You can do it via app called Tasker.
So I’m currently programming a bot for Google assistant, and while this defiantly would be possible to add in and potential isn’t actually that hard, it has some drawbacks.
Google Assistant only really allows integration through external bots, and apps cannot be linked into default commands. Therefore, commands like “set an alarm for X” or “good night” or even “start sleep tracking” wouldn’t be possible, as far as I can tell. The best alternative could still be “tell sleep as android to start tracking” which isn’t too bad. Maybe a better name than sleep as android for the Assistant module may be needed because I’m not sure if you can have the word “Android” in a bots calling command, however this wouldn’t be too hard to implement.
Hello Daniel, may I use your expertise here. The issue I see is how to tell the SaA app on your phone that the users did issue the command. The app is designed as offline and there is no authentication. So we would need to have some could service which is called though the assistant and than somehow direct a cloud messaging message to all devices of the users and see if on one of them SaA is listening. But I’m not sure if we can even somehow pair the users? Do you have any idea how this could be done?
I think what you are looking for is the “app actions” integration, however I’m not entirely sure if that is suitable.
Hypothetically, it should just be an extension of the app, and from what I can tell (I haven’t used this specific Assistant tool before), it should do what you intend. You can definitely set it up so a user can use Google Assistant to start sleep tracking. The only thing I can’t figure out is if this works across devices, so that a Google Home could be used instead of a phone itself. If this isn’t something you’d want, then this is probably what you need from what I can tell.
My knowledge is mainly in the conversational aspect of Google Assistant, being able to communicate with a backend webhook server. You could quite cheaply and easily setup a webhook server that could handle what you need to do and more. Google have a free service a a part of Firebase which allows for almost instant communication between a server and devices. It’s preauthenticated through Google, and is trivial to implement into the webhook server.
If you want to discuss this in more depth, a better way to contact me would probably be Discord, due to substantialky quicker responses, but I am always available here. Discord: @DanPerks#6755