Skip to content

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options

License

Notifications You must be signed in to change notification settings

fdsailer/Sonoff-Tasmota

 
 

Repository files navigation

Stefan Bode fork of Tasmota-Master

I keep this version in sync with the current development of the master. Anyhow my use case is a little bit different. Even, if I have some SONOFF devices, I like to build(solder) my own based on different versions of the ESP8266, depending on my different requirements (batterie, external Antenna, add on I2C devices and others). Additionally I try to improve the overall project.

Additional features:

  • DeepSleep and UltraDeepSleep support up to unlimited (deepsleep=xxx [sec]), support also 1day or more deepsleep. Just define deepsleep e.g. 1 day = 86400. (wakes up every hour for 0.4 seconds until time reached)
  • Support 8-Relays and inverted Relays. Also Pulsetimer up to 8 relays supported. All other items still maximum 4.
  • Improved Startuptime incl TLS MQTT and measurement in <9 sek
  • Support for Ultrasonic distance measurement HC-SR04
  • Support for I2C 10bit 4-channel A/D converter ADS1115
  • Support for I2C 8-channel DIO extension board PCF-8574 (large extension to support 32 relays and pulsetimers on 8 relays (can be changed by changing constant MAX_PULSETIMER).
  • Report total UPTIME (seconds) between two deepsleep cycle. This allows to see uptime, even if connect was not successfull or there was a reboot. Using RTC memory to ensure correct uptime

Sonoff-Tasmota

Provide ESP8266 based Sonoff by iTead Studio and ElectroDragon IoT Relay with Serial, Web and MQTT control allowing 'Over the Air' or OTA firmware updates using Arduino IDE.

Current version is 5.8.0h - See sonoff/_releasenotes.ino for change information.

ATTENTION All versions

Only Flash Mode DOUT is supported. Do not use Flash Mode DIO / QIO / QOUT as it might seem to brick your device.

See Wiki for background information.

ATTENTION Version 5 and up

These versions use a new linker script to free flash memory for future code additions. It moves the settings from Spiffs to Eeprom. If you compile your own firmware download the new linker to your IDE or Platformio base folder. See Wiki > Prerequisite.

Best practice to implement is:

  • Open the webpage to your device
  • Perform option Backup Configuration
  • Upgrade new firmware using Firmware upgrade
  • If configuration conversion fails keep the webpage open and perform Restore Configuration

You should now have a device with 32k more code memory to play with.

Version Information

  • Sonoff-Tasmota provides all (Sonoff) modules in one file and starts with module Sonoff Basic.
  • Once uploaded select module using the configuration webpage or the commands Modules and Module.
  • After reboot select config menu again or use commands GPIOs and GPIO to change GPIO with desired sensor.

See Wiki for more information.
See Community for forum and more user experience.

The following devices are supported:

License

This program is licensed under GPL-3.0

About

Provide ESP8266 based itead Sonoff with Web, MQTT and OTA firmware using Arduino IDE, enhanced with I2C options

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 46.6%
  • Other 39.2%
  • C 9.3%
  • Objective-C 2.7%
  • Python 0.9%
  • Processing 0.6%
  • Other 0.7%