PDA

View Full Version : How integrate LMS and an android clock application ?



minscof
2016-01-02, 03:05
I want to use an android clock application on a tablet like these ones
https://play.google.com/store/apps/details?id=com.alarmclock.xtreme.free
https://play.google.com/store/apps/details?id=com.apalon.myclockfree&rdid=com.apalon.myclockfree
https://play.google.com/store/apps/details?id=ch.bitspin.timely

and I would like to synchronize these applications' alarms with LMS one, to wake up with LMS music.


How can I do this ?
Is there any android clock application that can trigger http request when you set the alarm ? ...

Thanks for help

karlek
2016-01-02, 04:22
Which device should play the music?

minscof
2016-01-02, 09:51
The android device should play the music. It already has squeeze player for that.

Any idea ?

d6jg
2016-01-02, 13:51
Can't you set the squeeze player alarm through LMS and just have the clock as a clock?
I have never tried it but I have SB Player installed on a tablet and the alarm settings are available through LMS.

minscof
2016-01-03, 01:54
Can't you set the squeeze player alarm through LMS and just have the clock as a clock?
I have never tried it but I have SB Player installed on a tablet and the alarm settings are available through LMS.

Sure, I can set the alarm through LMS web interface, but I would prefer to do it through the android clock application. That's what I m looking for.

maxjhodgson
2016-01-03, 14:26
Hi,

It's a bit involved and it depends on your Android experience. But you can probably do it with the Tasker App and a couple of plugins for it.

I can't post links, but the apps are on the Google Play Store.

Tasker (A very powerful Android automation app)

AutoAlarm :- A plugin for Tasker, which can read the Alarm time set on the built-in Android alarm clock and have Tasker act on the data it receives.

AutoSqueeze :- Control an LMS server from Tasker. This you can use to send CLI commands to an LMS server, Play, Stop,Power On Off etc.

My thinking is that you can set an alarm in Android, this gets parsed to Tasker. Tasker then creates a calendar entry from the alarm time data it recieves.

The time of the calendar entry comes up (say 7am), this activates another Tasker task, which calls the AutoSqueeze plugin to tell the LMS start playing something on the Squeeze player app running on the phone.

Or, if you are feeling adventurous and delving into the CLI documentation. Get Tasker to take the alarm time data (from AutoAlarm) and directly enter it (via AutoSqueeze) into the LMS alarm system.

I have never done this, but I do use all 3 of the above apps to do other stuff separately.

Warning, Tasker has a very steep learning curve, but you can do loads with it.

Max

minscof
2016-01-04, 14:26
Thanks for your reply. I m going to study that. I already use tasker.

malaugh
2016-01-07, 08:45
I have an Zettaly Avy android alarm clock, which as absolutely great.

http://www.amazon.com/Zettaly-Wireless-Speaker-Internet-Powered/dp/B00WR3W2TA?ref_=pe_623860_70668520

I use alarm clock plus as the clock app,

https://play.google.com/store/apps/details?id=com.vp.alarmClockPlusV2&hl=en

This is a good app because it has hardware dimming so the clock does not blind you in the night, and it also has buttons at the bottom you can program to activate any app, and you can also set the alarm app.

Personally I use the Tunein app to turn on the radio.

https://play.google.com/store/apps/details?id=tunein.player&hl=en

I do not know if a squeezebox app will work, but its worth a try.