Commit Graph

277 Commits

Author SHA1 Message Date
Stephan Hadinger 4413a757d8 TLS+AWS IoT optimization for speed, code and memory footprint 2019-06-19 09:49:48 +02:00
Stephan Hadinger 006462f17e Refactored TLS based on BearSSL - cleaned 2019-06-10 12:06:03 +02:00
Theo Arends 6a5ea7a9c6 Add support for AWS IoT with TLS 1.2 on core 2.5.2
Add support for AWS IoT with TLS 1.2 on core 2.5.2
2019-06-06 14:40:59 +02:00
Stephan Hadinger bc3d0add4c Support for AWS IoT via TLS 1.2 2019-06-05 11:44:52 +02:00
Theo Arends 9aa05889b0 Revert "Fix pio compile parameters"
This reverts commit efb4d08823.
2019-06-03 18:00:29 +02:00
Theo Arends efb4d08823 Fix pio compile parameters
Fix pio compile parameters
2019-06-03 10:41:43 +02:00
Jason2866 abb7e0f412
Small fixes in platformio
Fixes in platformio update to 2.2.1
Fixed broken example "esp8266-nonos-sdk-blink"
Use 115200 upload speed by default (issue #153)
2019-05-26 14:19:26 +02:00
Jason2866 119f124a1d
Bugfix Core 2.5.2 release 2019-05-21 11:36:00 +02:00
gemu2015 cb662637eb Create platformio.ini 2019-05-18 12:59:42 +02:00
gemu 6ed2f06193
Delete platformio.ini 2019-05-18 10:50:18 +02:00
gemu2015 ba41a2ada5 update scripter 2019-05-18 09:45:04 +02:00
Jason2866 9ae658f886
Update to platformio v.2.1.1
For some platforms esptool flash fails. https://github.com/platformio/platform-espressif8266/issues/149
Fixed in v.2.1.1
2019-05-17 16:49:02 +02:00
Jason2866 32f59c462d
Official Platformio release of core 2.5.1
Use official resource of Platformio for core 2.5.1 and delete support for core 2.5.0.
Core 2.5.1 is a bug fix release for core 2.5.0
2019-05-15 14:49:50 +02:00
Jason2866 faa2590e92
Fix 2019-05-11 14:32:35 +02:00
Jason2866 3d08514060
add -DBEARSSL_SSL_BASIC
When using TLS, this flag avoids loading all the Elliptic Curves algorithm, and saves ~45KB of flash. Anyways, Elliptic Curves are far too slow for ESP8266 and the handshake would take more the 5 seconds. With this flag we limit to RSA algorithms which are faster.
Thx for the tipp @s-hadinger
2019-05-11 14:19:54 +02:00
Jason2866 bc211e8c78
Add Bugfix Arduino Core 2.5.1 and use as default
Since bugfix release is still not availible via orig. Platformio Github it is donwloaded via forked source from https://github.com/Jason2866/platform-espressif8266.git#Tasmota
2019-05-11 13:58:23 +02:00
Theo Arends 7f590e62f3 Change Spanish Argentina to Spanish Spain (#5565)
Change Spanish Argentina to Spanish Spain (#5565)
2019-04-01 17:41:47 +02:00
Jason2866 f709ecf786
Update Core 2.5.0 to build chain 2.0.4
Update Core 2.5.0 to build chain 2.0.4
Set Compiler Option -O2 for Core 2.5.0 and Core Stage (Faster code) See https://github.com/esp8266/Arduino/issues/5790#issuecomment-475672473
2019-03-26 11:46:03 +01:00
Theo Arends ef5377e327 Workaround NeoPixelBus STAGE compile error
Workaround NeoPixelBus STAGE compile error
2019-03-15 11:25:02 +01:00
Jason2866 798b8b73e0
nonos-sdk 22x as default for [core_stage]
Using for core stage latest updated nonos sdk 22x
2019-03-15 09:30:59 +01:00
Theo Arends 5871c7ebae Add Korean language translations
Add Korean language translations (#5344)
2019-02-26 10:16:56 +01:00
Jason2866 ca237a3123
Platformio 2.0.1 (Core 2.5.0)
Platformio is back to working build toolchain from core 2.4.2.
2019-02-24 11:15:40 +01:00
Jason2866 2a8e785a8b
Revert to modular build 2.5.0 release 2019-02-22 15:23:37 +01:00
Jason2866 51227b1d95
Update platformio.ini 2019-02-20 21:07:01 +01:00
Theo Arends ae277f59cf Change image defines
6.4.1.15 20190208
 * Change image name BE_MINIMAL to FIRMWARE_MINIMAL (#5106)
 * Change image names USE_xyz to FIRMWARE_xyz (#5106)
2019-02-08 14:55:45 +01:00
Jason2866 b430a22e0c
Core 2.5.0 Release
Changed core 2.5.0 beta3 to Release.
2019-02-06 19:57:11 +01:00
Jason2866 0870b5a7e8
Update platformio.ini 2019-01-26 09:33:11 +01:00
Jason2866 f0b56c6b8a
Changed core 2.5.0 to version Beta3 2019-01-26 08:58:21 +01:00
Theo Arends 5026cbd38d Update platformio.ini with stage
Update platformio.ini with latest stage option
2018-12-28 17:30:32 +01:00
Theo Arends a23226793c
Merge pull request #4663 from vladimirjendrol/development
Add sk-SK language
2018-12-17 21:57:49 +01:00
Vladimír Jendroľ d76a71b2fd Add sk-SK language 2018-12-17 21:46:39 +01:00
Theo Arends 7f2f8b12aa Update linker files
Update linker files to released linker files for coe 2.4.2 and up
2018-12-17 21:33:11 +01:00
Theo Arends 8392b432ba Ease selecting core versions
Ease selecting core versions by grouping core parameters together. Select core version in group [core_active]
2018-12-17 15:29:21 +01:00
Jason2866 1bc93a17b0
Removing duplicate entrys
Options for core 2.5.0 where duplicated
2018-12-16 23:07:19 +01:00
Theo Arends cb0b5f6eab Merge branch 'master' into development 2018-12-16 16:22:04 +01:00
Theo Arends 173c19d159 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-16 14:34:34 +01:00
Theo Arends f494c488a4 Prep for release
Prep for release
2018-12-16 13:04:46 +01:00
Theo Arends f83bcc2b89 Updates for release 6.4.0
Updates for release 6.4.0
2018-12-15 17:15:51 +01:00
Jason2866 d8c383eb10
Add LwIP 2 no features (Low Flash) 2018-12-13 17:12:03 +01:00
Theo Arends a2c95b056d
Merge pull request #4540 from Jason2866/patch-1
Update platformio.ini for Stage 2.5.0
2018-12-06 08:57:10 +01:00
Jason2866 9af72977db
Update platformio.ini
Support for enable / disable exceptions code in firmware for esp8266 core 2.5.0 (stage) or up
2018-12-06 08:48:20 +01:00
Adrian Scillato 33f27feb5f
Added Swedish to Precompiled bins 2018-12-05 20:04:22 -03:00
Jason2866 b89b9c1917
Remove faulty Arduino cores
Cores 2.4.0 and 2.4.1 are know to be faulty. Not needed for Tasmota anymore
2018-10-31 22:44:56 +01:00
Jason2866 a9d87de8e8
Add tested Beta Arduino Core 2.5.0
Add tested and known working Beta Arduino Core 2.5.0 for Tasmota. Unchanged Fork from Original https://github.com/esp8266/Arduino
New commits to Beta core 2.5.0 will only be added if known to be working with Tasmota
2018-10-28 12:13:36 +01:00
Theo Arends dffbc2c7c3 Updates for release 6.3.0
Updates for release 6.3.0
2018-10-27 17:46:44 +02:00
Theo Arends 4f59d102e7 Add sonoff-basic.bin
Add sonoff-basic.bin without most sensors
2018-10-27 17:15:52 +02:00
Theo Arends 3d6a71a406 Updates for release 6.3.0
Updates for release 6.3.0
2018-10-26 17:27:56 +02:00
Theo Arends 77d54be267 Prep for release
Prep for release
2018-10-26 17:09:28 +02:00
Adrian Scillato 802969b263
Added build flags for next esp8266 core 2018-10-19 10:39:19 -03:00
Theo Arends 1707c73264 Update Hebrew language file
Add Hebrew language file (#3960)
2018-10-03 13:55:07 +02:00
Theo Arends 40052a343f Add image sonoff-display
Add define USE_DISPLAYS for selecting image sonoff-display
2018-09-25 15:35:49 +02:00
Theo Arends 4f4743b77a Add pio option -mtarget-align
Add pio option -mtarget-align to solve pio compile issues on linux.
2018-09-09 15:36:19 +02:00
Theo Arends 550c7d256f Add option -mtarget-align
Add option -mtarget-align to solve linux compiled un-aligned binaries (#3678)
2018-09-09 14:58:50 +02:00
Theo Arends 9ff3233b97 Revert "Remove obsolete linker file"
This reverts commit 5ff735e4e7.
2018-09-02 15:23:11 +02:00
Theo Arends 5ff735e4e7 Remove obsolete linker file
Remove obsolete linker file as platformio now supports 1m0 out of the box
2018-09-02 15:21:58 +02:00
Theo Arends 821347d707 Release 6.2.0
Release 6.2.0
2018-08-31 15:43:29 +02:00
Theo Arends 624ee28db3 Revisit naming and features
Revisit naming and features in preparation to release
2018-08-28 14:28:36 +02:00
Adrian Scillato 2b0745ed6c
Added Optional Configurations 2018-08-27 02:54:11 -03:00
Adrian Scillato 3d50c87c9d
Added Optional Configurations 2018-08-27 02:18:10 -03:00
Neel Malik e70ef8336e back to alphabetical 2018-08-25 15:15:27 -07:00
Neel Malik a61b0599d9 Make Travis try again 2018-08-25 15:12:39 -07:00
Neel Malik b00658ace8 add upload_resetmethod to all targets 2018-08-25 14:49:59 -07:00
Xavier MULLER 089942b324
Update platformio.ini 2018-08-19 00:49:10 +02:00
Xavier MULLER 705b6a7f64
Update platformio.ini
- Add Turkish build option.
- Add comment about platform current version location
2018-08-19 00:40:51 +02:00
reloxx13 50ea2cfce4
Add option for PlatformIO 2.4.2/1.8.0
2.4.2 support for platformIO
https://github.com/platformio/platform-espressif8266/releases/tag/v1.8.0
2018-08-16 00:03:15 +02:00
Theo Arends 2058b9fa95 Updated to v6.1.0a
Updated to v6.1.0a
2018-07-06 18:00:50 +02:00
ascillato b0e979673a Revert "Merge branch 'development' into development"
This reverts commit 3ca69e499b, reversing
changes made to 7d8495b263.
2018-06-05 18:54:35 -03:00
ascillato 1c20dbe3a2 Revert "Revert Changes"
This reverts commit 1c337ae28e.
2018-06-05 18:54:30 -03:00
ascillato 1c337ae28e Revert Changes 2018-06-05 17:04:34 -03:00
Adrian Scillato 1bc3057c8a
Update platformio.ini 2018-05-31 02:42:13 -03:00
Adrian Scillato 87d9873301
Update platformio.ini 2018-05-29 10:40:41 -03:00
Adrian Scillato 6acf9f3a0d
Update platformio.ini 2018-05-29 10:27:36 -03:00
Adrian Scillato d294ea6033
Sync to Tasmota
Sync to Tasmota
2018-05-24 14:40:11 -03:00
Theo Arends ca08b77aad Add two more rule sets
5.14.0b
 * Increase rule storage space to 3 rule sets of 512 characters
using commands rule1, rule2 and rule3
2018-05-24 14:25:52 +02:00
Adrian Scillato a3ff1d05a9
Update platformio.ini 2018-05-18 10:33:29 -03:00
Adrian Scillato f3e9df7c99
Update platformio.ini 2018-05-18 10:31:32 -03:00
Theo Arends 3a1a9e9bcf Update default lwIP for 2.4.1
Update default lwIP for 2.4.1 (#2745)
2018-05-18 12:15:24 +02:00
Adrian Scillato aa86943c92
Update platformio.ini 2018-05-17 04:16:21 -03:00
Adrian Scillato d31c960124
Update platformio.ini 2018-05-17 02:28:36 -03:00
Adrian Scillato 629854bae0
Update platformio.ini 2018-05-17 00:21:35 -03:00
Adrian Scillato 0fe052b7da
Update platformio.ini 2018-05-16 15:07:57 -03:00
ascillato de78f5cd99 Update from Tasmota
Update from Tasmota
2018-05-16 14:49:07 -03:00
Theo Arends b67a1291e9
Fix pio compile errors 2018-05-16 11:23:40 +02:00
Theo Arends bace5a2f57 Fix pio compile errors
Fix pio compile errors caused by changed parameters and trict parameter
checking
2018-05-16 11:01:18 +02:00
Adrian Scillato 0b98c8a54f
Update platformio.ini 2018-05-15 13:37:20 -03:00
Adrian Scillato 5d28dc3f6f
Update platformio.ini 2018-05-15 13:33:54 -03:00
Theo Arends 457f438bac v5.14.0a - Sync with release 2018-05-15 17:13:51 +02:00
Adrian Scillato d67480d14b
Update platformio.ini 2018-05-14 00:53:48 -03:00
Adrian Scillato 766e76288a
Update platformio.ini 2018-05-11 13:34:21 -03:00
Adrian Scillato 0fb862e0e9
Update platformio.ini 2018-05-02 00:59:56 -03:00
ascillato ea202731bb Add Tasmota Display 2018-05-02 00:32:29 -03:00
Theo Arends 9356c02b4d Set default upload port to serial 2018-04-26 10:12:44 +02:00
Theo Arends 07a14fe896 Updated using common section 2018-04-25 14:42:54 +02:00
Theo Arends f9c702f8eb v5.12.0m - Add MQTT_TELE_RETAIN
5.12.0m
* Add define MQTT_TELE_RETAIN compile option default set to 0 (#1071)
2018-04-25 12:06:53 +02:00
Theo Arends 8fea3e49a8 5.12.0m - Changes and Fixes
5.12.0m
* Remove sonoff-xxl
* Add sonoff-classic, sonoff-allsensors and sonoff-knx
* Add some coloring to important web buttons
* Add user selectable defines for Sunrise/set Dawn option (#2378)
* Add GPIO_User to GPIO02 for all Sonoff T1 (#2524)
2018-04-23 11:37:46 +02:00
Theo Arends d42ecbcb8f
Compile all of them. 2018-04-22 14:47:03 +02:00
Theo Arends e6dbde4e43 Only compile one environment to ease Travis 2018-04-22 14:04:58 +02:00
Theo Arends 7dbd94b978 Add Bulgarian language file 2018-04-20 16:07:06 +02:00
Theo Arends e0aeb8e0a2 Add Greek translation
5.12.0m
* Add Greek language file (#2491)
2018-04-19 21:57:14 +02:00
Theo Arends 8ddd121953 Change user_config_override usage
5.12.0i
 * Change user_config_override usage by providing
user_config_override_sample.h (#2228)
2018-04-02 11:24:36 +02:00
Theo Arends 573d016140 v5.12.0d - Add Portuguese language
5.12.0d
 * Add Portuguese language file
2018-02-28 18:01:40 +01:00
Theo Arends 9014ad3a8e v5.12.0d - Adds and Fix
5.12.0d
 * Prep for optional MQTT drivers by separating mqtt code from
sonoff.ino to file xdrv_00_mqtt.ino
 * Add compiler check for stable
lwIP version v1.4 (#1940)
 * Add diacritics to Polish language file
(#2005)
 * Add Hungarian language file (#2024)
 * Fix MQTT TLS
fingerprint validation (#2033)
2018-02-27 14:59:46 +01:00
arendst 5c60979682 v5.12.0b
5.12.0b
 * Add Webserver upload preflight request support (#1927)
 * Add
Home Assistant clear other device (#1931)
2018-02-16 17:35:51 +01:00
arendst 193fdc9118 v5.12.0a - Fixes and changes
5.12.0a
 * Change platformio option sonoff-ds18x20 to sonoff-xxl
enabling ds18x20 and all other sensors in one image
 * Fix providing web
page configuratin option for Friendly Name when no device (relay or
light) is configured (#1850)
 * Change default paremeters in
user_config.h to undefined for easy installation (#1851)
 * Change max
user configurable hold time from 10 to 25 seconds (#1851)
2018-02-10 15:13:27 +01:00
arendst 8dbf29efdd Add platformio floats removal 2018-02-03 16:36:25 +01:00
arendst 1538d30c96 v5.11.1c - Fixes and experimental Hass Discovery
5.11.1c
 * Make command color parameter input less strict to ease Hass
support
 * Add ColorTemperature to light status message
 * Change
PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to 1000 for Hass
support
 * Make define MESSZ dependent on PubSubClient.h define
MQTT_MAX_PACKET_SIZE
 * Fix logging line length around 400 characters
 *
Change module name Wemos D1 mini into Generic (#1220)
 * Revert HTML
change from width=100% to style=width:100% supporting HTML5 (#1358)
 *
Add experimental (still Hass python exceptions) Home Assistant Discovery
for switch and light to be enabled by command SetOption19 1 (#1534)
 *
Updated French Translation (#1561)
 * Fix DS18B20 temperature JSON
decimal dot (#1561)
 * Add Spanish language file (#1589)
 * Update
Italian Language file (#1594)
 * Consolidate WIFI_MANAGER_SEC into
WIFI_CONFIG_SEC (#1616)
 * Fix Energy JSON message (#1621)
2018-01-18 16:19:28 +01:00
arendst 20619ac41b v5.10.0e
5.10.0e
 * Add Italian language file (#1449)
 * Fix Wemo Emulation once
again closest to issue (#1357)
2017-12-28 13:43:51 +01:00
arendst 0f531e24e5 v5.9.1j - Add Dual R2, Rewrite DS18x20 and fixes
5.9.1j
 * Revert changes to xsns_05_ds18x20.ino and rename to
xsns_05_ds18x20_legacy.ino still needing library OneWire and providing
legacy JSON message:
 *
"DS18x20":{"DS1":{"Type":"DS18B20","Address":"284CC48E04000079","Temperature":19.5},"DS2":{"Type":"DS18B20","Address":"283AC28304000052","Temperature":19.6}}

* Add new xdrv_05_ds18x20.ino free from library OneWire and add the
following features:
 *  Add support for DS1822
 *  Add forced setting of
12-bit resolution for selected device types (#1222)
 *  Add read
temperature retry counter (#1215)
 *  Fix lost sensors by performing
sensor probe at restart only thereby removing dynamic sensor probe
(#1215)
 *  Fix sensor address sorting using ascending sort on sensor
type followed by sensor address
 *  Rewrite JSON resulting in shorter
message allowing more sensors in default firmware image:
 *
"DS18B20-1":{"Id":"00000483C23A","Temperature":19.5},"DS18B20-2":{"Id":"0000048EC44C","Temperature":19.6}

* Add additional define in user_config.h to select either single sensor
(defines disabled), new multi sensor (USE_DS18X20) or legacy multi
sensor (USE_DS18X20_LEGACY)
 * Add support for Sonoff Dual R2 (#1249)
 *
Fix ADS1115 detection (#1258)
2017-11-27 17:46:51 +01:00
arendst ae12b958cd v5.8.0p - Prep for release
5.8.0p
 * Fix initial PwmFrequency and PwmRange
 * Add support for
Arilux AL-LC01 RGB Led controller (#370)
 * Add light turn Off Fade
(#925)
 * Change IrSend Panasonic command to IrSend
{"Protocol":"Panasonic", "Bits":16388, "Data":<Panasonic data>}
 *
where 16388 is 0x4004 hexadecimal (#1014)
2017-10-26 16:33:33 +02:00
arendst 1296432da2 v5.8.0n - Add language, device and clock commands
5.8.0n
 * Fix minimum TelePeriod of 10 seconds set by web page
 * Shrink
information web page by 1k code space
 * Removed Arduino IDE version too
low warning as it interferes with platformio.ini platform =
espressif8266_stage
 * Add commands Color2, Color3, Color4, Width2,
Width3, Width4 and SetOption16 to set Ws2812 Clock parameters (#1019)
 *
Add Polish language file (#1044, #1047)
 * Add support for KMC 70011
Power Monitoring Smart Plug (#1045)
 * Corrected German language file
(#1054)
2017-10-23 12:18:15 +02:00
arendst fc89330056 v5.8.0m - Rewrite and Additions
5.8.0m
 * Rewrite code (partly) using Google C++ Style Guide
(https://google.github.io/styleguide/cppguide.html)
 * Allow empty
MqttHost name by using option 0
 * Allow Mqtt server mDNS lookup only
when MqttHost name is empty (#1026)
 * Change Ws2812 clock with more
flexible version (#1019)
 * Add German language file (#1022)
 * Support
connecting to MQTT brokers without userid and/or password (#1023)
 * Add
commands PwmRange 1,255..1023 and PwmFrequency 1,100..4000 (#1025)
2017-10-18 18:22:34 +02:00
arendst d609433b34 Add optiomal pio OTA upload support
Add custom upload (#928) and (#934)
2017-09-30 15:53:50 +02:00
arendst ab5b53703c Revert "Add optional pio OTA upload"
This reverts commit 615a398b17.
2017-09-30 15:49:31 +02:00
arendst 615a398b17 Add optional pio OTA upload 2017-09-30 15:47:55 +02:00
arendst c16fd3d99e v5.7.1d
5.7.1d
 * Fix watchdog timeout caused by lack of stack space by now
using global buffers (#853)
 * Removed webserver syslog disable as now
no longer needed
 * Increased default MQTT message size from 368 to 405
bytes while keeping DMQTT_MAX_PACKET_SIZE = 512 (because we can)
 * Fix
MQTT Offline or Remove MQTT retained topic code
 * Allow command
SwitchTopic in group mode (#861)
 * Allow command SwitchMode if no
switches are defined (#861)
2017-09-13 14:19:34 +02:00
arendst 1b450b8c88 Add language preprocessor demo 2017-09-02 17:24:05 +02:00
arendst 88ec2c6a94 Enforce use of flash mode DOUT
To solve boot problems on increasing amount of esp8285 based devices
using the wrong firmware image. Dout works fine with both esp8266 and
esp8285
2017-07-14 13:00:08 +02:00
arendst c768f7d610 Add support for BN-SZ01 2017-07-03 11:43:45 +02:00
Thomas Dietrich d8eda2ff13 Fix typo 2017-06-03 22:18:58 +02:00
Thomas Dietrich e2468b58bc Add commented default environment config lines 2017-06-03 22:13:35 +02:00
arendst 44b69bfd97 v5.1.4
5.1.4 20170601
* Removed pre-compiled versions from repository as they are available
within the release
* Changed HUE Device type to color supporting version (#464)
* Fix compile error when BE_MINIMAL is selected (#467, #476)
* Add multiple compiled versions to release using updated Travis script
and platformio.ini (#467)
2017-06-01 17:37:30 +02:00
arendst 09acb77277 Enabled auto-compiling both versions 2017-05-07 15:57:59 +02:00
arendst f4ea594ef0 Add 1M flash with no spiffs linker script 2017-04-25 18:16:40 +02:00
arendst 7786889e90 Updated esp8266/esp8285 selection 2017-03-08 18:08:47 +01:00
arendst 4a989fb8c6 Updated minimum MQTT_MAX_PACKET_SIZE to 512 2017-03-01 11:33:32 +01:00
arendst 381bb4b50c v3.9.16
3.9.16 20170214
* Update latching relay handler
* Add support for IR led using IRremoteESP8266 library (#59)
* Add Hue argument passing using ArduinoJSON library (#59)
2017-02-14 14:27:08 +01:00
arendst c485dff3d7 Update platformio info 2017-01-28 16:44:00 +01:00