Commit Graph

719 Commits

Author SHA1 Message Date
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
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
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
to-scho 72935bdcc6 Buzzer extensions
Add infinite mode (count==-1), add follow led mode (count==-2), add count>1 for tune playback
2020-01-28 11:22:36 +01:00
Theo Arends 42461aaaf3 Fix command Publish payload handling 2020-01-27 17:38:32 +01:00
to-scho 11b13f73b0 fix shutterposition call w/o arguments after boot 2020-01-27 11:05:11 +01:00
Theo Arends a2a650102e
Merge pull request #7615 from to-scho/hotfix/shutter_wraparound_endstoptime
fix position wrap around when shutterendstoptime is enabled
2020-01-27 10:38:28 +01:00
to-scho 0d03c1682e fix position wrap around when shutterendstoptime is enabled 2020-01-27 09:46:39 +01:00
Hadinger fab03d8173 Add ``SetOption84 1`` sends AWS IoT device shadow updates (alternative to retained) 2020-01-26 23:08:52 +01:00
Theo Arends 9efe67127d Refactor wifi code 2020-01-26 15:52:26 +01:00
Theo Arends 3d00c4f093 Change wifi connectivity stability
Change wifi connectivity stability (#7602)
2020-01-26 14:30:11 +01:00
Theo Arends 7ad63b4760
Merge pull request #7602 from wir3z/development
Address multiple WiFI connectivity /stability issues.
2020-01-26 14:21:06 +01:00
Theo Arends ff01f934e2 Bump version 8.1.0.5 2020-01-26 14:20:40 +01:00
Theo Arends 5b0259e7c3 Keep legacy support 2020-01-26 14:16:44 +01:00
CORP\vdi 81c6355b8f Address multiple WiFI connectivity /stability issues.
1) Reduce the roam threshold to 5dBm to fix issues where a device might connect at -80dBM which is marginal operation, but would not roam to a -72dBm AP
2) Reduce the scan rate from 44 minutes to 5 minutes to accelerate network harmony
3) Arduino SDK was allowed to control re-connections which resulted in a de-authentication attack on teh WiFi AP.  Explicitly disable with WiFi.setAutoReconnect(false);
4) Reduce WIFI_CHECK_SEC to 5, and Wifi.retry_init times to accommodate Tasmota dealing with retransmissions.
5) WifiBeginAfterScan:  Save the last BSSID a connection attempt was made on.  Should that error, pick the next strongest AP for the next attempt.  Addresses situations where an AP has a high RSSI, but poor channel health due to it being overloaded.
6) WifiCheckIPAddrStatus: Error cases did not properly alternate between AP's, with some error cases geeting hug up where they did not initiate a reconnection so the device became non-responsive.  Device now starts at Wifi.retry_init, tries to connect, does again at Wifi.retry_init/2, and then does a WifiConfig.  Should no IP address be received, restart DHCP each second during this time.

Test Environment:
27 Tasmota devices
3 SonicWALL corporate AP's
Highly interfered 801.11n network
2020-01-25 11:22:40 -07:00
Hadinger e34cc3cbcc Change Zigbee commands renamed to ``Zb*`` 2020-01-25 17:42:53 +01:00
Theo Arends 53e93215df Fix trigger SYSTEM#BOOT
Fix trigger SYSTEM#BOOT when mdns is disabled an no mqqthost is set (#7552)
2020-01-25 13:45:26 +01:00
Theo Arends febabec3bb Fix Gui ADC Range unit 2020-01-25 12:17:35 +01:00
RemiDing cfbd1cb85d optimized 2020-01-25 11:22:28 +01:00
Theo Arends 473299ffcd Refactor rules JSON decoding
Refactor rules JSON decoding allowing up to 10 subtypes deep
2020-01-24 17:13:39 +01:00
Theo Arends ddd1f4c379 Return state information when wakeup is complete
Return state information when wakeup is complete (#7583)
2020-01-24 12:48:50 +01:00
Theo Arends a4e2b28b86
Merge pull request #7587 from BASM/development
ds1624/ds1621: Stabilization and bug fixes
2020-01-24 11:18:54 +01:00
Federico Leoni 26755202c7
New ADC Range 2020-01-23 19:21:49 -03:00
Federico Leoni 6757d9731a
new ADC Range definition 2020-01-23 19:17:15 -03:00
Hadinger 60f5492765 Add Zigbee support for Aqara Cube rotate 2020-01-23 21:55:10 +01:00
Leonid Muravjev b977c28435 ds1624/ds1621: Stabilization and bug fixes
* ds1621 datasheet is wrong for higher resolution, fixed
* ds1621 sometimes reset on bad (long) i2c bus, added autoreconfigure
* hotplug bug fixes
2020-01-23 23:45:24 +03:00
Theo Arends 3b71173a09 Add precision to Moisture sensor
Add precision to Moisture sensor (#7402)
2020-01-23 18:13:32 +01:00
saper-2 e26999f300 Updated lang files with new defines + comments 2020-01-23 17:18:44 +01:00
saper-2 ad083d1675 Some code cleanup and add comments & info 2020-01-23 16:13:25 +01:00
Theo Arends 9afbf854cf Add rule trigger on one level deeper
Add rule trigger on one level deeper using syntax with two ``#`` like ``on zigbeereceived#vibration_sensor#aqaracubeside=0 do ...``
2020-01-23 13:03:05 +01:00
Theo Arends ac486f2186 Document my_image 2020-01-23 10:57:29 +01:00
Theo Arends 92a5d978de
Merge pull request #7581 from patrickdk77/development
make kCodeImage/my_image more customizable
2020-01-23 10:34:04 +01:00
Theo Arends 405da3ee3f
Update tasmota.ino
Keep hackbox commit insert possibility
2020-01-23 10:33:08 +01:00
Patrick Domack 2e89370f1e Add ability to define more subversions in user overrides and remove ram/flash usage to store all versions. 2020-01-22 16:49:28 -05:00
Hadinger b2c0a34979 Minor Zigbee improvements 2020-01-22 22:40:28 +01:00
Hadinger 514f3e7357 Fix ``RGBWWTable`` ignored (#7572) 2020-01-22 21:37:23 +01:00
Theo Arends 2f00aad103
Merge pull request #7573 from to-scho/feature/shutterbuttons_mqqt_rules
Shutterbutton to MQTT and rules
2020-01-22 16:15:33 +01:00
Theo Arends 7ea60116cf Document Light commands 2020-01-22 16:14:03 +01:00
to-scho 6e81262709 Shutterbutton to MQTT and rules 2020-01-22 13:23:59 +01:00
Theo Arends fb485dabd3 Add optional parameter <startcolor> to command ``Scheme``
Add optional parameter <startcolor> to command ``Scheme <scheme>, <startcolor>`` to control initial start color
2020-01-22 11:55:48 +01:00
Theo Arends 38b344fcea Remove the need for GPIO_CSE7766_TX 2020-01-21 17:10:08 +01:00
Theo Arends a61c028b66 Add SoftwareSerial to CSE7766 driver
Add SoftwareSerial to CSE7766 driver allowing different GPIOs (#7563)
2020-01-21 16:38:55 +01:00
Theo Arends 760f4e49ac Add compile time control over settings 2020-01-21 12:36:44 +01:00
Theo Arends c1a86af6a8
Merge pull request #7564 from Staars/development
add support for LYWSD02
2020-01-21 09:17:36 +01:00
Staars 6d36f36659 add support for LYWSD02 2020-01-20 19:44:55 +01:00
Theo Arends e01c1b8c45 Add compile time control over SetOptions 2020-01-20 18:49:57 +01:00
Theo Arends 58a50cec8c Fix Zigbee compile error 2020-01-20 10:05:12 +01:00
Hadinger 79fdc265b7 Minor fixes to Zigbee friendly names 2020-01-19 22:59:02 +01:00
Theo Arends 588f3ca0b2
Merge pull request #7557 from BASM/7556_i2csetdevice
i2c: I2cSetDevice wrong behavior
2020-01-19 15:31:56 +01:00
Leonid Muravjev e03a14ce21 i2c: I2cSetDevice wrong behavior
Most drivers do not expect address blocking after calling i2cSetDevice.
I2cSetActive removed from I2cSetDevice. All drivers waiting for this call are fixed.

refs #7556
2020-01-19 16:15:18 +03:00
Theo Arends 6d5b0ed622 Remove redundant code 2020-01-19 14:12:25 +01:00
Theo Arends 6c83787210 Lower mqttlog stack usage 2020-01-19 12:22:40 +01:00
Theo Arends 45ed0257b6 Better support for Prefix1 equals Prefix2 2020-01-18 16:57:48 +01:00
Theo Arends 5716d08de9 Refactor MQTT Logging and publish 2020-01-18 15:34:01 +01:00
Hadinger 18ce64f813 Add Zigbee persistence and friendly names 2020-01-18 00:02:01 +01:00
Theo Arends 50a25aeb7c Experimental DS18x20 for Shelly
Experimental DS18x20 for Shelly (#7469)
2020-01-17 17:51:27 +01:00
Theo Arends 60c5a1a83a
Merge pull request #7539 from Staars/development
add virtual serial port via TCP for ublox-GPS-modules
2020-01-17 17:15:33 +01:00