Commit Graph

6439 Commits

Author SHA1 Message Date
Theo Arends fec1e82655
Merge pull request #7649 from s-hadinger/pwm_flicker
Fix PWM flickering at low levels (#7415)
2020-02-04 09:20:10 +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 e26a9fc074 Quick fix for Coolix_AC decoding #7660 2020-02-03 21:26:46 +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
Theo Arends e498840ccf
Merge pull request #7644 from s-hadinger/gamma_48
Fix wrong CT channel for Module 48
2020-02-01 19:06:44 +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
Theo Arends bfb7f0c1b9
Merge pull request #7616 from to-scho/hotfix/shutter_target_position
fix shutterposition call w/o arguments after boot
2020-01-27 12:25:13 +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
Theo Arends df98514c9e
Merge pull request #7614 from s-hadinger/awsiot_shadow
Add ``SetOption84 1`` sends AWS IoT device shadow updates (alternative to retained)
2020-01-27 08:45:22 +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
Theo Arends 567c40675a
Merge pull request #7605 from jay-wilkinson/patch-1
Update BUILDS.md
2020-01-26 13:37:38 +01:00
jay-wilkinson a935dda9ac
Update BUILDS.md
If you read enough issues you can finally find a vague reference to "Enable ALL protocols" and tasmota-ir but not in the same issue. Wasted a day on this. Looks like many others have too.
2020-01-25 21:15:56 -06: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
Theo Arends 022a6a05ab
Merge pull request #7601 from s-hadinger/zigbee_zb
Change Zigbee commands renamed to ``Zb*``
2020-01-25 18:53:24 +01: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