ESPEasy Sonoff Android application

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
gilles06
New user
Posts: 6
Joined: 04 May 2018, 20:39

ESPEasy Sonoff Android application

#1 Post by gilles06 » 06 May 2018, 22:09

Hi everyone,
I'm a beginner and I'm looking for a web software application controlling my Sonoff 4ch.
I've bought a Sonoff switch 4ch board, flashed the Espeasy Mega code from 20180504 code, connected to my wifi and everything is working fine. I'm able to controlled the Sonoff switches using http commands thru the internal IP.
My question is: Do you know an application (on Windows or Android) on which I will be able to send command in order to control the switches remotely ?

Thanks to help me

mrwee
Normal user
Posts: 225
Joined: 31 Aug 2016, 12:52

Re: ESPEasy Sonoff Android application

#2 Post by mrwee » 06 May 2018, 23:01

You could use openHAB, which has both iOS and Android apps. Does require the server part to run somewhere though

gilles06
New user
Posts: 6
Joined: 04 May 2018, 20:39

Re: ESPEasy Sonoff Android application

#3 Post by gilles06 » 07 May 2018, 10:14

Thanks for the answer. I think with openHAB you have to go thru their own servers, and I don't want to be blocked by them.
Is there any open source software which communicates directly with the ESPeasy code thru the network ?

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: ESPEasy Sonoff Android application

#4 Post by danmero » 07 May 2018, 12:53

You can run openHub localy on small PC or a RaspberryPy.
Otherwise you will need an MQTT broker like Eclipse Mosquitto.
I run my test MQTT server on a small wt3020f on top of openwrt, but any router that support openwrt will do.

Image

The fun part is that you will have a separate wireless network just for IoT, you can set DDNS client, VPN client or server , port redirect , etc. A full blown IoT getaway that fit in your hand. :mrgreen:

gilles06
New user
Posts: 6
Joined: 04 May 2018, 20:39

Re: ESPEasy Sonoff Android application

#5 Post by gilles06 » 07 May 2018, 14:12

Hi, thks, but I'm still confused. Why do I need such part of wifi communication ? The Sonoff has already an integrated wifi communication which communicate to my Wifi Router connection.
I've seen on the esp_easy code that I'm able to configure some controllers, and these are supporting Domoticz and/or OpenHAB MQTT protocols.
This should be worked, isn't it ? If so how to configure it, if you know ?

Thanks for your help

mrwee
Normal user
Posts: 225
Joined: 31 Aug 2016, 12:52

Re: ESPEasy Sonoff Android application

#6 Post by mrwee » 07 May 2018, 19:30

Well, the list of 'why' (in my view) is long :)

You can setup simple -> complicated rules to control your home
openHAB can integrate to a lot of other devices than espeasy
There's ready apps for Android & iOS
You decide how to communicate with espeasy devices (e.g. HTTP or MQTT)
You can send multiple types of notifications (telegram, mail, pushover, sms etc.)
etc.
etc.

danmero
Normal user
Posts: 64
Joined: 11 May 2017, 01:19

Re: ESPEasy Sonoff Android application

#7 Post by danmero » 07 May 2018, 19:45

Conclusion: The only way to communicate directly is via HTTP, for MQTT you need a broker(local or cloud).

gilles06
New user
Posts: 6
Joined: 04 May 2018, 20:39

Re: ESPEasy Sonoff Android application

#8 Post by gilles06 » 07 May 2018, 22:46

Well Ok for the MQTT, but if I want to communicate via HTTP, what would be the configuration in this case of the ESP_easy ? and which kind of Android application should I used to communicate with the code ?

gilles06
New user
Posts: 6
Joined: 04 May 2018, 20:39

Re: ESPEasy Sonoff Android application

#9 Post by gilles06 » 09 May 2018, 00:39

Hi, does anyone knows if the Esp_easy code is able to connects to android application like (domoticz lite, andromoticz, dromotica or home wizard) ?
I've try these application without any success. May be my configuration setting is wrong on the Esp_easy.
I setup the controller with Domoticz HTTP protocol with an local IP and 8080 as Port.
I've setup the Domoticz application on my PC(windows) and access on local IP to the Sonoff without any problem, everything is working fine.
But using the Android application Domoticz, I'm unable to connect to the Esp_easy with the same local ip address.
Does anyone has an idea ?

Thks

User avatar
budman1758
Normal user
Posts: 301
Joined: 15 Apr 2017, 05:13
Location: Riverside CA USA

Re: ESPEasy Sonoff Android application

#10 Post by budman1758 » 09 May 2018, 02:57

This android app can control stuff on ESPEasy devices.
https://play.google.com/store/apps/deta ... _shortcuts

Works well if all you need is simple on off control on your phone. I use it a lot.
"The glass is twice as big as it needs to be".

RichEO
New user
Posts: 3
Joined: 27 Jul 2018, 21:21

Re: ESPEasy Sonoff Android application

#11 Post by RichEO » 27 Jul 2018, 22:46

I have recently discovered MacroDroid. It can be used to send http requests among a lot of other communication methods based on a many different triggers. It could be useful for you in this situation.

User avatar
enesbcs
Normal user
Posts: 587
Joined: 18 Jun 2017, 11:02
Location: Békéscsaba, Hungary
Contact:

Re: ESPEasy Sonoff Android application

#12 Post by enesbcs » 10 Sep 2018, 07:03

Yeti Mobile for Android Yeti interface plugin for ESPEasy
viewtopic.php?f=6&t=5680&p=30387

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

Re: ESPEasy Sonoff Android application

#13 Post by grovkillen » 10 Sep 2018, 07:43

I use MQTT Dash for the same thing. I only need to expose the broker to the world and not the other units.

https://play.google.com/store/apps/deta ... x.mqttdash
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:

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests