[BETA] App Android

Ah ah, you’re more on the eclipse now, my friend :joy:
But go ahead and present your points, I’m listening!

Eclipse / Visual Studio Code, it’s all the same :stuck_out_tongue:
An IDE and we’re off like in '40!

Wait, I’m gonna eat now :slight_smile:
I’ll tease you a bit like that :wink:

Oh no, my dear, Android Studio powered by IntelliJ is the holy grail! :heart_eyes:

You know I’m very impatient :joy:

For those who might have a configuration issue, having switched gladys to https, I thought you needed to specify 443 for the port. However, by looking at the gladys logs, I noticed that the server was on port 8080 and that’s the port number the app uses.

@p6ril
I didn’t understand :thinking:

When you’re on WiFi, the app doesn’t need to go through HTTPS, so the port should be 8080 or 80 (for those who haven’t changed it, of course). However, on WAN, you need to use HTTPS (if you’ve enabled it, of course), so either you leave the HTTPS option enabled and the app doesn’t use a port (normal because the redirection is automatic), or you disable it and then you can set a custom port.

Try to perform a sync on the Timeline view or on the Alarm view. If the sync works well on these two views, make sure you have the latest version of the app. If it still doesn’t work, retrieve your JSON as described in this message and post it here

@clement uninstall/reinstall the app

Hi,
I just installed and configured it and it works perfectly for me. For your information, I’m using https.

A big thank you and congratulations for this development.

À nous deux @LepetitGeek ! :smiley:

Well, first impression, top! The app is cool, no unnecessary features, we’re hooked :slight_smile: :slight_smile:

The context:
LG G6
Android 7.0

Now, the date and time pickers, I’ve already told you about them, but I’ll mention them again for reference. I think the user shouldn’t be able to enter anything they want, hence the usefulness of opening the pickers directly when entering the field.

Next, in the Timeline view, if you scroll a bit too fast, I get this bug where certain events stay fixed, and on top of the mobile area: (refresh management)
I have a video if needed :wink:

In the « Settings » view: General lacks accents :wink:

And it might be a good idea to specify the titles « DNS Address » and « IP Address » with « Local IP Address » and « DNS / Public IP Address »

This will avoid a lot of errors :wink:
You should also be able to put templates in the fields, you know that famous preview text that tells you what format the field expects. For example, for IP address, display an example of what is expected.

In the « Alarm » view, would it be possible to modify the alarms?
And the CRON rules are loaded but it’s impossible to create any :wink:

Additionally, if you can ask for confirmation before deleting alarms, that’s cool! It avoids mistakes ^^
Because right now, you accidentally press the cross, and goodbye alarm! ^^

That’s all, my little one! Now, get to work! :smiley: :joy:

Oh well, finally! ^^

That’s exactly what I wanted :thumbsup: so apparently I pulled it off :slight_smile:
I was afraid the graphical interface would leave something to be desired…

Ok, that’s already noted!

Now that’s my fault!
I already had this bug once but since it hadn’t happened again, I completely forgot about it :sweat:

Damn me and my spelling mistakes! :dizzy_face:

Exactly!
For me, it seemed quite clear but given the errors encountered by users, it’s a point to clarify, I agree ^^

I’m not sure if that’s a good idea, I’m afraid it might confuse new users :thinking:

Now that’s a bit more complicated because for a minimum of configuration (and also to avoid doing the same work twice) the app uses Gladys’s REST API, so we are limited to the features it offers and currently there is no request to modify alarms.
We could consider deleting the alarm in question and then recreating it with the modified fields (without the user noticing, they would thus have the impression of having modified the alarm) but it’s not clean at all!
On the other hand, if @pierre-gilles comes up with a small request that can do that… yes it’s quite possible!

Same as above ^^
The REST API offers a request in which you can create a fixed alarm and a recurring alarm but not a Cron alarm or it is not present in the documentation (and I admit I didn’t look any further…)
But if you have 5 minutes to make a PR to @pierre-gilles so that it’s present in the next update, I can do that in a jiffy :wink:

Saying that, it’s already happened to you, right? :joy:
But yes, it could be a plus!

Don’t worry, tonight :kissing_heart:

You see this everywhere, it helps you know what the app expects :slight_smile:

For example, it prevents a user you ask for a time from providing
13:20
when your app expects 13:20:00

EDIT: ah! Yes and in the edit! You can now add the BRAIN category :wink:

Not wrong!
But that made me think, I can put it in this form instead

Example: 192.168.1.1

This would allow the user to understand that it’s ONLY an example and at the same time give them a model!
So yes!

The BRAIN category? What do you mean?

Why not :slight_smile: :slight_smile:

Brain :slight_smile:

Actually, all the functions of the REST API should be in your app :slight_smile: :slight_smile:

The weather, the scripts, the users, the music player control :slight_smile: I like the idea of controlling the dashboard via my phone :slight_smile:
And I was thinking about it too, a widget would be cool! For example with the Timeline :smiley:

Indeed, the alarm update doesn’t exist, but it can be easily added :slight_smile:

That’s actually in the API :slight_smile: The front end does it, so there must be a route! Open your Chrome inspector on the alarm view and check the outgoing request :wink:

(Okay, it’s true that it’s not in the documentation, it would be worth adding it)

Why would you want this category in the app?
I was actually thinking of integrating a chat into the app, but that’s not for now ^^

Wait, buddy, patiently :sweat_smile:
I don’t want to just copy and paste the web interface either, the goal of the app is just to help control Galdys while being faster.

How so? Would you want to have the boxes directly in the app?

That’s already planned! It’s actually an idea from @pierre-gilles!

Yes, I can ^^

It’s planned :sweat_smile:

As I mentioned earlier, I’m limited by the REST API, so for now it’s not possible yet, but it’s a good idea!

It’s a known bug, but I haven’t looked into it yet. Actually, Gladys always sends me the delayed time by 2 hours, I don’t know why :confused:

But why?! :joy:

Great :thumbsup: It adds something extra ^^

Cool then! I’ll check that out!

Ok no problem, I’ll look into that too ^^

I see that it’s generating a lot of enthusiasm :grin:

Because it’s UTC time :wink:

Good for approving or rejecting sentences :slight_smile:

The more functions you have in your app, the less you need to go to the Gladys dashboard, so you’re faster :slight_smile:

No ^^ when I say dashboard, I mean the Gladys interface in general

Ok but why not send the time set in the PI?

True, it’s not a bad idea, I’ll note it ^^

Yes but don’t let the app become too cluttered, so one thing at a time!
It will come gradually, don’t worry :wink:

It’s planned :wink:

Yes, I saw it ahah!

But guys, take it easy for now, the app is in beta version. I want to see how it behaves with everyone’s configurations and the feedback I get on it!

Other features will be added (I have a lot of ideas ^^), but don’t be impatient. I can see that the app is generating a lot of interest and all ideas are welcome, but before we scatter, let’s try to build a solid foundation :grin:

Anyway, it’s true, a notification system would be great, but for that, it no longer depends on Gladys but on the forum, so it’s another story, but it’s noted ^^

It’s not false :joy:

It’s an Android app and it doesn’t work when we give ideas, right? :joy:

OF COURSE WE’RE IMPATIENT!!!

I think I’ll quickly try to join you in development if it’s not too far from my mind ^^