# \[BETA\] App Android

**URL:** <https://community.gladysassistant.com/t/beta-app-android/1791>\
**Category:** Actualités\
**Tags:** beta\
**Created:** [October 21, 2017, 1:02pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791 "2017-10-21T13:02:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [October 21, 2017, 1:02pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/1 "2017-10-21T13:02:15Z")

</div>

# Hello Gladynauts!

I teased it and here it is!  
The first Beta of the Gladys app is finally available!

On the menu

- A Dashboard where you can control your devicetype.
- A view that allows you to see the devicetype classified by rooms with all their details and choose whether or not you want one of them to be visible on the dashboard.
- A Timeline where you can create events.
- An Alarm view that allows you to see all the alarms as well as create one or even delete one.
- **Update 0.4.1** : A view to manage the phrases of Gladys’ Brain

* * *

#### Application Installation

First of all, you must enable the installation of applications from unknown sources!  
Since the app does not come from the Play Store, your phone will be suspicious and may not let you install it. So to enable unknown sources, go to your phone settings then security and check the «&nbsp;Unknown sources&nbsp;» box.

Then download the APK file at the following address [Gladys.apk](https://github.com/MathieuAndrade/Gladys-Android-App/releases/download/1.5.2/v1.5.2.apk) and install it.  
For more security, I invite you to disable unknown sources after that!

#### To use it, nothing could be simpler

Go to the Gladys web interface, go to the settings view then security and create a token (give it the name you like)

 ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/a/a24e5ac24d3c724e84b4126f31cec6248f814c7d.png)

Then go back to your mobile and go to «&nbsp;settings&nbsp;» (the three little dots at the top right of the screen)

 ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/b/b4b501d9f7ee1b8ebd8b9ea8134bcff70da4f2de.png)

Fill in the «&nbsp;IP Address&nbsp;», «&nbsp;Port&nbsp;» and «&nbsp;Token&nbsp;» fields with your information!  
Note that «&nbsp;User ID&nbsp;» and «&nbsp;Home ID&nbsp;» are by default set to 1. (the first and last name are optional)

Once all the fields are filled in, go back and click on the synchronization button at the bottom right of the screen, you will then see the synchronization start.

 ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/8/8778eeb83a9fad274cbd433edc7b5ae48ae92fa7.png)

**Warning on the «&nbsp;Dashboard&nbsp;» and «&nbsp;Rooms&nbsp;» view, the synchronization is relatively long (between 10 and 20 seconds) due to the amount of data that Gladys must transmit so do not worry.**

I leave you to explore all this right now ^^  
And keep in mind that it’s a Beta version so it can crash at any time!

Note: Error codes are available in the «&nbsp;Info&nbsp;» view.

Here are some screenshots to give you a taste 😉

 ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/7/7e3581a140909ea689a462d6f4cc2b5ccdeec0ac.png) ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/f/f62da448b970bfc112f4e350990081864f24f73b.png)  
 ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/e/e3d03215cd749e746fd41c3e249e1b3b792d2daa.png) ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/4/4c99aa1955c858e487509afaa84c25c8998ea450.png)  
 ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/e/e4a74c0703161d7dd4ef9f4979216b895dff890d.png) ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/2/2dfd9f1a6c441839da99eb8ef471d580542095dc.png)

> **Changelog V0.2.1**
>
> Bug Fix: Pickers that did not work below API 21  
> Bug Fix: LastValue null

> **Changelog V0.3**
>
> Bug Fix: Scroll that superimposed items  
> Added a confirmation box to delete an alarm  
> Optimization of the dashboard when changing the value of a deviceType  
> Blocking the «&nbsp;Time&nbsp;» and «&nbsp;Date&nbsp;» fields when creating alarms to avoid errors  
> Correction of spelling mistakes  
> Modification of the names of the fields in the settings  
> Added examples in the settings fields to guide the user  
> Added a view to create a Cron type alarm

> **Changelog V0.4.1**
>
> Library update  
> Multiple bug fixes  
> Added a view to manage the Brain’s phrases
> 
> ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/9/931fbfa294f00d42666dd3650182e5b905bb6e7d.png) ![](https://gladys-assistant-community.b-cdn.net/uploads/default/original/2X/6/68c2d4594d84df23eb45579ce882a06e63063034.png)

> **Changelog V1.4.5**
>
> Multiple bug fixes

> **Changelog V1.5.2**
>
> Bug fix  
> UI improvements

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [October 21, 2017, 1:06pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/2 "2017-10-21T13:06:58Z")

</div>

Wow! That’s a great job! 🙂

I’ll try to find such an Android to test, because it clearly looks awesome!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [October 21, 2017, 1:09pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/3 "2017-10-21T13:09:36Z")

</div>

Shared on Twitter →

[https://twitter.com/gladysproject/status/921724725352718336](https://twitter.com/gladysproject/status/921724725352718336)

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [October 21, 2017, 1:11pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/4 "2017-10-21T13:11:27Z")

</div>

Yes I saw that, you didn’t waste any time 🕶

---

<div class="post-metadata">

**Author:** ![Retlaw](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/retlaw/32/30_2.png) [@Retlaw](https://community.gladysassistant.com/u/Retlaw)\
**Post date:** [October 21, 2017, 1:46pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/5 "2017-10-21T13:46:22Z")

</div>

What excellent news!

Well, as soon as I read it, I installed it to test it out!

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [October 21, 2017, 1:48pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/6 "2017-10-21T13:48:58Z")

</div>

Cool!  
Looking forward to your feedback 🙂

---

<div class="post-metadata">

**Author:** ![WolfVic](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/wolfvic/32/167_2.png) [@WolfVic](https://community.gladysassistant.com/u/WolfVic)\
**Post date:** [October 21, 2017, 1:49pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/7 "2017-10-21T13:49:38Z")

</div>

Hi,  
First Feedback!  
I installed the app, configured it, and I have a sync error… I double-checked the address, port, and token, but they are correct…  
Any idea where this could be coming from?

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [October 21, 2017, 1:52pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/9 "2017-10-21T13:52:04Z")

</div>

Hum 🤔  
Do you have something in your Gladys logs?  
Can you share your configuration with me?

---

<div class="post-metadata">

**Author:** ![WolfVic](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/wolfvic/32/167_2.png) [@WolfVic](https://community.gladysassistant.com/u/WolfVic)\
**Post date:** [October 21, 2017, 1:55pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/10 "2017-10-21T13:55:43Z")

</div>

I’m on a Oneplus X running LineageOS (the latest build)  
The logs from Gladys only show one error:

> 0|gladys | (node:1587) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit

**EDIT**

More logs:

> 0|gladys | (node:1587) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit  
> 0|gladys | Access with token to user Victor  
> 0|gladys | (node:1587) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit  
> 0|gladys | Access with token to user Victor  
> 0|gladys | Event : create : new Event with code : devicetype-new-value  
> 0|gladys | Scenario : Trigger : New event : devicetype-new-value  
> 0|gladys | Scenario : Trigger : Found 2 launchers with code devicetype-new-value.  
> 0|gladys | Scenario : Trigger : Condition not verified.  
> 0|gladys | Scenario : Trigger : Condition not verified.  
> 0|gladys | (node:1587) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit  
> 0|gladys | Access with token to user Victor  
> 0|gladys | (node:1587) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit  
> 0|gladys | Access with token to user Victor  
> 0|gladys | Event : create : new Event with code : devicetype-new-value  
> 0|gladys | Scenario : Trigger : New event : devicetype-new-value  
> 0|gladys | Scenario : Trigger : Found 2 launchers with code devicetype-new-value.  
> 0|gladys | Scenario : Trigger : Condition not verified.  
> 0|gladys | Scenario : Trigger : Condition not verified.  
> 0|gladys | (node:1587) Warning: Possible EventEmitter memory leak detected. 11 finish listeners added. Use emitter.setMaxListeners() to increase limit  
> 0|gladys | Access with token to user Victor

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [October 21, 2017, 2:01pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/11 "2017-10-21T14:01:28Z")

</div>

Weird this error, I wonder if it’s due to the app’s request…

Can you test the request with Postman to see what it returns? (in GET)

> IPGladys:8080/devicetype/room?token=yourToken

Do you get this error on a specific view or on all views?

@Retlaw do you have the issue too?

---

<div class="post-metadata">

**Author:** ![C4rlit0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/c4rlit0/32/91_2.png) [@C4rlit0](https://community.gladysassistant.com/u/C4rlit0)\
**Post date:** [October 21, 2017, 2:02pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/12 "2017-10-21T14:02:31Z")

</div>

@LepetitGeek top top top that, Kom’rade!! Da Voï!

It’s installed, but I can’t test it right now 😭

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [October 21, 2017, 2:03pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/13 "2017-10-21T14:03:32Z")

</div>

Why is that @C4rlit0? 😂

---

<div class="post-metadata">

**Author:** ![Retlaw](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/retlaw/32/30_2.png) [@Retlaw](https://community.gladysassistant.com/u/Retlaw)\
**Post date:** [October 21, 2017, 2:10pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/14 "2017-10-21T14:10:02Z")

</div>

No issues on my end during installation.

Whether it’s over Wi-Fi or mobile data via my DNS address, I can interact with Gladys!

Edit: I have a OnePlus 3T running LineageOS 😉

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [October 21, 2017, 2:14pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/15 "2017-10-21T14:14:09Z")

</div>

Super 👍  
Glad to hear it!

---

<div class="post-metadata">

**Author:** ![WolfVic](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/wolfvic/32/167_2.png) [@WolfVic](https://community.gladysassistant.com/u/WolfVic)\
**Post date:** [October 21, 2017, 2:16pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/16 "2017-10-21T14:16:44Z")

</div>

The request works with Postman, it returns a JSON array with my devices

I think it’s in all the views…

---

<div class="post-metadata">

**Author:** ![C4rlit0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/c4rlit0/32/91_2.png) [@C4rlit0](https://community.gladysassistant.com/u/C4rlit0)\
**Post date:** [October 21, 2017, 2:19pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/17 "2017-10-21T14:19:33Z")

</div>

Because my install is messed up 😭  
So I can’t even test remotely ^^

But I installed the app and hats off, my guy! Great job!

---

<div class="post-metadata">

**Author:** ![Retlaw](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/retlaw/32/30_2.png) [@Retlaw](https://community.gladysassistant.com/u/Retlaw)\
**Post date:** [October 21, 2017, 2:19pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/18 "2017-10-21T14:19:57Z")

</div>

I just noticed something.

If I create alarms, either in the app or on my PC, everything is immediately synchronized without any issues.

On the other hand, I had never done this before, but for testing, I just created rooms in my house in Gladys on my PC (settings/housing/rooms/add), but they don’t appear in the app… Is this normal?

---

<div class="post-metadata">

**Author:** ![MathieuA](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/mathieua/32/22211_2.png) [@MathieuA](https://community.gladysassistant.com/u/MathieuA)\
**Post date:** [October 21, 2017, 2:25pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/19 "2017-10-21T14:25:20Z")

</div>

@WolfVic  
Can you post your JSON table for me? And the time Gladys took to respond to you?  
By the way, when you open a view, does the sync start properly? And do you stay on it long enough for the data to display?

> [@C4rlit0](#):
>
> Because my installation is messed up 😭

Haha hence the usefulness of having two installations like me 😂

> [@Retlaw](#):
>
> On the other hand, I had never done it before, but for testing, I just created rooms in my house in Gladys on my PC (settings/housing/rooms/add), but they don’t appear in the app… Is that normal?

Yes, that’s normal!  
Actually, the JSON returned by the request only returns the rooms in which there is a device. So if you don’t put a device, the room is not present in the JSON and therefore not in the app either 😉

---

<div class="post-metadata">

**Author:** ![WolfVic](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/wolfvic/32/167_2.png) [@WolfVic](https://community.gladysassistant.com/u/WolfVic)\
**Post date:** [October 21, 2017, 2:35pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/20 "2017-10-21T14:35:10Z")

</div>

Here is my table:

[  
{  
«&nbsp;name&nbsp;»: «&nbsp;Dining Room&nbsp;»,  
«&nbsp;house&nbsp;»: 1,  
«&nbsp;permission&nbsp;»: null,  
«&nbsp;id&nbsp;»: 1,  
«&nbsp;createdAt&nbsp;»: «&nbsp;2017-08-14T16:58:20.000Z&nbsp;»,  
«&nbsp;updatedAt&nbsp;»: «&nbsp;2017-08-14T16:58:20.000Z&nbsp;»,  
«&nbsp;deviceTypes&nbsp;»: [  
{  
«&nbsp;name&nbsp;»: «&nbsp;Outdoor Temperature&nbsp;»,  
«&nbsp;id&nbsp;»: 2,  
«&nbsp;type&nbsp;»: «&nbsp;multilevel&nbsp;»,  
«&nbsp;category&nbsp;»: null,  
«&nbsp;tag&nbsp;»: null,  
«&nbsp;unit&nbsp;»: «&nbsp;°C&nbsp;»,  
«&nbsp;min&nbsp;»: -20,  
«&nbsp;max&nbsp;»: 50,  
«&nbsp;display&nbsp;»: 0,  
«&nbsp;sensor&nbsp;»: 1,  
«&nbsp;identifier&nbsp;»: null,  
«&nbsp;device&nbsp;»: 16,  
«&nbsp;service&nbsp;»: «&nbsp;temperature&nbsp;»,  
«&nbsp;lastChanged&nbsp;»: «&nbsp;2017-10-21T14:00:01.000Z&nbsp;»,  
«&nbsp;lastValue&nbsp;»: 16.32,  
«&nbsp;lastValueId&nbsp;»: 40532  
}  
]  
},  
{  
«&nbsp;name&nbsp;»: «&nbsp;Victor’s Room&nbsp;»,  
«&nbsp;house&nbsp;»: 1,  
«&nbsp;permission&nbsp;»: null,  
«&nbsp;id&nbsp;»: 13,  
«&nbsp;createdAt&nbsp;»: «&nbsp;2017-08-14T17:00:13.000Z&nbsp;»,  
«&nbsp;updatedAt&nbsp;»: «&nbsp;2017-08-14T17:00:13.000Z&nbsp;»,  
«&nbsp;deviceTypes&nbsp;»: [  
{  
«&nbsp;name&nbsp;»: «&nbsp;WebCam&nbsp;»,  
«&nbsp;id&nbsp;»: 3,  
«&nbsp;type&nbsp;»: «&nbsp;binary&nbsp;»,  
«&nbsp;category&nbsp;»: null,  
«&nbsp;tag&nbsp;»: null,  
«&nbsp;unit&nbsp;»: null,  
«&nbsp;min&nbsp;»: 0,  
«&nbsp;max&nbsp;»: 1,  
«&nbsp;display&nbsp;»: 1,  
«&nbsp;sensor&nbsp;»: 1,  
«&nbsp;identifier&nbsp;»: null,  
«&nbsp;device&nbsp;»: 22,  
«&nbsp;service&nbsp;»: «&nbsp;motion&nbsp;»,  
«&nbsp;lastChanged&nbsp;»: «&nbsp;2017-10-19T18:03:34.000Z&nbsp;»,  
«&nbsp;lastValue&nbsp;»: 1,  
«&nbsp;lastValueId&nbsp;»: 38428  
}  
]  
}  
]

(I don’t know how to make the indentation visible)  
It took 4 seconds to complete the query.  
I stay until the error message appears or until the green loading circle disappears (I don’t necessarily look at my screen at the time of the error)

---

<div class="post-metadata">

**Author:** ![Retlaw](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/retlaw/32/30_2.png) [@Retlaw](https://community.gladysassistant.com/u/Retlaw)\
**Post date:** [October 21, 2017, 2:39pm UTC](https://community.gladysassistant.com/t/beta-app-android/1791/21 "2017-10-21T14:39:10Z")

</div>

> [@LepetitGeek](#):
>
> Yes, that’s normal!  
> Actually, the JSON returned by the request only includes rooms that contain a device. So if you don’t add a device, the room isn’t present in the JSON and therefore not in the app either. 😉

OK!

Since everything else was working, I preferred to be sure! 😉

[Next page](https://community.gladysassistant.com/t/beta-app-android/1791.md?page=2)
