Commit Graph

6065 Commits

Author SHA1 Message Date
Stephan Hadinger a0a38f638a Update touchscreen x/y only when touched 2022-01-26 16:20:48 +01:00
Stephan Hadinger 522abfbf1f Fix compilation 2022-01-24 23:13:41 +01:00
Stephan Hadinger 8bd6a7eabc Try compiler fix 2022-01-24 23:05:29 +01:00
Stephan Hadinger 532afbaecd PWM auto-phasing for lights by default (new behavior) unless ``SetOption134 1`` 2022-01-24 22:48:57 +01:00
Theo Arends 7b16162044
Merge pull request #14548 from tcwj2008/development
set SerialDelimiter=254 to post HEX string over the serial bridge
2022-01-24 17:41:25 +01:00
Theo Arends 1bbee95a20
Merge pull request #14582 from scottjames/development
PCA9685 (driver15) - add INVERT option
2022-01-24 17:40:32 +01:00
Jason2866 9edf7efddc
fix compile missing #define D_MQ "MQ" 2022-01-24 17:14:00 +01:00
Theo Arends 6ecfc312b3
Merge pull request #14581 from francescoadriani/development
Supports for MQ analog sensor for air quality
2022-01-24 17:00:28 +01:00
Theo Arends bb5cf22d0a Add command ``SspmLog<relay> [x]``
Add command ``SspmLog<relay> [x]`` to retrieve relay power state change and cause logging
2022-01-24 15:38:58 +01:00
Theo Arends dcfdb78935 Add/Release Sonoff SPM commands
Add/Release Sonoff SPM commands:
- Command ``SspmDisplay 1`` to display Sonoff SPM energy data in GUI for relays powered on only
- Command ``SspmHistory<relay>`` to retrieve daily energy of last six month (as defined by ARM firmware)
- Command ``SspmIAmHere<relay>`` to (faintly) blink Sonoff SPM-4Relay module error light of requested relay
- Command ``SspmScan`` to rescan Sonoff SPM modbus
2022-01-24 11:47:19 +01:00
rice103 3191ecc683 Added wiring diagram 2022-01-24 11:21:01 +01:00
Cheney 5e79ace165
set SerialDelimiter=254 to post HEX string 2022-01-24 12:01:14 +08:00
rice103 2bf3ac417b bug fix, implements filter to make average of data 2022-01-23 23:54:29 +01:00
rice103 d20aad968e Supports refresh each seconds of mq 2022-01-23 19:19:32 +01:00
Scott fd550fd104 PCA9685 (driver15) - Allow the "ALL" virtual pin 61 for pwm values
The datasheet shows register 250 is "ALL" pins, which corresponds to
virtual pin 61 (61*4+6=250).  Pin 61 was already allowed with PWM
command for OFF and ON, but not specified pwm values.  This update
allows virtual pin 61 to be assigned pwm values for all channels.

Example usage to set all channels to 2500:

`driver15 pwm,61,2500`
2022-01-23 13:14:19 -05:00
Scott James 2cd510beb9
Merge branch 'arendst:development' into development 2022-01-23 13:00:16 -05:00
Scott 8337fba960 PCA9685 (driver15) - add INVERT option
The INVERT option makes PWM and ON/OFF values meaningful for open-drain connected lights.

  - Activate with:  driver15 invert 1
  - PWM value is inverted, so 0 is "off" and 4096 is "on"
  - INVERT is included in status and telemetry
2022-01-23 12:38:17 -05:00
rice103 d45c8d3d24 Removed unused ANALOG_BOARD 2022-01-23 18:36:53 +01:00
rice103 06617c7fcb Using FastPrecisePow instead of pow 2022-01-23 18:27:32 +01:00
Theo Arends 15943ccad6 Add command ``Json {<Tasmota commands>}``
Add command ``Json {<Tasmota commands>}`` to enable input of any command as JSON tokens (#14568)
2022-01-23 17:43:17 +01:00
rice103 496de57c07 bug fix 2022-01-23 17:28:13 +01:00
rice103 37a77ef309 Merge branch 'development' of https://github.com/francescoadriani/Tasmota into development 2022-01-23 17:17:10 +01:00
rice103 e72248899e Supports for MQ analog sensor for air quality
It's support the analog sensor for quality air (also for esp-32)
-added on list of assignable pins in module
-with adcparams can choose wich mqx you have with seconds param ex: adcparam 10 4 (you have the mq-04)
2022-01-23 17:10:35 +01:00
Theo Arends 6b4dca6bc7
Merge pull request #14572 from ascillato/patch-1
Add %color% variable to rules
2022-01-23 16:46:58 +01:00
Theo Arends 33ff4fa056 Add undocumented JSON command 2022-01-23 12:29:06 +01:00
Adrian Scillato b6aff6a41a
Added %color% variable to rules 2022-01-22 21:22:23 -03:00
Theo Arends 692b7ec8c3 Minor define change 2022-01-22 17:55:55 +01:00
Theo Arends 3e555873f8 Fix US-100 serial detection
Fix US-100 serial detection (#14197)
2022-01-22 16:56:46 +01:00
Theo Arends 10e480bfd9
Merge pull request #14485 from obrain17/development
BLE_EQ3: Fix and enhance the JSON response
2022-01-22 12:36:46 +01:00
Theo Arends e108ee3580 Add command ``SetOption44 1..100``
Add command ``SetOption44 1..100`` to set base tolerance percentage for matching incoming IR messages (default 25, max 100) (#14555)
2022-01-22 12:33:02 +01:00
Theo Arends d625e7bd88
Merge pull request #14555 from hr-kapanakov/development
Add setting for IRremoteESP8266 tolerance
2022-01-22 11:42:35 +01:00
Staars dbd1fcf10c more error catching and reporting 2022-01-21 20:01:15 +01:00
Hristo Kapanakov f9b0947d67 Set default IR receive tolerance (25%) if set to zero 2022-01-21 18:56:19 +02:00
obrain17 0e4219150f
Change order of window -temp- dur.
Change order of "windowtemp" and "windowdur"
Add new fields iinto json description
2022-01-21 16:50:55 +01:00
Hristo Kapanakov 29723d5e9b Add setting for IRremoteESP8266 tolerance 2022-01-21 17:24:32 +02:00
Theo Arends b9f4d55dfc
Merge pull request #14547 from gemu2015/fixes
esp8266 email, scripter on 1m devices
2022-01-21 13:54:36 +01:00
Theo Arends 7aedab59e7
Merge pull request #14531 from SteWers/SML-serial-LED-dev
[SML] Serial activity monitor via LED
2022-01-21 11:38:11 +01:00
Cheney b7b525f3d9
Send HEX string to mqtt 2022-01-21 17:21:09 +08:00
gemu2015 f3be1445e4 esp8266 email, scripter on 1m devices 2022-01-21 08:03:12 +01:00
Stephan Hadinger 6abfbac514 Fix tcp (revert last change) 2022-01-20 23:04:13 +01:00
Stephan Hadinger fb59c63084 Berry improvement to constants 2022-01-20 22:02:21 +01:00
SteWers 03e4d65582 [SML] Serial activity monitor via LED
Visualize the activity of one or all serial meters via LED. It is helpful for debugging and also for viewing serial activity easily. The configuration is done via console commands:

- LED-GPIO for monitoring serial activity => sensor53 l2, l13, l15 ... or l255 for turn off (default)
- meter number for monitoring serial activity => sensor53 m1, m2, m3 ... or m0 for all (default)

To start at boot-time, add the entries in the boot-section (>B) of the script.
2022-01-20 20:19:50 +01:00
Theo Arends a538f35df4 Minor refactor BMP sensor 2022-01-20 15:01:52 +01:00
Theo Arends 67ea8ddb6a Refactor SR04 driver
Refactor SR04 driver (#14197)
2022-01-20 13:37:48 +01:00
Stephan Hadinger 8a3f25e608 Berry ctype functions 2022-01-19 22:56:11 +01:00
Jason2866 85e8d05f68
fix homekit enable 2022-01-19 17:12:02 +01:00
Theo Arends 7aacdf4fbe Add support for BME688
Add support for BME688 with latest Bosch-Sensor-API library (#14513)
2022-01-19 17:05:39 +01:00
Adrian Scillato a596a406ba
Move post processing macros after user_config_override.h 2022-01-19 12:32:38 -03:00
Adrian Scillato 501c07acef
Move Post Processing Macros after user_config_override.h 2022-01-19 12:28:53 -03:00
Adrian Scillato 1fb81720a2
Fix compilation issue for Telegram 2022-01-19 11:33:12 -03:00