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.

90 lines
4.1 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. <table style="text-align: center">
  33. <tr>
  34. <td style="border-width: 0px;">![Sonoff](images/devices/s20.jpg)<br /><br />**IteadStudio S20**</td>
  35. <td style="border-width: 0px;">![Sonoff](images/devices/slampher.jpg)<br /><br />**IteadStudio Slampher**</td>
  36. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-4ch.jpg)<br /><br />**IteadStudio Sonoff 4CH**</td>
  37. </tr>
  38. <tr>
  39. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-basic.jpg)<br /><br />**IteadStudio Sonoff Basic**</td>
  40. <td style="border-width: 0px;">![Sonoff](images/devices/motor-switch.jpg)<br /><br />**IteadStudio Motor Switch**</td>
  41. <td style="border-width: 0px;">![Sonoff](images/devices/1ch-inching.jpg)<br /><br />**IteadStudio 1CH Inching**</td>
  42. </tr>
  43. <tr>
  44. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-dual.jpg)<br /><br />**IteadStudio Sonoff Dual**</td>
  45. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-pow.jpg)<br /><br />**IteadStudio Sonoff POW**</td>
  46. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-th10-th16.jpg)<br /><br />**IteadStudio Sonoff TH10/TH16**</td>
  47. </tr>
  48. <tr>
  49. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-rf.jpg)<br /><br />**IteadStudio Sonoff RF**</td>
  50. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-sv.jpg)<br /><br />**IteadStudio Sonoff SV**</td>
  51. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-led.jpg)<br /><br />**IteadStudio Sonoff LED**</td>
  52. </tr>
  53. <tr>
  54. <td style="border-width: 0px;">![Sonoff](images/devices/sonoff-touch.jpg)<br /><br />**IteadStudio Sonoff Touch**</td>
  55. <td style="border-width: 0px;">![Sonoff](images/devices/electrodragon-relay-board.jpg)<br /><br />**Electrodragon Relay Board**</td>
  56. <td style="border-width: 0px;">![Sonoff](images/devices/workchoice-ecoplug.jpg)<br /><br />**WorkChoice EcoPlug**</td>
  57. </tr>
  58. </table>
  59. ## License
  60. Copyright (C) 2016 by Xose Pérez (@xoseperez)
  61. This program is free software: you can redistribute it and/or modify
  62. it under the terms of the GNU General Public License as published by
  63. the Free Software Foundation, either version 3 of the License, or
  64. (at your option) any later version.
  65. This program is distributed in the hope that it will be useful,
  66. but WITHOUT ANY WARRANTY; without even the implied warranty of
  67. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  68. GNU General Public License for more details.
  69. You should have received a copy of the GNU General Public License
  70. along with this program. If not, see <http://www.gnu.org/licenses/>.
  71. [1]: https://www.itead.cc/sonoff-wifi-wireless-switch.html
  72. [2]: https://bitbucket.org/xoseperez/nofuss
  73. [3]: https://bitbucket.org/xoseperez/emonliteesp