Skip to content

Commit bde98f8

Browse files
committed
readme created to help editing
1 parent 71ed3fd commit bde98f8

File tree

3 files changed

+75
-161
lines changed

3 files changed

+75
-161
lines changed

README.md

Lines changed: 64 additions & 154 deletions
Original file line numberDiff line numberDiff line change
@@ -1,158 +1,68 @@
1-
![Tasmota logo](/tools/logo/TASMOTA_FullLogo_Vector.svg)
1+
# Tasmota Documentation
2+
This is the repo for documentation of the Tasmota open source alternative firmware for ESP8266 available from https://github.com/arendst/Tasmota
23

3-
Alternative firmware for [ESP8266](https://en.wikipedia.org/wiki/ESP8266) based devices with **easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX**.
4-
_Written for Arduino IDE and PlatformIO._
4+
## Editing Files
55

6-
[![GitHub version](https://img.shields.io/github/release/arendst/Tasmota.svg)](https://github.com/arendst/Tasmota/releases/latest)
7-
[![GitHub download](https://img.shields.io/github/downloads/arendst/Tasmota/total.svg)](https://github.com/arendst/Tasmota/releases/latest)
8-
[![License](https://img.shields.io/github/license/arendst/Tasmota.svg)](https://github.com/arendst/Tasmota/blob/development/LICENSE.txt)
9-
[![Chat](https://img.shields.io/discord/479389167382691863.svg)](https://discord.gg/Ks2Kzd4)
6+
Use strict markdown syntax
107

11-
If you like **Tasmota**, give it a star, or fork it and contribute!
8+
## Enhancements
9+
10+
11+
### Disable click on zoom for an image
12+
Images support click on zoom function. If you don't want to use it:
13+
```
14+
![](image.png ":no-zoom")
15+
```
16+
### Image resizing
17+
Due to click on zoom you can directly link to a big image but make it render smaller on the page:
18+
19+
```
20+
![logo](https://docsify.js.org/_media/icon.svg ':size=50x100')
21+
![logo](https://docsify.js.org/_media/icon.svg ':size=100')
22+
23+
<!-- Supports percentage -->
24+
25+
![logo](https://docsify.js.org/_media/icon.svg ':size=10%')
26+
```
27+
28+
### Rendering Alert Tags
29+
30+
Blockquotes `>` can now look even fancier:
31+
32+
?> =`?>`
33+
34+
!> = `!>`
35+
36+
> [!TIP]
37+
> `> [!TIP]`
38+
39+
> [!DANGER]
40+
> `> [!DANGER]`
41+
42+
> [!NOTE]
43+
> `> [!NOTE]`
44+
45+
> [!EXAMPLE]
46+
> `> [!EXAMPLE]`
47+
48+
### Creating Tabs
49+
Tabs inside tabs are not supported.
50+
51+
```
52+
<!-- tabs:start -->
53+
54+
#### ** First Tab Title **
55+
56+
Hello!
57+
58+
#### ** Second Tab Title **
59+
60+
Bonjour!
61+
62+
#### ** Third Tab Title **
63+
64+
Ciao!
65+
66+
<!-- tabs:end -->
67+
```
1268

13-
[![GitHub stars](https://img.shields.io/github/stars/arendst/Tasmota.svg?style=social&label=Star)](https://github.com/arendst/Tasmota/stargazers)
14-
[![GitHub forks](https://img.shields.io/github/forks/arendst/Tasmota.svg?style=social&label=Fork)](https://github.com/arendst/Tasmota/network)
15-
[![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://paypal.me/tasmota)
16-
17-
See [RELEASENOTES.md](https://github.com/arendst/Tasmota/blob/development/RELEASENOTES.md) for release information.
18-
19-
In addition to the [release webpage](https://github.com/arendst/Tasmota/releases/latest) the binaries can also be downloaded from http://thehackbox.org/tasmota/release/
20-
21-
## Development
22-
[![Dev Version](https://img.shields.io/badge/development%20version-v7.0.0.x-blue.svg)](https://github.com/arendst/Tasmota)
23-
[![Download Dev](https://img.shields.io/badge/download-development-yellow.svg)](http://thehackbox.org/tasmota/)
24-
[![Build Status](https://img.shields.io/travis/arendst/Tasmota.svg)](https://travis-ci.org/arendst/Tasmota)
25-
26-
See [tasmota/_changelog.ino](https://github.com/arendst/Tasmota/blob/development/tasmota/_changelog.ino) for detailed change information.
27-
28-
Unless your Tasmota powered device exhibits a problem or you need to make use of a feature that is not available in the Tasmota version currently installed on your device, leave your device alone - it works so don't make unnecessary changes! If the release version (i.e., the master branch) exhibits unexpected behaviour for your device and configuration, you should upgrade to the latest development version instead to see if your problem is resolved as some bugs in previous releases or development builds may already have been resolved.
29-
30-
The Tasmota development codebase is checked every 1-2 hours for changes. If new commits have been merged and they compile successfuly, new binary files for every variant (excluding non-English languages) will be posted at http://thehackbox.org/tasmota/ (this web address can be used for OTA updates too). The last compiled commit number is also indicated on the same page. It is important to note that these binaries are based on the current development codebase. These commits are tested as much as is possible and are typically quite stable. However, it is infeasible to test on the hundreds of different types of devices with all the available configuration options permitted.
31-
32-
Note that there is a chance, as with any upgrade, that the device may not function as expected. You must always account for the possibility that you may need to flash the device via the serial programming interface if the OTA upgrade fails. Even with the master release, you should always attempt to test the device or a similar prototype before upgrading a device which is in production or is hard to reach. And, as always, make a backup of the device configuration before beginning any firmware update.
33-
34-
## Disclaimer
35-
:warning: **DANGER OF ELECTROCUTION** :warning:
36-
37-
If your device connects to mains electricity (AC power) there is danger of electrocution if not installed properly. If you don't know how to install it, please call an electrician (***Beware:*** certain countries prohibit installation without a licensed electrician present). Remember: _**SAFETY FIRST**_. It is not worth the risk to yourself, your family and your home if you don't know exactly what you are doing. Never tinker or try to flash a device using the serial programming interface while it is connected to MAINS ELECTRICITY (AC power).
38-
39-
We don't take any responsibility nor liability for using this software nor for the installation or any tips, advice, videos, etc. given by any member of this site or any related site.
40-
41-
## Note
42-
Please do not ask to add new devices unless it requires additional code for new features. If the device is not listed as a module, try using [Templates](https://github.com/arendst/Tasmota/wiki/Templates) first. If it is not listed in the [Tasmota Device Templates Repository](http://blakadder.github.io/templates) create your own [Template](https://github.com/arendst/Tasmota/wiki/Templates#creating-your-template-).
43-
44-
## Quick Install
45-
Download one of the released binaries from https://github.com/arendst/Tasmota/releases and flash it to your hardware as [documented in the wiki](https://github.com/arendst/Tasmota/wiki/Flashing).
46-
47-
## Important User Compilation Information
48-
If you want to compile Tasmota yourself keep in mind the following:
49-
50-
- Only Flash Mode **DOUT** is supported. Do not use Flash Mode DIO / QIO / QOUT as it might seem to brick your device.
51-
- Tasmota uses a 1M linker script WITHOUT spiffs **1M (no SPIFFS)** for optimal code space.
52-
- To make compile time changes to Tasmota use the `user_config_override.h` file. It assures keeping your custom settings when you download and compile a new version. You have to make a copy from the provided `user_config_override_sample.h` file and add your setting overrides. To enable the override you have to set a compile define as documented in the `user_config_override_sample.h` file.
53-
54-
## Configuration Information
55-
Please refer to the installation and configuration articles in the [wiki](https://github.com/arendst/Tasmota/wiki).
56-
57-
## Migration Information
58-
See [wiki migration path](https://github.com/arendst/Tasmota/wiki/Upgrading#migration-path) for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:
59-
60-
1. Migrate to **Sonoff-Tasmota 3.9.x**
61-
2. Migrate to **Sonoff-Tasmota 4.x**
62-
3. Migrate to **Sonoff-Tasmota 5.14**
63-
4. Migrate to **Sonoff-Tasmota 6.7.1**
64-
5. Migrate to **Tasmota 7.x**
65-
66-
## Support Information
67-
<img src="https://user-images.githubusercontent.com/5904370/68332933-e6e5a600-00d7-11ea-885d-50395f7239a1.png" width=150 align="right" />
68-
69-
For a database of supported devices see [Tasmota Device Templates Repository](https://blakadder.github.io/templates)
70-
71-
See [Wiki](https://github.com/arendst/Tasmota/wiki) for use instructions and how-to's.<br />
72-
See [Community](https://groups.google.com/d/forum/sonoffusers) for forum.<br />
73-
Visit [Discord Chat](https://discord.gg/Ks2Kzd4) for discussions and troubleshooting.
74-
75-
## Contribute
76-
You can contribute to Tasmota by
77-
- providing Pull Requests (Features, Proof of Concepts, Language files or Fixes)
78-
- testing new released features and report issues
79-
- donating to acquire hardware for testing and implementing or out of gratitude
80-
- contributing missing documentation for features and devices on our [Wiki](https://github.com/arendst/Tasmota/wiki)
81-
82-
[![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://paypal.me/tasmota)
83-
84-
## Credits
85-
86-
### Libraries Used
87-
Libraries used with Tasmota are:
88-
- [ESP8266 core for Arduino](https://github.com/esp8266/Arduino)
89-
- [Adafruit CCS811](https://github.com/adafruit/Adafruit_CCS811)
90-
- [Adafruit ILI9341](https://github.com/adafruit/Adafruit_ILI9341)
91-
- [Adafruit LED Backpack](https://github.com/adafruit/Adafruit-LED-Backpack-Library)
92-
- [Adafruit MAX31865](https://github.com/adafruit/Adafruit_MAX31865)
93-
- [Adafruit SGP30](https://github.com/adafruit/Adafruit_SGP30)
94-
- Adafruit based SH1106
95-
- [Adafruit SSD1306](https://github.com/adafruit/Adafruit_SSD1306)
96-
- Adafruit based SSD1351
97-
- [Adafruit GFX](https://github.com/adafruit/Adafruit-GFX-Library)
98-
- [ArduinoJson](https://arduinojson.org/)
99-
- AT24C256 I2C eeprom
100-
- [Base64](https://github.com/Densaugeo/base64_arduino)
101-
- [Bear SSL](https://github.com/earlephilhower/bearssl-esp8266.git)
102-
- [Bosch BME680](https://github.com/BoschSensortec/BME680_driver)
103-
- [C2 Programmer](http://app.cear.ufpb.br/~lucas.hartmann/tag/efm8bb1/)
104-
- [esp-epaper-29-ws-20171230-gemu](https://github.com/gemu2015/Sonoff-Tasmota/tree/displays/lib)
105-
- [esp-knx-ip](https://github.com/envy/esp-knx-ip)
106-
- FrogmoreScd30
107-
- FT6236
108-
- [I2Cdevlib](https://github.com/jrowberg/i2cdevlib)
109-
- [IRremoteEsp8266](https://github.com/markszabo/IRremoteESP8266)
110-
- [JaretBurkett ILI9488](https://github.com/jaretburkett/ILI9488)
111-
- [JobaTsl2561](https://github.com/joba-1/Joba_Tsl2561)
112-
- [LinkedList](https://github.com/ivanseidel/LinkedList)
113-
- [Liquid Cristal](https://github.com/marcoschwartz/LiquidCrystal_I2C)
114-
- [MultiChannelGasSensor](http://wiki.seeedstudio.com/Grove-Multichannel_Gas_Sensor/)
115-
- [NeoPixelBus](https://github.com/Makuna/NeoPixelBus)
116-
- [NewPing](https://bitbucket.org/teckel12/arduino-new-ping/wiki/Home)
117-
- [OneWire](https://github.com/PaulStoffregen/OneWire)
118-
- [PubSubClient](https://github.com/knolleary/pubsubclient)
119-
- [rc-switch](https://github.com/sui77/rc-switch)
120-
- TasmotaModbus
121-
- TasmotaSerial
122-
- [Vl53l0x](https://github.com/pololu/vl53l0x-arduino)
123-
- Xlatb Ra8876
124-
125-
### People inspiring me
126-
People helping to keep the show on the road:
127-
- David Lang providing initial issue resolution and code optimizations
128-
- Heiko Krupp for his IRSend, HTU21, SI70xx and Wemo/Hue emulation drivers
129-
- Wiktor Schmidt for Travis CI implementation
130-
- Thom Dietrich for PlatformIO optimizations
131-
- Marinus van den Broek for his EspEasy groundwork
132-
- Pete Ba for more user friendly energy monitor calibration
133-
- Lobradov providing compile optimization tips
134-
- Flexiti for his initial timer implementation
135-
- reloxx13 for his [TasmoAdmin](https://github.com/reloxx13/TasmoAdmin) management tool
136-
- Joachim Banzhaf for his TSL2561 library and driver
137-
- Gijs Noorlander for his MHZ19, SenseAir and updated PubSubClient drivers
138-
- Emontnemery for his HomeAssistant Discovery concept and many code tuning tips
139-
- Aidan Mountford for his HSB support
140-
- Daniel Ztolnai for his Serial Bridge implementation
141-
- Gerhard Mutz for multiple sensor & display drivers, Sunrise/Sunset, and scripting
142-
- Nuno Ferreira for his HC-SR04 driver
143-
- Adrian Scillato for his (security)fixes and implementing and maintaining KNX
144-
- Gennaro Tortone for implementing and maintaining Eastron drivers
145-
- Raymond Mouthaan for managing Wemos Wiki information
146-
- Norbert Richter for his decode-config.py tool
147-
- Andre Thomas for providing [thehackbox](http://thehackbox.org/tasmota/) OTA support and daily development builds
148-
- Joel Stein, digiblur and Shantur Rathore for their Tuya research and driver
149-
- Frogmore42 and Jason2866 for providing many issue answers
150-
- Blakadder for editing the wiki and providing template management
151-
- Stephan Hadinger for refactoring light driver, enhancing HueEmulation and Zigbee support
152-
- tmo for designing the official Tasmota logo
153-
- Stefan Bode for his Shutter and Deep sleep drivers
154-
- Many more providing Tips, Wips, Pocs, PRs and Donations
155-
156-
## License
157-
158-
This program is licensed under GPL-3.0

_template_feature-not-included.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
!> **This feature is not included in precompiled binaries.**
2+
23
To use it you must [compile your build](compile-your-build). Add the following to `user_config_override.h`:
34
```
45
#ifndef USE_SHUTTER

integrations/AWS-IoT.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
# Connecting Tasmota to AWS IoT
22

3-
*This feature is still experimental, and undergoing thorough testing to check stability (i.e. that memory pressure does not cause a crash). After a few months of testing, it appears extremely stable (no crash).*
3+
!> **This feature is not included in precompiled binaries.**
4+
5+
To use it you must [compile your build](compile-your-build). Add the following to `user_config_override.h`:
46

5-
To use this feature you must compile your own firmware by adding the following lines to `user_config_override.h`. AWS IoT also requires [Tasmota TLS](TLS).
67
```
78
#ifndef USE_MQTT_TLS
89
#define USE_MQTT_TLS
@@ -15,20 +16,22 @@ To use this feature you must compile your own firmware by adding the following l
1516
#undef USE_DISCOVERY
1617
#endif
1718
```
19+
> [!DANGER]
20+
>This feature is still experimental, and undergoing thorough testing to check stability (i.e. that memory pressure does not cause a crash). After a few months of testing, it appears extremely stable (no crash).
1821
1922
> As of Tasmota version 6.6.0.3, the device-specific credentials are no longer restricted to being set at compile time only. You can now use the same firmware for all your devices. AWS IoT credentials can be set through the Console at runtime and are stored in flash memory. Credentials will survive firmware updates and OTA. Credentials will not survive a full Flash reset `Reset 5` or `Reset 6` nor will it survive a System Parameter Flash reset `Reset 3`
2023
2124
## Benefits
2225

2326
AWS IoT provides secure, bi-directional communication between Internet-connected devices such as sensors, actuators, embedded micro-controllers. This basically allows to communicate in both direction from the cloud using MQTT over secure channels using TLS.
2427

25-
### 1. More Alexa controls
28+
#### 1. More Alexa controls
2629

2730
It's actually easy to develop smarthome Alexa skills, so that you can control your whole house. Currently you can only use the local Philips Hue/Wemo emulation - limited to lights and switches. You can imagine for instance controlling your Sonoff RF Bridge and send IR codes to your TV.
2831

2932
Alexa skills need to communicate back to your devices, which is easy using MQTT and AWS IoT
3033

31-
### 2. No need for a local gateway
34+
#### 2. No need for a local gateway
3235

3336
Of course you can do it with a local gateway like Raspberry PI using many of the open-source solutions (Domoticz...).
3437

@@ -64,18 +67,18 @@ AWS IoT requires a distinct Private Key and Certificate per Tasmota device. Curr
6467

6568
Here is a simple guide.
6669

67-
### Step 0. Open an AWS Account
70+
#### Step 0. Open an AWS Account
6871

6972
If you don't have already one, just follow the guide: https://aws.amazon.com/premiumsupport/knowledge-center/create-and-activate-aws-account/
7073

71-
### Step 1. Prerequisites
74+
#### Step 1. Prerequisites
7275

7376
You will need to install/compile the following:
7477

7578
* Complete environment to compile Tasmota, ex: PlatformIO (https://github.com/arendst/Tasmota/wiki/PlatformIO)
7679
* Recent version of `openssl`
7780

78-
### Step 1.5 Deploy required resources using AWS CloudFormation and skip to Step 6.
81+
#### Step 1.5 Deploy required resources using AWS CloudFormation and skip to Step 6.
7982

8083
The following AWS CloudFormation template will create these resources:
8184

0 commit comments

Comments
 (0)