Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge to 6.4.1 #1

Merged
merged 1,123 commits into from
Dec 31, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1123 commits
Select commit Hold shift + click to select a range
7e34f40
PS_16_DZ: GPIO13 => LED1
chaosmaster Nov 27, 2018
2811668
PS_16_DZ: cleanup code
chaosmaster Nov 27, 2018
e3d1971
Add Command CalcRes
ascillato Nov 27, 2018
101cf83
Update settings.ino
arendst Nov 27, 2018
6a46354
Update decode-config.py
arendst Nov 27, 2018
5d68409
Merge pull request #4466 from ascillato/patch-1
arendst Nov 27, 2018
2085c74
Add SetOption59 info
arendst Nov 27, 2018
33a158f
Merge pull request #4465 from chaosmaster/ps16dz
arendst Nov 27, 2018
3470d47
decode-config.py: add 6.3.0.11 to .14 settings
curzon01 Nov 27, 2018
58ff10c
Merge pull request #4470 from curzon01/development
arendst Nov 27, 2018
a360ac4
Add dynamic buffer space
arendst Nov 27, 2018
b3f1730
Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmo…
arendst Nov 27, 2018
3f33e3e
Add dynamic buffer space
arendst Nov 27, 2018
0df7df9
Fix dynamic buffer handling
arendst Nov 27, 2018
fd20706
Move static to dynamic buffers
arendst Nov 27, 2018
be358b3
Prep for Software SPI
arendst Nov 27, 2018
7a2c515
PS_16_DZ: only update brightness if it actually changed
chaosmaster Nov 27, 2018
5099d8f
PS_16_DZ: reduce buffer-size and actually check for overflow
chaosmaster Nov 27, 2018
6825b78
PS_16_DZ: optimize for size
chaosmaster Nov 27, 2018
4940324
PS_16_DZ: further optimization
chaosmaster Nov 27, 2018
f75c4a2
PS_16_DZ: leave space for trailing 0-byte
chaosmaster Nov 27, 2018
6d3223f
Hass: Restart if topic is changed
emontnemery Nov 27, 2018
8b08a3d
Merge pull request #4471 from emontnemery/hass_fix_topic
arendst Nov 27, 2018
0ce7537
PS_16_DZ: cleanup
chaosmaster Nov 27, 2018
9738f64
Merge pull request #4473 from chaosmaster/patch-1
arendst Nov 28, 2018
e3bff56
Fix possible overflow situation
arendst Nov 28, 2018
259d9f5
Small improvements to Hass MQTT discovery
emontnemery Nov 28, 2018
20480ce
Merge pull request #4478 from emontnemery/hass_fix_light
arendst Nov 28, 2018
7383ab4
Add support for Teckin US
arendst Nov 29, 2018
4d556d1
Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmo…
arendst Nov 29, 2018
8b5bbd7
Update display and epaper drivers
arendst Nov 29, 2018
b03c761
switch to using NewPing lib directly for sr04
winstona Nov 28, 2018
d7df737
Housekeeping
arendst Nov 30, 2018
33f85b2
Upd settings.ino - set sleep=0 when SetOption36>0
andrethomas Nov 30, 2018
3613946
Prevent sleep and SetOption36 being used concurrently
andrethomas Nov 30, 2018
2969b29
Merge pull request #4490 from andrethomas/patch-1
arendst Nov 30, 2018
5f402c8
Fix sleep->SetOption36 transition
andrethomas Nov 30, 2018
be86811
Update fr-FR.h
localhost61 Dec 1, 2018
4729d0e
Merge pull request #4491 from andrethomas/development
arendst Dec 1, 2018
694c295
Merge pull request #4492 from localhost61/development
arendst Dec 1, 2018
6050cd4
Merge sleep command
andrethomas Dec 1, 2018
a1c464d
Bump version to 0x0603000F
andrethomas Dec 1, 2018
0bd4ac8
Update support_wifi.ino
andrethomas Dec 1, 2018
980e8c3
Merge pull request #4497 from andrethomas/sleep
arendst Dec 1, 2018
eb3c1a3
6.3.0.15 Update dynamic sleep
arendst Dec 1, 2018
2367834
Update with dynamic sleep flag
arendst Dec 1, 2018
98a2e6e
Added Support for ButtonN and SwitchN
ascillato Dec 1, 2018
2e1af64
Merge pull request #4498 from ascillato/patch-1
arendst Dec 1, 2018
7f2b364
RULES: Added BREAK as an alternative ENDON
ascillato Dec 1, 2018
e37dbd1
Update xsns_22_sr04.ino
andrethomas2 Dec 1, 2018
c68fe7e
RULES: Added BREAK as an alternative ENDON
ascillato Dec 1, 2018
4ced9c0
Merge pull request #4500 from ascillato/patch-1
arendst Dec 1, 2018
7e09195
Delete duplicated min and max functions
ascillato Dec 1, 2018
09835cc
Merge pull request #4501 from ascillato/patch-1
arendst Dec 2, 2018
f4348f1
Merge pull request #4488 from winstona/hc-sr04-newping
arendst Dec 2, 2018
2e950c5
Update README.md
andrethomas2 Dec 2, 2018
f3d625d
Update _changelog.ino
andrethomas2 Dec 2, 2018
74172f1
Further improve Hass auto discovery
emontnemery Dec 2, 2018
b1a9de5
Merge pull request #4510 from emontnemery/hass_rework_light_status
arendst Dec 2, 2018
a2e865b
Add dummy soft_spi_flg to satisfy compiler
andrethomas2 Dec 2, 2018
3cd8933
decode-config.py: add new settings
curzon01 Dec 3, 2018
f5f75ae
Merge pull request #4514 from curzon01/development
arendst Dec 3, 2018
b148c8b
Add GPIO2 for Sonoff Basic Template
andrethomas Dec 3, 2018
dcaf616
Add support for GPIO02 for newer Sonoff Basic
andrethomas Dec 3, 2018
fd8af87
Merge pull request #4518 from andrethomas/patch-1
arendst Dec 3, 2018
24ef9ab
Fix Compilation issue with STAGE Core
ascillato Dec 3, 2018
e1546b3
Merge pull request #4524 from ascillato/patch-1
arendst Dec 4, 2018
abb6d5e
Create RF-Bridge-EFM8BB1-20181127.hex
Jason2866 Dec 4, 2018
3219440
Merge pull request #4530 from Jason2866/patch-1
arendst Dec 4, 2018
be19af1
Announce switches
emontnemery Dec 4, 2018
4b287ab
Final fix compile error (#4509)
arendst Dec 5, 2018
94786d3
Fix logic for ON/OFF vs TOGGLE
emontnemery Dec 5, 2018
a36ead5
Initial translation to Swedish
blittan Dec 5, 2018
eda86ac
Added Key to select Swedish Translation
ascillato2 Dec 5, 2018
33f27fe
Added Swedish to Precompiled bins
ascillato2 Dec 5, 2018
5f35f7e
Added missing "
ascillato2 Dec 5, 2018
3b68d60
Matched the order of days with Tasmota Timers
ascillato2 Dec 5, 2018
9af7297
Update platformio.ini
Jason2866 Dec 6, 2018
597cc42
Merge pull request #4538 from blittan/development
arendst Dec 6, 2018
a2c95b0
Merge pull request #4540 from Jason2866/patch-1
arendst Dec 6, 2018
3777dbe
localization for Polish - KNX, timers, etc.
araczkowski Dec 6, 2018
10483a4
Merge pull request #4542 from araczkowski/development
arendst Dec 6, 2018
dfa0d2e
Add Domoticz Selector for Fanspeed
arendst Dec 6, 2018
e64c8d6
Update sonoff.ino
arendst Dec 6, 2018
9471163
Merge pull request #4531 from emontnemery/hass_announce_switch
arendst Dec 6, 2018
61aa428
6.3.0.16 - Bump version
arendst Dec 6, 2018
9a3c389
Fix Domoticz Fanspeed
arendst Dec 6, 2018
46816f2
MCP230xx - Add Interrupt Retain
andrethomas Dec 6, 2018
99e6d7f
MCP230xx driver - add interrupt retention
andrethomas Dec 6, 2018
cd65888
Merge pull request #4547 from andrethomas/mcp230xx
arendst Dec 7, 2018
fe9103e
Fix HASS discovery of switches
emontnemery Dec 7, 2018
dc63d0f
Merge pull request #4554 from emontnemery/fix_hass_switch
arendst Dec 7, 2018
d8cf001
Announce RGBW light, add 'White' command
emontnemery Dec 7, 2018
a65041f
Enabled forced local operation when button- or switchtopic is set
emontnemery Dec 8, 2018
ebf74ab
Update Hass discovery
emontnemery Dec 8, 2018
ee35a94
v2.1.0012
curzon01 Dec 8, 2018
e74079f
decode-config.py: add new settings
curzon01 Dec 8, 2018
b7b6ae0
Merge branch 'development' of https://github.com/curzon01/Sonoff-Tasm…
curzon01 Dec 8, 2018
ae37c01
Merge pull request #4564 from curzon01/development
arendst Dec 8, 2018
f040b48
Merge pull request #4559 from emontnemery/hass_announce_rgbw_light
arendst Dec 8, 2018
4c21107
Merge pull request #4562 from emontnemery/force_local
arendst Dec 8, 2018
9b5e90e
Fix reversed logic when announcing buttons / switches
emontnemery Dec 8, 2018
92e209b
Merge pull request #4566 from emontnemery/hass_fix_button_switch
arendst Dec 8, 2018
140aa87
add DMP mode to MPU-6050
Staars Dec 9, 2018
aab7167
fix compile issue on ESP8266
Staars Dec 9, 2018
a516b25
Clean and shrink lights
arendst Dec 9, 2018
9f515c6
Add support for device registry
emontnemery Dec 10, 2018
4fb6773
Update my_user_config.h
ascillato2 Dec 10, 2018
a75bc93
Fix Warning in Platformio if building MPU and KNX together
ascillato2 Dec 10, 2018
384cc5c
USE_MPU6050_DMP moved to my_user_config.h
ascillato2 Dec 10, 2018
e5d3c3b
USE_MPU6050_DMP moved to my_user_config.h
ascillato2 Dec 10, 2018
ab91668
Merge pull request #4582 from emontnemery/hass_devices
arendst Dec 10, 2018
bc30a18
Corrected Domoticz Temp published from MPU6050
ascillato2 Dec 11, 2018
9c69701
decode-config.py: add new settings
curzon01 Dec 11, 2018
57c2e01
Merge pull request #4586 from curzon01/development
arendst Dec 11, 2018
9980707
Merge branch 'development' into development
Dec 11, 2018
400529c
Merge pull request #4581 from Staars/development
arendst Dec 11, 2018
00792bc
Update my_user_config.h
arendst Dec 11, 2018
f573d92
Merge pull request #3610 from Dees7/development
arendst Dec 11, 2018
a913c44
Fix language file
arendst Dec 11, 2018
67ec067
6.3.0.17 Add features
arendst Dec 11, 2018
808e2c0
add manzuko "power strip"
cybre-finn Dec 11, 2018
3779b84
Merge pull request #4590 from ikarulus/manzuko_patch
arendst Dec 11, 2018
b3e5e35
Add more support
arendst Dec 11, 2018
0c90db5
Updated Spanish Translation
ascillato Dec 11, 2018
4cb4447
Merge pull request #4592 from ascillato/patch-1
arendst Dec 11, 2018
4df23be
Update de-DE.h
Jason2866 Dec 11, 2018
2271842
Merge pull request #4593 from Jason2866/patch-1
arendst Dec 11, 2018
85c515c
More tweak of Hass switch/button
emontnemery Dec 11, 2018
160f184
Merge pull request #4596 from emontnemery/hass_fix_button_switch2
arendst Dec 11, 2018
276c11f
Update fr-FR.h
localhost61 Dec 12, 2018
b7610aa
Update fr-FR.h
localhost61 Dec 12, 2018
493b76b
Merge branch 'development' into localhost61-fr.FR
localhost61 Dec 12, 2018
b6165e9
initial work on range-support
Staars Dec 12, 2018
5c61304
mqtt messages updated
Staars Dec 12, 2018
14caf91
Merge pull request #4601 from localhost61/localhost61-fr.FR
arendst Dec 12, 2018
d3ccd66
Publish state message when changing effect
emontnemery Dec 12, 2018
280df94
Merge pull request #4607 from emontnemery/hass_light_scheme
arendst Dec 12, 2018
20a4b1b
decode-config.py: Fix `@v` filename template (#4609)
curzon01 Dec 13, 2018
cd2bce9
Merge pull request #4612 from curzon01/development
arendst Dec 13, 2018
47629a9
add debug code to show final command sequence
Staars Dec 13, 2018
df4f305
correcting memcpy calls
Staars Dec 13, 2018
26e84a1
Merge pull request #4616 from Staars/development
arendst Dec 13, 2018
3a0ac29
Add TheoV2 sensor source
arendst Dec 13, 2018
d8c383e
Add LwIP 2 no features (Low Flash)
Jason2866 Dec 13, 2018
aec8430
Merge pull request #4618 from Jason2866/patch-1
arendst Dec 13, 2018
dcbf5a8
Fix ArduinoOTA for Core 2.5.0 (fix is backwards compatible)
ascillato Dec 13, 2018
7857e9c
Merge pull request #4620 from ascillato/patch-1
andrethomas2 Dec 13, 2018
5f560ba
Fix ArduinoOTA for Core 2.5.0
andrethomas2 Dec 13, 2018
3795667
Fix HomeAssistant Temp Sensor AutoDiscovery
ascillato Dec 15, 2018
6d56509
Merge pull request #4629 from ascillato/patch-1
ascillato2 Dec 15, 2018
cccaf44
New 2.5.0-2 toolchain does not like uncast bitwise
andrethomas Dec 15, 2018
b16c14c
Fix NewPing-1.9.1 library.properties
andrethomas Dec 15, 2018
ad614b8
Merge pull request #4631 from andrethomas/patch-2
andrethomas2 Dec 15, 2018
28edcee
Merge pull request #4630 from andrethomas/patch-1
ascillato2 Dec 15, 2018
fc7c1ac
Updates for release 6.4.0
arendst Dec 15, 2018
a7bc97a
Prep for release
arendst Dec 15, 2018
26d60e5
Updates for release 6.4.0
arendst Dec 15, 2018
f83bcc2
Updates for release 6.4.0
arendst Dec 15, 2018
06d42b6
Updates for release 6.4.0
arendst Dec 15, 2018
f494c48
Prep for release
arendst Dec 16, 2018
1f38107
Updates for release 6.4.0
arendst Dec 16, 2018
173c19d
Updates for release 6.4.0
arendst Dec 16, 2018
44b45e1
Prep for merge
arendst Dec 16, 2018
cb0b5f6
Merge branch 'master' into development
arendst Dec 16, 2018
8792ea4
6.4.0.1 New dev release
arendst Dec 16, 2018
1bc93a1
Removing duplicate entrys
Jason2866 Dec 16, 2018
3ef3fdd
Merge pull request #4644 from Jason2866/patch-1
arendst Dec 16, 2018
5984a63
Update README.md
andrethomas2 Dec 16, 2018
7934362
Create boards.txt
Jason2866 Dec 17, 2018
18edbf1
Create platform.txt
Jason2866 Dec 17, 2018
2530b5f
No exceptions
Jason2866 Dec 17, 2018
6869790
it-IT language updated
gtortone Dec 17, 2018
0d86a81
Merge pull request #4649 from Jason2866/patch-2
arendst Dec 17, 2018
1ed4637
Merge pull request #4650 from gtortone/development
arendst Dec 17, 2018
3b306f5
option for firmware directory added
gtortone Dec 17, 2018
f00cf97
Merge pull request #4651 from gtortone/development
arendst Dec 17, 2018
8392b43
Ease selecting core versions
arendst Dec 17, 2018
9737ec5
webserver: swap index and name in module configuration
chaosmaster Dec 17, 2018
a76ae55
Merge pull request #4653 from chaosmaster/patch-2
arendst Dec 17, 2018
8c48ad3
Tune driver RF Sensor
arendst Dec 17, 2018
b2005fb
introduce new api-call for dimmer-devices
chaosmaster Dec 17, 2018
c92ce53
SerialLog: output CR + LF instead of just LF
chaosmaster Dec 17, 2018
b445064
Merge pull request #4657 from chaosmaster/patch-2
arendst Dec 17, 2018
9b2edb1
Merge pull request #4656 from chaosmaster/patch-1
arendst Dec 17, 2018
7f2f8b1
Update linker files
arendst Dec 17, 2018
d76a71b
Add sk-SK language
vladimirjendrol Dec 17, 2018
a232267
Merge pull request #4663 from vladimirjendrol/development
arendst Dec 17, 2018
b36ef42
Update bg-BG.h
znanev Dec 18, 2018
604f341
Add support for AZ-Instrument 7798 CO2 meter/datalogger.
Dec 18, 2018
1eb7f8e
Merge pull request #4669 from znanev/patch-1
andrethomas2 Dec 18, 2018
db65b9c
Add support for AZ-Instrument 7798 CO2 meter/datalogger.
Dec 18, 2018
2b0987d
Revert platformio.ini and my_user_config to original version,
Dec 18, 2018
ff1e516
Include changes from original into sonoff/language/bg-BG.h
Dec 18, 2018
6185a08
Updated from originals: platformio.ini, sonoff/my_user_config.h.
Dec 18, 2018
00d3f14
Merge branch 'development' into development
adebeun Dec 18, 2018
c506c48
Revert to original RELEASENOTES.md.
Dec 18, 2018
ce4db89
Merge branch 'development' of https://github.com/adebeun/Sonoff-Tasmo…
Dec 18, 2018
201baa3
Add void to functions without parameters
andrethomas2 Dec 18, 2018
a6a927b
Fix temperature conversion
andrethomas2 Dec 18, 2018
3229148
Merge pull request #4672 from adebeun/development
arendst Dec 18, 2018
8a7dd3e
Add support for AZ-Instrument 7798 CO2
andrethomas2 Dec 18, 2018
1fb4e8b
pressure unit of measure reporting
dcandi Dec 19, 2018
62c3dfa
Merge pull request #4692 from dcandi/#4678-fix-pressure-unit-not-repo…
arendst Dec 19, 2018
c1e0984
add missing units of measurements for energy
reey Dec 20, 2018
6c15843
removed some errors from copy pasting..
reey Dec 20, 2018
ebd1223
add empty unit of measurement for any sensors
reey Dec 21, 2018
2ee3e35
Merge pull request #4698 from reey/development
arendst Dec 21, 2018
435b3af
Added option for checking mqtt tls against root ca
fmeies Dec 21, 2018
ec931fe
Change RAM usage BMP/BME
arendst Dec 21, 2018
a17a40b
Update Arduino IDE core 2.5.0 files
arendst Dec 21, 2018
a80fcd9
Fix wifi strongest signal detection
arendst Dec 21, 2018
c1102a4
6.4.0.2 Fix possible dtostrf bos
arendst Dec 21, 2018
893f64c
Still need patched PWM for core 2.5.0
arendst Dec 21, 2018
d722387
Check for core version when enabling tls ca cert
fmeies Dec 21, 2018
5905693
Check for core version when enabling tls ca cert, changed names of de…
fmeies Dec 21, 2018
fd965eb
Remove SetOption55 (hass_short_discovery_msg)
emontnemery Dec 22, 2018
c348848
Rename HASS discovery string constants
emontnemery Dec 22, 2018
24829a7
Merge pull request #4711 from emontnemery/remove_setoption55
arendst Dec 22, 2018
6702113
Remove Alexa message "this value is outside the range of the device"
gourry Dec 22, 2018
a20ae4f
Merge pull request #4712 from gourry/master
arendst Dec 22, 2018
e2cd656
6.4.0.3 Hass and Alexa fixes
arendst Dec 22, 2018
9e15a1d
Merge pull request #4703 from fmeies/development
arendst Dec 22, 2018
ed6e411
Add optional TLS_CA_CERT
arendst Dec 22, 2018
d9f2e21
decode-config.py: adapt settings change
curzon01 Dec 23, 2018
1e66714
Merge pull request #4718 from curzon01/development
arendst Dec 23, 2018
77c07a2
Change FallbackTopic
arendst Dec 23, 2018
a013f4d
PS_16_DZ: fix broken if-statement
chaosmaster Dec 23, 2018
5dba580
Merge pull request #4720 from chaosmaster/patch-1
arendst Dec 24, 2018
0539775
Change MQTT GUI password handling
arendst Dec 24, 2018
87ddbd8
Release 6.4.1
arendst Dec 24, 2018
0b10f48
6.4.1.1 Fix most compiler warnings
arendst Dec 24, 2018
7291f7d
Fix compiler warning
arendst Dec 24, 2018
9640931
Change switch debounce
arendst Dec 26, 2018
8ce6b5a
Add INPUT_PULLUP option for single DS18B20
phreakmonkey Dec 26, 2018
6f55964
Merge pull request #4738 from phreakmonkey/ds18b20_pullup
arendst Dec 26, 2018
4fcbaf9
Add variable %timestamp% to be used in rules
ascillato Dec 27, 2018
17bc48a
Merge pull request #4749 from ascillato/patch-1
arendst Dec 27, 2018
5a44b12
6.4.1.2 Rewrite Switch driver
arendst Dec 28, 2018
5026cbd
Update platformio.ini with stage
arendst Dec 28, 2018
afe83a3
Prep for template tuning
arendst Dec 29, 2018
7ebb7a6
6.4.1.3 Change sonoff_template.h
arendst Dec 29, 2018
aa4c58a
Fix Typo in Spanish Translation
ascillato2 Dec 30, 2018
8b84ec3
Fix MGC3130/AZ7798 compile error
arendst Dec 30, 2018
e5c38da
Add debugging options to Switch
arendst Dec 30, 2018
fb4fe0f
Fix DS3231 driver
arendst Dec 30, 2018
8fe61f6
Disable unused feature
arendst Dec 30, 2018
0a22261
Revert "Disable unused feature"
arendst Dec 30, 2018
850d240
Add test for result usage
arendst Dec 30, 2018
c679222
Add tests for result
arendst Dec 30, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 9 additions & 1 deletion .github/ISSUE_TEMPLATE/Bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,24 @@ about: Create a report to help us improve

---

**IMPORTANT NOTICE**
If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

**FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED**

**Describe the bug**
_A clear and concise description of what the bug is._


_Also, make sure these boxes are checked [x] before submitting your issue - Thank you!_
- [ ] _Searched the problem in issues and in the wiki_
- [ ] _Hardware used_ :
- [ ] _Development/Compiler/Upload tools used_ :
- [ ] _If a pre-compiled release or development binary was used, which one?_ :
- [ ] _You have tried latest release or development binaries?_ :
- [ ] _Provide the output of command_``status 0`` :
```
STATUS 0 OUTPUT HERE
STATUS 0 OUTPUT HERE - DO NOT DELETE THE MARKERS ABOVE AND BELOW THIS LINE
```

**To Reproduce**
Expand Down
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/Custom.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,21 @@ about: Users Troubleshooting Help

---

**IMPORTANT NOTICE**
If you do not complete the template below it is likely that your issue will not be addressed. When providing information about your issue please be as extensive as possible so that it can be solved by as little as possible responses.

**FAILURE TO COMPLETE THE REQUESTED INFORMATION WILL RESULT IN YOUR ISSUE BEING CLOSED**

Make sure these boxes are checked [x] before submitting your issue - Thank you!

- [ ] Searched the problem in issues (https://github.com/arendst/Sonoff-Tasmota/issues)
- [ ] Searched the problem in the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting)
- [ ] Searched the problem in the forum (https://groups.google.com/d/forum/sonoffusers)
- [ ] Searched the problem in the chat (https://discord.gg/Ks2Kzd4)
- [ ] Development/Compiler/Upload tools used :
- [ ] Hardware used :
- [ ] If a pre-compiled release or development binary was used, which one? :
- [ ] You have tried latest release or development binaries? :
- [ ] Provide the output of command ``status 0`` :
```
STATUS 0 OUTPUT HERE
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ build

## Visual Studio Code specific ######
.vscode
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
65 changes: 65 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
## Sonoff-Tasmota basic API information
Sonoff-Tasmota can easily be extended by developers using provided function pointers as callback Ids. This document lists the available callback function Ids. See the wiki (https://github.com/arendst/Sonoff-Tasmota/wiki/Sensor-API) for more information.

Callback availability can be checked by searching for either XdrvCall, XsnsCall, XdspCall and XnrgCall.

## Driver, Sensor and Energy Callback Ids
The following table lists Callback Ids and their availability for a Driver, Sensor or Energy service.

Callback Id | Bool | Version | xdrv | xsns | xnrg | Description
----------------------------|------|----------|------|------|------|----------------------------------
FUNC_SETTINGS_OVERRIDE | | 6.2.1.19 | x | | | Override start-up settings
FUNC_MODULE_INIT | x | 6.2.1.17 | x | | | Init module specific parameters
FUNC_PRE_INIT | | | x | | x | Once GPIO have been established
FUNC_INIT | | | x | x | x | At end of initialisation
FUNC_LOOP | | | x | | | In main loop
FUNC_EVERY_50_MSECOND | | | x | x | |
FUNC_EVERY_100_MSECOND | | | x | x | |
FUNC_EVERY_200_MSECOND | | | | x | x |
FUNC_EVERY_250_MSECOND | | | x | | |
FUNC_EVERY_SECOND | | | x | x | x |
FUNC_PREP_BEFORE_TELEPERIOD | | | | x | | Deprecated. Use a FUNC_EVERY_
FUNC_JSON_APPEND | | | | x | | Extend teleperiod JSON text
FUNC_WEB_APPEND | | | | x | | Extend webgui ajax info
FUNC_SAVE_BEFORE_RESTART | | | | x | | Just before a planned restart
FUNC_COMMAND | x | | x | x | | When a command is not recognized
FUNC_MQTT_SUBSCRIBE | | 5.12.0k | x | | | At end of MQTT subscriptions
FUNC_MQTT_INIT | | 5.12.0k | x | | | Once at end of MQTT connection
FUNC_MQTT_DATA | x | 5.12.0k | x | | | Before decoding command
FUNC_SET_POWER | | | x | | | Before setting relays
FUNC_SET_DEVICE_POWER | x | 6.2.1.18 | x | | | Set relay
FUNC_SHOW_SENSOR | | | x | | | When FUNC_JSON_APPEND completes
FUNC_RULES_PROCESS | x | 6.0.0 | x | | | Process specific rule
FUNC_SERIAL | x | | x | | x | Process serial data
FUNC_FREE_MEM | | | x | | | Show free memory for debugging
FUNC_BUTTON_PRESSED | x | 6.2.1.18 | x | | | When a button is pressed
FUNC_WEB_ADD_BUTTON | | 6.2.1.14 | x | x | | Add a Configuration Button to GUI
FUNC_WEB_ADD_MAIN_BUTTON | | 6.2.1.14 | x | x | | Add a main button to GUI
FUNC_WEB_ADD_HANDLER | | 6.2.1.14 | x | x | | Add a webserver handler

## Display Call back Ids
The following table lists all Callback Ids for a Display service.

Callback Id | Bool | Version | Description
------------------------------|------|----------|---------------------
FUNC_DISPLAY_INIT_DRIVER | | 6.1.1.7 |
FUNC_DISPLAY_INIT | | 6.1.1.7 |
FUNC_DISPLAY_EVERY_50_MSECOND | | 6.1.1.7 |
FUNC_DISPLAY_EVERY_SECOND | | 6.1.1.7 |
FUNC_DISPLAY_MODEL | x | 6.1.1.7 |
FUNC_DISPLAY_MODE | | 6.1.1.7 |
FUNC_DISPLAY_POWER | | 6.1.1.7 |
FUNC_DISPLAY_CLEAR | | 6.1.1.7 |
FUNC_DISPLAY_DRAW_FRAME | | 6.1.1.7 |
FUNC_DISPLAY_DRAW_HLINE | | 6.1.1.7 |
FUNC_DISPLAY_DRAW_VLINE | | 6.1.1.7 |
FUNC_DISPLAY_DRAW_LINE | | 6.1.1.7 |
FUNC_DISPLAY_DRAW_CIRCLE | | 6.1.1.7 |
FUNC_DISPLAY_FILL_CIRCLE | | 6.1.1.7 |
FUNC_DISPLAY_DRAW_RECTANGLE | | 6.1.1.7 |
FUNC_DISPLAY_FILL_RECTANGLE | | 6.1.1.7 |
FUNC_DISPLAY_TEXT_SIZE | | 6.1.1.7 |
FUNC_DISPLAY_FONT_SIZE | | 6.1.1.7 |
FUNC_DISPLAY_ROTATION | | 6.1.1.7 |
FUNC_DISPLAY_DRAW_STRING | | 6.1.1.7 |
FUNC_DISPLAY_ONOFF | | 6.1.1.7 |
Loading