LoxClock for Android

Einklappen
X
 
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge
  • K.Clemens
    Smart Home'r
    • 28.08.2015
    • 92

    #1

    LoxClock for Android

    Hi fellow Loxone users,

    I'm very proud to share my first ever android application: LoxClock.
    Klicke auf die Grafik für eine vergrößerte Ansicht  Name: Screenshot_20200826-135406.jpg Ansichten: 0 Größe: 177,2 KB ID: 262723

    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?
    1. Go to the preferences
    2. Select a person (1-6)
    3. Fill in the ip-adress of your Loxone Miniserver (ex: 192.168.x.x)
    4. Fill in the the UDP port you want to use.
    How to set up Loxone Config?

    - First Determine the current time in seconds. Create A Marking for this value:
    Klicke auf die Grafik für eine vergrößerte Ansicht  Name: present time.JPG Ansichten: 0 Größe: 22,2 KB ID: 262724
    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:
    Klicke auf die Grafik für eine vergrößerte Ansicht  Name: determine earliest alarm.JPG Ansichten: 0 Größe: 49,7 KB ID: 262725
    Zuletzt geändert von K.Clemens; 02.09.2020, 16:27.
  • querex
    Extension Master
    • 14.07.2020
    • 177

    #2
    Looking good, I will give it a try! Thanks for sharing!
    Smart home : Miniserver Gen2, 2xRelay ext, 2xDimmer ext, 4xExtensions, Tree ext, Air base ext, RGBW dimmer tree, 13xTouch tree, 6xMotion sensor tree, 9xEsylux PD-C 360i 8UC, 15xValve actuator tree, 9xSmoke detector air, 4xSmart socket air , IR control air, Remote air, SDM630 modbus kWh
    Multimedia: MS4H on PI4 with 7 zones + Dayton Audio MA1240a, Epson EH-TW7100 + Onkyo TX-NR686 + IR repeaters
    Peripherals: Loxberry on PI4, Mobotix T26 doorbell, AVS TS85X-2 LED siren, Xiaomi MiJia 1S

    Kommentar

    • Lightpicture
      Lebende Foren Legende
      • 16.11.2015
      • 3622

      #3
      K.Clemens
      I can't download the file.
      FG
      Lightpicture

      Nur ein Netzwerkkabel ist richtiges WLAN

      Kommentar


      • Loxtom577
        Loxtom577 kommentierte
        Kommentar bearbeiten
        Download with Firefox for Android / Android 10 does not work.
        Download with Firefox / Windows 10 works.

      • Lightpicture
        Lightpicture kommentierte
        Kommentar bearbeiten
        With the second link it works well.
        Thank you.
    • K.Clemens
      Smart Home'r
      • 28.08.2015
      • 92

      #4
      For me the download works.

      Kommentar

      • Pippo74
        LoxBus Spammer
        • 13.01.2018
        • 210

        #5
        Hi Clemens,

        what a nice idea, thanks for sharing it!

        Will give it a try, since I'm actually the only one in my family to use Loxone alarm clock. J

        Update: tried it and it works fine, good work Clemens!

        I've already noticed some items:

        1- If I'm going to change the alarm clock on the Cellphone, then I need to click-execute LoxClock, so that the new time will be sent to the Miniserver.

        2- If the Person 2 does not have any alarm set, then the MIN/MAX block will return 0, because the time for the Alarm clock is 0. But I'm sure this can be fixed easily with a bit of Config further programming. J

        In Loxone Config would be interesting to customize diffent actions (handle windows shadows for ea. different room) according to ea. alarm clock.
        Zuletzt geändert von Pippo74; 27.08.2020, 12:10.

        Kommentar

        • K.Clemens
          Smart Home'r
          • 28.08.2015
          • 92

          #6
          Hi Pippo74,

          Thank you for downloading and testing the app.

          Can you elaborate a bit more about point 1? Can you share a screenshot?
          Furthermore, can you give some more information about which phone, version of android etc?

          What I noticed is that on some phones I need to press the square button on the bottom and activate "the lock" for the app, so it keeps working.
          Also, you have to go to "Ignore battery optimization" and add the LoxClock app there. Otherwise it will be closed in the background.

          Regarding your second point. Indeed, the value will be zero. But I created a very simple example. I think there are Loxone users with much more experience within Loxone Config who can come up with a very nice solution.
          Zuletzt geändert von K.Clemens; 28.08.2020, 08:54.

          Kommentar

          • TomekWaw
            LoxBus Spammer
            • 25.07.2019
            • 436

            #7
            Great idea! I was thinking how to link Android alarm clock before buying Loxone Nightlight. Now I believe Nightlight gives me a bit more features
            Noch ein oder zwei Jahre mit Loxone und ich werde Deutsch sprechen

            Kommentar

            • Pippo74
              LoxBus Spammer
              • 13.01.2018
              • 210

              #8
              Zitat von K.Clemens
              Hi Pippo74,

              Thank you for downloading and testing the app.

              Can you elaborate a bit more about point 1? Can you share a screenshot?
              Furthermore, can you give some more information about which phone, version of android etc?

              What I noticed is that on some phones I need to press the square button on the bottom and activate "the lock" for the app, so it keeps working.
              Also, you have to go to "Ignore battery optimization" and add the LoxClock app there. Otherwise it will be closed in the background.

              Regarding your second point. Indeed, the value will be zero. But I created a very simple example. I think there are Loxone users with much more experience within Loxone Config who can come up with a very nice solution.
              K.Clemens Thanks for your feedback. I've a Samsung A51, Android 10. I've added Loxclock under "ignore battery optimization". Will do some other tries.


              TomekWaw Indeed a great idea for Loxone for including it in the next release of Loxone App too tought. J

              Kommentar

              • K.Clemens
                Smart Home'r
                • 28.08.2015
                • 92

                #9
                I've updated the file so the app keeps running in the background.

                Kommentar

                • K.Clemens
                  Smart Home'r
                  • 28.08.2015
                  • 92

                  #10
                  Starting from today the app is available on the Android Play store.

                  Kommentar

                  • akonczer
                    Azubi
                    • 02.03.2016
                    • 6

                    #11
                    Hi!
                    I find it very good idea. I want to testing and used.
                    Unfortunately i can't found in a Play Store from Hungary.
                    What's wrong?

                    Tapatalkkal küldve az én Mi A2 eszközömről

                    Kommentar

                    • K.Clemens
                      Smart Home'r
                      • 28.08.2015
                      • 92

                      #12
                      Hi,

                      I had to choose for which countries I wanted to make the app available. I added Hungary to the list.
                      It should be visible now?

                      Kommentar

                      • K.Clemens
                        Smart Home'r
                        • 28.08.2015
                        • 92

                        #13
                        I've added the information about how to set it up on https://www.loxwiki.eu/display/LOX/LoxClock+for+Android

                        Kommentar

                        • akonczer
                          Azubi
                          • 02.03.2016
                          • 6

                          #14
                          Hi,
                          Thanks for a quick support!
                          Now it is available from Hungary 🇭🇺to.
                          I have installed and testing now... 😀

                          Tapatalkkal küldve az én Mi A2 eszközömről

                          Kommentar

                          • hme0354
                            MS Profi
                            • 06.07.2019
                            • 969

                            #15
                            what would happen if I press snooze?
                            Smarthome: 1x Miniserver Gen. 2, 3x Relay Extensions, 1x Tree Extension, 1x DI-Extension, 1x Air Base Extension, 8x RGBW Tree Dimmer, 9x Touch-Tree, 1x Nano DI Tree, 10x Tree BWM
                            Technik: IDM Aero SLM 3-11 mit HGL, MS4H mit 9 Zonen, 2x Loxberry, 2x RPI für Anzeige, Doorbird, Froggit WH2600, POE+ System für Peripherie, Gedad Luftgütesensoren, Deconz (Bridge + 2x BWM + 2x RGBW + 5 Smartplug)

                            Kommentar

                            Lädt...