Sonoff based remote control of switches, plugs, etc. -- without having the hardware talking to it's family somewhere at the internet -- keep your devices under your control when automating your home :-)
Go to file
Dirk Jahnke 85cdbbf42d Added button handler 2018-01-27 15:51:57 +01:00
.vscode Added button handler 2018-01-27 15:51:57 +01:00
fs Added button handler 2018-01-27 15:51:57 +01:00
src Added button handler 2018-01-27 15:51:57 +01:00
.gitignore Initial commit 2018-01-26 11:22:47 +01:00
LICENSE Add wifi-setup-web app 2017-06-06 14:09:07 +03:00
README.md Added button handler 2018-01-27 15:51:57 +01:00
mos.yml Added button handler 2018-01-27 15:51:57 +01:00
shot.png Add wifi-setup-web app 2017-06-06 14:09:07 +03:00

README.md

SonOff module based on Mongoose-OS and using MQTT to integrate to some home automation

Overview

  • Do not configure WiFi - leave the module in AP (Access Point mode).
  • Mongoose OS starts a WiFi network called SONOFF_XXXXXX with password
  • if STA is configured and gets access, the AP is disabled ~120 seconds after boot Sonoff. Switch your workstation to that WiFi network

Setup via Web and in AP-mode

  • Point your browser to [http://192.168.4.1]http://192.168.4.1

  • You'll see a simple form to configure WiFi network & password and some sonoff parameters

  • Integration into your home automation system based on MQTT, please configure

    • MQTT host with port
    • MQTT Client ID
    • MQTT Password
    • MQTT topic to send current switch status changes (published)
    • MQTT topic to subscribe to receive commands

    Screenshot

How to build and install this app

  • Install and start mos tool
  • Switch to the Project page, find and import this app, build and flash it: