Commit Graph

211 Commits

Author SHA1 Message Date
Stephan Hadinger 241843d384 Added `ZbReset 2` 2020-10-10 16:19:37 +02:00
Stephan Hadinger 870b560ca8 Add Zigbee ``ZbData`` command for better support of device specific data 2020-10-07 20:04:33 +02:00
Arik Yavilevich a22d44f985 implement state mode in a dedicated json field 2020-10-06 18:10:07 +03:00
Theo Arends 006859093f
Merge pull request #9452 from pcdiem/pwm2
Add PWMDimmerPWMs command, Set brightness LEDs in setBriRGB & setBriCT
2020-10-03 15:08:48 +02:00
Theo Arends d0028eb2e4
Merge pull request #9124 from jkostorz/development
Add option in my_user_config.h to turn on SDM630 import active energy
2020-10-03 12:33:15 +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 1da31e5f15 Make LWT state message user configurable
Make LWT state message user configurable (#9395)
2020-09-27 12:51:50 +02:00
stefanbode 61b2d8e53e
Update i18n.h 2020-09-09 15:24:55 +02:00
stefanbode f4190a9609
Update i18n.h
New command
2020-09-05 20:41:08 +02:00
stefanbode 8f60f0cdb5
Update i18n.h 2020-08-20 16:31:22 +02:00
Janusz b3dc33f3a0 SDM630 optional import active energy 2020-08-18 22:09:33 +02:00
Theo Arends f268697e54 Add command ``Restart 2`` to halt system
Add command ``Restart 2`` to halt system. Needs hardware reset or power cycle to restart (#9046)
2020-08-10 16:19:44 +02:00
Stephan Hadinger bf1d76e28f Add Zigbee add options to ``ZbSend`` ``Config`` and ``ReadCondig``
This allows to configure the attribute reporting of devices
2020-08-08 12:17:37 +02:00
Stephan Hadinger 781cb4d9c7 Zigbee EZSP improvements and reduced logging 2020-07-25 15:40:42 +02:00
Theo Arends 4584effbce Change all timer references from ``Arm`` to ``Enable``
Change all timer references from ``Arm`` to ``Enable`` in GUI, ``Timer`` command and JSON message
2020-07-21 10:44:45 +02:00
Norbert Richter f0177f3c48
Add ShutterToggleDir/ShutterStopToggleDir
same function as ShutterToggle/ShutterStopToggle but based on last movement direction, not on current position (< or > 50%)
2020-07-21 07:25:02 +02:00
Theo Arends 2c6198f27c Fix spelling
Fix spelling (#3410)
2020-07-18 18:51:13 +02:00
Stephan Hadinger 2dd3e0e0a0 Zigbee EZSP better support for groups 2020-07-10 20:15:12 +02:00
Theo Arends b5f45aa295 Fix ESP32 SPI config 2020-06-20 17:58:21 +02:00
Stephan Hadinger ca38d81b22 EZSP milestone 2 2020-06-19 20:54:37 +02:00
Stephan Hadinger ee2bb0330a Add Zigbee initial support for EmberZNet protocol (raw send/receive only) 2020-06-16 20:01:14 +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
Stephan Hadinger 45397293e1 Add Zigbee auto-responder for common attributes 2020-06-03 22:39:04 +02:00
device111 f10ed3261c AS3935, add stage to json, fix overwrite nf-floor 2020-06-02 19:13:06 +02:00
Theo Arends 9c0fc4edcd
Merge pull request #8581 from Staars/touch
Command interface for touch button driver and a serial plotter
2020-05-30 14:23:45 +02:00
Staars 7e28e03d78 add commands to touch pin button on ESP32 2020-05-30 13:50:22 +02:00
Stephan Hadinger b069b89561 Add Zigbee options to ``ZbSend`` to write and report attributes 2020-05-29 22:52:45 +02:00
Theo Arends ca8b38d0d0 Add LedPwm commands
Add commands ``LedPwmOn 0..255``, ``LedPwmOff 0..255`` and ``LedPwmMode1 0/1`` to control led brightness by George (#8491)
2020-05-23 15:17:13 +02:00
Theo Arends dc9ce42888 Refactor LedPwm code 2020-05-23 13:04:17 +02:00
Theo Arends 924a8772e1
Merge branch 'development' into ledpowerpwm 2020-05-23 12:46:51 +02:00
Theo Arends 93ca102391 Change ExportActiveTariff to ExportTariff 2020-05-22 18:31:14 +02:00
Theo Arends 2b798ff194
Merge pull request #8432 from device111/development
Support for VEML6075 and initial Support for VEML7700
2020-05-22 14:38:20 +02: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 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
Theo Arends d7f6c78ed9 Add command ``DeviceName``
Add command ``DeviceName`` defaults to FriendlyName1 and replaces FriendlyName1 in GUI
2020-05-17 17:10:17 +02:00
device111 47a8df84be Support for VEML6075 and VEML 7700
Add support for VEML6075.
-Shows UVA, UVB, UVIndex

supported Commands are:

| Command        |      Description |
|----------------|------------------|
|VEML6075power   | Power up/down    |
|VEML6075dynamic | HD Mode          |
|VEML6075inttime | Integration Time |

Add initial Support for VEML7700  (#8260)
- the implementation based on Adafruit VEML7700 Libary.
- Shows Illuminance and White Content of Light.
2020-05-12 21:24:44 +02:00
Theo Arends af32b3f5e5 Add ESP32 configuration webcam 2020-05-12 15:42:16 +02:00
Stephan Hadinger 2ff5a1ccb6 Add Zigbee support for router and end-device mode 2020-05-11 21:16:17 +02:00
Mickael Gaillard 2ddfb2da07 Add extra translate
Signed-off-by: Mickael Gaillard <mick.gaillard@gmail.com>
2020-05-08 00:34:25 +02:00
Theo Arends 0ca5bf4e41
Merge pull request #8243 from ctc/development
Restore tilt of venetian blinds after movement
2020-05-07 16:12:50 +02:00
Theo Arends 50614a18b5 Rename language files to fix compilation error 2020-05-05 17:09:48 +02:00
Paul C Diem 493a124783 Add DGR light sequence support 2020-04-25 17:49:34 -05:00
Ingo Flaschberger d9ff42f5b7 Add ShutterSetOpen command 2020-04-21 16:20:20 +02:00
Theo Arends 6c5e9a89c4 Add command ``SO`` as shortcut for command ``SetOption`` 2020-04-21 09:48:27 +02:00
Paul C Diem b7454d7bd8 Add DevGroupStatus command, Include member add/remove logging 2020-04-15 08:40:18 -05:00
device111 20c9a9cadf Add change global hum and temp with command 2020-04-13 13:26:49 +02:00
Paul C Diem b4f7500a31 Add light palette support 2020-04-12 23:17:25 -05:00
Stephan Hadinger 9addde235a Add Zigbee command ``ZbConfig`` and configuration in Settings 2020-04-11 18:50:46 +02:00
Theo Arends 45e9408b73 Add support for AS3935 Lightning Sensor
Add support for AS3935 Lightning Sensor by device111 (#8130)
2020-04-11 14:51:08 +02:00
to-scho 771f53ddcd New shutter commands ShutterToggle, ShutterStopOpen, ShutterStopClose, ShutterStopToggle, ShutterStopPosition
ShutterToggle opens shutter when actual shutterposition <=50 and closes otherwise. ShutterStopXxx commands will stop shutter when shutter is currently moving and will be same as ShutterXxx otherwise.
2020-04-11 08:28:05 +02:00
Stephan Hadinger cc9c3c3922 Add command ``Ping`` (#7176) 2020-04-10 20:40:56 +02:00
Paul C Diem 9794f12460 Add DevGroupSend command 2020-04-07 13:25:58 -05:00
Paul C Diem 2a367512d7 Add DevGroupName command 2020-04-06 12:29:50 -05:00
Stephan Hadinger 06774daba6 Add Zigbee commands ``ZbBindState`` and ``manuf``attribute 2020-03-30 19:23:06 +02:00
Stephan Hadinger 6c1f5576d0 Add Zigbee ZbUnbind command 2020-03-26 20:58:59 +01:00
Stephan Hadinger 2c8dd288e7 Add command ``ZbRestore`` to restore device configuration dumped with ``ZbStatus 2`` 2020-03-22 16:11:01 +01:00
Theo Arends 0a0afe3615 Add Dew point to more sensors
Add Dew point to more sensors and refactor JSON Temperature and Humidity message
2020-03-17 16:29:59 +01:00
Federico Leoni 5ba26780e9 Humidity Offset 2020-03-16 14:29:55 -03:00
Theo Arends a258296055 Add Dew Point to Temperature and Humidity sensors
Add Dew Point to Temperature and Humidity sensors
2020-03-16 17:09:15 +01:00
Theo Arends 566bc47af4 Add Dewpoint to Temp/Hum sensors Prt. 1
- Add Dewpoint to Temp/Hum sensors Prt. 1
- Update AHT10 driver (#7930)
2020-03-16 16:52:22 +01:00
Paul C Diem fec34434a6 Merge branch 'development' of https://github.com/arendst/Tasmota into pwm-dimmer3 2020-03-15 18:26:46 -05:00
Stephan Hadinger 13dde44eb7 Add Zigbee support for Hue emulation 2020-03-14 14:17:30 +01:00
Paul C Diem a72acf37fe Use Light module to manage PWM, Rework multi-button sequences 2020-03-13 12:08:44 -05:00
Matteo Albinola 2cab0d0539 New command ShutterInvertWebButtons 2020-03-10 08:41:37 +01:00
Theo Arends 71d810aac4 Update Tx2x Sensor
Update Tx2x Sensor with command SpeedUnit (#7843)
2020-03-02 15:51:33 +01:00
Hadinger 7cf8c1750f Add Zigbee features and improvements 2020-03-01 11:25:59 +01:00
Paul C Diem a962662743 Rescale Bri to DimmerRange, Remove BriMin, LedTimeout and PoweredOffLed commands 2020-02-27 13:38:33 -06:00
Paul C Diem b8203a717b Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 07:19:28 -06:00
Paul C Diem c0a5156d8f Initial pwm dimmer support 2020-02-24 07:19:15 -06:00
Paul C Diem b15a8a749c Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-24 06:50:37 -06:00
Hadinger d4dd0a39a5 Add Zigbee enhanced commands decoding, added ``ZbPing`` 2020-02-23 16:46:00 +01:00
Hadinger 13763f55a6 Fix Zigbee auto-increment transaction number (#7757) 2020-02-22 20:53:55 +01:00
Paul C Diem f409d7258e Initial device groups support (power and light) 2020-02-21 09:09:21 -06:00
Theo Arends d89c14ba27
Merge branch 'development' into fif-le01mr 2020-02-10 14:52:22 +01:00
Hadinger 49ebd870ca Add ``ZbBind`` (experimental) and bug fixes 2020-02-02 20:53:49 +01:00
Hadinger e34cc3cbcc Change Zigbee commands renamed to ``Zb*`` 2020-01-25 17:42:53 +01:00
Theo Arends febabec3bb Fix Gui ADC Range unit 2020-01-25 12:17:35 +01:00
Federico Leoni 26755202c7
New ADC Range 2020-01-23 19:21:49 -03:00
Hadinger 18ce64f813 Add Zigbee persistence and friendly names 2020-01-18 00:02:01 +01:00
to-scho 0327d7f4b4 New command ShutterEnableEndStopTime 2020-01-13 12:00:34 +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
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
saper-2 f2ca1f3e47 Added totalActive from le01, more code tunning 2020-01-05 19:51:12 +01:00
kabongsteve 1b451e722f Improve multiple shutter operation and MQTT 2020-01-04 13:38:56 +11: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
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 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +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
Theo Arends 1526a59162 Refactor HotPlug 2019-12-30 14:23:37 +01: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
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
Hadinger 749960533f Add Zigbee better support for Xiaomi Double Switch and Xiaomi Vibration sensor 2019-12-23 16:53:54 +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 e53f637bb6
Mode definitions to i18 to enable other modules to use shutters 2019-12-12 16:05:58 +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
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 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 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
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
stefanbode e2131e3693
Update i18n.h 2019-11-18 09:21:11 +01:00
Theo Arends 9f7c9cd12f Consolidate LOG prefixes 2019-11-17 15:07:03 +01:00
Stephan Hadinger b305900e7c Change Replace ZigbeeStatus with ZigbeeState for reporting, ZigbeeStatus is only a command now 2019-11-09 09:25:15 +01:00
Theo Arends e099ebe7b6 Bump version to 7.0.0.4
Add command WifiPower 0 .. 20.5 to set Wifi Output Power which will be default set to 17dB
2019-11-08 13:00:32 +01:00
Theo Arends 1e29593469 Bump version 7.0.0.3
Initial support for I2C driver runtime control using command I2CDriver and document I2CDEVICES.md
2019-11-03 17:54:39 +01:00
Theo Arends 4891bad69a Change sonoff references to tasmota 2019-11-03 15:37:33 +01:00
Stephan Hadinger 6a916e3b81 Zigbee command support, considered as v1.0 for full Zigbee support 2019-11-03 12:41:44 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00