Commit Graph

1328 Commits

Author SHA1 Message Date
Theo Arends 104e3c4838 Implement ARRAY_SIZE macro 2020-04-25 11:37:36 +02:00
Theo Arends 14040f601c Breaking Change Device Groups multicast address and port
- Breaking Change Device Groups multicast address and port  (#8270)
- Version bump 8.2.0.5
2020-04-25 11:20:48 +02:00
Theo Arends c0bc7abeee
Merge pull request #8272 from joerg555/development
Nimble no warnig, optimise CommandHandler()
2020-04-25 09:36:29 +02:00
Theo Arends 209c8f4eb7
Merge pull request #8270 from pcdiem/device-groups-10
Use defined mcast addr for device groups instead of sharing emuation
2020-04-25 09:35:22 +02:00
Jörg Schüler-Maroldt 4c0a85ba0f CommandHandler() optimize and maybe security fix 2020-04-25 00:55:39 +02:00
Mickael Gaillard 3fbd454600
Merge branch 'development' into gesture_structure 2020-04-24 23:02:40 +02:00
Mickael Gaillard fae30ee5e6 Structure Gesture Delta
Rename TAG logger
2020-04-24 22:48:47 +02:00
Theo Arends 9ed8e7c254 Fix internal array size checks 2020-04-24 17:39:26 +02:00
Paul C Diem 8d2c0b1716 Fix DGR conditional 2020-04-24 10:28:32 -05:00
Paul C Diem edd330272b For DevGroupSend, ignore out share mask and always process locallly 2020-04-24 09:50:29 -05:00
Paul C Diem 81a874ec72 Use defined mcast addr for device groups instead of sharing emuation's, Code size reductions 2020-04-24 09:12:43 -05:00
Theo Arends 5f75a4c354 Fix future compile error ;-) 2020-04-24 15:50:27 +02:00
Theo Arends 56e756602e
Merge pull request #8265 from Theosakamg/upstream_sparkfun
APDS-9960 - Resync with sparkfun
2020-04-24 11:34:49 +02:00
Mickael Gaillard bb0d4387ff Resync at commit 258bea2da
Signed-off-by: Mickael Gaillard <mick.gaillard@gmail.com>
2020-04-23 23:04:25 +02:00
Mickael Gaillard 6d8fab10f3 Add Debug Chip ID And Fifo
Signed-off-by: Mickael Gaillard <mick.gaillard@gmail.com>
2020-04-23 21:56:23 +02:00
dermm 809a377154 Add Option to Activate PWM CT mode without select module 48
Hello,

I would like to share with you my extension of the code.
I have some new lamps that have 2 PWM channels that are not classically wired. The first one is for brightness and the other channel is for color temperature.
Tasmota has already integrated the possibility to switch between CWWW and CTBRI. I only built the possibility to set it up manually.

greetings,
Jens

PS: This is my first commit. If I did something wrong, please report it.
2020-04-22 19:43:57 +02:00
Theo Arends 717f3b9d47 Fix compile error (#8256)
Fix compile error (#8256)
2020-04-22 17:48:42 +02:00
Theo Arends 1af24ddcf5 Update changelog 2020-04-22 16:36:27 +02:00
Theo Arends be1fb3756c Change ESP32 freeHeap to MaxAllocHeap 2020-04-22 16:07:52 +02:00
Stephan Hadinger e06425b57f Change default PWM Frequency to 223 Hz instead of 880 Hz for less interrupt pressure 2020-04-22 15:15:42 +02:00
Theo Arends f72be91f98
Merge pull request #8246 from s-hadinger/pwm_7231
Change PWM implementation to Arduino #7231
2020-04-22 15:13:26 +02:00
Theo Arends f08ce9aa5b
Merge pull request #8221 from Theosakamg/clean_code
Format code with cpplint
2020-04-22 15:01:35 +02:00
Stephan Hadinger d1beb59332 Fix compilation 2020-04-22 15:00:38 +02:00
Theo Arends 9ae0300a0d Fix ESP32 compile errors 2020-04-22 14:47:59 +02:00
Theo Arends ac15179e21
Merge pull request #8252 from Bettman66/development
Support for setting the time in the Tuya MCU
2020-04-22 14:17:14 +02:00
Walter Zengel 8abe45f7a2
USE_TUYA_TIME deactivated by default 2020-04-22 13:52:06 +02:00
Stephan Hadinger a948a8f4b3 Fix wrong setting of free_range after reset or restart (#8120) 2020-04-22 12:13:53 +02:00
Walter Zengel 550f079f6a
Support for setting the time in the Tuya MCU
Switch on with USE_TUYA_TIME
2020-04-22 11:07:45 +02:00
Paul C Diem 50cdede658 Fix pwm_dimmer compiler error w/o USE_DEVICE_GROUPS, Slight code cleanup 2020-04-21 21:56:26 -05:00
Paul C Diem 0f4b85ee51 Add DGR Command item and message logging, Restructure to reduce new code size 2020-04-21 16:33:07 -05:00
Stephan Hadinger 32dfa7856b Change PWM implementation to Arduino #7231 2020-04-21 18:38:43 +02:00
Theo Arends 0196c70a40 Fix initial config version 2020-04-21 15:53:45 +02:00
Theo Arends 4b816864a1
Merge pull request #8242 from effelle/development
HA Discovery
2020-04-21 15:18:21 +02:00
Federico Leoni 3e47b6fe19 HA Discovery 2020-04-21 09:54:17 -03:00
Theo Arends 1065381a79 Fix MI_ESP32 MQTT voltage calculation 2020-04-21 11:46:41 +02:00
Theo Arends b9f8d0b104 Restrict use of HM10 driver to ESP8266 only 2020-04-21 11:06:30 +02:00
Theo Arends 47ad6db686
Merge pull request #8240 from Staars/BLE
Mijia-BLE-Bridge for ESP32
2020-04-21 10:18:26 +02:00
Theo Arends 965c44c0a9 Fix shortcut SO response 2020-04-21 10:03:34 +02:00
Staars e39f62204b xsns_62_MI_ESP32.ino - initial commit 2020-04-21 09:58:33 +02:00
Theo Arends 6c5e9a89c4 Add command ``SO`` as shortcut for command ``SetOption`` 2020-04-21 09:48:27 +02:00
Theo Arends b172e9bde2 Fix Shutter multi-press command 2020-04-21 09:41:35 +02:00
Theo Arends f594c72609 Fix some compile errors 2020-04-20 20:00:49 +02:00
Theo Arends 0b08c72247 Add command ``SetOption73 1`` for button decoupling
Add command ``SetOption73 1`` for button decoupling and send multi-press and hold MQTT messages by Federico Leoni (#8235)
2020-04-20 17:47:40 +02:00
Federico Leoni 9958c5f0f1 BUTTON V2 2020-04-20 11:15:45 -03:00
Theo Arends 7be570d060 Update ESP32 GPIO labelling 2020-04-20 10:40:54 +02:00
Staars 06b91c4a37 revert serial related ESP32-changes, not needed anymore 2020-04-19 21:51:56 +02:00
Theo Arends 19796a7f97 Refactor ESP32 code 2020-04-19 16:58:13 +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
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 7dc0b153c4
Merge branch 'development' into development 2020-04-18 15:17:39 +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
Stephan Hadinger bd38f72ce7 Fix Zigbee DimmerUp/DimmerDown malformed 2020-04-17 17:14:06 +02:00
Theo Arends 09599bb4a1 Provide ESP32 base module support 2020-04-17 16:17:01 +02:00
Theo Arends 39440e56c2 Prep ESP32 template 2020-04-17 14:40:09 +02:00
Stephan Hadinger 318cfe2681 Disarm timer for Occupancy:0 2020-04-17 12:27:36 +02:00
Theo Arends e5a78deaa3 Fix compile warning 2020-04-17 12:08:43 +02:00
Theo Arends d3b2f8c489 Add config version tag
- Add config version tag
- Bump version 8.2.0.4
2020-04-17 11:57:09 +02:00
Stephan Hadinger 4551c5f91a Adding type for Aqara_FF05 2020-04-17 09:22:47 +02:00
Stephan Hadinger e43f0e36a2 Removed unsupported types 2020-04-17 09:16:08 +02:00
Stephan Hadinger 5507ad889a Added types for AqaraVibration sensor 2020-04-17 09:11:27 +02:00
Stephan Hadinger 618ac9ab14 Added Zigbee attribute types 2020-04-16 19:36:14 +02:00
Theo Arends 367658b75b More ESP32 compatibility 2020-04-16 18:33:26 +02:00
Theo Arends 538dfbef2e More ESP32 compatibility 2020-04-16 16:29:33 +02:00
Theo Arends d2b7b4012f More ESP32 compatibility
More ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-16 14:59:01 +02:00
Theo Arends 5c43f4c4c2 Fix ESP32 compile error
Fix ESP32 compile error (#8195)
2020-04-16 11:00:56 +02:00
Theo Arends ef3cb10dc7
Merge pull request #8195 from s-hadinger/dimmerrange_ct
Don't apply DimmerRange to CT PWM
2020-04-15 19:45:51 +02:00
Stephan Hadinger ba20008cd9 Don't apply DimmerRange to CT PWM 2020-04-15 19:42:50 +02:00
Stephan Hadinger 49ef6598fc Update size of Ping 2020-04-15 18:55:04 +02:00
Stephan Hadinger 71717c3f4e Improved and simplified Ping 2020-04-15 18:54:20 +02:00
Theo Arends 54149497b9
Merge pull request #8185 from gemu2015/scripter-update
Scripter update
2020-04-15 17:42:03 +02:00
Theo Arends 908b1113b9
Merge pull request #8191 from pcdiem/device-groups-7
Add DevGroupStatus command, Include member add/remove logging
2020-04-15 17:41:06 +02:00
Theo Arends 3a4cf26aba Enable single PIN mode for SR04 sensor
Enable single PIN mode for SR04 sensor (#8189)
2020-04-15 16:22:20 +02:00
Paul C Diem a4b3e61ed0 Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups-7 2020-04-15 08:42:32 -05:00
Paul C Diem b7454d7bd8 Add DevGroupStatus command, Include member add/remove logging 2020-04-15 08:40:18 -05:00
Theo Arends 97abf68612 Fix HTTP authorization response code
Fix HTTP authorization response code (#8170)
2020-04-15 10:14:16 +02:00
Theo Arends 57f836cc9e Remove possible Webserver naming ambuigity 2020-04-15 09:58:38 +02:00
VanillaFord 487f4a9191
if GPIO_SR04_TRIG is not configured use single PIN mode with GPIO_SR04_ECHO only
enable single PIN mode for SR04 sensor.
If pin GPIO_SR04_TRIG is not configured, use sensor interface in single PIN mode with GPIO_SR04_ECHO only
See as depicted in newping library, see:  https://bitbucket.org/teckel12/arduino-new-ping/wiki/Home#!single-pin-sketch
2020-04-15 09:36:23 +02:00
gemu2015 7d85ccb793 Update xdrv_10_scripter.ino 2020-04-15 08:21:43 +02:00
gemu2015 5f6c106507 scripter esp32 script size expansion 2020-04-15 08:11:54 +02:00
Federico Leoni ad18dc76e1 Update support_button_v2.ino 2020-04-14 20:24:34 -03:00
Federico Leoni 639968c0ab Fix Set)ption13 on Buttons V2 2020-04-14 18:14:16 -03:00
Theo Arends e3503ab5b8 Enable I2C in ESP32 and remove MQTT checks 2020-04-14 17:36:36 +02:00