Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
3.3 KiB

8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
  1. # ESPurna Firmware
  2. ESPurna ("spark" in Catalan) is a custom firmware for ESP8266 based smart switches.
  3. It was originally developed with the **[IteadStudio Sonoff][1]** in mind but now it supports a growing number of ESP8266-based boards.
  4. It uses the Arduino Core for ESP8266 framework and a number of 3rd party libraries.
  5. **Current Release Version is 1.2.0**, read the [changelog](CHANGELOG.md).
  6. ## Features
  7. * Support for **multiple ESP8266-based boards** ([check list](#supported-hardware))
  8. * Wifi **AP Mode** or **STA mode** with **multiple network definitions**
  9. * **MQTT** enabled
  10. * Switch on/off and toggle relays
  11. * LED notifications
  12. * Support for different **sensors**
  13. * DHT11 / DHT22 / DHT21 / AM2301
  14. * DS18B20
  15. * HLW8012 (Sonoff POW)
  16. * Non-invasive current sensor using the [EmonLiteESP Library][3] (requires some hacking)
  17. * Fast asynchronous **HTTP Server**
  18. * Basic authentication
  19. * Web-based configuration
  20. * Relay switching from the web
  21. * Websockets-based communication between the device and the browser
  22. * **REST API**
  23. * GET and PUT relay status
  24. * **Command line configuration**
  25. * **Over-The-Air** (OTA) updates even for 1Mb boards
  26. * Manually from PlatformIO or Arduino Inside
  27. * Automatic updates through the [NoFUSS Library][2]
  28. * **Alexa** integration (requires staging version of Arduino Core for ESP8266)
  29. ## Documentation
  30. For more information please refer to the [ESPurna Wiki](https://bitbucket.org/xoseperez/espurna/wiki/Home).
  31. ## Supported hardware
  32. |![Sonoff](images/devices/s20.jpg) **IteadStudio S20**|![Sonoff](images/devices/slampher.jpg) **IteadStudio Slampher**|![Sonoff](images/devices/sonoff-4ch.jpg) **IteadStudio Sonoff 4CH**|
  33. |![Sonoff](images/devices/sonoff-basic.jpg) **IteadStudio Sonoff Basic**|![Sonoff](images/devices/motor-switch.jpg) **IteadStudio Motor Switch**|![Sonoff](images/devices/1ch-inching.jpg) **IteadStudio 1CH Inching**|
  34. |![Sonoff](images/devices/sonoff-dual.jpg) **IteadStudio Sonoff Dual**|![Sonoff](images/devices/sonoff-pow.jpg) **IteadStudio Sonoff POW**|![Sonoff](images/devices/sonoff-th10-th16.jpg) **IteadStudio Sonoff TH10/TH16**|
  35. |![Sonoff](images/devices/sonoff-rf.jpg) **IteadStudio Sonoff RF**|![Sonoff](images/devices/sonoff-sv.jpg) **IteadStudio Sonoff SV**|![Sonoff](images/devices/sonoff-led.jpg) **IteadStudio Sonoff LED**|
  36. |![Sonoff](images/devices/sonoff-touch.jpg) **IteadStudio Sonoff Touch**|![Sonoff](images/devices/electrodragon-relay-board.jpg) **Electrodragon Relay Board**|![Sonoff](images/devices/workchoice-ecoplug.jpg) **WorkChoice EcoPlug**|
  37. ## License
  38. Copyright (C) 2016 by Xose Pérez (@xoseperez)
  39. This program is free software: you can redistribute it and/or modify
  40. it under the terms of the GNU General Public License as published by
  41. the Free Software Foundation, either version 3 of the License, or
  42. (at your option) any later version.
  43. This program is distributed in the hope that it will be useful,
  44. but WITHOUT ANY WARRANTY; without even the implied warranty of
  45. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  46. GNU General Public License for more details.
  47. You should have received a copy of the GNU General Public License
  48. along with this program. If not, see <http://www.gnu.org/licenses/>.
  49. [1]: https://www.itead.cc/sonoff-wifi-wireless-switch.html
  50. [2]: https://bitbucket.org/xoseperez/nofuss
  51. [3]: https://bitbucket.org/xoseperez/emonliteesp