Commit Graph

195 Commits

Author SHA1 Message Date
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
Theo Arends cb1b7739b6
Merge branch 'development' into new-windmeter-sensor 2020-05-07 14:58:23 +02:00
Yury Sannikov 9e6a809ba2 adapt to the latest development branch changes 2020-05-07 11:58:17 +03:00
Matteo Albinola a3455f235b Merge branch 'development' into new-windmeter-sensor
# Conflicts:
#	tasmota/language/bg_BG.h
#	tasmota/language/cs_CZ.h
#	tasmota/language/de_DE.h
#	tasmota/language/el_GR.h
#	tasmota/language/en_GB.h
#	tasmota/language/es_ES.h
#	tasmota/language/fr_FR.h
#	tasmota/language/he_HE.h
#	tasmota/language/hu_HU.h
#	tasmota/language/it_IT.h
#	tasmota/language/ko_KO.h
#	tasmota/language/nl_NL.h
#	tasmota/language/pl_PL.h
#	tasmota/language/pt_BR.h
#	tasmota/language/pt_PT.h
#	tasmota/language/ro_RO.h
#	tasmota/language/ru_RU.h
#	tasmota/language/sk_SK.h
#	tasmota/language/sv_SE.h
#	tasmota/language/tr_TR.h
#	tasmota/language/uk_UA.h
#	tasmota/language/zh_CN.h
#	tasmota/language/zh_TW.h
2020-05-06 21:33:07 +02:00
Theo Arends 87f89f0a7d Change max number of supported PCF8574 to four
Change max number of supported PCF8574 to four (#8355)
2020-05-06 17:44:44 +02:00
Matteo Albinola 097d51ea72 Merge branch 'development' into new-windmeter-sensor
# Conflicts:
#	tasmota/language/bg-BG.h
#	tasmota/language/cs-CZ.h
#	tasmota/language/de-DE.h
#	tasmota/language/el-GR.h
#	tasmota/language/en-GB.h
#	tasmota/language/es-ES.h
#	tasmota/language/fr-FR.h
#	tasmota/language/he-HE.h
#	tasmota/language/hu-HU.h
#	tasmota/language/it-IT.h
#	tasmota/language/ko-KO.h
#	tasmota/language/nl-NL.h
#	tasmota/language/pl-PL.h
#	tasmota/language/pt-BR.h
#	tasmota/language/pt-PT.h
#	tasmota/language/ro-RO.h
#	tasmota/language/ru-RU.h
#	tasmota/language/sk-SK.h
#	tasmota/language/sv-SE.h
#	tasmota/language/tr-TR.h
#	tasmota/language/uk-UA.h
#	tasmota/language/zh-CN.h
#	tasmota/language/zh-TW.h
2020-05-05 09:07:03 +02:00
Theo Arends 8bdd46a965 Start ESP32 webcam on GUI load 2020-05-04 17:13:14 +02:00
Theo Arends 8f9bc1e5f7 Cleanup ESP32 webcam 2020-05-04 12:48:42 +02:00
Matteo Albinola 691e1e9653 Merge branch 'development' into new-windmeter-sensor 2020-05-02 15:10:56 +02:00
Theo Arends 5d18ad1c74 Add experimental basic support for ESP32
- Add experimental basic support for Tasmota on ESP32 based on work by Jörg Schüler-Maroldt
- Bump version to 8.2.0.6
- This ESP32 upgrade breaks current ESP32 templates
2020-05-01 17:30:09 +02:00
Theo Arends 7dc7b631d4 Fix ESP32 settings size
Fix ESP32 settings size as regression from yesterday
2020-04-29 14:18:38 +02:00
Theo Arends c24de18278 Change ESP32 pin allocation part 1 2020-04-28 18:27:07 +02:00
Matteo Albinola e23b43f979 Add option for triggering a tele update under conditions 2020-04-28 14:02:05 +02:00
Theo Arends 4536746d03 Update Changelog and Release notes 2020-04-28 11:09:56 +02:00
Matteo Albinola bdb5d92d85 Add variable for tele updates 2020-04-27 09:38:39 +02:00
Matteo Albinola dcc4623791 Merge branch 'development' into new-windmeter-sensor 2020-04-26 19:39:14 +02:00
Matteo Albinola b9aa6fe19d Add configuration persistence fixing variable alignment problem 2020-04-26 19:21:10 +02:00
Matteo Albinola 24709b9f6d Add windmeter sensor 2020-04-26 09:43:52 +02:00
dermm 809a377154 Add Option to Activate PWM CT mode without select module 48
Hello,

I would like to share with you my extension of the code.
I have some new lamps that have 2 PWM channels that are not classically wired. The first one is for brightness and the other channel is for color temperature.
Tasmota has already integrated the possibility to switch between CWWW and CTBRI. I only built the possibility to set it up manually.

greetings,
Jens

PS: This is my first commit. If I did something wrong, please report it.
2020-04-22 19:43:57 +02:00
Theo Arends c37dde93c2 Add ESP32 QuickPowerCycle control 2020-04-19 15:36:04 +02:00
Theo Arends eab612871c Fix ESP32 bootloop control using RTC memory 2020-04-19 14:18:12 +02:00
Theo Arends 0f3619238f Add ESP32 bootloop control 2020-04-19 13:08:04 +02:00
Theo Arends e1d7416a36 Add features to ESP32
- Decided to support ONLY flash mode DOUT (no software change but allows for RX1/TX1)
- Add GPIO9 (RX1) and GPIO10 (TX1) for hardware serial support
- Add above two GPIOs to template
- Moved basic ADC0 support from GPIO36 to GPIO33
2020-04-18 18:10:41 +02:00
Theo Arends d3b2f8c489 Add config version tag
- Add config version tag
- Bump version 8.2.0.4
2020-04-17 11:57:09 +02:00
Theo Arends d2b7b4012f More ESP32 compatibility
More ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-16 14:59:01 +02:00
Federico Leoni 0f1cd33323
Update settings.h 2020-04-14 11:51:00 -03:00
Federico Leoni 8cf4a2ca50
Update settings.h 2020-04-14 10:46:22 -03:00
Theo Arends 0c24651ed0 Add interval to PMS5003 sensor
Add interval to PMS5003 sensor to extend lifetime (#8128)
2020-04-12 12:35:58 +02:00
gururise 54f7cf475d create new setting pms_wake_interval for PMS sensor interval time 2020-04-11 10:37:12 -07:00
Stephan Hadinger ed4cc8c226 Save 28 bytes in Settings for Zigbee configuration 2020-04-11 10:35:31 +02:00
device111 2f627f98ce support for AS3935, initial commit 2020-04-11 01:48:37 +02:00
Theo Arends 93fd5dd618 Add experimental minimal support for ESP32
Add experimental minimal support for ESP32 (#8110)
2020-04-10 18:24:08 +02:00
Theo Arends e69f103755 Small change to Settings var names 2020-04-09 11:40:26 +02:00
Theo Arends 05af60074f Add quick wifi connect using saved AP parameters
Add quick wifi connect using saved AP parameters when ``SetOption56 0`` (#3189)
2020-04-07 12:19:54 +02:00
Stephan Hadinger 34fc92d6ca Add command ``SetOption91 1`` to enable fading at startup / power on 2020-04-06 10:46:17 +02:00
Theo Arends 4b09af8a36 Add BH1750 resolution control
Add command ``Sensor10 0/1/2`` to control BH1750 resolution - 0 = High (default), 1 = High2, 2 = Low (#8016)
2020-04-01 16:46:12 +02:00
Theo Arends ec899817aa Change some deepsleep wake messages
- Change remove MQTT Info messages on restart for DeepSleep Wake (#8044)
- Add command ``SetOption90 1`` to disable non-json MQTT messages (#8044)
2020-04-01 14:05:30 +02:00
Theo Arends bd34db87b1
Merge pull request #8021 from to-scho/feature/counter_debounce_low_high
Enhanced counter debouncing
2020-03-31 16:12:03 +02:00
Theo Arends d713468c0c Add support for longer template names
Add support for longer template names
2020-03-29 17:41:31 +02:00
to-scho 4a2f3d87c5 Enhanced counter debouncing
New commands CounterDebounceLow and CounterDebounceHigh to allow individual debounce times for low and high pulse widths to discard non valid falling edges. These are checked before legacy CounterDebounce checks distance between to valid falling edges.
Useful to have robust counter results when using e.g. an TCRT5000 optical sensor to count electromechanical "Ferraris" electricity meters.
2020-03-29 17:05:52 +02:00
Theo Arends e5a44e6326 Refactor template 2020-03-28 18:08:43 +01:00
Federico Leoni 5ba26780e9 Humidity Offset 2020-03-16 14:29:55 -03:00
Hadinger 8855d2a218 Add Zigbee use distinct MQTT topics per device for SENSOR, allowing retained messages (#7835) 2020-03-04 21:00:57 +01:00
Theo Arends 669f88a5aa Add Settings.flag2.speed_conversion 2020-03-02 14:00:57 +01:00
Theo Arends 1973bb2474 Add support for Jarolift rollers by Keeloq algorithm
Add support for Jarolift rollers by Keeloq algorithm
2020-02-27 17:48:27 +01:00
he.so 3657cda425 resolved merge conflict 2020-02-27 17:22:28 +01:00
Theo Arends 5cfe247611 Change default my_user_config.h driver and sensor support
Change default my_user_config.h driver and sensor support removing most sensors and adding most drivers
2020-02-27 15:10:42 +01:00
Paul C Diem 1f1c956b26 Use newly allocated settings and flags 2020-02-26 21:27:09 -06:00
Theo Arends 878d93ebdb Prepare for PWM Dimmer
Prepare for PWM Dimmer (#7791)
2020-02-26 15:29:14 -06:00
Theo Arends f2074932f7 Clean up wifi connection / disconnection 2020-02-26 15:29:13 -06:00
Theo Arends 1655c1b3aa Add some wifi debug options 2020-02-26 15:29:12 -06:00
he.so 71340dc8b6 push travis, since it had an environment issue during last build 2020-02-26 20:10:29 +01:00
he.so bc584468af Using macro to exclude debug logs from code when compiling for production 2020-02-26 19:17:36 +01:00
Theo Arends f57a4d217c Prepare for PWM Dimmer
Prepare for PWM Dimmer (#7791)
2020-02-26 14:39:27 +01:00
Theo Arends 407334be6b Clean up wifi connection / disconnection 2020-02-26 13:45:46 +01:00
he-so c1aedfc4c7
Merge branch 'development' into dev-arendst 2020-02-25 18:22:05 +01:00
Theo Arends 3146bcf23a Add some wifi debug options 2020-02-25 16:49:19 +01:00
Paul C Diem d0bb1b36e4 Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 20:06:47 -06:00
Paul C Diem fd610738ea Merge branch 'development' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 19:26:08 -06:00