I'm very proud to share my first ever android application: LoxClock.
What does LoxClock do?
LoxClock takes over the set alarm of your android mobile phone. It sends this as an UDP package to your miniserver. Now your Miniserver knows exactly when you are going to wake up.
There is already a Alarm build in the Loxone config, what's the added value?
I'm using the alarm clock on my mobile phone already for more than a decade. I'm so used to this way of waking up, that I do not want to use a other system.
This app combines my way of waking up to my smart home.
Since the Loxone Miniserver now knows exactly when you will wake up, it can also perform actions prior to your alarm. How nice is that?!
Okay, where can I find the app?
Update September 2nd, 2020: The app can be downloaded from the Android Playstore.
How to set up the app?
- Go to the preferences
- Select a person (1-6)
- Fill in the ip-adress of your Loxone Miniserver (ex: 192.168.x.x)
- Fill in the the UDP port you want to use.
- First Determine the current time in seconds. Create A Marking for this value:
Creation of UDP receivers:
- Create a virtual UDP receiver and give it the same port number als you did in the app.
- Create a virtual UDP command receiver with command: "Person_1" without "".
This is your alarm clock pulse. For the other persons change the number after _ for each UDP receiver.
- Create a virtual UDP command receiver with command: "\v_1" without "". Make sure "use as digital input" is not selected. Also change at the bottom the format from <v.1> to <v>.
This represents the alarm clock in seconds counted from epoch Loxone. The 1 respresents person 1.
For person 2 it would be "\v_2", etc.
Check the earliest alarm. Based on this alarm you can perform actions prior to the alarm goes of:
Kommentar