mirror of
https://github.com/arendst/Tasmota.git
synced 2025-04-20 04:47:19 +00:00

5.12.0 20180209 * Change library PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to 1000 for Home Assistant support * Change relation of define MESSZ being dependent on PubSubClient.h define MQTT_MAX_PACKET_SIZE * Change command color parameter input checks to less strict for Home Assistant support * Change command Ina219Mode into command Sensor13 * Change commands HlwPCal, HlwUCal and HlwICal to PowerCal, VoltageCal and CurrentCal to be used for both Pow and S31 calibration * Change commands HlwPSet, HlwUSet and HlwISet to PowerSet, VoltageSet and CurrentSet to be used for both Pow and S31 calibration * Change uptime from hour to second resulting in a display of 123T13:45:21 where 123 is days * Change module name Wemos D1 mini into Generic (#1220) * Change HTML from width=100% to style=width:100% supporting HTML5 (#1358) * Change OSWATCH_RESET_TIME (Blocked loop) from 30 to 120 seconds to allow slow networks (#1556) * Change WIFI_MANAGER_SEC into WIFI_CONFIG_SEC (#1616) * Change function pointers code to save code space and memory (#1683) * Change webserver argument processing gaining 5k code space (#1705) * Change weblog memory usage (#1730, #1793, #1819) * Update TasmotaSerial library to 1.1.0 * Update language files Italian (#1594), Dutch (#1723) and Spanish (#1722) * Fix Non-English JSON temperature unit attachement * Fix Arilux RF induced exception by moving interrupt handler to iram on non ESP8266/Arduino lib v2.3.0 * Fix truncated command names and wrong response for DomoticzSwitchIdx (#1571) * Fix %-sign issue as printf escape character in Humidity and Sonoff SC (#1579) * Fix DS18B20 temperature JSON decimal dot (#1561) * Fix Energy JSON message (#1621) * Fix IRSend parameter translation (#1636) * Fix TSL2561 device detection (#1644, #1825) * Fix BME680 teleperiod resistance measuring (#1647) * Fix Energy Monitoring Energy Today and Energy Total reading after restart (#1648) * Fix IRReceive Data value (#1663) * Fix Energy Monitoring Energy Period roll-over (#1688) * Fix compiler warnings (#1774) * Fix command PWM response if no PWM channel is configured (#1783) * Add locale Decimal Separator to Web sensor page * Add ColorTemperature to light status message * Add command PowerOnState option 5 which inverts PulseTime and allows for delayed always on after power on * Add OtaMagic two step Web server OTA upgrade using filename-minimal image if OTA free space is too small * Add support for PMS5003 and PMS7003 particle concentration sensor * Add command SetOption21 1 to allow Energy Monitoring when power is off on Sonoff Pow and Sonoff S31 (#1420) * Add Chinese language file (#1551) * Add French language file (#1561) * Add Spanish language file (#1589) * Add HTTP Allow Cross Origin removed from ESP8266/Arduino lib v2.4.0 (#1572) * Add Home Assistant MQTT Discovery for switch and light to be enabled by command SetOption19 1 (#1534) or define HOME_ASSISTANT_DISCOVERY_ENABLE in user_config.h (#1685) * Add command State to retrieve device state information (same data as teleperiod state and status 11 in slightly different JSON format) * Add optional login to Webserver AP mode (#1587, #1635) * Add command Sensor15 2 to start MHZ19(B) Zero Point Calibration (#1643) * Add support for Sonoff S31 Smart Socket with Power Consumption Detection (#1626) * Add command SetOption20 to allow update of Dimmer/Color/Ct without turning power on (#1719, #1741) * Add NTP sync time slot based on chip id (#1773) * Add cursor pointer to web button (#1836)
150 lines
4.8 KiB
INI
150 lines
4.8 KiB
INI
; PlatformIO Project Configuration File
|
|
;
|
|
; Build options: build flags, source filter, extra scripting
|
|
; Upload options: custom port, speed and extra flags
|
|
; Library options: dependencies, extra library storages
|
|
;
|
|
; Please visit documentation for the other options and examples
|
|
; http://docs.platformio.org/en/stable/projectconf.html
|
|
|
|
[platformio]
|
|
src_dir = sonoff
|
|
|
|
; *** Uncomment one of the lines below to build/upload only one environment
|
|
;env_default = sonoff
|
|
;env_default = sonoff-CN
|
|
;env_default = sonoff-DE
|
|
;env_default = sonoff-ES
|
|
;env_default = sonoff-FR
|
|
;env_default = sonoff-IT
|
|
;env_default = sonoff-NL
|
|
;env_default = sonoff-PL
|
|
;env_default = sonoff-minimal
|
|
;env_default = sonoff-ds18x20
|
|
|
|
[env:sonoff]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
; *** Serial Monitor options
|
|
monitor_baud = 115200
|
|
|
|
; *** Upload Serial reset method for Wemos and NodeMCU
|
|
;upload_resetmethod = nodemcu
|
|
;upload_port = COM6
|
|
;upload_speed = 115200
|
|
|
|
; *** Upload file to OTA server using SCP
|
|
;upload_port = user@host:/path
|
|
;extra_scripts = pio/strip-floats.py, pio/sftp-uploader.py
|
|
|
|
; *** Upload file to OTA server using HTTP
|
|
;upload_port = domus1:80/api/upload-arduino.php
|
|
;extra_scripts = pio/strip-floats.py, pio/http-uploader.py
|
|
|
|
[env:sonoff-CN]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DMY_LANGUAGE=zh-CN
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
[env:sonoff-DE]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DMY_LANGUAGE=de-DE
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
[env:sonoff-ES]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DMY_LANGUAGE=es-AR
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
[env:sonoff-FR]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DMY_LANGUAGE=fr-FR
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
[env:sonoff-IT]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DMY_LANGUAGE=it-IT
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
[env:sonoff-NL]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DMY_LANGUAGE=nl-NL
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
[env:sonoff-PL]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DMY_LANGUAGE=pl-PL
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
[env:sonoff-minimal]
|
|
platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
;platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DBE_MINIMAL
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|
|
|
|
[env:sonoff-ds18x20]
|
|
;platform = espressif8266@1.5.0 ; v2.3.0
|
|
;platform = espressif8266@1.6.0 ; v2.4.0
|
|
platform = espressif8266
|
|
framework = arduino
|
|
board = esp01_1m
|
|
board_flash_mode = dout
|
|
build_flags = -Wl,-Tesp8266.flash.1m0.ld -DMQTT_MAX_PACKET_SIZE=1000 -DUSE_DS18x20
|
|
lib_deps = PubSubClient, NeoPixelBus, IRremoteESP8266, ArduinoJSON
|
|
extra_scripts = pio/strip-floats.py
|