Page 1 of 1

ESPEasy Sonoff Android application

Posted: 06 May 2018, 22:09
by gilles06
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

Re: ESPEasy Sonoff Android application

Posted: 06 May 2018, 23:01
by mrwee
You could use openHAB, which has both iOS and Android apps. Does require the server part to run somewhere though

Re: ESPEasy Sonoff Android application

Posted: 07 May 2018, 10:14
by gilles06
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 ?

Re: ESPEasy Sonoff Android application

Posted: 07 May 2018, 12:53
by danmero
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:

Re: ESPEasy Sonoff Android application

Posted: 07 May 2018, 14:12
by gilles06
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

Re: ESPEasy Sonoff Android application

Posted: 07 May 2018, 19:30
by mrwee
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.

Re: ESPEasy Sonoff Android application

Posted: 07 May 2018, 19:45
by danmero
Conclusion: The only way to communicate directly is via HTTP, for MQTT you need a broker(local or cloud).

Re: ESPEasy Sonoff Android application

Posted: 07 May 2018, 22:46
by gilles06
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 ?

Re: ESPEasy Sonoff Android application

Posted: 09 May 2018, 00:39
by gilles06
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

Re: ESPEasy Sonoff Android application

Posted: 09 May 2018, 02:57
by budman1758
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.

Re: ESPEasy Sonoff Android application

Posted: 27 Jul 2018, 22:46
by RichEO
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.

Re: ESPEasy Sonoff Android application

Posted: 10 Sep 2018, 07:03
by enesbcs
Yeti Mobile for Android Yeti interface plugin for ESPEasy
viewtopic.php?f=6&t=5680&p=30387

Re: ESPEasy Sonoff Android application

Posted: 10 Sep 2018, 07:43
by grovkillen
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