Commit Graph

253 Commits

Author SHA1 Message Date
Theo Arends bacc07b2de Fix offset 2021-04-08 15:51:34 +02:00
Theo Arends 6d8daef8fa prepare teleinfo bit field settings (#11626) 2021-04-08 15:43:53 +02:00
Theo Arends b0689af803 Add optional DS18x20 arithmetic mean
Add command ``SetOption126 1`` to enable DS18x20 arithmetic mean over teleperiod for JSON temperature based on (#11472)
2021-04-02 11:43:31 +02:00
Theo Arends 633489a91e Add commands ``DisplayType`` and ``DisplayInvert``
Add commands ``DisplayType`` to select sub-modules where implemented and ``DisplayInvert`` to select inverted display where implemented
2021-03-22 12:34:52 +01:00
Theo Arends 9902a29c31
Merge pull request #11326 from nicandris/development
Added SetOption125 (Zigbee) Hide bridge topic from zigbee topic
2021-03-20 12:53:17 +01:00
nicandris f3cedc91a0 Fixed conflict. Changed to SO125 2021-03-20 10:48:29 +01:00
Simon Ratcliffe 880380194c Squashed commit of the following:
commit 9f11b10407c823d693ffb76c84fabec1027229c0
Author: Simon Ratcliffe <simon@proatomic.com.au>
Date:   Sat Mar 20 17:25:43 2021 +1100

    Add output mode 2
    Fix display of output pins
    Update code sizes
2021-03-20 17:59:34 +11:00
Theo Arends d5ca2994ee Add commands MqttKeepAlive and MqttTimeout
- Add commands ``MqttKeepAlive 1..100`` to set Mqtt Keep Alive timer (default 30) and ``MqttTimeout 1..100`` to set Mqtt Socket Timeout (default 4) (#5341)
- Changed PubSubClient library from EspEasy v2.7.12 to Tasmota v2.8.12
- Bump version to 9.3.1.2
2021-03-18 17:44:10 +01:00
sle b2178bc372 support now several key pad strokes as one tag switchable by SetOption124 and added a hardware emulation for Wiegand reader ( will be only compiled in a debug mode) 2021-03-16 18:58:31 +01:00
nicandris 5cdffadbe6 Added SetOption124 (Zigbee) Hide bridge topic from zigbee topic (use with SetOption89) 2021-03-13 12:41:42 +01:00
sle 5f384f58c4 Tag number output hex (optional) 2021-03-11 12:33:35 +01:00
gemu2015 67c1831a10 ili9341/2 software configurable 2021-03-02 19:34:18 +01:00
JeroenSt dde67c5b46 Added options to retain info and state mqtt messages
https://github.com/arendst/Tasmota/discussions/11067

Changed version to current version in comments
https://github.com/arendst/Tasmota/pull/11079#discussion_r580057981
2021-02-22 12:19:32 +01:00
Paul C Diem 83298b2a9e Rename DevGroupDevice to DevGroupTie 2021-02-09 21:22:43 -06:00
Paul C Diem 60252a9043 Add DGR device map support 2021-02-09 15:10:32 -06:00
Theo Arends e05b77c372 Increase ESP32 SwitchText to 28 2021-02-05 16:36:25 +01:00
Theo Arends 8d13e913dd Clean settings code 2021-02-05 15:50:24 +01:00
Theo Arends 19ef735c08 ESP32 Increase number of interlock groups from 4 to 14
- Removed migration support for versions before v8.1.0 (Doris)
- ESP32 Increase number of interlock groups from 4 to 14
2021-02-05 15:21:06 +01:00
Theo Arends 6836455bbe Increase number of button GPIOs from 4 to 8 2021-02-05 12:27:59 +01:00
Theo Arends 8b0e45a58b Increase number of switch GPIOs from 8 to 28 2021-02-05 11:58:24 +01:00
Stephan Hadinger 90afef99da Zibee add ``SetOption120 1`` or ``ZbEndpointTopic`` to add the endpoint as suffix in topic when using ``SetOption89 1`` 2021-01-28 19:52:08 +01:00
Theo Arends 195a7754c6 Add Settings.device_group_maps
Add Settings.device_group_maps for future use (#10155)
2021-01-21 15:01:18 +01:00
Theo Arends 34d1a7e18d
Merge pull request #10633 from gemu2015/refactor
Refactor webcam , core2
2021-01-20 11:37:39 +01:00
gemu2015 238fce3d62 add rtsp flag to webcam config 2021-01-20 08:50:32 +01:00
polarduck-dev ff08501b39 fixed IPv6 address acquisition 2021-01-18 15:32:58 +00:00
Theo Arends d028e5c847 Update changelog 2021-01-03 17:04:14 +01:00
Jimmy Wennlund c9cce37c0a
Add option to remove the device addr from json payload (#10355)
* Add option to move ZbReceived from json into the subtopic of the MQTT message. This will make parsing simpler in homeassistant

* Follow the setting naming conv.

* Zigbee: Remove the device addr from json payload, can be used with zb_topic_fname where the addr is already known from the topic
2021-01-02 18:48:33 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Stephan Hadinger a2e41aa61a Command ``SetOption117 1`` for light fading to be fixed duration instead of fixed slew rate (#10109) 2020-12-14 19:47:10 +01:00
Theo Arends b9a3fd4342 Fix initial baudrate
Fix initial baudrate (#7447)
2020-12-07 15:33:09 +01:00
Theo Arends 80ab642076 Add command ``RfProtocol`` to control RcSwitch
Add command ``RfProtocol`` to control RcSwitch receive protocols by BBBits (#10063)
2020-12-06 14:58:00 +01:00
Theo Arends 7f1f9727ef Update comments 2020-11-29 15:59:40 +01:00
Theo Arends 95362af6e4 Update comments 2020-11-29 15:26:42 +01:00
Theo Arends b527ab4d66 Prep for ESP32-C3 ph1 2020-11-28 12:46:17 +01:00
Theo Arends c02770ce96 Add support for Shelly Dimmer 1 and 2
Add support for Shelly Dimmer 1 and 2 by James Turton (#9854)
2020-11-14 16:43:32 +01:00
Theo Arends abb56854f5 Update changelog 2020-11-14 13:34:39 +01:00
s-hadinger dd8bb39a02
Zigbee ``SetOption116 1`` to disable auto-query of light devices (avoids network storms with large groups) (#9847)
Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2020-11-14 11:15:41 +01:00
Theo Arends 203124d678 Add command ``SetOption115 1`` to enable ESP32 MiBle
Add command ``SetOption115 1`` to enable ESP32 MiBle
2020-11-13 17:00:44 +01:00
Theo Arends 655a6ece9a
Merge pull request #9733 from jamesturton/dimmerstep
Add `DimmerStep` command
2020-11-04 19:12:12 +01:00
Theo Arends 8376dd8982 Fix switches 2020-11-04 16:31:53 +01:00
Scoobler 473362cbee Added DimmerStep to allow the change of the Dimmer Auto (+/-) Step value
Signed-off-by: Scoobler <jamienwood@hotmail.com>
2020-11-04 11:01:37 +01:00
Theo Arends 54f9532919 Add command ``SetOption114 1``
Add command ``SetOption114 1`` to detach Swiches from Relays and enable MQTT action state for all the SwitchModes
2020-11-03 14:34:02 +01:00
Federico Leoni 1e640b0a09 Setting.h missing description 2020-11-02 21:08:07 -03:00
Federico Leoni f7ba0ba95e Switches: MQTT decoupling 2020-11-02 20:44:07 -03:00
Theo Arends b92b59b2b1 Add command ``SetOption113 1``
Add command ``SetOption113 1`` to set dimmer low on rotary dial after power off (#8263)
2020-10-25 12:59:24 +01:00
Theo Arends 40ad4f7ed0 Final refactor telegram code 2020-10-12 13:44:32 +02:00
stefanbode d3dfe6205c
Prevent crashes on high counter pulse. e.g. AC-Dimmer, Current-Counter...
I had reproducible Hardware Watchdog resets and hangs with the AC-Dimmer, but only if the 100Hz from the main hammered the device. I found this help and change the code. Now the AC-Dimmer is ON for >3days. I assume this change is responsible because it was the only change.
2020-10-12 12:08:40 +02:00
Theo Arends fc04c50674 Convert AdcParam parameters from versions before v9.0.0.2
- Command ``Gpio17`` replaces command ``Adc``
- Command ``Gpios`` replaces command ``Adcs``
2020-10-11 11:31:46 +02:00
Stephan Hadinger 241843d384 Added `ZbReset 2` 2020-10-10 16:19:37 +02:00
Theo Arends 2ffb04d4da Update comment 2020-10-05 18:24:44 +02:00
Paul C Diem e3cc5df996 Add PWMDimmerPWMs command, Set brightness LEDs in setBriRGB & setBriCT 2020-10-02 12:40:45 -05:00
Theo Arends 7a73dd7019 Merge branch 'development' into dev-gpio16 2020-09-30 14:54:29 +02:00
Theo Arends c00d7035d9 Redesign GPIO to 16-bit 2020-09-29 18:10:21 +02:00
Theo Arends 9cbd2d531d Initial GPIO redesign 2020-09-25 18:15:31 +02:00
nicandris a9af3baea0 Added SetOption112 - Use friendly name in zigbee topic (use with SetOption89) 2020-09-19 13:43:14 +02:00
Federico Leoni 4e84e33103 Prep for new Hass Discovery 2020-09-18 18:45:58 -03:00
Federico Leoni e45a5f3323 TuyaMCU Update 2020-09-16 15:45:56 -03:00
Chris Keydel 51688c18ea Merge remote-tracking branch 'remotes/upstream/development' into development 2020-09-15 09:40:36 +02:00
Stephan Hadinger ecc27aa383 Add Zigbee auto-config when pairing 2020-09-12 10:57:54 +02:00
Chris Keydel cc6a8a1c12 Adding buzzer frequency output again to latest development branch. This should now pass all tests. 2020-09-09 20:00:55 +02:00
stefanbode fb59126f98
Update settings.h 2020-09-09 15:27:43 +02:00
Theo Arends 021ec06553
Update settings.h 2020-09-09 09:40:28 +02:00
stefanbode 68c260d520
Adding 1 byte new shutter mode to set on demand 2020-09-05 20:43:39 +02:00
device111 994081430c AS3935 Refactor
- Fix Autodisturber
- Fix Event IRQ Flicker when calibrating and on Start up
- Add command `power` on/off
- Add command `noirqevent` (suppress IRQ with no event)
- Add Info Log when no Pin defined
- Add Info Log when SCO and TCO Calibration Fails
- optimize Autotune Caps
- new init procedure (Reset before Start)
- save 128 Bytes of Ram
- update language files
2020-09-03 09:37:10 +02:00
Stephan Hadinger fa179ee296 Add ``SetOption109 1`` to force gen1 Alexa mode, for Echo Dot 2nd gen devices only 2020-08-27 18:54:53 +02:00
Theo Arends 0f1e4fc917 Add command ``PowerDelta1`` to ``PowerDelta3``
- Bump version to 8.4.0.3
- Add command ``PowerDelta1`` to ``PowerDelta3`` to trigger on up to three phases (#9134)
2020-08-23 18:29:16 +02:00
Charles d90d019dcc
Merge branch 'development' into teleinfo 2020-08-14 19:59:22 +02:00
Charles 6e05a247b7 changed setOption103 to setOption108 taken during dev 2020-08-14 19:55:39 +02:00
Charles f0bb4f10fa add setOption103 2020-08-14 19:46:52 +02:00
Theo Arends 18bf102e4f Prep support for SO114 until SO145 2020-08-13 16:49:11 +02:00
Stephan Hadinger 6ee0137bb8 Reserve SetOptions for Virtual CT 2020-08-13 16:21:11 +02:00
Stephan Hadinger b0188642b1 Change triple-mode TLS via configuration in a single firmware (TLS AWS IoT, Letsencrypt and No-TLS) 2020-08-12 17:20:37 +02:00
Charles 48a346c443 Added SetOption102 to switch between mode 2020-08-11 19:57:39 +02:00
Paul C Diem c3112b20e0 Fix missed merge of device_group_count initialization. Rename remote_device_mode setting to multiple_device_groups. 2020-08-09 10:16:15 -05:00
Theo Arends a3445e5b5f Add ESP32 ADC framework 2020-08-03 18:21:34 +02:00
Norbert Richter 51b9740a5d
Add script usage flags 2020-07-23 13:23:16 +02:00
Stephan Hadinger 2da8f3c393 Added `SO101 1` to suffix commands with source endpoint 2020-07-20 19:30:32 +02:00
Theo Arends 23da6285c1 Add command ``SetOption100 0/1``
Add command ``SetOption100 0/1`` to remove ``ZbReceived`` value from ``{"ZbReceived":{xxx:yyy}}`` JSON message
2020-07-19 15:57:37 +02:00
stefanbode f2e686ab26
Fixes some reboots on change the dimmer 2020-07-07 16:17:43 +02:00
Stephan Hadinger 8bfd753334 Zigbee EZSP milestone 4 2020-07-02 22:56:37 +02:00
Theo Arends 0cc1dd957b Add SO98 to control user rotary support 2020-07-02 18:13:14 +02:00
Federico Leoni 03db100197 TuyaMCU baud rate 2020-06-29 11:01:55 -03:00
Theo Arends 83bbe757db Add command ``Module2``
Add command ``Module2`` to configure fallback module on fast reboot (#8464)
2020-06-17 14:06:46 +02:00
Theo Arends 715697cb32 Add ESP32 ethernet commands
Add ESP32 ethernet commands ``EthType 0/1``, ``EthAddress 0..31`` and ``EthClockMode 0..3`` (#8503)
2020-06-16 18:36:49 +02:00
Stephan Hadinger 2181b0c1a4 Add serial to TCP bridge, ``TCPStart`` and ``TCPBaudRate`` (needs #define USE_TCP_BRIDGE) 2020-06-15 19:22:56 +02:00
Theo Arends ef0b797686 Add basic support for ESP32 ethernet
Add basic support for ESP32 ethernet adding commands ``Wifi 0/1`` and ``Ethernet 0/1`` both default ON (#8503)
2020-06-15 18:27:04 +02:00
Theo Arends cdf7aa74bf Add rule trigger ``System#Init``
Add rule trigger ``System#Init`` to allow early rule execution without wifi and mqtt initialized yet (#8673)
2020-06-14 12:36:44 +02:00
Alexey Kardashevskiy 5558da527a Add MAX6675 sensor
This is basically a cut down version of MAX31855 without reference
temperature reading and lower resolution (only positive, 12bit only).

This implements 16bit protocol (31855 uses 32bit). SetOption94 enables
the new behavior.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
Changes:
v2:
* treat occasional 0xfff as an error
* do not add new sensor pins, use SetOption94 instead
2020-06-04 10:00:00 +10:00
Theo Arends eafaccfcda Add support for up to two BH1750 sensors
Add support for up to two BH1750 sensors controlled by commands ``BH1750Resolution`` and ``BH1750MTime`` (#8139)
2020-06-01 18:00:56 +02:00
Paul C Diem bc6d7ceb87 Add support for SetOption88 to put each relay in a separate device groups 2020-05-26 22:07:25 -05:00
Theo Arends c333b67669 Fix DisplaySevenSegment compilation error 2020-05-25 10:21:36 +02:00
Norbert Richter eb6de53628
Fix setting addr typo 2020-05-24 20:07:25 +02:00
Theo Arends dc9ce42888 Refactor LedPwm code 2020-05-23 13:04:17 +02:00
George e780f25283 Gamma correction
Implement changes proposed by @s-hadinger review.
* Use 0-255 range in settings
* Apply gamma correction from xdrv_light & use changuintscale helper fn (as per pwm light routine)
2020-05-23 17:13:04 +10:00
George 603b628f97 Add pwm mode masking
* Extra setting & command to set - allows masking of pwm mode. Use case is for leds attached to buttons for seeing at night; this way user can combine both pwm and digital leds (i.e. pwm for the button leds but non-button status leds can stay on/off).
2020-05-20 13:23:54 +10:00
George bd33574ee7 Align new settings to 2B boundaries
Attempting to fix settings not working correctly (might have mucked up the boundaries and compiler put a padding byte in).
2020-05-20 13:23:53 +10:00
George a305f435e8 First pass at led pwm settings
* Added settings for ledpwm_on and ledpwm_off with defaults that mimic current digitalwrite function
* Changed ledpoweridx from digitalwrite to analogwrite
* Add commands to change new settings
2020-05-20 13:23:52 +10:00
Stephan Hadinger a2b05399a3 Add automatic compression of Rules to achieve ~60% compression, added ``SetOption93 1`` to control caching of rules 2020-05-08 19:33:20 +02:00
Theo Arends f66a0ee561 Add Webcam commands 2020-05-08 17:17:09 +02:00
Theo Arends d78ca09c30 Integrate OpenTherm and WindMeter 2020-05-07 16:03:27 +02:00