Commit Graph

2963 Commits

Author SHA1 Message Date
Stephan Hadinger a2b11520fe Fix tls time with new NTP client 2020-11-06 18:27:43 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends 488a360d5b Fixed NTP fallback server functionality
Fixed NTP fallback server functionality (#9739)
2020-11-06 15:22:03 +01:00
Andrew Childs b7f90a3080 Fix frequency parsing in raw IRsend 2020-11-06 00:09:51 +09:00
Andrew Childs 4dc937ee7d Remove dead code in IR 2020-11-06 00:08:45 +09:00
Theo Arends cc69244a8f Changed platformio compiler option
Changed platformio compiler option `no target align` enabled for stage
2020-11-05 13:55:17 +01:00
Theo Arends cdf66b6eff Version bump 2020-11-05 13:33:17 +01:00
Theo Arends cc1d80bcb1
Merge pull request #9744 from rvbglas/development
ESP32 BLE beacons scan improvements
2020-11-05 11:35:56 +01:00
Christopher Tremblay c487540201 Bug fix: Incorrect JSON output for EZO FLO
There was a copy/paste mistake in the EZO FLO implementation that this fixes.
2020-11-05 02:16:16 -08:00
Roman Bazalevsky b833b40845 ESP32 BLE beacons scan improvements:
- Scan memory cleanup.
- Device name (if broadcasted) handling (including MQTT messages and Web interface).
- Implicit device state in MQTT messages.
- Removed UUID/MAJOR/MINOR fields (always zeroes) in MQTT messages for MAC-identified beacons.
2020-11-05 12:36:52 +03:00
Theo Arends 655a6ece9a
Merge pull request #9733 from jamesturton/dimmerstep
Add `DimmerStep` command
2020-11-04 19:12:12 +01:00
James Turton c93bfd15bf Updated `CmndDimmerStep()`. 2020-11-04 19:05:19 +01:00
Theo Arends 78196f0391 Removed auto output selection
Removed auto output selection of decimal or hexadecimal data based on user input. Now only based on ``SetOption17``
2020-11-04 17:42:30 +01:00
Theo Arends 8376dd8982 Fix switches 2020-11-04 16:31:53 +01:00
Theo Arends 7915e82cb0 Prep release 9.1 2020-11-04 15:57:40 +01:00
Theo Arends 554f6eff3a
Merge pull request #9732 from rvbglas/development
Initial support for iBeacons (Sensor52) on ESP32 using internal BLE
2020-11-04 15:25:23 +01:00
Christopher Tremblay b5b6b97295 Swapped strstr for strchr where applicable
strstr calls with a single character were changed to strchr which should be more efficient.
2020-11-04 02:20:17 -08:00
James Turton b8abc8300c Allow to be between 1 and 50. 2020-11-04 11:03:11 +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
Roman Bazalevskiy 180ffaa984 Prevent MQTT spamming - don't repeat messages before IB_TIMEOUT. 2020-11-04 09:10:52 +03:00
Roman Bazalevskiy 18fb79d954 Initial support for iBeacons (Sensor52) on ESP32 using internal BLE module.
Differs from MI32 (Sensor62):

- Dynamically detects beacons, no preset MACs needed
- Reports detected beacon immediately, not on tele period.
2020-11-04 08:50:11 +03:00
Erik Montnemery ae89198218
Correct HASS_DISCOVER_DEVICE 2020-11-03 19:56:25 +01:00
Theo Arends ee8845123a
Merge pull request #9727 from effelle/development
HaTasmota update
2020-11-03 17:09:23 +01:00
Federico Leoni 7fa083fc73 Stupid error fix 2020-11-03 13:03:08 -03:00
Federico Leoni b4b463a73e HaTasmota update 2020-11-03 12:50:08 -03:00
Theo Arends 653adfa1cb Refactor Button Switch MQTT data 2020-11-03 16:24:49 +01:00
Theo Arends 7b68935ae3 Add index to Button and Switch action topics 2020-11-03 16:05:57 +01:00
Theo Arends 9f191d9214 Breaking change when ``SetOption73 1``
Breaking change when ``SetOption73 1`` JSON result from `{"ACTION":"SINGLE"}` to `{"Button1":{"Action":"SINGLE"}}`
2020-11-03 15:42:55 +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
Theo Arends dfd6080d96
Merge pull request #9725 from effelle/development
New topic for MQTT switches
2020-11-03 14:22:11 +01:00
Federico Leoni b62c422f73 changed topic 2020-11-03 10:18:40 -03:00
Federico Leoni e74fdee05e New topic for MQTT Switches 2020-11-03 10:09:23 -03:00
Christopher Tremblay 7224b414fa Add support for EZO RGB
Adds support for EZO RGB sensor
2020-11-03 03:38:28 -08:00
Theo Arends b91dd9aa5b
Merge pull request #9716 from Staars/mi32
MI_ESP32: small bugfixes and reduced memory usage
2020-11-03 09:25:08 +01:00
Theo Arends d6e0fbf711
Merge pull request #9714 from s-hadinger/zigbee_remove_0x0000
Zigbee fix 0x000 appearing in UI
2020-11-03 09:24:45 +01:00
Theo Arends d9954a2df7
Merge pull request #9721 from effelle/development
Switches: MQTT decoupling and regression fix
2020-11-03 09:23:28 +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
Staars 03d02b7b2a bugfixes and reduced memory usage 2020-11-02 19:32:08 +01:00
Stephan Hadinger e2775c54e4 Zigbee fix 0x000 appearing in UI 2020-11-02 18:29:04 +01:00
bovirus 0fdaa653ae
Update of Italian language 2020-11-02 16:05:36 +01:00
Theo Arends cf9b8fe619 Restore status command 2020-11-02 15:21:32 +01:00
Theo Arends b869abb0b6 Fix rule handling of JSON ``null``
Fix rule handling of JSON ``null`` regression from v8.5.0.1 (#9685)
2020-11-02 14:35:19 +01:00
gemu2015 975981fdbf Update xsns_53_sml.ino 2020-11-02 12:36:57 +01:00
gemu2015 70258a28a6 sml update
hardcode descriptor default to no op
better counter debounce
2020-11-02 12:24:39 +01:00
Theo Arends 67bd5daf45 Update changelog 2020-11-02 11:58:23 +01:00
Christopher Tremblay 2af5f61b03 Add support for EZO DO
Add support for EZO Disolved Oxygen sensor
2020-11-02 00:26:35 -08:00
Theo Arends 58461e5554
Merge pull request #9702 from Staars/hm10
HM10: add beacon, better parsing, more
2020-11-02 08:48:10 +01:00
Stephan Hadinger 643675b715 Zigbee code optimization 2020-11-01 22:28:55 +01:00
Staars b3f7cbfa8b add beacon, better parsing, more 2020-11-01 19:31:49 +01:00
Stephan Hadinger d16f3d057c Zigbee refactoring 2020-11-01 19:00:07 +01:00
Erik Montnemery ed8058b3e2
Attempt to fix regression introduced by #9589 2020-11-01 17:52:10 +01:00
Jason2866 e10cbfc81f
No core_version.h in ESP32 stage 2020-11-01 15:24:12 +01:00
Theo Arends db863c4589 Add support for EZO FLO
Add support for EZO FLO sensors by Christopher Tremblay (#9697)
2020-11-01 15:15:10 +01:00
Theo Arends 8896f7af90
Merge pull request #9697 from tichris0/development
Add support for EZO FLO sensor
2020-11-01 14:56:48 +01:00
Theo Arends c2482e9913 Add command ``SwitchText``
Add command ``SwitchText`` to change JSON switch names by barbudor (#9691)
2020-11-01 13:26:35 +01:00
Theo Arends 8338a9cc80 Refactor module change detection 2020-11-01 12:12:27 +01:00
Christopher Tremblay 558034b15f Add support for EZO FLO sensor
Add support for EZO FLO sensor
2020-11-01 01:28:43 -08:00
Stephan Hadinger edad344a13 Code optimization 2020-10-31 19:51:17 +01:00
s-hadinger cfe52e6bd4
Merge pull request #9689 from s-hadinger/zigbee_zboccupancy
Zigbee added ``ZbOccupancy`` command to configure the time-out for PIR
2020-10-31 18:13:23 +01:00
Theo Arends 404e34df36 Fix ESP32 serial issues 2020-10-31 17:53:12 +01:00
Stephan Hadinger e3f4cc94f6 Zigbee added ``ZbOccupancy`` command to configure the time-out for PIR 2020-10-31 17:48:40 +01:00
Theo Arends 57a3e7f88c Fix ESP32 issues 2020-10-31 17:28:33 +01:00
Theo Arends 432051a7ef Fix setting last module 2020-10-31 12:04:28 +01:00
Theo Arends 2c1c7c50d6
Merge pull request #9682 from Jason2866/patch-1
Update de_DE.h
2020-10-31 11:41:54 +01:00
Theo Arends 6b9df5db08
Merge pull request #9679 from bovirus/patch-1
Update Italian language
2020-10-31 11:41:34 +01:00
Stephan Hadinger b2cb4845b8 Fix missing error when unsupported protocol 2020-10-30 23:22:49 +01:00
Stephan Hadinger f97410e097 Zigbee fix group id reporting 2020-10-30 22:57:28 +01:00
Stephan Hadinger de9f559b50 Zigbee fix TRADFRI battery percentage 2020-10-30 22:44:15 +01:00
Jason2866 26ac97f686
Update de_DE.h 2020-10-30 21:38:21 +01:00
bovirus 07cd51cbc4
Update Italian language 2020-10-30 20:37:32 +01:00
Stephan Hadinger 04489db1fd Fix Hue support when zigbee is disabled 2020-10-30 19:23:27 +01:00
Theo Arends 604a03e617 Fix ESP32 serial reconfig
Fix ESP32 serial reconfig (#9664)
2020-10-30 18:27:34 +01:00
Theo Arends c0c198f957
Merge pull request #9674 from s-hadinger/minimal_notls
Don't try to connect to TLS with Tasmota-minimal
2020-10-30 17:04:46 +01:00
Stephan Hadinger 4ca8a4cf02 Allow the use of TLS in MINIMAL if compiled with TLS 2020-10-30 16:46:57 +01:00
Stephan Hadinger 750d35283b Don't try to connect to TLS with Tasmota-minimal 2020-10-30 16:29:36 +01:00
Theo Arends 31e5617043 Add command ``Gpios 255``
Add command ``Gpios 255`` to show all possible GPIO configurations
2020-10-30 16:08:38 +01:00
Theo Arends 58dc18844b Refactor energy func every 250mS 2020-10-30 12:45:34 +01:00
Theo Arends 524012a752 Merge branch 'globalstruct' into development 2020-10-30 12:31:01 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
s-hadinger 5421c608cd
Merge pull request #9671 from s-hadinger/zigbee_tooltip
Zigbee display modelId and ManufacturerId in tooltip
2020-10-30 10:46:48 +01:00
Jason2866 80807614d8
Make TLS for zbbridge optional 2020-10-30 09:58:32 +01:00
Jason2866 bd1b01711e
TLS support zbbridge selectable 2020-10-30 09:54:50 +01:00
Stephan Hadinger c6b3864d99 Zigbee display modelId and ManufacturerId in tooltip 2020-10-29 19:34:46 +01:00
Theo Arends 8a703adf84 Use global struct 2020-10-29 16:16:34 +01:00
Theo Arends 4c6fa325ac Fix compile error 2020-10-29 14:41:12 +01:00
Theo Arends e59bfc1d69 Use global struct 2020-10-29 13:58:50 +01:00
Theo Arends 280f0a9de7 Use global struct 2020-10-29 13:37:09 +01:00
Theo Arends 8e6f303403
Merge pull request #9662 from s-hadinger/zigbee_map_fix
Fix compilation
2020-10-29 13:06:53 +01:00
Theo Arends cd91f09f8f
Merge pull request #9660 from stefanbode/patch-4
Resolve #9632 after sethalfway back to 50
2020-10-29 13:06:20 +01:00
Theo Arends 0d85f5c583 Use global struct 2020-10-29 12:58:22 +01:00
Stephan Hadinger e42c87c9f3 Fix compilation 2020-10-29 12:50:02 +01:00
stefanbode 81ce023e42
Update xdrv_27_shutter.ino 2020-10-29 12:44:05 +01:00
stefanbode bb01baa651
Update xdrv_27_shutter.ino 2020-10-29 12:41:53 +01:00
Theo Arends 0cfe1ac3e1 Use global struct 2020-10-29 12:39:44 +01:00
stefanbode e40c736dfb
Resolve #9632 after sethalfway back to 50 2020-10-29 12:28:07 +01:00
Theo Arends 3bebfb32d3 Use global struct 2020-10-29 12:21:24 +01:00
Theo Arends 29f301981e Fix thermostat compilation error 2020-10-29 12:01:19 +01:00
Theo Arends 6f7a20e2ec Add support for EZO PRS sensors
Add support for EZO PRS sensors by Christopher Tremblay (#9659)
2020-10-29 11:53:25 +01:00
Christopher Tremblay 4a8bc0841e Add support for EZO PRS
Adds support for EZO PRS sensors
2020-10-29 02:34:44 -07:00
Stephan Hadinger 722de4b4a8 Zigbee fix UI 2020-10-28 21:40:58 +01:00
Stephan Hadinger add56aadd5 Zigbee prepare PIR persistence 2020-10-28 20:59:55 +01:00
Theo Arends f1bce9c6e8
Merge pull request #9652 from s-hadinger/zigbee_onoff
Zigbee fix for Lights
2020-10-28 19:06:14 +01:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Stephan Hadinger 1065950a87 Zigbee fix for Lights 2020-10-28 18:31:13 +01:00
s-hadinger 1791a54470
Merge pull request #9651 from s-hadinger/zigbee_zbmap
Zigbee added ``ZbMap`` command to describe Zigbee topology
2020-10-28 17:58:21 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Stephan Hadinger a0801b11da Zigbee added ``ZbMap`` command to describe Zigbee topology 2020-10-28 17:30:46 +01:00
Stephan Hadinger 3e62c77c87 Zigbee extend SO101 to attributes 2020-10-28 14:36:48 +01:00
Jason2866 6545e3f22d
Use gz as default for OTA URL 2020-10-28 13:24:22 +01:00
Theo Arends 594f57464f Prep global struct 2020-10-28 12:40:52 +01:00
Theo Arends 66f5d5d180 Prep global struct 2020-10-28 11:48:57 +01:00
Theo Arends 85d2626e84 Refactor feature list build 2020-10-28 11:37:59 +01:00
Theo Arends 6be04996b4
Merge pull request #9635 from tichris0/development
Add support for EZO O2
2020-10-28 10:51:02 +01:00
Stephan Hadinger 4bae5944d2 Zigbee reduce battery drain 2020-10-28 10:26:28 +01:00
Stephan Hadinger afb5839b6c Zigbee flash storage refactor 2020-10-28 10:08:15 +01:00
Christopher Tremblay db338f1d81 Add support for EZO O2
Adds support for EZO O2 sensor
2020-10-27 03:38:54 -07:00
Theo Arends b4dc2600c5 Remove empty line 2020-10-26 17:01:49 +01:00
Theo Arends e030b9fece Fix rule expressions using mems corrupts character pool
Fix rule expressions using mems corrupts character pool (#9301)
2020-10-26 16:42:44 +01:00
Theo Arends 3e784f2bcc Delete tasmota.ino.cpp 2020-10-26 15:10:56 +01:00
Theo Arends f8e380582c
Merge pull request #9631 from Jason2866/patch-2
lib folder reshuffle
2020-10-26 15:07:37 +01:00
Micke Prag db0fb54bc5 Expose the devicetype on mDNS
Add txt field to tell the network this is a tasmota device.
2020-10-26 14:07:08 +01:00
Jason2866 e454c54e6d move libs in folder lib 2020-10-26 12:51:06 +00:00
Jason2866 0989af6015
Use only KNX header files
no need to include and compile whole KNX library
2020-10-26 11:39:29 +01:00
Christopher Tremblay faa45994d2 Reset deafult my_user_config
Removed debug code
2020-10-26 00:11:07 -07:00
Christopher Tremblay a80944d9a2 Cleanup the EZO devices
Fixed a few mistakes in the comments and organized the code to make it easier to read & extend.
2020-10-26 00:09:44 -07:00
Theo Arends cc51fc832b
Merge pull request #9625 from effelle/development
Fix fulltopic order for HA integration
2020-10-25 20:17:45 +01:00
Federico Leoni 3b71ba197d
Fix fulltopic order for HA integration 2020-10-25 16:01:15 -03:00
Theo Arends 8d71ade035 Fixed rule Break not working as expected
Fixed rule Break not working as expected when ONCE is enabled (#9245)
2020-10-25 17:38:06 +01:00
Theo Arends a96218fc1c v9.0.0.3
- Add TLS in binary tasmota-zbbridge (#9620)
- Add support for EZO CO2 sensors by Christopher Tremblay (#9619)
2020-10-25 14:46:13 +01:00
Theo Arends 37e68db05a
Merge pull request #9619 from tichris0/development
Add support for EZO CO2 sensor
2020-10-25 14:19:51 +01:00
Theo Arends 863d77dfc0
Merge pull request #9620 from s-hadinger/zbbridge_tls
Enable TLS in Tasmota-zbbridge
2020-10-25 14:19:11 +01:00
Theo Arends 95d440f712 Update support_rotary.ino 2020-10-25 14:17:40 +01: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
Stephan Hadinger 951783cd54 Enable TLS in Tasmota-zbbridge 2020-10-25 11:48:38 +01:00
Christopher Tremblay 5c02b81daa Remove debug code 2020-10-25 01:47:54 -07:00
Christopher Tremblay ab7481d115 Fix error in tasmota_configuration
Fix compile error in my build
2020-10-25 01:28:27 -07:00
Christopher Tremblay 6ec207fd3e Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-10-25 01:21:48 -07:00
Christopher Tremblay 9f91ca8d4f Add support for EZO CO2 sensor
Adds support for CO2 sensor
2020-10-25 01:21:01 -07:00
Theo Arends 0945f3c522
Merge pull request #9615 from s-hadinger/zbbridge_disable_wemo
Disable Wemo emulation for ZBBridge
2020-10-25 08:31:59 +01:00
Stephan Hadinger c305b07cda Disable Wemo emulation for ZBBridge
Saves 3KB of Flash
2020-10-24 19:19:29 +02:00
Theo Arends 582c32f5b9 Add support for EZO EC sensor
Add support for EZO EC sensors by Christopher Tremblay (#9613)
2020-10-24 12:41:08 +02:00
Christopher Tremblay 8894ad70f7 Remove test code
Removing code used to test the device and not meant to be submitted
2020-10-24 01:00:27 -07:00
Christopher Tremblay 3ec4246bbe Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-10-24 00:55:51 -07:00
Christopher Tremblay d6bea107f8 Add support for EZO EC
Adding support for Electrical conductivity sensor
2020-10-24 00:54:25 -07:00
s-hadinger f566660fb8
Zigbee support for Terncy Smart Dial (#9612)
* Zigbee support for Terncy Smart Dial

* Fix wrong attributes for TerncyDuration

* Fix wrong type for TerncyDuration

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2020-10-23 22:49:51 +02:00
Theo Arends f3498f031b Fixed ESP32 Webcam broken
Fixed ESP32 Webcam broken regression from #9590
2020-10-23 17:55:07 +02:00
Theo Arends 1021cf3ca5 Update changelog and releasenotes 2020-10-23 16:56:03 +02:00
Theo Arends dd3228c07f
Merge pull request #9599 from tichris0/development
Refactor EZO drivers to only use one sns ID
2020-10-23 15:29:46 +02:00
Theo Arends 384d6b2d21
Merge pull request #9609 from Staars/MI32
MI_ESP32: add beacon functions
2020-10-23 15:27:12 +02:00