Commit Graph

873 Commits

Author SHA1 Message Date
Paul C Diem 631d9045f1 Deal with late device group initializaton 2020-02-24 20:52:06 -06:00
Paul C Diem 486354fd73 Remove tasmota.ino.cpp 2020-02-24 20:31:49 -06:00
Paul C Diem d0bb1b36e4 Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 20:06:47 -06:00
Paul C Diem fd610738ea Merge branch 'development' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 19:26:08 -06:00
Paul C Diem 3893b3fb6f Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-24 19:20:33 -06:00
Paul C Diem 13eaa3c814 Disable debugging 2020-02-24 19:10:57 -06:00
Paul C Diem 1d5251d105 Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-24 19:08:52 -06:00
Paul C Diem e1103b248f Improve dgr initialization failure handling 2020-02-24 19:07:46 -06:00
Paul C Diem 9c5e5b689e Improve dgr initialization failure handling 2020-02-24 18:40:44 -06:00
Paul C Diem a550fe3ac7 Use newly allocated settings and flag 2020-02-24 16:34:45 -06:00
he-so dd3d9f3b21
Merge branch 'development' into dev-arendst 2020-02-24 19:41:12 +01:00
he.so e25f14f37a Jarolift shutter working with keeloq 2020-02-24 19:23:57 +01:00
Norbert Richter 5ec1ab83ed
extend TX2x sensor stats
new JSON for TX2x (for legacy format define USE_TX2x_LEGACY_JSON)
exp weighted average prevents jump in avg values after period
refactor sensor reading
2020-02-24 17:25:03 +01:00
Theo Arends 9682da603a Add Device Group storage
Add Device Group storage (#7786)
2020-02-24 16:47:41 +01:00
Paul C Diem 2b94cd77a0 Build with device groups, pwm dimmer (with remote) 2020-02-24 07:34:30 -06:00
Paul C Diem b8203a717b Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 07:19:28 -06:00
Paul C Diem c0a5156d8f Initial pwm dimmer support 2020-02-24 07:19:15 -06:00
Paul C Diem b15a8a749c Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-24 06:50:37 -06:00
Theo Arends 94c9072815 Add wifi debug code 2020-02-24 13:27:22 +01:00
stefanbode b54f2d406e
Update xdrv_27_shutter.ino 2020-02-24 12:38:00 +01:00
stefanbode 66a1dc9573
Update xdrv_27_shutter.ino
- fixed shutter#moved rule not triggered
2020-02-24 12:33:52 +01:00
stefanbode 7a3a9bd364
fixes and enhancements
- shutterposition now reports actual position if the shutter is moving #7686
- new RuleEvent: Shutter1#Target to get upfront info where the shutter is moving
- RuleExecution now every second to get an update of the current position
- New functionality for Stepper Motors. Now supporting 4 Stepper shutters working simultanously
2020-02-24 12:23:03 +01:00
Theo Arends 8969877502 Refactor DHT driver
Refactor DHT driver (#7717)
2020-02-23 21:26:58 +01:00
Theo Arends 9b758350b5 Fix Domoticz compile error
Fix compile error when Domoticz is enabled but Lights is disabled
2020-02-23 20:49:54 +01:00
Theo Arends e903348a03
Merge pull request #7781 from Staars/nrf24
Nrf24
2020-02-23 20:31:34 +01:00
Hadinger 21976005e1 Support for BW-IS5 leak detector 2020-02-23 17:11:51 +01:00
Hadinger d4dd0a39a5 Add Zigbee enhanced commands decoding, added ``ZbPing`` 2020-02-23 16:46:00 +01:00
Staars 8411178dac use now the correct PDU-types 2020-02-23 14:52:26 +01:00
Hadinger 11604e30d4 Moved 'Updated shadow' do DEBUG log level 2020-02-23 10:29:04 +01:00
Staars 73b2fdd6f4 fix OUI-bug 2020-02-23 09:21:54 +01:00
Hadinger 13763f55a6 Fix Zigbee auto-increment transaction number (#7757) 2020-02-22 20:53:55 +01:00
Theo Arends f706b7c490 Add support for Wemos Motor Shield V1
Add support for Wemos Motor Shield V1 by Denis Sborets (#7764)
2020-02-22 12:18:20 +01:00
Theo Arends 5f1dac2119
Update my_user_config.h 2020-02-22 11:01:47 +01:00
Paul C Diem a721e35449 Remove power from struct, use DGR log prefix 2020-02-21 21:47:33 -06:00
Paul C Diem 8182d6ef7b Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-21 09:15:47 -06:00
Paul C Diem f409d7258e Initial device groups support (power and light) 2020-02-21 09:09:21 -06:00
Denis 19ca1eb2d4 Merge branch 'development' into add-wemos-motor-shield-v1 2020-02-20 21:05:55 -08:00
Theo Arends a912daff0b
Update de-DE.h 2020-02-20 21:07:58 +01:00
Norbert Richter ea99cdce57 Add support for La Crosse TX23 Anemometer (#3146) 2020-02-20 18:50:43 +01:00
Theo Arends e9c7026e82 Remove NTP drift information
Remove NTP drift information
2020-02-20 14:55:41 +01:00
Theo Arends cf27cff602
Merge pull request #7762 from dgwynne/TuyaMCUEvent
Tuya mcu event
2020-02-20 13:44:35 +01:00
Theo Arends f674feb0ef Add initial support for Sensors AHT1x
Add initial support for Sensors AHT10 and AHT15 by Martin Wagner (#7596)
2020-02-20 13:38:03 +01:00
Theo Arends 92258703d8
Merge pull request #7761 from device111/development
Add i2c Sensor AHT10/15 support.
2020-02-20 12:03:39 +01:00
Theo Arends 9b1fc4342b Revert wifi connectivity stability introduced in 8.1.0.5
Revert wifi connectivity stability introduced in 8.1.0.5 (#7746, #7602, #7621)
2020-02-20 11:24:35 +01:00
Theo Arends 5e4d8e5641 Fix relation between RSSI and signal strength
Fix relation between RSSI and signal strength
2020-02-20 10:07:00 +01:00
Denis 46ad5166e1 Add Wemos DC mottor shild (v1.0.0) support 2020-02-19 21:55:20 -08:00
device111 f7d4d5ddb1 Ad release note 2020-02-19 19:49:09 +01:00
Theo Arends 6a84899e10 Eliminating call sntp_get_real_time
Change display of some date and time messages from "Wed Feb 19 10:45:12 2020" to "2020-02-19T10:45:12"
2020-02-19 15:23:59 +01:00
device111 84a2da2ee2 Update support_features.ino 2020-02-19 14:24:37 +01:00
device111 fbd2216d09 Update xsns_63_aht1x.ino
Sensor Name changement
2020-02-19 14:06:35 +01:00
device111 5c48644994 typo change 2020-02-19 10:23:56 +01:00
device111 7f72d266f8 prepare for merging 2020-02-19 09:37:36 +01:00
David Gwynne 6e0cd5bd68 print numbers as numbers in json, not strings. 2020-02-19 18:10:07 +11:00
device111 81b88a71a0 Update xsns_64_aht10.ino
Correct text
2020-02-18 20:13:12 +01:00
device111 e2ede9ed55 Add Reset Command 2020-02-18 20:08:22 +01:00
Theo Arends df34417861 Fix DS18x20 driver 2020-02-18 18:10:36 +01:00
device111 b423c9716a Update xsns_64_aht10.ino 2020-02-18 09:56:23 +01:00
device111 2e0a06c19a structual changes
structual changes
2020-02-18 09:49:53 +01:00
device111 01fbe69824 test1
test1
2020-02-18 09:22:39 +01:00
device111 fcc59df10f Update support_features.ino 2020-02-18 09:18:45 +01:00
device111 b0378c3d99 initial AHT10 support
test
2020-02-18 09:11:31 +01:00
Theo Arends b6607755a4
Merge pull request #7744 from denisfrench/MQTT_NO_RETAIN
MQTT_NO_RETAIN option for brokers that will drop connection otherwise
2020-02-16 12:45:37 +01:00
Theo Arends e7d5a5f540 Fix latest DHT driver retries
Fix latest DHT driver retries (#7717)
2020-02-16 12:33:18 +01:00
Theo Arends d76d6474cd
Merge pull request #7743 from Staars/development
GPS-driver: virtual port improvement, set lat/lon in settings (bugfix)
2020-02-16 12:14:27 +01:00
denisfrench aaa00045e2 MQTT_NO_RETAIN option for brokers that will drop connection otherwise 2020-02-16 09:31:19 +00:00
Staars f54dbe7bdc virtual port improvement, bugfix 2020-02-16 08:36:51 +01:00
Theo Arends 5f80febcf4 Another DHT driver with humidity range check
Another DHT driver with humidity range check, usec overflow check and NAN debug info (#7717)
2020-02-15 12:57:23 +01:00
Theo Arends ea83400190
Merge pull request #7736 from Staars/development
- update MI_NRF24-driver (formerly MI_BLE)
2020-02-13 20:16:38 +01:00
Staars 39d100e1d1 rename driver 2020-02-13 19:48:38 +01:00
Theo Arends e9f0c5b6d6 Add a stripped down Add a stripped DHT driver based on ESPEasy (#7717)
Add a stripped DHT driver based on ESPEasy (#7717)
2020-02-13 18:12:27 +01:00
Staars ff1fefaf34 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-02-13 17:19:54 +01:00
Staars 509a79e5f6 more lsfr-LUT-entries and PDU-types 2020-02-13 17:16:32 +01:00
Theo Arends 7cc783a532 Add another new DHT driver based on ESPEasy
Add another new DHT driver based on ESPEasy. The old driver can still be used using define USE_DHT_OLD. The previous new driver can be used with define USE_DHT_V2 (#7717)
2020-02-13 17:02:07 +01:00
Theo Arends 51211dfd55 Attempt to fix slow wifi connection caused by #7602
Attempt to fix slow wifi connection caused by #7602
2020-02-13 12:46:06 +01:00
Hadinger a50a7d486f Fix wrong encoding of Zigbee persistent data 2020-02-12 22:38:17 +01:00
Theo Arends 8079ee9749 Change MQTT message size
Change MQTT message size with additional 200 characters
2020-02-12 18:00:53 +01:00
Theo Arends ba345625de Fix wifi connection issues
Fix wifi connection issues since 7602 (#7621)
2020-02-12 16:55:39 +01:00
Adrian Scillato a904da2a2e
Fix Deep-Sleep-Wake timming
https://github.com/arendst/Tasmota/issues/7621
2020-02-10 16:57:42 -03:00
Adrian Scillato 7339b56279
Updated Spanish Translation 2020-02-10 13:29:42 -03:00
Theo Arends 7d0577eb31 Add new DHT driver
Add new DHT driver. The old driver can still be used using define USE_DHT_OLD (#7468)
2020-02-10 16:29:17 +01:00
Theo Arends edadaa284f Bump version to 8.1.0.7 2020-02-10 15:20:38 +01:00
Theo Arends af63bb363d Add support for FiF LE-01MR energy meter
Add support for FiF LE-01MR energy meter by saper-2 (#7584)
2020-02-10 15:18:11 +01:00
Jason2866 40dedd46b6
Update de-DE.h 2020-02-10 15:06:43 +01:00
Theo Arends d89c14ba27
Merge branch 'development' into fif-le01mr 2020-02-10 14:52:22 +01:00
Theo Arends f0272b339c Fix compile error 2020-02-10 14:24:53 +01:00
Theo Arends 3de74e8850 Add optional Wifi AccessPoint passphrase
Add optional Wifi AccessPoint passphrase define WIFI_AP_PASSPHRASE in my_user_config.h (#7690)
2020-02-10 13:54:27 +01:00
Jason2866 47862e3c59
unique topic for every device by default 2020-02-09 19:38:46 +01:00
Jason2866 e6e5157ccb Disable Display support for Tasmota-IR
because compiling fails if enabled
2020-02-09 17:22:14 +01:00
Theo Arends 504570d5d5 Fix MaxPower functionality
Fix MaxPower functionality (#7647)
2020-02-09 16:21:48 +01:00
Theo Arends 286a0c4fe4
Merge pull request #7702 from Staars/development
add LYWSD02-support to the MI-HM10-driver
2020-02-09 15:35:40 +01:00
Staars 829b36868b small cleanups 2020-02-09 15:32:45 +01:00
David Gwynne 25034c153a use TuyaSend0 to send a TUYA_CMD_QUERY_STATE command. 2020-02-09 18:44:05 +11:00
Staars f4bc0721b5 add LYWSD02-support 2020-02-08 18:09:17 +01:00
Hadinger 4d9f67b5ad Add ``ZbZNPReceived``and ``ZbZCLReceived``are published to MQTT when ``SetOption66 1`` 2020-02-08 14:16:39 +01:00
Federico Leoni fe1919098d Update xdrv_12_home_assistant.ino 2020-02-07 12:11:29 -03:00
Theo Arends 1a074da0b5 Add BootCount Reset Time to Status
Add BootCount Reset Time as BCResetTime to ``Status 1``
2020-02-07 12:38:10 +01:00
Theo Arends 945a9e0100
Merge pull request #7687 from ako-sxt/development
PCF8574 - skip detection if i2c address is defined in USE_MCP230xx_ADDR
2020-02-07 11:53:52 +01:00
Theo Arends 15df54bb07 Add support for HM-10
Add support for MI-BLE sensors using HM-10 Bluetooth 4.0 module by Christian Staars (#7683)
2020-02-07 10:50:06 +01:00
Jason2866 8ef5ad0204
Disable HM-10 by default 2020-02-07 10:41:38 +01:00
ako a33ae3cc40 PCF8574 - skip detection if i2c address is defined in USE_MCP230xx_ADDR
Currently the PCF8574 address selection detects the MCP230xx which is using an address in the range 0x20 - 0x26.
This fix skips the address defined in #define USE_MCP230xx_ADDR
2020-02-06 22:45:39 +01:00
Staars 6ab4f19140 finally resolve conflict 2020-02-06 19:11:26 +01:00
Staars a95c5b4f6a resolve conflict 2020-02-06 19:06:09 +01:00
Theo Arends 175753fb61
Merge pull request #7680 from effelle/development
New HAss Discovery (2/4): MQTT
2020-02-06 17:52:52 +01:00
Federico Leoni 757baf436a Update xdrv_12_home_assistant.ino 2020-02-06 13:32:54 -03:00
Staars 8d48cf3731 pin configs and renames to prepare PR 2020-02-06 17:05:37 +01:00
Theo Arends 48d70bc7bb Add Buzzer commands
Add command ``Buzzer -1`` for infinite mode and command ``Buzzer -2`` for following led mode (#7623)
2020-02-06 16:25:37 +01:00
Theo Arends 709fa19eb2
Merge pull request #7623 from to-scho/feature/buzzer_modes
Buzzer extensions
2020-02-06 16:05:18 +01:00
Theo Arends d779a2b9b4 Add switch modes 11 and 12
Add switch modes 11 (PUSHHOLDMULTI) and 12 (PUSHHOLDMULTI_INV) (#7603)
2020-02-06 14:53:35 +01:00
Federico Leoni f2e1ef4763
Update xdrv_12_home_assistant.ino 2020-02-06 10:23:45 -03:00
Theo Arends 702821b4e1
Merge pull request #7603 from RemiDing/development
New switchmodes to control a dimmer with one switch
2020-02-06 14:14:12 +01:00
Theo Arends 12f603cc59 Add support for sensor DHT family using Shelly Add-On
- Fix Hass sensor discovery part 1/4 by Federico Leoni (#7582, #7548)
- Add support for sensor DHT family on Shelly 1 and Shelly 1PM using Shelly Add-On adapter (#7469)
2020-02-06 12:42:31 +01:00
Federico Leoni 0c046d7e7c Update xdrv_12_home_assistant.ino 2020-02-05 23:29:44 -03:00
Staars a4e613a992 use MAC, small WEB-UI changes 2020-02-05 20:34:38 +01:00
Theo Arends df35a54824 Add link to issue 7469
Add support for sensor DS18x20 on Shelly 1 and Shelly 1PM using Shelly Add-On adapter (#7469)
2020-02-05 16:57:19 +01:00
Staars e8f8b48c77 clean ups, hopefully no real code changes 2020-02-05 16:56:41 +01:00
Theo Arends 186d3fcb4d Add support for Shelly Add-On adapter
Add support for sensor DS18x20 on Shelly 1 and Shelly 1PM using Shelly Add-On adapter
2020-02-05 16:28:56 +01:00
Hadinger fcac1619fd Extend to Stage 2020-02-04 22:19:29 +01:00
Staars 47ead336cb adding HM10AT and HM10BAUD, HM10PERIOD now immediately takes effect 2020-02-04 19:30:41 +01:00
Staars 09ba4d15fc cleanup and refactoring, HM10PERIOD now shows value 2020-02-04 17:55:48 +01:00
Staars c4d92d6368 add command interface: HM10SCAN and HM10PERIOD 2020-02-04 15:02:47 +01:00
Staars e1973fbfff fix regression: no temp/hum-read 2020-02-04 14:12:46 +01:00
David Gwynne f3c6627ec6 Tweak the key/value for the type+id so it's only printed for STAT 2020-02-04 21:30:30 +11:00
Theo Arends 3b5a73429b
Merge pull request #7663 from gemu2015/sml_update
Sml script dynamic baudrate and serial transmit support
2020-02-04 09:24:45 +01:00
Theo Arends 90c84b0c42
Merge branch 'development' into ir_273_dev 2020-02-04 09:23:08 +01:00
Theo Arends 6700f79585
Merge branch 'development' into zigbee_29 2020-02-04 09:21:35 +01:00
Staars 0b8040c3c0 add battery, some fixes 2020-02-04 08:13:09 +01:00
gemu2015 79261c7512 Update xsns_53_sml.ino 2020-02-04 07:09:29 +01:00
gemu2015 fc92896ef5 sml dynamic baud and transmit support 2020-02-04 07:07:56 +01:00
Hadinger 97f4924639 Change update IRRemoteESP8266 v2.7.3 2020-02-03 19:41:35 +01:00
David Gwynne d651e5c4a2 print rxed mcu data so it can be printed in a more natural way.
basically it tries to use %d to print things when it can instead of
hex strings.
2020-02-03 21:41:46 +11:00
David Gwynne cf8cd47126 Add a key to the TuyaReceived to help when writing boilerplate rules.
The key is in the form Cmnd<msgtype>DpId<ID>DpType<DpIdType> with a
value that is the hex encoding of the DpIdData. This allows Rules to be
written that target status updates from a specific DpId and of a specific
message type. For example, an Anko HEGSM40 fan reports the speed the fan
is operating at via STAT message on DpId 4 of type Enum. To publish the
speed to MQTT as it's reported from the MCU, I can use the following rule:

  on TuyaReceived#Cmnd7DpId3DpType4 do Publish stat/%topic%/SPEED %value% endon

This appears "on the wire" as:

  stat/tasmota/SPEED 01
2020-02-03 15:02:09 +11:00
Hadinger 49ebd870ca Add ``ZbBind`` (experimental) and bug fixes 2020-02-02 20:53:49 +01:00
Staars 46e06a6fcb error fixes 2020-02-02 19:07:31 +01:00
Hadinger 9ce92d7df8 Fixed comment 2020-02-02 18:38:27 +01:00
Hadinger 02df35b6b5 Safeguard if delay is too high 2020-02-02 18:02:31 +01:00
Staars b64abc9757 dynamic sensor discovery 2020-02-02 17:44:26 +01:00
Hadinger ed455df760 Fix PWM flickering at low levels (#7415) 2020-02-02 13:13:44 +01:00
Theo Arends 26cee00e2f
Merge pull request #7626 from to-scho/hotfix/shutterbuttons_simultaneous_press
simultaneous shutter button press per shutter
2020-02-01 19:07:13 +01:00
Staars cb067237ad stabilize readings 2020-02-01 16:17:20 +01:00
Hadinger 3b61d77680 Fix wrong CT channel for Module 48 2020-02-01 14:23:13 +01:00
Staars f6a93a8d60 unify codebase 2020-01-31 18:50:11 +01:00
Staars a1d7d2baf8 output working 2020-01-31 15:28:34 +01:00
Staars b9e3815358 adding stuff 2020-01-31 10:12:48 +01:00
Staars 3e43c4c551 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into hm10 2020-01-31 07:39:35 +01:00
to-scho c6a2854a6e simultaneous shutter button press per shutter
detect simultaneous press per shutter and not for whole module
2020-01-30 14:33:33 +01:00
Staars 15428f59e9 add some stuff from the mp3-driver 2020-01-30 09:18:21 +01:00
Staars 07df4c1dfb start hm-10-driver 2020-01-30 08:39:28 +01:00
RemiDing 5278a84252 POWER_INCREMENT added 2020-01-28 15:37:18 +01:00
RemiDing deb8398d0b maybe needed 2020-01-28 15:15:49 +01:00
RemiDing 7892bad81b toggle pressed and not_pressed 2020-01-28 15:10:23 +01:00