Commit Graph

6490 Commits

Author SHA1 Message Date
Theo Arends 780b250d9d
Merge pull request #8235 from effelle/development
BUTTON V2
2020-04-20 16:22:43 +02:00
Federico Leoni 9958c5f0f1 BUTTON V2 2020-04-20 11:15:45 -03:00
Theo Arends 8fb436c2e4 Fix updated TasmotaSerial Library info 2020-04-20 15:20:43 +02:00
Theo Arends 78b771901f Update TasmotaSerial Library info 2020-04-20 15:08:27 +02:00
Theo Arends 6f207402ca Make TasmotaSerial more generic 2020-04-20 14:54:08 +02:00
Theo Arends 18de0e2b2f Remove debug message from TasmotaSerial 2020-04-20 12:33:29 +02:00
Theo Arends 0d48f5a4a8 Add ESP32 dual UART to TasmotaSerial 2020-04-20 12:27:29 +02:00
Theo Arends 7be570d060 Update ESP32 GPIO labelling 2020-04-20 10:40:54 +02:00
Theo Arends fc74cb299f
Merge pull request #8231 from Staars/GPS
revert serial related ESP32-changes of the GPS-driver, not needed anymore
2020-04-19 22:30:19 +02:00
Staars 06b91c4a37 revert serial related ESP32-changes, not needed anymore 2020-04-19 21:51:56 +02:00
Theo Arends 1099789bf6 Add hardware serial support to ESP32 2020-04-19 17:41:28 +02:00
Theo Arends 0674bcc1ad Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-04-19 16:58:29 +02:00
Theo Arends 19796a7f97 Refactor ESP32 code 2020-04-19 16:58:13 +02:00
Theo Arends 32908f63f8
Merge pull request #8230 from Jason2866/patch-3
Add platformio_tasmota_cenv.ini to .gitignore
2020-04-19 16:47:41 +02:00
Jason2866 3bfb62bc0b
Add platformio_tasmota_cenv.ini to .gitignore 2020-04-19 16:38:49 +02:00
Theo Arends d384367f19
Merge pull request #8229 from pcdiem/light-color
Fix fixed color bug introduced by palette code
2020-04-19 15:42:54 +02:00
Theo Arends c37dde93c2 Add ESP32 QuickPowerCycle control 2020-04-19 15:36:04 +02:00
Paul C Diem f4ea26749c Fix fixed color bug introduced by pallete code 2020-04-19 08:19:05 -05:00
Mickael Gaillard 94ca074b59 Format code with cpplint
Signed-off-by: Mickael Gaillard <mickael.gaillard@tactfactory.com>
2020-04-19 14:51:37 +02:00
Theo Arends eab612871c Fix ESP32 bootloop control using RTC memory 2020-04-19 14:18:12 +02:00
Theo Arends 0f3619238f Add ESP32 bootloop control 2020-04-19 13:08:04 +02:00
Theo Arends 6ec18c3c01
Merge pull request #8225 from pcdiem/pwm-dimmer-10
Fix remote device group update index and power state, Ignore power bu…
2020-04-19 08:54:08 +02:00
Theo Arends 5286075ab7
Merge pull request #8224 from pcdiem/device-groups-8
Add DGR Event item, Rework item parsing
2020-04-19 08:53:47 +02:00
Paul C Diem 2c83dc7765 Fix remote device group update index and power state, Ignore power buttonhold after tap 2020-04-19 00:36:26 -05:00
Paul C Diem a3e8c9587a Merge branch 'development' of https://github.com/arendst/Tasmota into device-groups-8 2020-04-18 23:51:04 -05:00
Paul C Diem b116f07003 Send Event command to device group 2020-04-18 23:42:51 -05:00
Paul C Diem f040b90583 Add DGR Event item, Rework item parsing 2020-04-18 22:37:05 -05:00
Theo Arends e1d7416a36 Add features to ESP32
- Decided to support ONLY flash mode DOUT (no software change but allows for RX1/TX1)
- Add GPIO9 (RX1) and GPIO10 (TX1) for hardware serial support
- Add above two GPIOs to template
- Moved basic ADC0 support from GPIO36 to GPIO33
2020-04-18 18:10:41 +02:00
Theo Arends 48dd608da9 Fix HTU21 sensor loss after ESP32 restart 2020-04-18 17:04:00 +02:00
Theo Arends 684b7dc3a4 Update ESP32 optional brownout disable 2020-04-18 16:34:29 +02:00
Theo Arends 9d838c001c Fix possible powerretain failure
Fix possible powerretain failure (#8219)
2020-04-18 16:30:36 +02:00
Theo Arends b36ce0d048
Merge pull request #8189 from VanillaFord/development
enable single PIN mode for SR04 sensor
2020-04-18 15:17:51 +02:00
Theo Arends 7dc0b153c4
Merge branch 'development' into development 2020-04-18 15:17:39 +02:00
Theo Arends abdd39849b
Merge pull request #8214 from bovirus/development
Update Italian tarnslation
2020-04-18 10:04:18 +02:00
bovirus e0753eeead
Update Italian tarnslation
Align Italian enw string to the scheme of translation of previous strings (see up/down)
2020-04-18 09:59:25 +02:00
Theo Arends 7594108f7c
Merge pull request #8213 from effelle/development
Inverted Buttons V2
2020-04-18 09:57:02 +02:00
Federico Leoni d69b8a158d Inverted buttons V2 2020-04-17 19:23:41 -03:00
Theo Arends b70ca01231 Add ESP32 optional brownout disable
Add ESP32 brownout disable for weak onboard LDO's - eventually you'll need to change the LDO to a better one.
2020-04-17 18:27:31 +02:00
Theo Arends c6ad8ddf89
Merge pull request #8210 from s-hadinger/zigbee_esp32
Remove warning/errors when compiling Zigbee for ESP32
2020-04-17 17:59:27 +02:00
Stephan Hadinger a98b719f82 Remove warning/errors when compiling Zigbee for ESP32 2020-04-17 17:52:44 +02:00
Theo Arends 383ad798f4
Merge pull request #8209 from Jason2866/patch-3
Add the possibility to add Custom env in a extra file
2020-04-17 17:29:42 +02:00
Theo Arends e6273b3824
Merge pull request #8208 from s-hadinger/zigbee_dimmerup
Fix Zigbee DimmerUp/DimmerDown malformed
2020-04-17 17:21:43 +02:00
Jason2866 8765223f75
Add the possibility to add Custom env
to build special Tasmota versions with Compiler switches defined in [env:tasmota-xyz] in `platformio_tasmota_cenv.ini` to control
user_config_override.h
Example:
"[env:tasmota-zigbee]
build_flags = ${common.build_flags} -DHANS_CONFIG_ZIGBEE=true"
which referrs to in user_config_override.h
```#ifdef HANS_CONFIG_ZIGBEE  // ******************************************************************

#undef CODE_IMAGE_STR
#define CODE_IMAGE_STR "ZIGBEE"

#define USE_WEBSERVER                            // Enable web server and Wifi Manager (+66k code, +8k mem)
  #define USE_JAVASCRIPT_ES6                     // Enable ECMAScript6 syntax using less JavaScript code bytes (fails on IE11)
//  #define USE_WEBSEND_RESPONSE                   // Enable command WebSend response message (+1k code)

//#define USE_RULES                                // Add support for rules (+4k4 code)
//  #define USE_EXPRESSION                         // Add support for expression evaluation in rules (+3k2 code, +64 bytes mem)
//    #define SUPPORT_IF_STATEMENT                 // Add support for IF statement in rules (+4k2 code, -332 bytes mem)
//  #define SUPPORT_MQTT_EVENT                     // Support trigger event with MQTT subscriptions (+3k5 code)

//#define USE_SCRIPT                               // Add support for script
//  #define USE_SCRIPT_FATFS 4                     // Add support for script storage on SD card (+12k code, +4k mem)
//  #define USE_SCRIPT_WEB_DISPLAY


#define USE_ADC_VCC                              // Display Vcc in Power status. Disable for use as Analog input on selected devices


// -- Zigbee interface ----------------------------
#define USE_ZIGBEE                               // Enable serial communication with Zigbee CC2530 flashed with ZNP (+35k code, +3.2k mem)
  #define USE_ZIGBEE_PANID  0x1A63                // arbitrary PAN ID for Zigbee network, must be unique in the home
  #define USE_ZIGBEE_EXTPANID 0xCCCCCCCCCCCCCCCCL // arbitrary extended PAN ID
  #define USE_ZIGBEE_CHANNEL  11                  // Zigbee Channel (11-26)
  #define USE_ZIGBEE_PRECFGKEY_L 0x0F0D0B0907050301L  // note: changing requires to re-pair all devices
  #define USE_ZIGBEE_PRECFGKEY_H 0x0D0C0A0806040200L  // note: changing requires to re-pair all devices
  #define USE_ZIGBEE_PERMIT_JOIN false           // don't allow joining by default
  #define USE_ZIGBEE_COALESCE_ATTR_TIMER 350     // timer to coalesce attribute values (in ms)


#endif ```
2020-04-17 17:20:46 +02:00
Stephan Hadinger bd38f72ce7 Fix Zigbee DimmerUp/DimmerDown malformed 2020-04-17 17:14:06 +02:00
Theo Arends d8a1029c61
Merge pull request #8205 from Jason2866/patch-2
No Map file is generated for ESP32
2020-04-17 16:32:22 +02:00
Theo Arends 09599bb4a1 Provide ESP32 base module support 2020-04-17 16:17:01 +02:00
Jason2866 dfa2099406
No Map file is generated for ESP32
Fix error for ESP32. Scripts checks if exists and generates only in target folder if there
2020-04-17 16:15:41 +02:00
Theo Arends 39440e56c2 Prep ESP32 template 2020-04-17 14:40:09 +02:00
Theo Arends 2a471c2614
Merge pull request #8202 from s-hadinger/zigbee_disarm_occupancy
Disarm Zigbee timer for Occupancy:0
2020-04-17 14:01:52 +02:00
Stephan Hadinger 318cfe2681 Disarm timer for Occupancy:0 2020-04-17 12:27:36 +02:00