Commit Graph

1072 Commits

Author SHA1 Message Date
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
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
Theo Arends be5c7a4367 Document and add errorchecks to OTA
Document and add errorchecks to OTA
2020-01-17 17:14:53 +01:00
Staars 400d4a0604 add virtual serial port via TCP 2020-01-17 16:44:43 +01:00
Theo Arends e8ce1eb641 Fix OTA minimal gzipped detection
Fix OTA minimal gzipped detection regression from 8.1.0.3
2020-01-17 15:38:03 +01:00
Theo Arends 65d1f3aace Fix PowerDelta calculation
Fix PowerDelta calculation not detecting zero power (#7515)
2020-01-17 10:12:57 +01:00
Shantur Rathore 920501fef9 Implement new Tuya multi dpid protocol. Fixes #7489 2020-01-16 15:19:57 +00:00
Theo Arends adb2dbbcbd Fix ColorTemp brightness 2020-01-16 14:37:10 +01:00
Theo Arends a6e95211cc Add more web page sliders
Add web page sliders when ``SetOption37 128`` is active allowing control of white(s)
2020-01-16 14:22:39 +01:00
Theo Arends aa170fefd4
Merge pull request #7521 from dgwynne/HSColor
Make the B or brightness part of the HSBColor command optional
2020-01-16 13:00:26 +01:00
Theo Arends 0755ad488e Bump version to 8.1.0.4 2020-01-16 11:35:48 +01:00
Theo Arends 5b797a8f4e Add new SwitchMode options
Add ``SwitchMode 8`` ToggleMulti, ``SwitchMode 9`` FollowMulti and ``SwitchMode 10`` FollowMultiInverted (#7522)
2020-01-16 10:39:59 +01:00
to-scho 6ab5c7432e patch-1
typos
2020-01-15 16:12:55 +01:00
to-scho e327236485 New switchmodes TOGGLEMULTI, FOLLOWMULTI and FOLLOWMULTI_INV 2020-01-15 13:05:00 +01:00
David Gwynne a2c8ea9d65 Make the B or brightness part of the HSBColor command optional
This makes it easier (possible?) to use the HSBColor with hs_command_topic
in Home-Assistant, which in turn allows completely independent control
of the color part of an RGBW or RGBWW bulb.
2020-01-15 22:14:47 +11:00
Theo Arends 338499d8e2 Fix unknown command topic 2020-01-14 16:57:55 +01:00
Hadinger 77191f2fe9 Simplified TimeDifference (saves 16 bytes) 2020-01-14 16:41:47 +01:00
Theo Arends ceef563414 Add simple check for serialreceived JSON
Add simple check for serialreceived JSON (#7506)
2020-01-14 15:58:56 +01:00
Theo Arends fe17be62cc Add user control over vertical console size
Add user control over vertical console size (#7507)
2020-01-14 15:38:16 +01:00
Theo Arends 81d58d69b6 Revert "Add user control over vertical console size"
This reverts commit 423b6f251b.
2020-01-14 14:42:30 +01:00
Theo Arends 423b6f251b Add user control over vertical console size
Add user control over vertical console size (#7507)
2020-01-14 14:33:27 +01:00
to-scho 64d3d0c075 Change MQTT reporting of instantaneous shutter position from tele to stat 2020-01-14 13:32:51 +01:00
Theo Arends 0db458c774 Fix exception 9 restart on log message
Fix exception 9 restart on log message in Ticker interrupt service routines NTP, Wemos and Hue emulation (#7496)
2020-01-14 12:47:48 +01:00
Theo Arends fc9fafc19b
Merge pull request #7510 from to-scho/hotfix/shutterlock_webbutton
Show webbutton label '-' when shutter is locked
2020-01-14 11:26:01 +01:00
to-scho bc83aad8bd Show webbutton label '-' when shutter is locked 2020-01-14 11:00:22 +01:00
to-scho 0327d7f4b4 New command ShutterEnableEndStopTime 2020-01-13 12:00:34 +01:00
to-scho d00bea84ec Fix target shutter position inaccuracy
Introduced numerical rounding when calculating between "%" and "time" position values
2020-01-13 09:48:29 +01:00
Hadinger 5840f71af9 Fix char[] allocation 2020-01-12 23:31:57 +01:00
to-scho 80773f74c7 initialize shutters when interlock is changed 2020-01-12 15:41:51 +01:00
to-scho 8cf411a1c3 New command ShutterLock
Command shutterlock<x> 1 locks shutter <x> movement. Any ongoing movement is still finished when called. Subsequent calls of shutter commands about movement, web buttons and shutter buttons  are blocked when shutter is locked. shutterlock<x> 0 unlocks shutter <x>.
2020-01-12 14:18:15 +01:00
Theo Arends 0e0d8190fa Change some commands displaying all items
Change commands ``Prefix``, ``Ssid``, ``StateText``, ``NTPServer``, and ``FriendlyName`` displaying all items
2020-01-12 13:10:21 +01:00
Theo Arends e7b061ce5a Fix Tuya PowerOn state
Fix Tuya PowerOn state (#7412)
2020-01-11 15:39:56 +01:00
Roman Lomonosov 20c58f5f20 Fix typo in gauge metric type (#7216) 2020-01-11 10:15:30 +03:00
Hadinger be85d3a060 Fix ``WakeUp <x>`` ignores provided value (#7473) 2020-01-10 20:54:13 +01:00
Theo Arends 2dde0329ed
Merge pull request #7466 from to-scho/hotfix/shutterbuttons_no_key_restrictions
Enable WIFI setup, restart and reset via ShutterButtons
2020-01-09 14:52:54 +01:00
to-scho a1ccd0131d Enable WIFI setup, restart and reset via ShutterButtons
When no button restriction is given and ALL shutter buttons are pressed simultaneously more than 5 times or hold simultaneously follow Tasmota's basic button behavior.
2020-01-09 14:48:23 +01:00
Theo Arends 250e3f3dc4 Fix display of wifi scan signal strength
Fix display of wifi scan signal strength
2020-01-09 14:35:03 +01:00
Theo Arends d0774995de Allow duplicate names but different channel in wifi scan
Allow duplicate names but different channel in wifi scan
2020-01-09 14:19:19 +01:00
Theo Arends a6dcf46771 Move heap to stack 2020-01-09 11:35:01 +01:00
Theo Arends a52c059cdc
Merge pull request #7465 from to-scho/hotfix/shutterbuttons_short_command
Add MQTT field to short shutterButton command syntax
2020-01-09 10:42:18 +01:00
to-scho 3675388148 Add MQTT field to short shutterButton command syntax
Align code to latest command doc suggestion
2020-01-09 10:35:27 +01:00
to-scho 2c6659fca4 Fix labeling of web buttons for shutters
Instead of switching power of the shutter relais web buttons will issue shutter commands to work right when in shuttermode 1. Up down labels arrow up/down fixed for more than one shutter.
2020-01-09 09:17:39 +01:00
Theo Arends 7c68d7a754 Improve random color cycle for scheme 4
Improve random color cycle for scheme 4 (#7273)
2020-01-08 17:45:48 +01:00
Theo Arends edf1584431 Improve random color cycle for scheme 4
Improve random color cycle for scheme 4 (#7273)
2020-01-08 16:45:43 +01:00
Theo Arends 2c23364d48 Fix DDS238-2 total energy
Fix DDS238-2 total energy (#7457)
2020-01-08 11:43:39 +01:00
Theo Arends 8db49a0fe3 Add support for tasmota-minimal.bin.gz 2020-01-07 17:28:06 +01:00
Theo Arends ca7776573a Remove debug info 2020-01-07 17:10:07 +01:00
Theo Arends 1c0db7e689 Refactor version compatibility 2020-01-07 17:01:48 +01:00
Hadinger 9d881b9701 Update IRremoteESP8266 lib updated to v2.7.2 2020-01-06 17:27:36 +01:00
Theo Arends 95fc96d563 Add support for gzipped binaries
Add support for gzipped binaries
2020-01-06 14:52:04 +01:00
saper-2 f145d22e90 A bit more of code cleanup 2020-01-05 22:09:00 +01:00
saper-2 f2ca1f3e47 Added totalActive from le01, more code tunning 2020-01-05 19:51:12 +01:00
saper-2 179a1c549d Fixed few bugs (multiplers, 0's, etc) 2020-01-05 14:32:35 +01:00
saper-2 dc2d7cc681 Added F&F LE-01MR support 2020-01-05 01:06:30 +01:00
Theo Arends 4a432fc2cd Fix for Domoticz color temp (#7428)
Fix for Domoticz color temp (#7428)
2020-01-04 18:24:33 +01:00
Theo Arends 61fe727685 Possible fix for Domoticz color temp
Possible fix for Domoticz color temp (#7428)
2020-01-04 17:29:04 +01:00
Theo Arends 5c97cdc12e
Merge pull request #7437 from to-scho/hotfix/shutterbuttons_inverted_command
inverted ShutterButton command
2020-01-04 16:42:00 +01:00
Theo Arends 81d3b35d0c
Merge pull request #7436 from to-scho/hotfix/shutterbuttons
Fixed exception with ShutterButton
2020-01-04 16:41:24 +01:00
to-scho f6f4a3f88f inverted ShutterButton command
As discussed in doc repo this is the code for my inverted shutter button command.
2020-01-04 16:24:45 +01:00
to-scho cea20feab3 Fixed exception with ShutterButton
When a button assigned to a shutter is pressed before any command is issued an exception occured
2020-01-04 16:10:03 +01:00
Theo Arends 49137ec79f Refactor shutters 2020-01-04 15:09:57 +01:00
Theo Arends 8be7dbe235 Fix shutter JSON 2020-01-04 14:20:41 +01:00
Theo Arends a1df6b9db9
Merge pull request #7431 from kabongsteve/shutter-improvements
Improve Shutter operation for HASS, MQTT and Internationalization
2020-01-04 13:54:58 +01:00
Hadinger aa665c1439 Add SetOption82 to limit the CT range for Alexa to 200..380 2020-01-04 11:01:44 +01:00
kabongsteve 1b451e722f Improve multiple shutter operation and MQTT 2020-01-04 13:38:56 +11:00
Hadinger 4f74c70270 Add LightPowerIRAM() for rotary interrupt handler 2020-01-03 17:57:47 +01:00
Theo Arends b82d1fdcc3 Move all Rotary interrupt code to iRAM
Move all Rotary interrupt code to iRAM (#7410)
2020-01-03 17:07:40 +01:00
Theo Arends 8c2ff7237e Fix Arduino_OTA compile error
Fix Arduino_OTA compile error (#7413)
2020-01-03 16:50:56 +01:00
Theo Arends 9249958d90
Merge branch 'development' into bmp 2020-01-03 16:31:39 +01:00
Theo Arends 319965fba2
Merge pull request #7423 from jpenninkhof/development
Reset SSD1306 before initialisation when OLED reset pin is set
2020-01-03 16:08:34 +01:00
Jan Penninkhof d15969bd1e
Reset before initialisation of the SSD1306 when OLED reset pin is set
If an OLED Reset pin has been selected using the PIN configuration, it makes sense to also send a reset signal to this pin before initialization of the display. The current value 0 doesn't send this signal, not even when a reset pin has been selected. Hence the change of value 0 into reset_pin >= 0. If no reset pin was set, the value of this variable is -1.
2020-01-03 10:07:42 +01:00
Hadinger 0ab3ba6fab Fix wrong gamma correction for Module 48 lights (PWM5 for CT) 2020-01-02 22:36:27 +01:00
Andre Thomas 06f053c172
- Add support to BMP driver to enter reset state (sleep enable) 2020-01-02 22:51:15 +02:00
Andre Thomas 6a54eef50a
- Add support to BMP driver to enter reset state (sleep enable)
- Add support to BMP driver to enter reset state (sleep enable) when deep sleep is used in Tasmota
2020-01-02 22:40:14 +02:00
Andre Thomas 356e005909
BMPxxx - Enter power on state before deep sleep 2020-01-02 22:38:18 +02:00
Theo Arends 894950ca4e Fix wrong JSON sensor message 2020-01-02 17:40:00 +01:00
Theo Arends c4f6a359a7 Add experimental support for NRF24L01 as BLE-bridge
Add experimental support for NRF24L01 as BLE-bridge for Mijia Bluetooth sensors by Christian Baars (#7394)
2020-01-02 16:58:20 +01:00
Theo Arends 5489c91172
Merge pull request #7394 from Staars/nrf24_PR
BLE-bridge for certain Mijia-Bluetooth-sensors via NRF24L01
2020-01-02 16:28:22 +01:00
Theo Arends 1e0550e750 Add command ShutterButton <parameters>
Add command ``ShutterButton <parameters>`` to control shutter(s) by to-scho (#7403)
2020-01-02 15:12:59 +01:00
Theo Arends eb7e7d45b2
Merge pull request #7403 from to-scho/feature/initial_shutter_button_support
Initial support for shutter button control
2020-01-02 14:48:13 +01:00
Theo Arends 044fae2a6e
Update settings.h 2020-01-02 14:47:33 +01:00
Theo Arends 8e3540d58d
Merge pull request #7405 from to-scho/hotfix/shutter_calibration_command_add_response
Add response to ShutterCalibration command
2020-01-02 14:40:25 +01:00
Theo Arends 7ca423da92
Merge pull request #7406 from to-scho/hotfix/shutter_pos_to_percentage_fix
Wrong shutter percentage reporting
2020-01-02 14:39:19 +01:00
Theo Arends 7ea9204425 Add some info to Prometheus file 2020-01-02 14:17:49 +01:00
to-scho a9a5c33327 Wrong shutter percentage reporting
With calibrated shutters and ShutterPosition<x> 100 the resulting position may not be 100. This is due to 2 issues. a) percentage is calculated wrong from position due to numerical precision. b) real_position and subsequently position after movement is slightly smaller than max_position.

a) is fixed here by avoiding calculation when position is equal to calibration point
b) open, not fixed here. Issue further depends on start_position which makes it hard to reproduce. Maybe 'stop_position_delta=20' results is real_position not reaching max_position.
2020-01-02 12:46:12 +01:00
to-scho f2a89605af Add response to ShutterCalibration command
When ShutterCalibration<x> is called without any arguments no response was given before that allows to read out setting like for other commands. Workaround was to call ShutterRelay<x> <y>.
2020-01-02 12:37:07 +01:00
to-scho 406a5a15f5 Initial support for shutter button control
New command "ShutterButton<x> <a> <b> <c> <d> <e> <f> <g> <h> <i> <j>" added that allows to assign a tasmota button <x> to control shutter <a>.

Single press button shutter is set to position <b>.  Double press button shutter is set to position <c>. Tripple press button shutter is set to position <d>. Hold button shutter is set to position <e>. Disabling any button action is given by <b> ... <e> equal to "-". Any press of the button while the shutter is moving will immediately stop that shutter.

Global steering of all your shutters at home is supported by MQTT. By any button action an MQTT command can be initiated to the <grouptopic> of the device. For single press button this can be enabled by <f> equal to "1". Disabling is indicated by <f> equal to "0". Double to hold actions are given by <g> ... <i>, correspondingly. When <j> is equal to "0" only "cmnd/<grouptopic>/Shutterposition<y> ..." with <y>=<x> is fired. When <j> is equal to "1" <y>=1...4 is used to control any shutter number of a tasmota device having same <grouptopic>.

Easy setup for an "up" button:
ShutterButton<x> <a> up (same as ShutterButton<x> <a> 100 50 74 100 0 0 0 1 1)
Single press will move shutter up to 100%, double press to 50% and tripple press to 74%. Holding the button for more than the hold time (SetOption32) moves all shutters with same <grouptopic> up to 100%.

Easy setup for an "down" button:
ShutterButton<x> <a> down (same as ShutterButton<x> <a> 0 50 24 0 0 0 0 1 1)
Single press will move shutter down to 0%, double press to 50% and tripple press to 24%. Holding the button for more than the hold time (SetOption32) moves all shutters with same <grouptopic> down to 0%.

Easy setup for an "updown" button:
ShutterButton<x> <a> updown (same as ShutterButton<x> <a> 100 0 50 - 0 0 0 0 0)
Single press will move shutter up to 100%, double press down to 0% and tripple press to 50%. No hold action and no other shutter control by MQTT.
2020-01-02 11:23:11 +01:00
Theo Arends 21ea26e132
Update my_user_config.h 2020-01-02 09:54:58 +01:00
Staars ee7e9078f0 initial commit 2020-01-01 19:09:20 +01:00
Theo Arends 01b5df9651 Add optional support for Prometheus
Add optional support for Prometheus using file xsns_91_prometheus.ino (#7216)
2020-01-01 17:17:10 +01:00
Hadinger 579a76ced6 Fix Improved fade linearity with gamma correction 2020-01-01 16:11:36 +01:00
Theo Arends 287b3b97f1 Fix some display issues
- Fix LCD line and column positioning (#7387)
- Fix Display handling of hexadecimal escape characters (#7387)
2020-01-01 15:13:58 +01:00
Theo Arends b05301b149 Refactor change 2019-12-31 17:24:47 +01:00
Theo Arends c13b755a59 Fix addition of backlog to IF clause
Fix addition of backlog to IF clause (#7342)
2019-12-31 17:17:30 +01:00
Theo Arends 5281725b9b Raise max valid load from 3.68 to 4kW
Raise max valid load from 3.68 to 4kW (#7155)
2019-12-31 15:34:27 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Bohdan Kmit df9781d71e Use symbolic chars in WebUI for Ukrainian language (µ,Ω,³,₂) 2019-12-31 15:12:27 +02:00
localhost61 9e1a595d58 Use symbolic chars in WebUI for all languages (µ,Ω,³,₂)... but keep MHZ 2019-12-30 19:57:09 +01:00
Theo Arends 1e06976eee
Merge pull request #7039 from ahoiahoi/domoticz-shutter
domoticz blinds -> tasmota support
2019-12-30 17:00:38 +01:00
Theo Arends a6cecfcb79 Add support for ADC0 Current Transformer
- Bump version to 8.1.0.2
- Add support for ``AdcParam`` parameters to control ADC0 Current Transformer Apparent Power formula by Jodi Dillon (#7100)
2019-12-30 16:42:53 +01:00
Staars 5d10b92c54 change height to altitude 2019-12-30 16:20:21 +01:00
Theo Arends 1526a59162 Refactor HotPlug 2019-12-30 14:23:37 +01:00
Theo Arends 3fabf6d2f9
Merge pull request #7368 from BASM/hotplug
HotPlug for sensors support added
2019-12-30 12:48:51 +01:00
Jason2866 2d99eca6e8
u in µ and m3 in m³ 2019-12-30 12:03:14 +01:00
Leonid Muravjev ed5330169a HotPlug for sensors support added 2019-12-29 23:10:53 +03:00
Theo Arends 6bba9df362
Merge pull request #7370 from Staars/ubx
add error checking for init and loops
2019-12-29 20:48:20 +01:00
Staars 6c189b40bf add error checking for init 2019-12-29 19:41:31 +01:00
Jason2866 b7d2045c21
Wrong spelling Particles 2019-12-29 17:26:45 +01:00
gemu2015 858103e082 support for hm17 (v110) and hm10 (V609) 2019-12-29 16:49:36 +01:00
Theo Arends df944ed058 Fix Serial initialization regression
Fix Serial initialization regression from previous fix
2019-12-29 13:27:48 +01:00
Theo Arends d627de5d76
Merge pull request #7364 from stefanbode/patch-9
Fixed infinite loop bug
2019-12-29 10:32:29 +01:00
stefanbode ddbca8e393
Update xdrv_27_shutter.ino
Fix infinite loop for shutter
2019-12-29 16:19:26 +07:00
Theo Arends 0c9c41b10f
Merge pull request #7361 from s-hadinger/white_more_fixes
More White fixes
2019-12-29 08:53:00 +01:00
stefanbode 9974d29726
Update xdrv_27_shutter.ino
Minor fix in recognizing stepper
2019-12-29 13:04:34 +07:00
Adrian Scillato 8e2b60d3b9
Merge pull request #7362 from ascillato/patch-1
Update Spanish Translation
2019-12-28 19:51:22 -03:00
Adrian Scillato fd5c087106
Update Spanish Translation 2019-12-28 19:23:38 -03:00
Hadinger 1f57af1d12 More White fixes 2019-12-28 22:59:20 +01:00
Jason2866 990ee2e0bc
Translate Script 2019-12-28 22:44:55 +01:00
Hadinger e089ded193 Fix ``White`` added to light status (#7142) 2019-12-28 22:32:08 +01:00
Bohdan Kmit 7a49f523e7 Make scripter configuration interface localizable
Add tasmota-script build environment and travis entry
2019-12-28 22:32:26 +02:00
stefanbode daf3d27c9a
Update xdrv_27_shutter.ino
Try to bugfix
2019-12-28 23:24:52 +07:00
Theo Arends 6a06d35626 Add command ``SetOption79 0/1``
Add command ``SetOption79 0/1`` to enable reset of counters at teleperiod time by Andre Thomas (#7355)
2019-12-28 16:33:51 +01:00
Andre Thomas 4a9271aced
Update xsns_01_counter.ino 2019-12-28 17:26:15 +02:00
Andre Thomas 436cf830b9
Add support for resetting counters on tele_period
Add support for resetting counters on tele_period if SetOption78 is enabled.
2019-12-28 16:49:57 +02:00
Andre Thomas aefb3fb9de
Reserve SetOption79
Used to enable resetting of the counter values to zero after telemetry data was transmitted.
2019-12-28 16:47:30 +02:00
Theo Arends ab167b0974 Add more crash dump information 2019-12-28 14:54:26 +01:00
Hadinger eabac5e466 Zigbee attribute decoder for Xiaomi Aqara Cube 2019-12-28 13:59:01 +01:00
Hadinger 4d9c551083 Add WDT crash status 2019-12-28 13:14:51 +01:00
Theo Arends 5f62b59f05 Refactor DS1624 driver 2019-12-28 11:35:44 +01:00
Theo Arends 7295b66310 Add DS1624 support 2019-12-28 10:42:00 +01:00
Theo Arends b56ef33412
Merge pull request #7348 from bkmit/development
Improved Ukrainian translation, renamed localization to proper uk-UA name
2019-12-28 10:30:23 +01:00
Hadinger 3f9018658c Better gamma curve 2019-12-28 09:58:30 +01:00
Bohdan Kmit 1ba2239804 Improved Ukrainian translation, renamed localization to proper uk-UA name 2019-12-28 01:20:23 +02:00
Theo Arends 179c08c109
Merge pull request #7347 from s-hadinger/gamma_10
Change Lights: simplified gamma correction and 10 bits internal computation
2019-12-27 21:37:51 +01:00
Theo Arends 9ffbf81fea
Merge pull request #7269 from BASM/development
Added support DS1624 and DS1621 termometer sensor (multiply and hotplug)
2019-12-27 21:06:38 +01:00
Hadinger e48e5859cd Change Lights: simplified gamma correction and 10 bits internal computation 2019-12-27 21:02:23 +01:00
Leonid Muravjev 782414c35d ds1624: support for ds1621 and ds1624
[x] the I2C address reservation implemented.
[x] multiple sensors any combination with 8 addresses
[x] with and without HotPlug support
2019-12-27 22:56:16 +03:00
Theo Arends 5682675ac9 Fix some serial interface initializations
Fix Sonoff Bridge, Sc, L1, iFan03 and CSE7766 serial interface to forced speed, config and disable logging
2019-12-27 15:13:40 +01:00
Theo Arends 24aff9b415 Add info to Status 0
- Add SerialConfig to ``Status 1``
- Add WifiPower to ``Status 5``
2019-12-27 11:13:22 +01:00
Hadinger 6ebe7b219b Fix White blend mode #7325 2019-12-26 22:07:29 +01:00
Grzegorz 35e306f410
Update pl-PL.h
Update PL to last changes.
2019-12-26 19:11:51 +01:00
Jason2866 baacd94625
Update de-DE.h 2019-12-26 17:23:10 +01:00
localhost61 3fe685d252 Update French language to v8.1.0.1 2019-12-26 13:28:27 +01:00
Theo Arends e8626e9cca Fix command processing
Fix commands ``Display`` and ``Counter`` from overruling command processing (#7322)
2019-12-26 12:26:06 +01:00
Theo Arends 14ee8583c6
Merge pull request #7328 from imduffy15/development
Add manufactureURL to the hue description.xml endpoint
2019-12-26 11:28:27 +01:00
Adrian Scillato 96842eed73
Better Button Spacing 2019-12-25 22:13:17 -03:00
Adrian Scillato aa155f9a52
AP MODE: Added Restore Config Button 2019-12-25 21:59:42 -03:00
Ian Duffy 4f6a747300 Add manufactureURL to the hue description.xml endpoint
The netdisco library by HA looks for manufacture, modelNumber and manufactureURL for its auto discovery mechanism. https://github.com/home-assistant/netdisco/blob/master/netdisco/discoverables/philips_hue.py

Currently, tasmota doesn't return this, and as a result home assistant doesn't discover the emulator.

this commit adds a manufactureURL so discovery works
2019-12-25 21:46:38 +00:00
Theo Arends 15acf8487d Bump version to 8.1.0.1 2019-12-25 13:28:29 +01:00
Theo Arends b9e6f510ef
Merge pull request #7315 from gemu2015/scripter-update
scripter pram update
2019-12-25 10:11:40 +01:00
gemu2015 0f71f204b9 revert 2019-12-25 09:57:37 +01:00
gemu2015 401879a61c sml max vars for large meter definitions redefinable 2019-12-25 09:09:43 +01:00
gemu2015 72f2e944d5 scripter pram update 2019-12-25 09:04:54 +01:00
Theo Arends 75a62cd3b9
Merge pull request #7311 from effelle/development
ADC0 Moisture discovery for HA
2019-12-24 17:26:03 +01:00
Theo Arends 8cf7c6fbc2 Bump version to 8.0.0.3 2019-12-24 17:25:21 +01:00
Federico Leoni ad312c0414 Update xdrv_12_home_assistant.ino 2019-12-24 13:21:56 -03:00
Theo Arends b66cc3479f Add support for user defined GUI button text
Add commands ``WebButton1`` until ``WebButton16`` to support user defined GUI button text (#7166)
2019-12-24 17:10:50 +01:00
Hadinger 29366222a5 Re-enable mqttuser/mqttpassword for AWS IoT 2019-12-24 16:42:47 +01:00
Theo Arends a2478f9569 Change number of ``FriendlyName``s from 4 to 8
Change number of ``FriendlyName``s from 4 to 8
2019-12-24 15:06:19 +01:00
Theo Arends def4378499 Add support for ADC0 Moisture
Add support for ``AdcParam`` parameters to control ADC0 Moisture formula by Federico Leoni (#7309)
2019-12-24 12:20:04 +01:00
Federico Leoni c1f30da81e Add Moisture Sensor 2019-12-23 22:22:29 -03:00
Theo Arends beabe367f8
Merge pull request #7202 from ascillato/patch-1
Allow to disable SNTP when using TIME <epoch>
2019-12-23 17:32:21 +01:00
Hadinger 749960533f Add Zigbee better support for Xiaomi Double Switch and Xiaomi Vibration sensor 2019-12-23 16:53:54 +01:00
Theo Arends a10b199808 Version bump to 8.0.0.2 2019-12-23 15:59:00 +01:00
Theo Arends fd0155a5b1 Update supported sensor list 2019-12-23 15:53:43 +01:00
Theo Arends fb8bb1223a Add support for GPS as NTP server
Add support for GPS as NTP server by Christian Baars and Adrian Scillato
2019-12-23 15:39:07 +01:00
Theo Arends d5dcf462d0
Merge pull request #7239 from ascillato/patch-4
Add GPS and local NTP Server Support
2019-12-23 14:15:07 +01:00
Theo Arends bf1c48c67e Update migration path 2019-12-23 14:05:26 +01:00
Theo Arends b90a462e0c
Merge pull request #7298 from stefanbode/patch-7
Allow deepsleep to wait for second TELEPERIOD intervall
2019-12-22 20:12:33 +01:00
stefanbode 3fee364fd7
Allow deepsleep to wait for second TELEPERIOD intervall
Compatible with old values  teleperiod10 or 300 to start deepsleep immediately asap.
All Other values (at least >15, because this is often min runtime) for teleperiod causes the device to wait for another teleperiod
eventually fix for #7295
2019-12-22 19:59:56 +01:00
Hadinger cdcaaa325d Add Zigbee coalesce sensor attributes into a single message 2019-12-22 17:47:45 +01:00
Theo Arends 7695a2c5bf Change max number of rule ``Var``s to 16
Change max number of rule ``Var``s from 5 to 16 (#4933)
2019-12-22 17:15:47 +01:00
Theo Arends 35e51918e3 Document Settings changes 2019-12-22 16:53:51 +01:00
Theo Arends c806b22e9d Change max number of rule ``Mem``s to 16
Change max number of rule ``Mem``s from 5 to 16 (#4933)
2019-12-22 15:36:20 +01:00
Theo Arends ad4a7e91ac Add support for max 150 characters
Add support for max 150 characters in most command parameter strings (#3686, #4754)
2019-12-22 15:23:52 +01:00
Theo Arends f642f014b7 Fix WifiConfig error 2019-12-22 11:52:54 +01:00
Adrian Scillato ca534c4a1b
Changed sensor number to a new free one 2019-12-21 23:36:15 -03:00
Adrian Scillato 17a0cb6982
Merge branch 'development' into patch-4 2019-12-21 23:15:43 -03:00
Hadinger 486894781f Fix AWS IoT 2019-12-21 22:38:49 +01:00
Theo Arends 7d97a5fcd9
Merge pull request #7284 from s-hadinger/zigbee_aqara_switch
Zigbee aqara switch, support for double/triple clicks
2019-12-21 19:18:28 +01:00
Theo Arends 07e447c871
Merge pull request #7283 from s-hadinger/fade_100Hz
Change Smoother Fade using 100Hz instead of 20Hz animation (#7179)
2019-12-21 19:17:53 +01:00
Theo Arends d13553baef Fix restore
Fix restore ShutterAccuracy, MqttLog, WifiConfig, WifiPower and SerialConfig (#7281)
2019-12-21 18:59:00 +01:00
Hadinger fbe29e485b Zigbee aqara switch, support for double/triple clicks 2019-12-21 18:39:47 +01:00
Hadinger 9a7d5346c4 Change Smoother ``Fade`` using 100Hz instead of 20Hz animation (#7179) 2019-12-21 18:26:36 +01:00
Theo Arends 281cef6763 Fix no AP on initial install
Fix no AP on initial install (#7282)
2019-12-21 17:57:54 +01:00
Theo Arends 9fc11270ba Fix Arduino IDE compile error
Fix Arduino IDE compile error (#7277)
2019-12-21 17:09:24 +01:00
Theo Arends f55e02e800 Bump version to 8.0.0.1
Change Settings text handling allowing variable length text within a total text pool of 699 characters
2019-12-21 15:37:36 +01:00
Theo Arends d2ebefbb16 Bump version to 7.2.0.1 2019-12-21 13:45:26 +01:00
Theo Arends e85f1560a2 Refactor DHT12 sensor driver 2019-12-21 12:43:07 +01:00
Theo Arends 42f25b1cfb Update xdrv_01_webserver.ino 2019-12-20 18:37:14 +01:00
Theo Arends 7e24ed9c2c Fix error message 2019-12-20 18:24:20 +01:00
Theo Arends 74d0f55ce7 Update languages 2019-12-20 16:36:08 +01:00
Theo Arends 70a2c2cd20 Fix Fade 2019-12-20 16:22:49 +01:00
Hadinger 18bc158bc8 Fix Fade would ignore ``savedata 0`` and store to flash anyways (#7262) 2019-12-20 16:01:24 +01:00
Theo Arends 72849f672e Add support for DHT12
- Fix DeepSleep in case there is no wifi by Stefan Bode (#7213)
- Add support for DHT12 Temperature and Humidity sensor by Stefan Oskamp
2019-12-20 15:48:40 +01:00
Theo Arends ef8aae03d2
Merge pull request #7245 from stefan-oskamp/development
Support for I2C sensor DHT12
2019-12-20 15:23:19 +01:00
Theo Arends d7563831be
Merge pull request #7264 from stefanbode/patch-5
new features
2019-12-20 15:21:08 +01:00
Theo Arends 46696f8ba0
Merge pull request #7265 from stefanbode/patch-6
fix #7213
2019-12-20 15:20:01 +01:00
Theo Arends 7459a8a424 Add restriction if fallback firmware is incompatible
Add restriction if fallback firmware is incompatible with settings resulting in unreachable device
2019-12-20 15:12:44 +01:00
stefanbode f2209109e9
Update xdrv_29_deepsleep.ino 2019-12-20 12:45:29 +01:00
stefanbode f49b498c39
fix #7213
DIV0 fix
2019-12-20 12:40:40 +01:00
stefanbode a2b4b1b06d
new features
- new closeduration
- new control how to accelerate an decellerate
2019-12-20 11:27:35 +01:00
Theo Arends 1288cc20e0 Fix fallback from 8.x after full erase 2019-12-19 15:30:25 +01:00
Theo Arends 6cae0f8f14 Add some more fallback code 2019-12-19 10:06:23 +01:00
Federico Leoni fdd65bbf8c
Update xdrv_12_home_assistant.ino 2019-12-18 22:00:05 -03:00
Theo Arends 5c282db649 Add some GPIO checks 2019-12-18 18:21:10 +01:00
Theo Arends e574f7dd84 Add fallback support from version 8.x 2019-12-18 14:54:14 +01:00
Theo Arends 62f4419a59 Update settings.ino 2019-12-18 14:48:32 +01:00
Theo Arends dd94df28af Update fallback preparation 2019-12-18 14:29:05 +01:00
Theo Arends ac1e153ec0 Better and smaller AWS fix 2019-12-18 11:54:31 +01:00
Theo Arends 46aec3acf5 Fix AWS mqtt host length clipped to 32 2019-12-18 11:41:10 +01:00
Stefan Oskamp e853cc65e5
Added code size for USE_DHT12 2019-12-17 22:31:08 +01:00
Stefan Oskamp eb4b3d306b
Added code size for USE_DHT12 2019-12-17 22:29:16 +01:00
Stefan Oskamp c2d60b2ab7
Added entry for I2C sensor DHT12 2019-12-17 22:19:49 +01:00
Stefan Oskamp 3c835f0ee7
Added USE_DHT12
Refer to issue #7229
2019-12-17 21:32:55 +01:00
Stefan Oskamp 9a7dfe7178
Driver for I2C sensor DHT12
Refer to issue #7229
2019-12-17 21:31:01 +01:00
Theo Arends 5968d2b28a Change tasmota-basic to tasmota-lite
Change tasmota-basic.bin and FIRMWARE_BASIC to tasmota-lite.bin and FIRMWARE_LITE
2019-12-17 15:13:47 +01:00
Theo Arends 78b1363add Update support_statistics.ino 2019-12-17 12:08:32 +01:00
Theo Arends 359770c23e Update support_statistics.ino 2019-12-17 11:43:22 +01:00
Theo Arends efc7dc2388 Add fallback functionality from next version
Add fallback functionality from next version 8.x
2019-12-17 10:54:38 +01:00
ahoiahoi 082f5e40ce accidentally deleted linefeed 2019-12-17 10:50:08 +01:00
root fa56e958e0 domoticz -> tasmota support 2019-12-17 10:40:48 +01:00
Adrian Scillato 2d75cb9576
Fix more identations 2019-12-17 02:43:35 -03:00
Adrian Scillato ed92cdc74c
Fix sensor number and identations 2019-12-17 01:40:56 -03:00
ascillato 1a02f52de9 Add NTP Local Server Library 2019-12-16 23:29:36 -03:00
ascillato 69a79c83a5 Add GPS Support - Language Files 2019-12-16 23:16:25 -03:00
ascillato 4cb4aee86b Revert "Add GPS Support - Language Files"
This reverts commit b1e24bb9c3.
2019-12-16 23:09:34 -03:00
Adrian Scillato b1e24bb9c3
Add GPS Support - Language Files 2019-12-16 23:03:49 -03:00
Adrian Scillato f065ccaf08
Add GPS Support 2019-12-16 23:01:07 -03:00
Adrian Scillato 0dd20a4c2b
Add GPS Support 2019-12-16 22:50:19 -03:00
Adrian Scillato 6ea1cff267
Add GPS Support 2019-12-16 22:13:24 -03:00
Adrian Scillato 98579fba0f
KNX: Fix compilation issue when using KNX on Tasmota-IR firmware type 2019-12-16 21:23:25 -03:00
Theo Arends 1e1b7a3ac2
Merge pull request #7236 from bjeram/development
setting pinMode for the pin used by RFRecv to INPUT
2019-12-16 19:10:17 +01:00
Adrian Scillato c1bb875abd
Fix typo 2019-12-16 14:37:18 -03:00
bjeram e47c8710fe setting pinMode for the pin used by RFRecv to INPUT 2019-12-16 16:55:52 +01:00
Theo Arends aae86a6718 Add fallback functionality
Add fallback functionality from next version 7.1.2.7
2019-12-16 15:13:57 +01:00
gemu2015 d4c2e92fd5 scripter FUNC_SET_POWER into separate section >P 2019-12-16 06:52:25 +01:00
Hadinger d802b2dd68 Add Zigbee improving Occupancy:false detection for Aqara sensor 2019-12-15 19:39:27 +01:00
Hadinger 6985fcecaf Add Zigbee send automatic ZigbeeRead after sending a command 2019-12-15 16:02:41 +01:00
stefanbode 4aa66b8032
Update xdrv_27_shutter.ino
- bugfix inverted shutter
- improved stepper soft start/stop now in all situations
-
2019-12-15 14:21:41 +01:00
Theo Arends 3d59de5d1d Bump version to 7.1.2.6
- Change some more Settings locations freeing up space for future single char allowing variable length text
- Add Zigbee support for Xiaomi Aqara Vibration Sensor and Presence Sensor by Stefan Hadinger
- Add Shutter functions ramp up/down and MQTT reporting by Stefan Bode
2019-12-14 13:16:55 +01:00
stefanbode de749b5b63
Update xdrv_27_shutter.ino
Sorry you were to fast for me. I uploaded a buggy version. Now fixed
2019-12-14 12:44:05 +01:00
Theo Arends 3316ae0eb2
Merge pull request #7211 from stefanbode/patch-1
New functions shutter: ramp up/down, MQTT reporting
2019-12-14 12:27:20 +01:00
stefanbode 40da54a0ec
New functions shutter: ramp up/down, MQTT reporting
- code optimization
- shuttermotordelay now defines ramp up and ramp down duration
- shutterposition reported through MQTT during movement (HASS support)
- improved stop (no underrun anymore)
2019-12-14 12:09:35 +01:00
Hadinger 25c9666f2d Add Zigbee support for Xiaomi Aqara Vibration Sensor and Presence Sensor 2019-12-14 12:06:59 +01:00
Theo Arends 21fa1fa04e Bump version to 7.1.2.5
Change some Settings locations freeing up space for future single char allowing variable length text
2019-12-13 12:05:07 +01:00
Hadinger 0c717ddbac Added ResponseCmndDone() to ZigbeeRead 2019-12-12 22:32:00 +01:00
Hadinger 7d8a4f5077 Fix Zigbee crash #7187 2019-12-12 22:22:34 +01:00
Adrian Scillato 666cc86c9e
Allow to disable SNTP when using TIME <epoch> 2019-12-12 16:32:54 -03:00
Theo Arends 04a952df99
Merge pull request #7194 from znanev/patch-1
Update bg-BG.h
2019-12-12 18:04:45 +01:00
stefanbode bfeaabfc7f
typo 2019-12-12 17:03:25 +01:00
stefanbode 29de8b9dce
Update several functions
- finally, secure pressing DOWN/UP button when shutter already in end-position will not turn ON the relay
- remove shutter commands to main to allow other modules to interact
- fix some overrun and underrun issues to end-positions
2019-12-12 16:14:06 +01:00
znanev c9703c5584
Update bg-BG.h
Change eCO2 to eCO₂
2019-12-12 15:11:21 +00:00
stefanbode e53f637bb6
Mode definitions to i18 to enable other modules to use shutters 2019-12-12 16:05:58 +01:00
znanev e09735dbae
Update bg-BG.h
Update Bulgarian translation up to v7.1.2.4
2019-12-12 14:18:12 +00:00
Theo Arends c32d2088b0 Single Settings Char Array Phase 1
Single Settings Char Array Phase 1 - Does nothing yet
2019-12-12 14:51:41 +01:00
Theo Arends 56308d3a12
Merge pull request #7183 from baschdello/development
Display IPv6 global unicast address
2019-12-12 14:42:12 +01:00
Theo Arends 07ce419f19
Merge pull request #7188 from tobox/development
Make WeightDelta for JSON message configurable.
2019-12-12 14:40:24 +01:00
Theo Arends 424f8c86f4
Update xsns_34_hx711.ino 2019-12-12 14:40:03 +01:00
localhost61 aa523dfc5c Merge branch 'development' of https://github.com/arendst/Tasmota into French 2019-12-12 09:37:51 +01:00
localhost61 f0a2563b87 Update French language 2019-12-12 09:32:34 +01:00
localhost61 abf1d2b27c Cosmetic typo in shutter log 2019-12-12 08:39:44 +01:00
Thomas Herrmann 2ecb1b1847 Make WeightDelta for JSON message configurable. 2019-12-11 22:03:13 +01:00
Theo Arends bfe2dc68cb Fix statistics 2019-12-11 19:30:52 +01:00
Laurent Dong 7f28b1d12a Merge branch 'development' into backlog-if 2019-12-11 11:32:59 -05:00
Bastian Urschel 27dd251fc3 IPv6 global unique address is now displayed at webinterface "information" above IPv4 address and also mentioned in the initial MQTT message if WebServer is active. 2019-12-11 15:53:19 +01:00
Theo Arends eccc9f20f5 Add weight_change for #7170
Add weight_change for #7170
2019-12-11 11:54:27 +01:00
Theo Arends 72aa161ddd Extent statistics 2019-12-11 10:49:57 +01:00
Theo Arends 28c8761be2 Update change log and release notes 2019-12-11 10:10:02 +01:00
Theo Arends bbed0c6981
Merge pull request #7174 from ptrooms/development
fix 12hr early Sunset/Sunrise (xdrv_09_timers.ino )
2019-12-11 10:04:04 +01:00
Adrian Scillato b1d26b9b3a
RULES: Fix duplicated BACKLOG when using EVENT inside a BACKLOG 2019-12-10 22:36:23 -03:00
Hadinger 96cc933094 Fix flashing H801 led at boot (#7165, #649) 2019-12-10 22:00:38 +01:00
PtrO 5f9350831d 7.1.2.4 20191209 xdrv_09_timers.ino fix 12hr early Sunset/Sunrise due negative zero time. 2019-12-10 18:09:59 +01:00
Theo Arends f03156849d Add reporting of raw weight to HX711
Add reporting of raw weight to JSON from HX711 to overcome auto-tare functionality by @tobox (#7171)
2019-12-10 12:58:34 +01:00
Theo Arends 1944dff13a
Merge pull request #7171 from tobox/development
Report raw value from HX711 to overcome auto-tare functionality.
2019-12-10 12:46:50 +01:00
Theo Arends e5d1b32d12
Merge pull request #7163 from s-hadinger/remove_spaces
Add RemoveAllSpaces()
2019-12-10 12:45:22 +01:00
Theo Arends 12ecfe3135 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2019-12-10 12:40:42 +01:00
Theo Arends f878eba66d Change amount of supported DHT sensors
Change amount of supported DHT sensors from 3 to 4 by Xavier Muller (#7167)
2019-12-10 12:40:18 +01:00
Theo Arends f2611a8477
Merge pull request #7167 from localhost61/DHT
Allow 4 DHT sensors
2019-12-10 12:36:37 +01:00
Theo Arends 407935efc4 Change GUI Shutter button text
Change GUI Shutter button text to Up and Down Arrows based on PR by Xavier Muller (#7166)
2019-12-10 12:33:45 +01:00
Thomas Herrmann b9545f5194 Report raw value from HX711 to overcome auto-tare functionality.
Currently, when the device is switched off (intentionally or due to
power cut), Tasmota only supports starting with the last known weight
(Sensor34 7) or starting with 0 kg. In either case, this is sometimes
not the desired functionality. For off-site logging of weights, it is
more useful to report the raw, absolute value from the HX711 and to do
calibration/tare in upper layers.

Note: although it is called "Raw" value, the value is both averaged
and scaled! It is just the offset compensation that is missing.
2019-12-10 10:55:46 +01:00
localhost61 b2ac6c8ed7 Allow 4 DHT sensors 2019-12-10 00:51:08 +01:00
Hadinger 53cfabdbca Add RemoveAllSpaces() 2019-12-09 21:43:30 +01:00
Theo Arends 3d2e77f320
Merge pull request #7148 from ChristianTacke/pr_timers_html
Timers: Use visibility instead of disabled
2019-12-09 17:07:22 +01:00
Theo Arends d3673963a2 Add Char Usage Ratio
Add Char Usage Ratio for future Settings char redesign
2019-12-09 16:16:21 +01:00
Theo Arends e9f8792649 Revert removal of exception details from MQTT info on restart
Revert removal of exception details from MQTT info on restart
2019-12-09 15:29:22 +01:00
Theo Arends dfee90bd61 Changelog update 2019-12-09 15:15:16 +01:00
stefanbode 7cc7c2cc98
Update xdrv_27_shutter.ino
fix #7006 support for multiple shutters with steppers
+ add ShutterOpen/Close/Stop can get shutter index as parameter. e.g. shutteropen 3 to open shutter 3
2019-12-09 10:14:13 +01:00
Christian Tacke 531d36e012 Timers: Use visibility instead of disabled
The "+/-" chooser is only needed for sunrise/sunset.
Otherwise it's disabled currently.
This works.

But it's a little confusing. Especially, if you first had
"-" there (for sunset) and then switched to normal "time",
then the "-" is still there, but you can't change it,
because it's disabled.

It looks better, if one uses .style.visibility to hide the
element. It doesn't change the layout, just the element
isn't shown.
2019-12-08 22:18:22 +01:00
Shantur Rathore 6c3d029286 Implement capability for setting CORS to a specific website instead of just enable for all websites 2019-12-08 21:07:39 +00:00
Theo Arends 065ed79c61
Merge pull request #7058 from claybar/mpu6050_full_output
Add Yaw Pitch Roll to MPU6050 output
2019-12-08 21:34:11 +01:00
Andreas Schultz 46566952a0 report Signal Strength in dBm over MQTT
Also include dBm in debug log and in WebIf information display.
2019-12-08 19:42:08 +01:00
Theo Arends c060089358 Bump version to 7.1.2.3
Redesign Exception reporting removing exception details from both MQTT info and Status 1. Now consolidated in Status 12 if available.
2019-12-08 13:37:18 +01:00
Theo Arends 29d5d68ca0 Redesign Exception reporting
Redesign Exception reporting removing exception details from both MQTT info and Status 1. Now consolidated in Status 12 if available.
2019-12-08 13:18:15 +01:00
Hadinger fd079c57a3 Fix crashdump bad JSON 2019-12-07 23:25:56 +01:00
Federico Leoni dae622b2cb
Update my_user_config.h 2019-12-07 15:44:33 -03:00
Federico Leoni 368e9cc340
Update xdrv_12_home_assistant.ino 2019-12-07 15:20:47 -03:00
Theo Arends f3a5b033c8 Add save call stack in RTC memory in case of crash
Add save call stack in RTC memory in case of crash, command ``Status 12`` to dump the stack (#7114, #5883)
2019-12-07 18:32:39 +01:00
Theo Arends 2686ccb117 Revert "Merge pull request #7134 from s-hadinger/crashrecorder_rtc"
This reverts commit 758b255078, reversing
changes made to f4993736a5.
2019-12-07 16:50:10 +01:00
Hadinger a8c0c4e312 Remove any whitespace in TlsKey base64 2019-12-07 15:01:39 +01:00
Hadinger edc2dc5c79 Add save call stack in RTC memory in case of crash 2019-12-07 11:02:37 +01:00
Hadinger 7e1e85eba9 Add save call stack in RTC memory in case of crash 2019-12-07 11:01:48 +01:00
Hadinger 7796714ba0 Change from `Crash` to `Restart -1` 2019-12-07 11:00:32 +01:00
Hadinger 5a0febc64e Add save call stack in RTC memory in case of crash 2019-12-07 10:41:29 +01:00
Adrian Scillato 5f290f8b64
Reverting changes in tele message due to backwards compatibility 2019-12-06 20:10:04 -03:00
Laurent Dong ee37c258e6 Embeded IF statement in backlog did not been processed
The backlog_mutex blocked the execution of IF statement during call ExecuteCommand(), because all IF statement need to use backlog to perform commands.
2019-12-06 10:12:13 -05:00
Theo Arends 00fd7f2f7c Bump version to 7.1.2.2
Add command ``SerialConfig 0..23`` or ``SerialConfig 8N1`` to select Serial Config (#7108)
2019-12-06 15:02:05 +01:00
Theo Arends 8c5c95747c Bump version 7.1.2.1 2019-12-06 12:18:46 +01:00
Theo Arends 9d9f3b0ca7 Change log buffer size from 520 to 700
Change log buffer size from 520 to 700 characters accomodating full rule text (#7110)
2019-12-06 11:10:15 +01:00
Theo Arends 3bdea04c5f
Merge pull request #7112 from gemu2015/sml-update
sml bus decoder syntax update
2019-12-06 10:27:09 +01:00
Bohdan Kmit 726883b168 Allow to build Minimal firmware with TLS support 2019-12-05 20:54:30 +02:00
gemu2015 3b4b549e61 sml mbus decoder syntax update
support for byte order
2019-12-05 16:34:30 +01:00
Luis Teixeira 871fd1f60d Added the new text field D_SET_SERIAL_CONFIG_TO (used in the logs) to the internationalized resource files. 2019-12-05 01:18:59 +00:00
Luis Teixeira 83f9c7b588 Fixed comment (bits for each field) 2019-12-04 23:03:52 +00:00
Luis Teixeira 18f514384d Merge branch 'development' of https://github.com/arendst/Tasmota into development 2019-12-04 22:57:25 +00:00
Luis Teixeira 7c857b0feb Added the command SerialConfig with the capability of changing the data bits/parity/stop bits setting in the hardware serial port. 2019-12-04 22:51:21 +00:00
Adrian Scillato 55b0312f86
Added new var %topic% for rules 2019-12-04 17:11:03 -03:00
stefanbode f0e6e0098d
Added frequency change support
shutterfrequency 1000 is default. can be increased or decreased. 
Added more comments to the source code for explanation
optimize load in RPC call
2019-12-04 12:34:27 +01:00
Philip Barclay 24ddae4001 Merge remote-tracking branch 'upstream/development' into mpu6050_full_output 2019-12-03 21:10:14 +13:00
stefanbode 0b3f84c36e
Added #7006 request for support of stepper motors 2019-12-02 21:44:05 +01:00
Adrian Scillato 461d18b3f9
Add new tele- rule triggers 2019-12-02 15:04:38 -03:00
Theo Arends 621204e57f Fix WS2812 power control (#7090) 2019-12-02 18:54:08 +01:00
Adrian Scillato 4441f212d5
Add rule trigger tele-switch1#state 2019-12-02 13:03:43 -03:00
Theo Arends eb1785c559 Tune light schemes 2, 3 and 4 2019-12-02 14:51:28 +01:00
Theo Arends 8c3295034d Update support_wifi.ino 2019-12-02 11:56:40 +01:00
Theo Arends 70673b8c74 Add support_tasmota 2019-12-02 10:44:27 +01:00
Theo Arends e150717e95 Restore hardware detection 2019-12-02 10:31:33 +01:00
Theo Arends 1a476ab9b5 Update release notes 2019-12-01 19:09:57 +01:00
Theo Arends 855423020e
Merge pull request #7081 from s-hadinger/zigbee_hw_serial_gpio
Fix Zigbee uses Hardware Serial
2019-12-01 19:06:16 +01:00
Theo Arends 1692241b25 Fix lost functionality of GPIO9 and GPIO10
- Remove inconsistent hardware detection introduced in version 7.0.0.5
- Fix lost functionality of GPIO9 and GPIO10 on some devices (#7080)
2019-12-01 19:03:53 +01:00
Hadinger 3b662ee88e Fix Zigbee uses Hardware Serial if GPIO 1/3 or GPIO 13/15 and SerialLog 0 (#7071) 2019-12-01 19:00:52 +01:00
Theo Arends d9e20497da Change light color schemes 2, 3 and 4
Change light color schemes 2, 3 and 4 from color wheel to Hue driven
2019-12-01 18:19:17 +01:00
Theo Arends bea001968f Bump version 7.1.1.1 2019-12-01 13:38:24 +01:00
Theo Arends 9b62d1084d Bump version 7.1.1 2019-12-01 12:56:05 +01:00
Theo Arends 8cf2d15ed1 Fix light scheme 4 speed
Fix light scheme 4 speed (#7072)
2019-11-30 17:53:49 +01:00
Theo Arends c72e427da3
Merge branch 'development' into tasmota_slave 2019-11-30 16:07:38 +01:00
Theo Arends 5524075b04 Fix slider for devices without RGB
Fix slider for devices with one or two channels like only white or white/yellow
2019-11-30 16:05:09 +01:00
Theo Arends 09f9104465 Bump version 7.1.0.1 2019-11-30 15:36:15 +01:00
Andre Thomas bffe8f0c8d
Update CHANGELOG.md 2019-11-29 21:24:13 +02:00
andrethomas 36fa0e9517 TasmotaSlave: Bugfix for Tele & add support for Commands 2019-11-29 21:20:33 +02:00
Theo Arends 02e938fc18 Prep for release 7.1 2019-11-29 15:22:28 +01:00
Theo Arends ac065867d3 Add command ``SetOption77 0/1``
Add command ``SetOption77 0/1`` to keep power on when slider is far left
2019-11-29 13:11:35 +01:00
Philip Barclay 8e2b78320a Merge remote-tracking branch 'upstream/development' into mpu6050_full_output 2019-11-29 21:10:10 +13:00
Philip Barclay fe63e5cca2 Stringification and conversion from radians to degrees. 2019-11-29 21:07:39 +13:00
Theo Arends 1e8c020422
Merge branch 'development' into so68_autopower 2019-11-28 21:33:20 +01:00
Hadinger 211f9da68b auto--power on/off when setting channel to non-zero or zero value, when SetOption68 1 2019-11-28 21:25:11 +01:00
Hadinger 96a0f5b1ff Fix postpone saving settings to flash until Fade is complete, avoids pause in Fade 2019-11-28 21:07:59 +01:00
Philip Barclay 331fb7ff74 Merge branch 'development' into mpu6050_full_output 2019-11-28 19:57:15 +13:00
Theo Arends b99c35f87c
Merge pull request #7041 from gemu2015/scripter-mfunc
scripter math functions
2019-11-27 19:56:06 +01:00
Jason2866 67aa76ed78
Align slider behaviour with mqtt...
commands. Via slider it was NOT possible to set ```{"POWER1":"OFF","Dimmer1":0,"POWER2":"OFF","Dimmer2":100,"Color":"000000FF","HSBColor":"0,0,0","Channel":[0,0,0,100]}```
min value was before the change
```{"POWER1":"ON","Dimmer1":1,"POWER2":"OFF","Dimmer2":100,"Color":"030303FF","HSBColor":"1,1,1","Channel":[1,1,1,100]}```
2019-11-27 18:14:12 +01:00
gemu2015 4ea287eb5b scripter math functions 2019-11-27 17:15:41 +01:00
NyaamZ 0835c13ca1
Update ko-KO.h
update ..
2019-11-26 17:03:34 +09:00
Theo Arends 7add6ca564
Merge pull request #7033 from MarcHagen/patch-1
DMY_LANGUAGE should be MY_LANGUAGE
2019-11-26 08:08:21 +01:00