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

sync with parent #1

Merged
merged 56 commits into from
Sep 5, 2019

Conversation

matteo-campanella
Copy link
Owner

Description:

Related issue (if applicable): fixes #

Checklist:

  • The pull request is done against the latest dev branch
  • Only relevant files were touched
  • Only one feature/fix was added per PR.
  • The code change is tested and works on core 2.3.0, 2.4.2 and 2.5.2
  • The code change pass travis tests. Your PR cannot be merged unless tests pass
  • I accept the CLA.

eddyhub and others added 30 commits August 18, 2019 15:45
…on or platformio needed. Install docker, build the container on your machine or use the one already published on docker hub and start building customized firmware. See README.md for more information.
…edicated-IR Tasmota version. Warning: +81k Flash when compiling with USE_IR_REMOTE_FULL
Add Full support of all protocols in IRremoteESP8266
Optimize TasmotaSerial lib to lower iram usage
Update NeoPixelBus library to 2.5.0.09 (#6292)
Add define USE_WS2812_BTYPE to select different bitbang timing (#6292)
…S2812, 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)
Fix sensors and drivers using TasmotaSerial regression from 6.6.0.8 (#6320)
…om' to customize firmware with IR Full protocol support
Add 'sonoff-ir' pre-packaged IR-dedicated firmware and 'sonoff-ircustom' to customize firmware with IR Full protocol support
epoch, json export, web show
Disable USE_DISCOVERY and USE_EMULATION in sonoff-ir, reducing code size by 30k
Allow user_config_override.h to change parameters like USE_MQTT_TLS.
Fix wrong set of IR protocols with 'sonoff-ircustom'
Move '#include user_config_override.h' in 'my_user_config.h'.
… future replacement for USE_SDM120 - Pls test and report

Add driver USE_SDM120_2 with Domoticz P1 Smart Meter functionality as future replacement for USE_SDM120 - Pls test and report (#6282)
Container to build all or custom builds with one run.
arendst and others added 26 commits September 2, 2019 16:41
Fix USE_SDM120_2 issues (#6282)
Fix turning on/off all power when limit is reached (#6340)
…ster

Init Energy Total on energy monitoring devices with Energy Total Register (#6282)
…ster

Init Energy Total on energy monitoring devices with Energy Total Register (#6282)
Add restore power state when limiit restored (#6340)
Add restore power state when limit is restored (#6340)
…t once

Add command Power0 0/1/2/Off/On/Toggle to control all power outputs at once (#6340)
Restore initial energy total default behaviour regression from yesterday
Refactor and document power control
Refactor sonoff.ino
Refactoring
… Epoch

 * Add time to more events (#6337)
 * Add command Time 1/2/3 to select JSON time format ISO + Epoch, ISO or Epoch
More and more Tuya MCU based devices are coming in the market and people requesting to support them. This patch makes Tuya module more configurable and easier to add new functionalities. Its not just a dimmer or a switch anymore.

After this Patch Tuya MCU module has a list of supported functions and the user would need to map the functionId to dpId of their device. Once mapped correctly the Tuya module will take care for handling proper function for dpId.

Currently functions supported are

1. Relays1 to 8 : FunctionID 11 to 18
2. Dimmer : FunctionID 21
3. Power ( Deca Watt )  : Function ID 31
4. Current ( milli Amps ) : Function ID 32
5. Voltage ( deca Volts ) : Function ID 33

The changes are

- Use a TuyaMCU command to map DPs to Functions instead of many different SetOptions. SetOption41, 44, 45, 46, 65 won't be needed after this patch.
- TuyaMCU command takes argument like `11,1` which means Map Function id 11 (Relay1) to DPID 1
- Migrates old settings flags and options to new TuyaMap command
Redesign Tuya support by Shantur Rathore (#6353)
Fix exception on AddLogBuffer (#6282)
Add command Reset 99 to reset bootcount to zero (#684, #6351)
@matteo-campanella matteo-campanella merged commit b74a98b into matteo-campanella:development Sep 5, 2019
ghost pushed a commit that referenced this pull request Sep 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants