Commit Graph

2166 Commits

Author SHA1 Message Date
Theo Arends cd6e23757c Refactor rotary encoder 2020-07-14 15:01:41 +02:00
Theo Arends 5e4554e927
Merge pull request #8900 from tthk/development
Add support for 0.56" 7-Segment LED Backpack with floating point and raw segment addressing
2020-07-14 11:58:39 +02:00
Theo Arends c62679c3c8 Prep for more NRG drivers 2020-07-14 11:57:10 +02:00
Theo Arends 73f565aa8c
Merge pull request #8899 from SODAIS69/development
Optimizations for zh_TW translations
2020-07-14 11:53:16 +02:00
Theo Arends fde82d8bdb
Merge pull request #8890 from mbezuidenhout/iem3000-feature
Schneider iEM3xxx Modbus feature
2020-07-14 11:43:52 +02:00
Platformio BUILD 8619e8513a Merge remote-tracking branch 'Tasmota/development' 2020-07-14 09:36:32 +00:00
Khoa Ton 414982603b Fix error in example comment 2020-07-14 02:35:49 -07:00
Theo Arends 7507d51ab9
Merge pull request #8895 from arijav/development
Bugfix local temperature sensor in fahrenheit for Thermostat driver
2020-07-14 11:27:40 +02:00
Theo Arends 6d99e057b9
Merge pull request #8885 from d0m1n1qu3/MI32_rssi
read the rssi from the BLE sensors
2020-07-14 11:26:45 +02:00
gui 30a0e66589 Optimizations for zh_TW translations 2020-07-14 17:06:50 +08:00
Khoa Ton a82b18e778 Merge branch 'development' of github.com:tthk/Tasmota into development 2020-07-14 01:42:50 -07:00
Khoa Ton 60584d9423 Add 0.56" sevenseg support, floating point, raw output 2020-07-14 01:42:41 -07:00
d0m1n1qu3 032c87c7a9 fix that firmware is send everytime since commit 39705a2e05 2020-07-13 21:24:38 +02:00
d0m1n1qu3 3640372fd0 fix that firmware is send everytime since commit 39705a2e05 2020-07-13 21:08:10 +02:00
Javier Arigita e0f075afb1 Bugfix local temperature sensor in fahrenheit 2020-07-13 20:22:37 +02:00
d0m1n1qu3 e468f941db using D_RSSI instead of new String 2020-07-13 17:57:30 +02:00
Theo Arends 8dbcf481c7
Merge pull request #8894 from Staars/nrf24
MI-NRF24: add MHO-C401
2020-07-13 15:13:30 +02:00
Theo Arends 84ee6393a5 Add second rotary support
Add second rotary support default used for CW light control when first rotary is used for RGB light control (#8864)
2020-07-13 15:10:23 +02:00
d0m1n1qu3 4f10a15a65 shift the init or the variable firmware to FLORA only because of changes from Staars 2020-07-12 21:19:40 +02:00
Staars 41d0f3117f add MHO-C401 2020-07-12 21:12:42 +02:00
d0m1n1qu3 51b3d67ca9 try to merge remote
Merge remote-tracking branch 'upstream/development' into MI32_rssi
2020-07-12 21:01:36 +02:00
Theo Arends 96d37ec535 Add Rotary features
Add On/Off functionality to rotary dial (#8263)
2020-07-12 18:53:57 +02:00
Staars 39705a2e05 add lights, yeerc, decryption and more 2020-07-12 18:17:27 +02:00
Marius Bezuidenhout 277df060dd Schneider iEM3xxx Modbus feature
Feature to read modbus data from Schneider Electric iEM energy monitor devices
2020-07-12 17:52:24 +02:00
Theo Arends 202326c5f3 Update changelog 2020-07-12 15:34:02 +02:00
Theo Arends e3fd1b7850 Fix DS18S20 temp calculation
Fix DS18S20 temp calculation  (#8777)
2020-07-12 15:24:42 +02:00
Khoa Ton 3462c7f31b Fix mispelling in comment 2020-07-12 00:02:39 -07:00
Khoa Ton 7de43e6233 Added comments on multiple sevenseg display layout 2020-07-11 23:33:25 -07:00
Khoa Ton 833f47fd15 Support up to 8 I2C Seven Segment Displays 2020-07-11 23:16:29 -07:00
d0m1n1qu3 5a2e7c5aa7 add some checks is rssi is available and init variables at object creation 2020-07-11 22:09:26 +02:00
Stephan Hadinger 2dd3e0e0a0 Zigbee EZSP better support for groups 2020-07-10 20:15:12 +02:00
d0m1n1qu3 55653f0c33 read the rssi from the sensor
sometimes it is hard to find out why a sensor sends no data
with the rssi you got a value of the BLE signal strenght
and can optimize the location of the sensor or the ESP32

if the rssi got worse over time the battery could be the problem

rssi monitoring is a must have feature for radio signals :-)
2020-07-10 18:03:07 +02:00
d0m1n1qu3 115ed56424 send firmware version only via mqtt not shown on GUI anymore 2020-07-10 17:00:45 +02:00
d0m1n1qu3 151686d2e1 read firmware verion for FLORA devices
the FLORA sensors send the firmware version number while they send the
battery info so we parse it and send it via mqtt (json) and also
present it in the webinterface
2020-07-10 13:16:01 +02:00
d0m1n1qu3 881cd5e580 repair float int problems for MI Flora moisture and fertility 2020-07-09 20:47:01 +02:00
stefanbode 90f29695bb
Update xsns_01_counter.ino 2020-07-07 16:31:35 +02:00
stefanbode ce7070b0a5
Update xsns_01_counter.ino 2020-07-07 16:26:44 +02:00
stefanbode 7c2d9673a1
Update xsns_01_counter.ino 2020-07-07 16:22:55 +02:00
stefanbode debd2b7562
Update xdrv_04_light.ino 2020-07-07 16:19:26 +02:00
stefanbode f2e686ab26
Fixes some reboots on change the dimmer 2020-07-07 16:17:43 +02:00
Staars 7fe99a5e04 minimal API-changes, tweak scan process 2020-07-06 20:10:43 +02:00
Theo Arends d612d2b62e
Merge pull request #8862 from s-hadinger/zigbee_july_5
Zigbee EZSP support for bindings and groups
2020-07-05 21:21:44 +02:00
Theo Arends 41e72328fd
Merge pull request #8861 from Staars/nrf24
NRF24: add night lights and yee-rc, refactoring
2020-07-05 21:20:38 +02:00
Stephan Hadinger 5384c0190b Zigbee EZSP support for bindings and groups 2020-07-05 21:01:26 +02:00
Staars d56f5ebbdf add lights and yeerc 2020-07-05 19:48:47 +02:00
Theo Arends bd302f9a64 Prep ESP32 zigbee support 2020-07-05 15:13:57 +02:00
Theo Arends d4f8234780 Prep ESP32 zigbee support 2020-07-05 14:51:55 +02:00
Theo Arends acee1e5686 Fix Zigbee reset pin 2020-07-05 12:35:54 +02:00
Theo Arends 299b9a7194 Update support_features.ino 2020-07-05 12:15:26 +02:00
bovirus 997e85b54a
Update Italian language
Fix some typos (space between words or uppercase/lowercase)
Tuining text strings.
2020-07-05 09:57:10 +02:00
gemu2015 876505a2c3 Update xsns_53_sml.ino 2020-07-05 08:59:42 +02:00
gemu2015 afa20ca1f7 fix ed300l bug, fix esp32 set bd bug 2020-07-05 08:55:34 +02:00
Stephan Hadinger 173a6d917b Zigbee EZSP minor improvements 2020-07-04 19:59:59 +02:00
Theo Arends 407d36c055 Update support_features.ino 2020-07-04 18:34:23 +02:00
Theo Arends 046b43b967
Merge pull request #8848 from ryancdotorg/nothing-up-my-sleeve
Transparent default value for MqttFingerprint2
2020-07-04 16:19:29 +02:00
Theo Arends 0315ef3a3c Add some comments to led commands 2020-07-04 15:40:38 +02:00
Theo Arends c3a056a78f Minor refactor 2020-07-04 14:29:15 +02:00
Norbert Richter e7cd96689f
Shutter reactivate rule trigger during move 2020-07-04 13:23:35 +02:00
Norbert Richter 46542e4cbb
Shutter change loglevels+1 2020-07-04 13:20:53 +02:00
Ryan Castellucci c0c19ea3da Transparent default value for MqttFingerprint2
I was unable to find any information on where the existing default
MqttFingerprint2 value came from, and can't be sure that someone
doesn't have a key matching it.

For transparency, this patch replaces the default MqttFingerprint2 value
with the result of SHA1("Tasmota") as a "nothing-up-my-sleeve number".
2020-07-04 11:56:05 +01:00
Theo Arends 642fa216c2 Merge branch 'development' into pre-release 2020-07-04 12:04:41 +02:00
Norbert Richter 0cebf9a28f
Fix shutter target == 255 on close 2020-07-04 10:43:02 +02:00
Theo Arends e5127d8e8e Fix possible watchdog/exception
Fix possible watchdog/exception (#8828)
2020-07-03 17:17:57 +02:00
Theo Arends a6dcffab9b Fix PROGMEM related exceptions
Fix PROGMEM related exceptions (#8828)
2020-07-03 12:30:09 +02:00
Theo Arends 911dc64e99
Merge pull request #8833 from stefanbode/patch-14
Add support for AC Dimmer #8789
2020-07-03 10:48:14 +02:00
stefanbode 22fec3202a
Update core_esp8266_wiring_pwm.cpp 2020-07-03 09:07:43 +02:00
stefanbode 041be8882e
Update core_esp8266_wiring_pwm.cpp 2020-07-03 09:04:14 +02:00
stefanbode d3a9413a7c
Update tasmota_globals.h 2020-07-03 09:01:53 +02:00
stefanbode 6bd4edcdae
Update xsns_01_counter.ino 2020-07-03 09:01:02 +02:00
stefanbode fa4680bb61
Delete Arduino.h 2020-07-03 08:59:48 +02:00
Stephan Hadinger 8bfd753334 Zigbee EZSP milestone 4 2020-07-02 22:56:37 +02:00
Theo Arends cc301e9395
Merge pull request #8837 from gemu2015/scripter-update
Scripter update
2020-07-02 18:18:41 +02:00
Theo Arends 0cc1dd957b Add SO98 to control user rotary support 2020-07-02 18:13:14 +02:00
stefanbode 0509eee6a5
Update xsns_01_counter.ino 2020-07-02 08:42:43 +02:00
stefanbode 862262c349
Update Arduino.h 2020-07-02 08:37:32 +02:00
gemu2015 67b3702b0b Update tasmota.ino 2020-07-02 06:48:07 +02:00
gemu2015 64bd9f1974 scripter fixes 2020-07-02 06:46:04 +02:00
stefanbode 533f314277
Update Arduino.h 2020-07-01 18:45:36 +02:00
stefanbode e3c19205b6
Add files via upload 2020-07-01 17:46:53 +02:00
stefanbode c11e948b81
Update xsns_01_counter.ino 2020-07-01 17:46:13 +02:00
stefanbode 2d3d4863b4
Update core_esp8266_wiring_pwm.cpp 2020-07-01 17:38:49 +02:00
stefanbode 4fe216f3c7
Support for AC Dimmer 2020-07-01 17:37:32 +02:00
Justifiably dcb57d11e3 Spurious low LMT01 pulse are sometimes seen, ignore them. 2020-07-01 13:58:31 +01:00
Theo Arends 618d86078c Rotary experiments 2020-07-01 10:34:39 +02:00
Theo Arends 767eba7e8c Rotary experiments 2020-07-01 10:27:04 +02:00
Theo Arends 83b6665c39 Rotary experiments 2020-07-01 10:24:46 +02:00
Theo Arends 9ac4502c78 Rotary experiments 2020-07-01 10:22:20 +02:00
Theo Arends 8ff609b371 Add comment 2020-06-30 18:13:38 +02:00
Theo Arends 24669bb674 Fix rule mem events
Fix rule mem events (#8826)
2020-06-30 18:09:18 +02:00
Theo Arends b6495598de Tune rotary encoder color control 2020-06-30 18:00:14 +02:00
Theo Arends 828a64815b Add rotary encoder color control
Add rotary encoder color control when button pressed and postpone flash writes while turning rotary.
2020-06-30 17:48:38 +02:00
Theo Arends e52961b3b4 Add rotary encoder support
- Add rotary encoder support for light dimmer and optional color temperature if button1 still pressed (#8670)
- Fix Mi Desk Lamp brightness control (#8748)
2020-06-30 16:58:36 +02:00
Theo Arends 6853926948 Fix array index
Fix array index (#8823)
2020-06-30 15:05:07 +02:00
Stephan Hadinger fc40a0945d Zigbee EZSP milestone 3 2020-06-29 22:21:32 +02:00
halfbakery 50a9258eac Home Assistant shutter autodiscovery 2020-06-29 19:44:26 +02:00
halfbakery 95bed62bd1 Do not announce shutter controlling relays to Home Assistant 2020-06-29 19:38:50 +02:00
Theo Arends 074bef9f70 Try to fix Mi Desk Lamp
Try to fix Mi Desk Lamp (#8748)
2020-06-29 17:35:02 +02:00
Theo Arends acc0562422 Try to fix Mi Desk Lamp
Try to fix Mi Desk Lamp (#8748)
2020-06-29 16:34:35 +02:00
Federico Leoni 03db100197 TuyaMCU baud rate 2020-06-29 11:01:55 -03:00
Theo Arends 8afba31107 Add some comments 2020-06-29 14:43:43 +02:00
Theo Arends 2a58730219 Shrink ajax package 2020-06-29 13:52:24 +02:00
Theo Arends a63604bd10 Add Battery status to Zigbee GUI
Add Battery status to Zigbee GUI
2020-06-29 11:53:31 +02:00
gemu2015 bc1f91041c fix scripter USE_SCRIPT_GLOBVARS without USE_DEVICE_GROUPS 2020-06-29 10:48:24 +02:00
Theo Arends 04dca1e61f
Merge pull request #8816 from gemu2015/scripter-string_array
scripter support for string array
2020-06-29 08:42:45 +02:00
gemu2015 df125f2c07 scripter support for string array 2020-06-29 07:06:08 +02:00
Mark Hansen c9f3a2d563 Add tasmota_flash_writes_total to Prometheus
Follows prometheus naming best practices for unitless accumulating counts:
https://prometheus.io/docs/practices/naming/#metric-names

(cf http_requests_total).
2020-06-29 10:35:27 +10:00
Stephan Hadinger 908fca70ab Relax detection of Aqara Cuve 2020-06-28 18:06:25 +02:00
Stephan Hadinger ac80807c4e Removed the x2 to battery percentage 2020-06-28 18:04:36 +02:00
Stephan Hadinger 4af6b7d540 Moved LQI to Zigbee devices 2020-06-28 17:53:59 +02:00
Theo Arends 609b0309fa Try to fix mi desk lamp
Try to fix mi desk lamp (#8748)
2020-06-28 12:54:44 +02:00
Theo Arends 7dafeb280e Rename global temp and pressure
- Rename global temp and pressure (#8808, #8810)
- Fix SGP30 calculation (#8808)
2020-06-28 12:23:18 +02:00
Mark Hansen e9f88af959 Add WiFi metrics to prometheus exporter 2020-06-28 11:43:29 +10:00
Theo Arends a212b3ca7d Change zigbee LQ to LQI 2020-06-27 22:20:32 +02:00
Theo Arends a05e939be9 Add some zigbee webinfo 2020-06-27 18:17:40 +02:00
Theo Arends 5fe75496f9
Merge pull request #8801 from s-hadinger/zigbee_june_20
Minor Zigbee changes
2020-06-27 15:06:58 +02:00
Stephan Hadinger 2e50cc507d Minor Zigbee changes 2020-06-27 14:55:55 +02:00
Mark Hansen 76c61e85b3 Add tasmota_info prometheus psuedo-metric.
Exports version, image type, and build timestamp.

It's common to export something like this to show version numbers across the fleet.

For example, the golang exporter exposes version:
```
go_info{version="go1.14.4"} 1
```

And prometheus exposes:
```
prometheus_build_info{branch="HEAD",goversion="go1.14.4",revision="eba3fdcbf0d378b66600281903e3aab515732b39",version="2.19.1"} 1
```
2020-06-27 21:21:11 +10:00
Theo Arends 1866938cbd Integrate prometheus 2020-06-27 11:52:44 +02:00
Theo Arends 74a3be49a4
Merge pull request #8796 from mhansen/boot_count
Add tasmota_boot_count prometheus metric
2020-06-27 10:34:26 +02:00
Mark Hansen f741f43262 Add tasmota_boot_count prometheus metric 2020-06-27 12:10:00 +10:00
Mark Hansen b802d34c42 Move #define USE_PROMETHEUS to my_user_config.h
This is where all the other #defines live.

This should make it easier to find the #define for enabling prometheus.
2020-06-27 12:04:32 +10:00
gemu2015 6553a775f4 scripter update
fix unishox define conflict
fix for next loop exit bugs
add full pagewebserver (also support for jpg, html and txt files from filesystem)
2020-06-26 09:22:57 +02:00
Theo Arends c8bdf11f80
Merge pull request #8787 from Jason2866/patch-1
Updated instructions
2020-06-26 08:57:10 +02:00
Theo Arends 169d444532
Merge pull request #8786 from mhansen/uptime-prometheus
Add uptime metric to prometheus exporter
2020-06-26 08:56:36 +02:00
Jason2866 f5fb209e9d
Updated instructions 2020-06-26 08:03:11 +02:00
Jason2866 b0cebcbef8
Shrink tasmota-ir
Disable Counter and DHT and DS18x20 sensors. Use ADC_VCC
2020-06-25 15:36:25 +02:00
Mark Hansen 956e6f5a5c Add uptime metric to prometheus exporter
I'm following the naming practices:
https://prometheus.io/docs/practices/naming/
- an application prefix (tasmota_)
- a unit suffix in plural form

Tested building and flashing: looks like

```
tasmota_uptime_seconds 78
```
2020-06-25 20:33:54 +10:00
gemu2015 1cbfbc697a fix sml counter irq mode 2020-06-25 07:34:00 +02:00
Theo Arends 14fe92f13c
Merge pull request #8780 from s-hadinger/ir_278
Change IRremoteESP8266 library updated to v2.7.8
2020-06-24 22:12:25 +02:00
Stephan Hadinger 4503cd44ed Change IRremoteESP8266 library updated to v2.7.8 2020-06-24 21:48:33 +02:00
Stephan Hadinger 4a69bb2a13 Fix wrong CT range when Alexa mode #8694 2020-06-24 21:41:04 +02:00
Theo Arends a55ada039f
Merge pull request #8776 from Staars/development
fix BEARSSL-decryption, remove MBEDTLS, prepare night light sensors for NRF24 driver
2020-06-24 16:38:33 +02:00
Theo Arends faecd38006 Add compile time User Template
Add compile time User Template (#8766)
2020-06-24 16:37:02 +02:00
Platformio BUILD 606f675a33 Merge remote-tracking branch 'Tasmota/development' 2020-06-24 14:21:45 +00:00
Staars 80729a85ad fix BEARSSL-decryption, remove MBEDTLS, prepare night light sensors 2020-06-24 16:21:09 +02:00
Staars 6363e2fa96 remove legacy code 2020-06-24 16:20:07 +02:00
Theo Arends ff327106be Refactor ESP32 support 2020-06-24 15:58:56 +02:00
Theo Arends 7600a81c8e Add ESP32 counter support 2020-06-24 15:50:14 +02:00
Theo Arends 5631415acd Add ESP32 inverted buzzer support 2020-06-24 15:49:18 +02:00
Theo Arends f4adce5fb1 Add ESP32 DHT support
Add ESP32 DHT support (#8503)
2020-06-24 15:36:54 +02:00
Alain Turbide 076d1521e3 - switched to strcasecmp for compare
- removed ifdef/endif
2020-06-24 07:09:22 -04:00
Alain Turbide 0c02d1ae3e add missing irsend_active flag to block ir receive during send 2020-06-23 20:13:09 -04:00
Alain Turbide 2b1d251b85 - Added case insensitivity for GC/gc
- Added repeat support
- removed debug messages
2020-06-23 19:46:55 -04:00
Alain Turbide 100805ff26 Add support for GlobalCache codes using the same format as irsend<x>
raw.  Use irsend<x> gc,xxx,xxx
2020-06-23 18:09:44 -04:00
Jason2866 526593d9c9
Update core_esp8266_wiring_pwm.cpp 2020-06-23 20:03:41 +02:00
Jason2866 5322238d56
Update core_esp8266_wiring_digital.cpp 2020-06-23 20:02:55 +02:00
Jason2866 e893f8d97d
Update core_esp8266_waveform.cpp 2020-06-23 20:02:15 +02:00
Jason2866 bcc9145a91
Update core_esp8266_waveform.h 2020-06-23 20:01:26 +02:00
Jason2866 ee2fea9e25
Add files via upload 2020-06-23 19:39:14 +02:00
Jason2866 e7c6f4645f
Use PWM files from Arduino PR 7022 2020-06-23 19:21:48 +02:00