Commit Graph

4337 Commits

Author SHA1 Message Date
Theo Arends 2111040f56
Merge pull request #6329 from s-hadinger/ir_full_fix
Fix wrong set of IR protocols with 'sonoff-ircustom'
2019-08-31 18:06:17 +02:00
Stephan Hadinger fce3de82c5 Move '#include user_config_override.h' in 'my_user_config.h'.
Allow user_config_override.h to change parameters like USE_MQTT_TLS.
2019-08-31 14:44:49 +02:00
Stephan Hadinger 0757648c84 Fix wrong set of IR protocols with 'sonoff-ircustom' 2019-08-31 14:36:11 +02:00
Theo Arends 12a5e500ee
Merge pull request #6328 from s-hadinger/ir_full_code_shrink
Disable USE_DISCOVERY and USE_EMULATION in sonoff-ir, reducing code size by 30k
2019-08-31 11:51:16 +02:00
Theo Arends 9785a7997c
Merge pull request #6327 from gemu2015/sml-update
fix counter irq mode
2019-08-31 11:49:41 +02:00
Stephan Hadinger 2796aa7bc6 Disable USE_DISCOVERY and USE_EMULATION in sonoff-ir, reducing code size by 30k 2019-08-31 11:49:22 +02:00
gemu2015 655c8288eb fix counter irq mode 2019-08-31 11:32:57 +02:00
Theo Arends a48f6d2bb6
Merge pull request #6326 from gemu2015/scripter-update
scripter update
2019-08-31 10:41:43 +02:00
gemu2015 78989faf81 scripter update
epoch, json export, web show
2019-08-31 10:10:16 +02:00
Theo Arends b886bd217b
Merge pull request #6324 from s-hadinger/ir_full2
Add 'sonoff-ir' pre-packaged IR-dedicated firmware and 'sonoff-ircustom' to customize firmware with IR Full protocol support
2019-08-30 22:48:56 +02:00
Stephan Hadinger dc5d5476c7 Fix Travis build, case type in #include 2019-08-30 22:33:21 +02:00
Stephan Hadinger 69a31577eb Fix Travis build for sonoff-ir 2019-08-30 22:25:11 +02:00
Stephan Hadinger 2d673d78ef Add 'sonoff-ir' pre-packaged IR-dedicated firmware and 'sonoff-ircustom' to customize firmware with IR Full protocol support 2019-08-30 20:41:01 +02:00
Theo Arends 06135c6ccd Merged #5421
Merged #5421
2019-08-30 17:07:56 +02:00
Theo Arends 0c762f7c2a Fix sensors and drivers using TasmotaSerial regression from 6.6.0.8
Fix sensors and drivers using TasmotaSerial regression from 6.6.0.8 (#6320)
2019-08-30 15:58:36 +02:00
Theo Arends b363bb55a9 Add compile time define USE_WS2812_HARDWARE to select hardware type WS2812, WS2812X, WS2813, SK6812, LC8812 or APA106 (DMA mode only)
Add compile time define USE_WS2812_HARDWARE to select hardware type WS2812, WS2812X, WS2813, SK6812, LC8812 or APA106 (DMA mode only)
2019-08-30 14:35:08 +02:00
Theo Arends 48783a4772 Add define USE_WS2812_BTYPE to select different bitbang timing
Add define USE_WS2812_BTYPE to select different bitbang timing (#6292)
2019-08-29 18:03:30 +02:00
Theo Arends a2e250f008 Update NeoPixelBus library to 2.5.0.09
Update NeoPixelBus library to 2.5.0.09 (#6292)
2019-08-29 17:17:59 +02:00
Theo Arends 82151d25a5 Optimize TasmotaSerial lib to lower iram usage
Optimize TasmotaSerial lib to lower iram usage
2019-08-29 14:22:44 +02:00
Theo Arends 002a252a28
Merge pull request #6311 from s-hadinger/ir_full
Add Full support of all protocols in IRremoteESP8266
2019-08-29 13:05:22 +02:00
Stephan Hadinger 470f408c62 Back to standard platformio.ini 2019-08-28 22:45:26 +02:00
Stephan Hadinger 5e962879c1 Align to new behavior for codes >64 bits 2019-08-28 22:24:40 +02:00
Stephan Hadinger ab5af7bf47 Add Full support of all protocols in IRremoteESP8266, to be used on dedicated-IR Tasmota version. Warning: +81k Flash when compiling with USE_IR_REMOTE_FULL 2019-08-28 22:01:01 +02:00
Theo Arends 6c1ea379f7
Merge pull request #6309 from curzon01/development
decode-config.py: adapt settings
2019-08-28 16:20:16 +02:00
Norbert Richter d83d2210b0 decode-config.py: adapt settings
- rename SetOption65 (tuya_disable_dimmer)
- expand settings
- add energy_usage struct
- add Tariff3 (energy_weekend)
- change baudrate/sbaudrate
- fix KeyError on -T cmnd
2019-08-28 16:13:23 +02:00
Theo Arends b04bf63446 Add possibility to receive more then 64 bits to IRremote
Add possibility to receive more  then 64 bits to IRremote. May still need change of IR_RCV_BUFFER_SIZE (#6286)
2019-08-28 16:13:19 +02:00
Theo Arends 9af67a5278 Bump version to 6.6.0.9
Change theoretical baudrate range to 300..19660500 bps in 300 increments (#6294)
2019-08-28 12:02:27 +02:00
Theo Arends 387c10f118 Fix lost energy values
Fix lost energy values (#6302)
2019-08-28 11:08:23 +02:00
Theo Arends b52da68a68 Fix energy smart calculation at day roll-over
Fix energy smart calculation at day roll-over
2019-08-28 10:52:24 +02:00
Theo Arends 3a63ff3728 Fix Serial Bridge set baudrate regression from 6.6.0.4
Fix Serial Bridge set baudrate regression from 6.6.0.4
2019-08-28 10:17:31 +02:00
Theo Arends 779faf5f39
Merge pull request #6305 from s-hadinger/tasmotaserial_config_buffer
Add ability to change the receive buffer size in TasmotaSerial.
2019-08-27 22:40:33 +02:00
Theo Arends 3048b6550c
Merge pull request #6303 from s-hadinger/fix_echo_2nd_gen
Fix Unrecognized relay with Echo Dot 2nd Gen
2019-08-27 22:24:44 +02:00
Stephan Hadinger e14c560f51 Fix Unrecognized relay with Echo Dot 2nd Gen 2019-08-27 22:19:27 +02:00
Stephan Hadinger a10dfcc106 Add ability to change the receive buffer size in TasmotaSerial.
Zigbee needs to receive up to 256 bytes at 115200 baud, which sometimes 
end into a buffer overflow.
No change of the default buffer.
2019-08-27 17:37:56 +02:00
Theo Arends f5646d6bbe Add SH1106 and e-paper 4.2 inch to sonoff-display.bin
Add SH1106 and e-paper 4.2 inch to sonoff-display.bin
2019-08-27 17:29:54 +02:00
Theo Arends 1776f7d06a Fix sonoff-sensor compilation by removing iram user TX20
Fix sonoff-sensor compilation by removing iram user TX20
2019-08-27 17:24:19 +02:00
Theo Arends f31b903fab Bump version to 6.6.0.8
* Add Tuya Energy monitoring by Shantur Rathore
 * Add phase 1 Domoticz P1 Smart Meter support using energy sensors handled by xdrv_03_energy.ino based on an idea by pablozg
 *   Add commands Tariff1 0..23 (start Off-Peak hour), Tariff2 0..23 (start Standard hour) and Tariff3 0/1 (Saturday and Sunday Off-Peak)
2019-08-27 17:01:12 +02:00
Theo Arends 5413b95963 Fix Greek language compilation error
Fix Greek language compilation error
2019-08-27 16:44:51 +02:00
Theo Arends 7075b0f2fa
Merge pull request #6299 from shantur/parallel-builds
Parallelize Travis build and remove cache
2019-08-27 15:54:50 +02:00
Theo Arends 9d04ca0ccd
Merge pull request #6300 from shantur/tuya-serial-fixes
Fix sonoff-display compilation after Tuya Power metering changes
2019-08-27 15:53:05 +02:00
Theo Arends a82742126f
Merge pull request #6298 from gemu2015/meter-driver
meter driver
2019-08-27 15:49:01 +02:00
Theo Arends b661c6a414 Fix baudrate calculation allowing max 30600 baud
Fix baudrate calculation allowing max 30600 baud (#6294)
2019-08-27 15:44:30 +02:00
Shantur Rathore 143de10957 Parallelize Travis build and remove cache 2019-08-27 14:43:13 +01:00
Shantur Rathore 6c3d9d2ff5 Fix sonoff-display compilation after Tuya Power metering changes 2019-08-27 14:40:43 +01:00
gemu2015 e96bf9af4e updata tasmota serial, add sml driver 2019-08-27 15:33:09 +02:00
Theo Arends 022df89950
Merge pull request #6296 from shantur/tuya-serial-fixes
More Tuya support
2019-08-27 14:39:09 +02:00
Theo Arends 3af4b2ec08
Merge pull request #6297 from s-hadinger/fix_no_use_light
Fix Would not compile if USE_LIGHT not defined
2019-08-27 14:20:25 +02:00
Shantur Rathore 231a1ba137 Tuya Serial: Add support for power metering
Capable Tuya serial devices send power metering data over serial interface. User needs to identify the ids of all power metering functions and set as
SetOption44 -> Voltage
SetOption45 -> Current
SetOption46 -> Power
2019-08-27 10:50:34 +01:00
Shantur Rathore 579f68cf2f Tuya Dimmer: Add support for dimmers with max 24
New Tuya Dimmer has dim values from 0 to 24. Currently the code expects it to be 0-100 or 0-255.
With this change we move the flag to a param and use that to calculate correct dim percentage.

This change also makes sure to update settings on version upgrade.
2019-08-27 10:46:27 +01:00
Stephan Hadinger 0cb49214e4 Fix Would not compile if USE_LIGHT not defined 2019-08-27 10:02:25 +02:00