--
You received this message because you are subscribed to the Google Groups "Sleep as Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sleep-as-an-dr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "Sleep as Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sleep-as-an-dr...@googlegroups.com.
I've been trying to get Sleep as Android working with my Pebble, and I thought I might be able to do it, but it looks like I can't. I guess I'm going to have to look into App Reactor to see if I can get it to talk to the Pebble.
Just a suggestion, if you got Tasker integration working, you could skip Pebble integration [and possibly other devices, if they can communicate with Tasker], release some Tasker tasks to work with Pebble, and 'kill two birds with one stone.'
Petr:I'm interested in having Sleep As Droid be a central control for all my sleeping needs. Having SAD trigger tasker would be a cleaner and more stable solution. (Deliberate invocation vs trying to figure out the state of an independant app)
The API for SAD also seems to lack notification for the start of the smart wakeup period.
Although I don't write for Android yet, I can dig up some integration code if it would help. I can probably get a pulldown menu listing Tasker tasks and a function to call one. I think I saw an example class somewhere and Ive been meaning to dip my toes into Android dev anyway.
James:Tasker examples would be great! I write system and kernel level code for embedded devices, I'm just not as familliar with Android dev as I'd like to b; I've got to read up more on intents and such.
Thank you both!
--
You received this message because you are subscribed to the Google Groups "Sleep as Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sleep-as-an-dr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
This is how you achieve the direction SaA -> Tasker when sleep tracking is started for example:
Create a new task, click + and choose "Action Intent" from the "Misc" category and there you fill in com.urbandroid.sleep.alarmclock.START_SLEEP_TRACK into the action text field.
Put the intent to watch for in the Action field.
This seems a good place to bring this up since it is a discussion about Sleep As Android intents available to Tasker (and other 3rd party apps). Before switching to SAA, I used to use Gentle Alarm for my alarm clock. I have a profile in Tasker than can disable my usual "Workday" alarm for days that I am off of work based on a Google Calendar that I have that contains all of my Work holidays and vacation days (when I put them in). This has been very useful to me.It seem that SAA may have the potential to allow this as long as there is an intent that would permit me to enable/disable an SAA alarm (I could identify the specific alarm by using its string name). It such an intent available? If not, might you be able to add one?Thanks,-SR-PS: Great work on this app!
--
You received this message because you are subscribed to the Google Groups "Sleep as Android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sleep-as-an-dr...@googlegroups.com.
React on Sleep as Android events in Tasker
Misc -> Intent received
while (true) { waitForIntent(
waitForIntent("com.urbandroid.sleep.alarmclock.ALARM_ALERT_START"); waitForConnectivity();
waitForConnectivity();
// Hook your coffee machine to this request :)
httpGet("http://mylocalserver/startcoffee"); }
}
REACTOR
ParserException: Unknown token type MOD
> I am not affiliated with the developer, but I have spoken to him and told
> him he could write a Locale plugin to have his app show up under "3rd Party
> Plugins", he said he would put it on his to-do list.
Ah, let's leave it at that then.
There's some Tasker-specific plugin info you could pass along:
http://tasker.dinglisch.net/plugins.html
Pent
React on Sleep as Android events in Tasker
Misc -> Intent received
| |||||
| |||
| ||||||||||
| |||
| |||
| ||||||||||
| |||
| |||
| |||
|
|||||||
With tasker you will need to use another app like autoshare to allow tasker to react to broadcast intents.
| |||||
| |||
|
|
| |||
| |||||||||
|
| |||
| |||
|
My mistake Petr. They moved the event for receive intent in tasker. It's now "event" -> "system " -> "intent received"
Auto share does allow for intent reception as well. I had found a forum post somewhere that implied auto share was now required. It's not.
| |||||
| |||
|
|
| |||
|