ESPeasy control - Android APP

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
link611
New user
Posts: 8
Joined: 17 Aug 2017, 08:53

ESPeasy control - Android APP

#1 Post by link611 » 17 Aug 2017, 09:12

Hi there,

i am playing around with some Sonoff S20 sockets and was searching for an Android App, but i have not found one (maybe i was to dumb to find one).
Because of that i built a simple on/off-app for up to 4 Sonoff S20 sockets. (if you need more, just say it)

Please don't be so hard, i built it with the MIT App Inventor. :)

Yeah, i know, the Layout is Crap, but it works. :)

Maybe you can give me some Feedback


Amazon-Shop Link:
https://www.amazon.de/Keule-ESPEasy-con ... ds=espeasy

Dropbox-Link:
https://www.dropbox.com/s/zwsr45cv4jwfo ... y.apk?dl=0


Note:
Some ESP Easy Mega releases (between March 2018 and April 2018) have a problem with the status request.


-v 1.2.2
added an app icon

-v 1.2.0
some code tweaking
setting a device to on/off only refreshes the specified device - in former versions every device was refreshed

-v 1.1.1
GPIO setting for each device seperately
You can disable Refresh on startup

-v 1.1.0
check state of devices

-v 1.0.0
Initial Release
Attachments
espeasy.zip
(2.33 MiB) Downloaded 768 times
Last edited by link611 on 13 Jun 2018, 11:57, edited 14 times in total.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: ESPEasy Control - Android APP

#2 Post by grovkillen » 17 Aug 2017, 10:01

If you have a MQTT broker you can control any ESP Easy unit with apps like MQTT Dash.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: ESPEasy Control - Android APP

#3 Post by kniazio » 17 Aug 2017, 11:52

Can you send the source of this application?

link611
New user
Posts: 8
Joined: 17 Aug 2017, 08:53

Re: ESPEasy Control - Android APP

#4 Post by link611 » 17 Aug 2017, 14:17

kniazio wrote: 17 Aug 2017, 11:52 Can you send the source of this application?
Unfortunately no, because i created the app with the MIT App Inventor -> http://ai2.appinventor.mit.edu
You build your app with blocks, like Lego =D

But you can copy the project out of the gallery, just search for espeasy. Maybe you can find some function to export the source code.

I will also attach the project to this post.


Yes, i know some things could be done simplier.
Attachments
espeasy.zip
(18.62 KiB) Downloaded 623 times

kniazio
Normal user
Posts: 71
Joined: 12 Jun 2016, 11:12

Re: ESPEasy Control - Android APP

#5 Post by kniazio » 17 Aug 2017, 20:24

Thanks

gnomosg
New user
Posts: 1
Joined: 28 Oct 2017, 12:07

Re: ESPEasy Control - Android APP

#6 Post by gnomosg » 28 Oct 2017, 12:17

Nice work :)

It is possible to export app via:

Project -> Export selected project (.aia) to my computer

Thanks for your work :)

hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Re: ESPEasy Control - Android APP

#7 Post by hans65 » 02 Apr 2018, 13:28

I was wondering, is there an other Android app around? I used this one here but since the update from the firmware to version 20180306 the status display is not working anymore. On/Off is fine it is only the status color.

link611
New user
Posts: 8
Joined: 17 Aug 2017, 08:53

Re: ESPEasy Control - Android APP

#8 Post by link611 » 04 Apr 2018, 06:41

hans65 wrote: 02 Apr 2018, 13:28 I was wondering, is there an other Android app around? I used this one here but since the update from the firmware to version 20180306 the status display is not working anymore. On/Off is fine it is only the status color.
Hi there,

it seems, that the http status request of some older esp versions did Not Work correctly. We have actually the same behaviour on this Thread:

viewtopic.php?f=4&t=5146


Yesterday i released an Update on Amazon Store, You can disable the refresh on startup to prevent Error Messages.

The new release is also in the first post. (Because Amazon Apps requires some strange rights, for no reason....)

hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Re: ESPEasy Control - Android APP

#9 Post by hans65 » 04 Apr 2018, 09:31

Is the new version also available on dropbox? I can't download it on Amazon

Edit: I got it but status is still grey, before I updated the firmware it was green. Any solution for this?

Thanks

Hans

link611
New user
Posts: 8
Joined: 17 Aug 2017, 08:53

Re: ESPEasy Control - Android APP

#10 Post by link611 » 04 Apr 2018, 12:56

hans65 wrote: 04 Apr 2018, 09:31 Is the new version also available on dropbox? I can't download it on Amazon

Edit: I got it but status is still grey, before I updated the firmware it was green. Any solution for this?

Thanks

Hans

Hi Hans,

Dropbox-link in First Post.

Can You try to Open a Browser to the following Website:

http://(IPofS20)/control?cmd=status,gpio,12


Do You get an answer?

hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Re: ESPEasy Control - Android APP

#11 Post by hans65 » 04 Apr 2018, 13:35

nop only blank screen tested with firefox and edge

link611
New user
Posts: 8
Joined: 17 Aug 2017, 08:53

Re: ESPEasy Control - Android APP

#12 Post by link611 » 04 Apr 2018, 15:33

hans65 wrote: 04 Apr 2018, 13:35 nop only blank screen tested with firefox and edge
If You Mash f5 You should get Sometimes an answer^^

Ahm which ESP Version is now installed?

hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Re: ESPEasy Control - Android APP

#13 Post by hans65 » 04 Apr 2018, 15:37

no nothing I'm using 2018306

link611
New user
Posts: 8
Joined: 17 Aug 2017, 08:53

Re: ESPEasy Control - Android APP

#14 Post by link611 » 04 Apr 2018, 16:10

hans65 wrote: 04 Apr 2018, 15:37 no nothing I'm using 2018306
Okay, please Take a Look at my further Post, there is a Link to another topic, where the developer said, that those releases have a bug with the Status Response. You should Update your ESP easy mega Firmware.
Last edited by link611 on 04 Apr 2018, 17:47, edited 1 time in total.

hans65
Normal user
Posts: 38
Joined: 19 Mar 2018, 17:01

Re: ESPEasy Control - Android APP

#15 Post by hans65 » 04 Apr 2018, 16:55

Thanks and sorry I wasn't reading correctly. After upgrade to 20180319 everything is working fine again.

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests