LoxClock for Android
What does LoxClock Do?
LoxClock takes over your Alarm settings from your Android phone.
It sends the first upcoming alarm as an UDP package to your Loxone Miniserver.
The app runs in the background. You only need to adapt your alarm settings as you are used to by using your favorite Alarm app.
How to get LoxClock?
LoxClock can be found on Android Playstore.
What settings need to be adapted in the app?
Select the person for who the app should send the values
At the moment up to 6 users can be defined in the app.Fill in the IP-Adress of your Loxone Miniserver
Fill in the UDP port you want to send the UDP packages to.
You later need the fill in the same UDP port to listen to in your Loxone Miniserver
How to set the UDP input in Loxone Config?
First create a Virtual UDP input
Give this input a name and a port number
Next create a Virtual UDP input command
Give it a Name, select "Use as Digital input" & set as Command recognition "Person_1".
The loxClock app will send an UDP Package containing "Person_X"at the moment your alarm goes off on your phone.
If you want, you can perform certain actions based on this pulse.
For each person you need to cerate a Virtual UDP input command. Only the command recognition needs to be changed. (Person_2, Person_3, ...).Create a second Virtual UDP input command.
Fill in the Name, remove checkmark for "use as digital iput", set as Command_recognition "\v_1" and change the Unit to <v>
For each person you need to create a Virtual UDP input command. Only the command recognition needs to be changed. (\v_2, \v_3, ...).
This UDP package will contain the next scheduled alarm in seconds.Your overview within "Virtual inputs" should look something like:
How to handle the UDP packages?
Create a marker which contains the current time in seconds:
Formula: I1*86400+I2*3600+I3*60+I4How to perform an action earlier than the set alarm clock?