Adrian Scillato
07bc310660
Update en_GB.h
2021-08-16 18:55:34 -03:00
Adrian Scillato
9a2267a783
Add HTTP API Status to STATUS 5
2021-08-16 18:51:53 -03:00
Adrian Scillato
8b3679a39b
Add SO128 to WebUI (HTTP API ENABLE)
2021-08-16 18:45:24 -03:00
Stephan Hadinger
63bbf46d7f
Berry now compiling in ``strict`` mode to catch more bugs
2021-08-16 20:46:09 +02:00
Theo Arends
154928fe58
Add influxdb debug logging control
2021-08-16 17:31:52 +02:00
Stephan Hadinger
f6eaa77f28
Auto enabled TLS if port is 443
2021-08-16 14:20:10 +02:00
Theo Arends
1ab2b2c865
Fix influxdb id regression
2021-08-16 11:44:27 +02:00
Theo Arends
0d9678eef6
Refactor trim
2021-08-16 11:11:46 +02:00
Theo Arends
cb955762a6
Version bump to v9.5.0.6
...
Version bump to monitor possible HTTP issues releated to ``SetOption128``
2021-08-16 10:32:25 +02:00
Theo Arends
b112c05d9a
Refactor access TasmotaGlobal.mqtt_data
2021-08-15 17:26:32 +02:00
Theo Arends
e5e8ef4736
Refactor access TasnotaGlobal.mqtt_data
2021-08-15 17:08:31 +02:00
Theo Arends
4ed6335428
Add referer related debug info
2021-08-15 15:51:29 +02:00
Theo Arends
035fab505e
Merge pull request #12889 from mbezuidenhout/feature/can-bus
...
Feature/can bus
2021-08-15 14:58:12 +02:00
Theo Arends
15312f8829
Add disabling web referer check default blocking HTTP web commands
...
Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828 )
2021-08-15 13:15:33 +02:00
Theo Arends
7380f85d8d
Revert "Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands ( #12828 )"
...
This reverts commit 996aaf26cc
.
2021-08-15 13:04:57 +02:00
Theo Arends
996aaf26cc
Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands ( #12828 )
2021-08-15 12:59:21 +02:00
Marius Bezuidenhout
56eced2f51
Only send MQTT of data that has been received
2021-08-15 11:44:36 +02:00
Theo Arends
52b8e507e9
Add state information to influxdb
2021-08-14 17:44:37 +02:00
Theo Arends
3c964504b6
Revert "Show power status in state message always with power index number like ``POWER1``"
...
This reverts commit 59a13644b9
.
2021-08-14 17:40:03 +02:00
Theo Arends
59a13644b9
Show power status in state message always with power index number like ``POWER1``
...
Add state information to influxdb
2021-08-14 17:35:31 +02:00
Theo Arends
64c527e3c3
InfluxDb allow all numeric data
2021-08-14 17:03:05 +02:00
Theo Arends
0f39fab3ae
Influxdb add support for negative numbers
2021-08-14 16:28:20 +02:00
Theo Arends
d0d0d11b15
Move influxdb support from sensor to driver
2021-08-14 15:43:31 +02:00
Theo Arends
05d0507104
Add influxdb power state info
2021-08-13 17:46:06 +02:00
Theo Arends
bde66e18c5
Fix influxdb parameter init
2021-08-13 16:35:24 +02:00
Theo Arends
20d88f3d68
Fix mangled first sensor name
2021-08-13 13:55:57 +02:00
Theo Arends
cdb35ecade
Update feature list
2021-08-12 22:43:53 +02:00
Theo Arends
43ed6e7e0a
Merge pull request #12876 from lmagyar/Typo2
...
Typo in comment
2021-08-12 22:41:34 +02:00
Theo Arends
0914894e88
Merge pull request #12875 from lmagyar/typo1
...
Typos causing compilation errors
2021-08-12 22:40:35 +02:00
Theo Arends
c4075655aa
Initial support for influxdb using ``#define USE_INFLUXDB`` and several ``Ifx`` commands
2021-08-12 22:33:02 +02:00
Laszlo Magyar
8e0eab7f63
Typo in comment
2021-08-12 21:59:53 +02:00
Laszlo Magyar
4954475512
Typos causing compilation errors
...
Maybe these are a result of a previous "search and replace" refactoring, causing compilation errors when drivers used with 100..128 key values: invalid conversion from 'bool (*)(uint8_t) {aka bool (*)(unsigned char)}' to 'uint8_t {aka unsigned char}'
2021-08-12 21:59:09 +02:00
Theo Arends
668e260481
Fix negative power values for ADE7953 based devices like Shelly EM ( #12874 )
2021-08-12 20:38:31 +02:00
pauloamexio
ffdb2a4c1c
Read from ACCMODE register
...
Read from ACCMODE Register to check if the reactive power and active power are positive and negative (for both channels)
2021-08-12 11:49:06 +01:00
Theo Arends
4503bac78a
Prep influxdb support
2021-08-11 18:43:11 +02:00
Paul C Diem
c3df8f2704
Set LEDs to max PWM value
2021-08-11 07:32:53 -05:00
Michael Hanselmann
990ae38666
prometheus: Add prefix on all metrics
...
All Prometheus metrics should have an application prefix
(https://prometheus.io/docs/practices/naming/#metric-names ).
Historically a few produced by Tasmota didn't. With this change the
function writing metrics always outputs the prefix.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-08-08 17:21:50 +02:00
Theo Arends
2e9dfdc64b
Add some debug info to NTP
2021-08-08 16:08:08 +02:00
Theo Arends
621a0eff11
Relax NTP poll if no ntpserver can be resolved by DNS ( #12838 )
2021-08-08 15:22:44 +02:00
Sillyfrog
2610f0b173
Fix race condition on rapid reconnect
2021-08-08 15:51:30 +10:00
Adrian Scillato
3d58912ef1
Set CORS as an optional feature in Webserver
2021-08-05 12:55:07 -03:00
Adrian Scillato
0b754a95a7
Make CORS to be optional
2021-08-05 12:50:56 -03:00
Theo Arends
b89e17c7f6
Change Mi Desk Pro template and remove the need for dedicated name
2021-08-05 09:43:08 +02:00
Theo Arends
bd3b08f1e8
Fix panic on Mi Desk rotary use - attempt 3
2021-08-04 17:52:31 +02:00
Theo Arends
907edb3704
Fix panic on Mi Desk rotary use - attempt 2
2021-08-04 17:22:13 +02:00
Theo Arends
b7da3ed6db
Fix panic on Mi Desk rotary use
2021-08-04 16:41:32 +02:00
Theo Arends
0025a1485b
Add support for (Yeelight) Mi Desk Pro using binary tasmota32solo1.bin and template named "Mi Desk Pro"
2021-08-04 14:30:13 +02:00
Theo Arends
5c775553be
Fix core 3.0.2 compile error
2021-08-03 15:37:03 +02:00
Theo Arends
45c4e57a03
Make Sonoff L1 MusicSync persistent ( #12008 )
2021-08-03 14:12:38 +02:00
Theo Arends
0d2432a15b
Fix TCP bridge compile error
2021-08-03 11:51:11 +02:00
Theo Arends
f29312415e
Merge pull request #12814 from sillyfrog/range-extender-upstream
...
Correct #if for compile time error notice in range_extender
2021-08-02 15:23:55 +02:00
Sillyfrog
89ad3f1b2c
Correct #if for compile time error notice
2021-08-02 22:08:40 +10:00
Theo Arends
4f47fc8527
Fix Neopool communication error ( #12813 )
2021-08-02 11:05:02 +02:00
Theo Arends
5edad9d3c9
Merge pull request #12811 from sillyfrog/range-extender-upstream
...
Minor updates to Range Extender
2021-08-02 10:47:14 +02:00
Norbert Richter
5b2d50613b
Add NPPHres, NPCLRes, NPIonRes description
2021-08-02 09:50:28 +02:00
Norbert Richter
4d861c1752
Fix NeoPool communication error
2021-08-02 09:44:42 +02:00
Norbert Richter
6f3878c9bc
Add neopool cmnd NPPHres, NPCLRes, NPIonRes
2021-08-02 09:44:42 +02:00
Norbert Richter
501bd45c2a
Add pH min to SENSOR result
2021-08-02 09:44:42 +02:00
Norbert Richter
ee7364eb0b
Fix cmnd desc
2021-08-02 09:44:42 +02:00
Sillyfrog
c326e9303a
Config Override RgxState & RgxNAPT, update inline docs
2021-08-02 10:25:32 +10:00
Theo Arends
5dc009b9c5
Oops forgot most changes.
2021-08-01 17:51:54 +02:00
Theo Arends
c3a1ba8de2
Initial wifi range extender ( #12784 )
2021-08-01 17:48:19 +02:00
James Lakin
f6bc8b6cd4
Add IP filter to TCPStart command
...
This is an optional second parameter to enable some very basic security.
2021-08-01 12:26:42 +01:00
Stephan Hadinger
14c4be9d51
ESP8266Audio library from v1.5.0 to v1.9.2
2021-07-30 16:34:50 +02:00
Theo Arends
173b9d8c88
Fix DzSend error message on valid command
2021-07-30 16:10:35 +02:00
Stephan Hadinger
cb1fbf2edc
Berry support for WAV audio
2021-07-30 13:09:31 +02:00
Stephan Hadinger
bbe3babe8b
Berry support for AES GCM and raw MQTT send/receive
2021-07-29 19:58:23 +02:00
Theo Arends
65b7034b0c
Support for second DNS server
2021-07-29 16:57:04 +02:00
Theo Arends
52b86eafe1
Add restart after multiple failed AP timeouts
2021-07-29 15:10:30 +02:00
Theo Arends
ccb8702605
Fix ESP32 PWM buzzer ( #12717 )
2021-07-28 18:37:21 +02:00
Theo Arends
9813e0f483
Add Tasmota discovery
2021-07-28 12:17:32 +02:00
Stephan Hadinger
52b29625a6
Berry simplidy globals for solidification
2021-07-27 21:39:24 +02:00
Theo Arends
901d4a6a17
Fix discovery compile error when no light is enabled
2021-07-27 15:50:00 +02:00
Theo Arends
e2b7cd96e6
Skip not used ESP32 GPIO init
2021-07-26 17:10:08 +02:00
Theo Arends
e039edde33
Enforce valid hostname
2021-07-26 15:10:47 +02:00
s-hadinger
37d350d9e1
LVGL new widget ``lv_wifi_bars`` ( #12752 )
...
* LVGL new widget ``lv_wifi_bars``
* Remove old code
2021-07-25 19:23:58 +02:00
Stephan Hadinger
21c3ac6727
Berry add ``tasmota.wifi()`` and ``tasmota.eth()``
2021-07-25 12:50:58 +02:00
s-hadinger
5a508fda32
Merge pull request #12733 from s-hadinger/lvgl_signal_bars
...
LVGL Fix solidified class lv_signal_bars
2021-07-23 17:08:16 +02:00
Stephan Hadinger
8dccf2767e
LVGL Fix solidified class lv_signal_bars
2021-07-23 15:22:54 +02:00
Jason2866
923be119a2
No LITTLEFS, always LittleFS
2021-07-23 11:34:14 +02:00
Stephan Hadinger
6cd3e37ed5
Berry LVGL improvements to allow custom widgets
2021-07-22 20:21:18 +02:00
Theo Arends
3d37712b27
Change message ``Upload buffer miscompare`` into ``Not enough space``
2021-07-22 15:14:58 +02:00
Theo Arends
80d5a143a5
Merge pull request #12718 from hansmi/promfix2
...
prometheus: Fix typo in comment
2021-07-22 08:33:34 +02:00
Stephan Hadinger
749d30a14f
LVGL fixes and examples
2021-07-21 23:17:53 +02:00
Michael Hanselmann
620fbbb9c0
prometheus: Fix typo in comment
...
The sentinel value is meant to be used for unknown memory values, not
known values of course.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-21 21:10:37 +02:00
Theo Arends
520612b67c
Fix discovery fails when using ``%hostname%`` in a topic ( #12710 )
2021-07-21 11:41:31 +02:00
Stephan Hadinger
0539e8ec32
Berry add tasmota.publish_result
2021-07-20 22:31:22 +02:00
Stephan Hadinger
84e58739a0
Berry add support for I2S audio mp3 playback
2021-07-20 21:05:10 +02:00
Theo Arends
f971a76e50
Merge pull request #12692 from hansmi/promfix1
...
Prometheus: Formatting fixes, utility functions, consistent memory metrics
2021-07-20 09:30:24 +02:00
Theo Arends
153a9a69da
Merge pull request #12690 from Jason2866/New_framework
...
Updated Arduino ESP32/IDF4.4 framework, LITTLEFS -> LittleFS
2021-07-20 09:21:32 +02:00
Theo Arends
e6bf020bc1
Merge pull request #12689 from gemu2015/sml_fix
...
fix =d mode
2021-07-20 09:20:45 +02:00
Adrian Scillato
2b8d8919cf
Merge pull request #12696 from ascillato/patch-3
...
Update Portuguese-BR Translation
2021-07-19 15:22:44 -03:00
Adrian Scillato
bf5662ecab
Merge pull request #12698 from ascillato/patch-4
...
LOG: Increase readability of project name and device name
2021-07-19 15:15:40 -03:00
Adrian Scillato
33fd2d62d7
Merge pull request #12697 from ascillato/patch-2
...
Update Portuguese-PT Translation
2021-07-19 15:02:02 -03:00
Adrian Scillato
6efd233f8f
Merge pull request #12693 from bovirus/patch-1
...
Update italian language
2021-07-19 14:54:17 -03:00
Adrian Scillato
ef885a5d30
Merge pull request #12695 from ascillato/patch-1
...
Update Spanish Translation
2021-07-19 14:28:30 -03:00
Adrian Scillato
c73bb9953a
LOG: Increase readability of project name and device name
2021-07-19 14:24:53 -03:00
Adrian Scillato
81a845d932
Update Portuguese-BR Translation
2021-07-19 14:06:35 -03:00
Adrian Scillato
c06dfc428d
Update Portuguese-PT Translation
2021-07-19 14:06:11 -03:00
Adrian Scillato
e0000c7f8a
Update DE-Localization File Version
2021-07-19 14:01:42 -03:00
Adrian Scillato
2a9d80bea2
Update IT-Localization File version
2021-07-19 13:59:56 -03:00
Adrian Scillato
ea65fa9164
Updated Spanish Translation
2021-07-19 13:57:32 -03:00
Jason2866
353c0b6130
Update de_DE.h
2021-07-19 18:15:14 +02:00
Marius Bezuidenhout
500a6ab6e2
Only respond when required data has been received
2021-07-19 17:52:42 +02:00
bovirus
78a5e7f30f
Update italian language
2021-07-19 17:41:38 +02:00
Michael Hanselmann
718f5fc9ab
prometheus: Unify memory metrics
...
The "memory fragmentation" value named "memory_ratio" was always
truncated to an integer, so in all likelyhood 0. It didn't work anyway
until the incorrect line termination was fixed in an earlier commit.
Neither could the Psram metric be parsed correctly due to the the same
incorrect line termination.
With this change memory usage is reported in line with Prometheus'
upstream recommendations (https://prometheus.io/docs/practices/naming/ ).
Labels are no longer used to separate distinct dimensions. Total and
free memory as well as the maximum allocation size are reported as
separate metrics where available while labels are used to differenciate
the separate kinds of memory (heap on all, psram on ESP32).
Label values are now also lowercase on ESP32 to match ESP8266.
Metrics should report their base values, not the result of
a calculation. Therefore the already non-working "fragmentation" metric
is dropped. It can easily be calculated in PromQL instead.
The renaming of metrics and label values makes this a breaking change,
especially on ESP32. With the aforementioned formatting errors which
made them unusable that shouldn't be a problem.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-19 13:35:59 +02:00
Michael Hanselmann
1b96833d6a
prometheus: Use utility functions to format metrics
...
Format strings for Prometheus metrics were written manually and the
`# TYPE` lines needed to be kept in sync with actual metrics. As
indicated by the previous commit it wasn't always as consistent as
desired. In addition there was a lot of repetition among the strings
which couldn't be reduced at build time.
With this change utility functions are introduced which eliminate the
need for specifying the same metric name more than once. At the same
time the proper escaping for label values, initially added in commit
16b5f2fe9
, is now applied for all labels.
The size of the program shrinks slightly by 212 bytes on ESP8266 in the
"tasmota" configuration with Prometheus enabled and 412 bytes on ESP32
with the "tasmota32" configuration.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-19 13:35:46 +02:00
Michael Hanselmann
7d15e15d8a
prometheus: Fix wrong format on ESP32, incorrect names in types
...
When built for ESP32 the memory fragmentation metric was incorrectly
terminated (likely a typo). The type information for
"tasmota_global_humidity_percentage" didn't include the "_percentage"
and "tasmota_sensors" wsa incorrect too.
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-19 13:35:27 +02:00
gemu2015
f6b527d189
fix =d mode
2021-07-19 09:55:43 +02:00
Jason2866
3ab4a2a3e0
New framework LITTLEFS -> LittleFS
2021-07-18 23:14:10 +02:00
Stephan Hadinger
f0f70ce1df
Fix compilation for ESP8266
2021-07-18 19:52:50 +02:00
Stephan Hadinger
1682582bea
Disable PSRAM on unsupported hardware
...
Either ESP32 rev1/2 that needs special fixes
`-DHAS_PSRAM_FIX -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround`
or ESP32-PICO-V3-02 that requires esp-idf 4.4
2021-07-18 19:43:33 +02:00
Stephan Hadinger
1bbf7b826a
Mark GPIOs 16 and 17 as read on ESP32, as they are used for PSRAM
2021-07-18 15:00:11 +02:00
Theo Arends
4173340c6a
Add support for CAN bus and Freedom Won Battery Management System by Marius Bezuidenhout ( #12651 )
2021-07-17 15:16:48 +02:00
Theo Arends
de2e86f022
Merge pull request #12651 from mbezuidenhout/feature/can-bus
...
Feature/can bus
2021-07-17 14:52:12 +02:00
Theo Arends
8162abd9d3
Fix Tasmesh special case packet size
2021-07-17 14:34:11 +02:00
Theo Arends
3d7c1091a7
Merge pull request #12659 from emontnemery/hass_white_tweak
...
Improve color light integration with HomeAssistant for so19 1
2021-07-16 13:41:05 +02:00
Stephan Hadinger
9d8626e9ca
Fix AXP192 lcd voltage for M5Stack Core2
2021-07-15 22:07:37 +02:00
Erik
978f2e3d5d
Use explicit color mode for RGBWW lights
2021-07-15 18:16:59 +02:00
Erik
c3d757ca95
Use hs color instead of rgb color
2021-07-15 17:51:40 +02:00
Erik
02de85efa7
Only enable white mode for RGBW lights
2021-07-15 16:16:51 +02:00
Erik
3c6471d5de
Improve RGBW light integration with HomeAssistant for so19 1
2021-07-15 16:07:30 +02:00
Theo Arends
e357513a49
Fix regression in adcparam restore
2021-07-15 14:28:52 +02:00
Theo Arends
d74929c3af
Fix regression ESP8266 compilation
2021-07-14 18:28:05 +02:00
Theo Arends
6cd9a7d899
Add command ``SetSensor1..127 0|1`` to globally disable individual sensor driver
2021-07-14 14:20:50 +02:00
Marius Bezuidenhout
5fec3b0ac7
Moved entries to end of list
2021-07-14 11:54:54 +02:00
Marius Bezuidenhout
f52ef2787a
Merge branch 'arendst:development' into feature/can-bus
2021-07-14 11:44:10 +02:00
Marius Bezuidenhout
425eb72305
Changed sensor number to 90
2021-07-14 11:43:26 +02:00
Theo Arends
0851549b10
Add support ESP32-C3 internal temperature sensor
2021-07-14 11:39:59 +02:00
Marius Bezuidenhout
33ae473906
Merge branch 'arendst:development' into feature/can-bus
2021-07-14 11:32:43 +02:00
Theo Arends
0282943d46
ESP32 internal sensor driver id moved from 87 to 127
2021-07-14 11:24:36 +02:00
Marius Bezuidenhout
7bbc858f09
Merge branch 'arendst:development' into feature/can-bus
2021-07-14 11:17:59 +02:00
Theo Arends
7e1565dee6
Move ESP32 temperature sensor to the end of the list
2021-07-14 10:57:05 +02:00
Marius Bezuidenhout
44e8b838cf
Added missing translations
2021-07-13 20:18:11 +02:00
Marius Bezuidenhout
8e7a314d29
Merge branch 'feature/can-bus' of github.com:mbezuidenhout/Tasmota-PetProjects into feature/can-bus
2021-07-13 17:11:59 +02:00
Marius Bezuidenhout
ef6b79a450
Merge branch 'arendst:development' into feature/can-bus
2021-07-13 17:11:43 +02:00
Marius Bezuidenhout
ad8b557bec
First working version
2021-07-13 16:49:40 +02:00
Theo Arends
5abadbf221
Fix ESP32 do not use chip temperature sensor as global temperature if external temperature sensor is used ( #12630 )
2021-07-13 16:44:28 +02:00
Theo Arends
a7297892ab
Update T67XX default configs
2021-07-13 12:01:46 +02:00
Theo Arends
499134e1bc
Release of Tasmota WebInstaller
2021-07-13 11:40:13 +02:00
Theo Arends
49e68eb473
Merge pull request #12573 from hk2k2/patch-4
...
Update xsns_35_tx20.ino - Supporting Technoline WS2300-15 Anemometer
2021-07-13 11:22:34 +02:00
Theo Arends
f7439ad1c4
Merge pull request #12618 from dizel-by/t67xx
...
Telaire T67XX CO2 sensor support
2021-07-13 11:20:07 +02:00
Theo Arends
3712aba031
Merge pull request #12624 from hansmi/prometheusdevicename1
...
Prometheus: Fix typos, improve documentation, expose device name
2021-07-13 11:12:46 +02:00
s-hadinger
76a0635491
LVGL add all callbacks ( #12636 )
...
* LVGL add all callbacks
* LVGL allow nil argument for init()
* Final touch
2021-07-12 22:53:31 +02:00
Marius Bezuidenhout
f14f86f6fe
Receiving SOC, SOH and Product name
2021-07-12 17:47:04 +02:00
Marius Bezuidenhout
024cc0b9b6
Added MCP2515 library and Freedom Won BMS sensor
2021-07-12 12:32:27 +02:00
mikep1998
5a5843b5ab
Until we provide a way to have our own modifiable copy tasmota_lv_conf.h I would like LV_USE_THEME_MONO defined. ( #12625 )
...
* Update xdrv_54_lvgl.ino
Fix compile error with LVGL define and without USE_BERRY defined
* Update xdrv_54_lvgl.ino
Fix compile error without Berry define.
* GPIO_XPT2046_CS is not specific to ILI9341
GPIO_XPT2046_CS is not specific to ILI9341 it is also used with ILI9488
* Update tasmota_lv_conf.h
2021-07-11 21:21:04 +02:00
Michael Hanselmann
16b5f2fe92
prometheus: Expose device name as part of device info
...
The device name can be useful to identify a particular instance in
Prometheus.
Example:
```
tasmota_info{...,devicename="livingroom"} 1
```
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-11 20:16:50 +02:00
Michael Hanselmann
9e441630f1
prometheus: Add comment with link to exposition format
...
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-11 20:16:37 +02:00
Michael Hanselmann
56ed94db42
prometheus: Fix typos in comments
...
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-11 20:16:37 +02:00