ostrya / PresencePublisher

An Android MQTT client that regularly publishes messages to notify about the device's presence
MIT License
79 stars 12 forks source link

alarm clock #46

Closed tomamplius closed 2 years ago

tomamplius commented 2 years ago

Do you think that is possible to publish alarm clock? From Android clock? Maybe from Android AlarmManager. The goal is laucher action before wake up the morning. Thanks for your reply.

ostrya commented 2 years ago

I don't quite understand. What would you like to do? Publish the next alarm clock time that you have set in the time app? Publish an event when your alarm clock rings?

tomamplius commented 2 years ago

I think that "Publish the next alarm clock time that you have set in the time app" is the best solution to solve my issue. I want to launch 15 minutes before wake up the bathroom heating.

ostrya commented 2 years ago

Sure, I will have a look.