Commit Graph

20069 Commits

Author SHA1 Message Date
Marko Mäkelä 555dc04846 CheapPower module
This fetches electricity prices and chooses the cheapest future time slot.
Currently, the only data source is the Nordpool prices for Finland, as
provided by ENTSO-E and https://sahkotin.fi. To use:

 * copy cheap_power.tapp to the file system
 * Invoke the Tasmota command CheapPower1, CheapPower2, … to
  * download prices for the next 24 to 48 hours
  * automatically choose the cheapest future time slot
  * to schedule Power1 ON, Power2 ON, … at the chosen slot
  * to install a Web UI in the main menu
 * For a full installation, you will want something like the following:
```
Backlog0 Timezone 99; TimeStd 0,0,10,1,4,120; TimeDst 0,0,3,1,3,180

Backlog0 SwitchMode1 15; SwitchTopic1 0
Backlog0 WebButton1 boiler; WebButton2 heat
PulseTime1 3700

Rule1 ON Clock#Timer DO CheapPower1 ENDON
Timer {"Enable":1,"Mode":0,"Time":"18:00","Window":0,"Days":"1111111","Repeat":1,"Output":1,"Action":3}
Rule1 1
Timers 1
```
The download schedule can be adjusted in the timer configuration menu.
The prices for the next day will typically be updated in the afternoon
or evening of the previous day.

In case the prices cannot be downloaded, the download will be retried
in 1, 2, 4, 8, 16, 32, 64, 64, 64, … minutes until it succeeds.

The user interface in the main menu consists of 4 buttons:
⏮ moves to the previous time slot (or wraps from the first to the last)
⏯ pauses (switches off) or chooses the optimal slot
🔄 requests the prices to be downloaded and the optimal slot to be chosen
⏭ moves to the next time slot (or wraps from the last to the first)

The status output above the buttons may also indicate that the output
is paused until further command or price update:
⭘
It may also indicate the start time and the price of the slot:
⭙ 2024-11-22 21:00	12.8 ¢

I am using this for controlling a 3×2kW warm water boiler.
For my usage, 1 hour every 24 or 48 hours is sufficient.
2024-12-15 21:00:34 +02:00
Theo Arends b3b9699782 Display related fixes
- CHange Display removed PWM control of backlight GPIO for universal display regression from v14.1.0
- Fix Display DisplayMode adds a display device while not configured
- Fix GUI intermittent exception on screen updates due to flash access
2024-12-15 00:32:51 +01:00
s-hadinger 615c6763f6
Tls ecdsa (#22649)
* TLS add support for ECDSA on ESP32

* Reduce size for ESP8266
2024-12-14 22:39:45 +01:00
Theo Arends 7cd0908c89 Update changelogs 2024-12-14 16:39:15 +01:00
Theo Arends bd6e7d220d Add MCP23xxx ODR control over interrupt type 2024-12-14 15:41:59 +01:00
Ryan Castellucci 8d1b4094db
clean up remnents of old fingerprint algo (#22645) 2024-12-14 15:35:14 +01:00
s-hadinger 67ae7c2fe1
Berry make Leds animate calls reentrant (#22643) 2024-12-14 15:21:30 +01:00
Theo Arends 5294b99ba7 Fix MCP23xxx, PCF8574 and Shift595 power control when a display is configured regression from v14.3.0.7 2024-12-14 14:31:16 +01:00
Theo Arends 53e2fab34c Fix MCP23XXX driver open-drain interrupt 2024-12-13 17:20:36 +01:00
Theo Arends ab5208d216 Refactor GUI 2024-12-13 15:06:14 +01:00
Theo Arends f135f46990 Fix more GUI issues 2024-12-13 11:55:45 +01:00
Theo Arends 9650d0f1ef Fix GUI display power button regression from v14.3.0.5 (#15788) 2024-12-13 00:17:25 +01:00
s-hadinger 7834dbf6b6
Berry Leds fix and cleaning (#22640) 2024-12-12 20:55:29 +01:00
TheHexaMaster 1099babb16
Create ST7701_480x480_WS_4inch.ini (#22638)
Display driver for 4inch display with ST7701 driver and GT911 touch driver including correct pinout and correct init process trought SPI. Used in WaveShare ESP32-S3-4inch display board.
2024-12-12 18:37:23 +01:00
sfromis 3e3b568aeb
Update my_user_config.h WebColor (#22639)
Aligned comments for WebColor with the standard themes on the WebUI docs page, and replaced tabs by spaces for consistent formatting.
2024-12-12 18:28:12 +01:00
Theo Arends 620fade73c Fix ESP32 rules operation priority regression from v13.3.0.4 (#22636) 2024-12-12 15:34:43 +01:00
Christian Baars 6268066bac
make regex more flexible for different quotation marks (#22629) 2024-12-12 11:21:47 +01:00
Theo Arends dc7cb05cab Add MCP23XXX_DRV control register IOCON in template (#22622) 2024-12-11 17:43:56 +01:00
Theo Arends d08aafd3fb Update version 2024-12-11 11:11:20 +01:00
Theo Arends ee3fbdf4e0 Bump version v14.4.0.1 2024-12-11 11:10:37 +01:00
Theo Arends 4008a4e5e6 Move debug message to debug_more 2024-12-10 16:36:22 +01:00
Theo Arends 3c51793d5c Reduce stack usage 2024-12-10 11:39:37 +01:00
s-hadinger bdf880cf84
Improved auto-selection of LED hardware support (RMT, SPI) (#22618) 2024-12-09 23:22:52 +01:00
s-hadinger c1834bd898
WS2812 remove waits for RMT and SPI (#22617) 2024-12-09 22:45:23 +01:00
s-hadinger a12c934a4b
Rename Matter configuration menu (#22615) 2024-12-09 21:12:02 +01:00
Theo Arends 71dfae2d9d Fix ESP8266 Device Group exception due to lack of stack space (#22271) 2024-12-09 15:16:30 +01:00
Theo Arends 23e5a4dec2 Change RG-15 sensor name from RG-15 to RG15 (#22612) 2024-12-09 11:17:04 +01:00
SteWers 09f0b89ab0
Language improvements (#22607)
Some language improvements
2024-12-08 21:19:01 +01:00
Theo Arends d6c1617fc5 Skip code not needed on single phase 2024-12-08 14:43:48 +01:00
s-hadinger 2969ee91a4 Solidified Code updated 2024-12-08 09:30:29 +00:00
s-hadinger 364fa21fc4
Haspmota fix chart color series 2024-12-08 10:29:45 +01:00
Theo Arends ed520140a1 Add support for Sonoff POWCT Energy Export Active (#22596) 2024-12-07 22:44:45 +01:00
SteWers 523f803b06
Fix DE language (#22603)
* Fix DE language

* Update de_DE.h
2024-12-07 19:50:56 +01:00
Theo Arends aeb965435e Fix ESP32 energy export calculation 2024-12-07 18:01:33 +01:00
Theo Arends 7df2c703a1 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2024-12-07 15:09:11 +01:00
Theo Arends 54d28c9d35 Update changelogs 2024-12-07 15:08:57 +01:00
arendst dd555a0641 Solidified Code updated 2024-12-07 13:58:23 +00:00
bovirus 0a2fa4ec41
Update Italian language (#22601) 2024-12-07 14:57:31 +01:00
Theo Arends 6e6305f5e9 Rename button Auto-configuration to Auto-Conf 2024-12-07 14:57:13 +01:00
Jason2866 57fc179709
Platform 2024.12.30 Tasmota Arduino Core 3.1.0.241206 based on IDF 5.3.2 (#22600)
* core 3.1.0.241206
* Enterprise support is now conditional in core
2024-12-07 14:30:04 +01:00
Theo Arends 3a62cc6050 Add udp.flush() to KNX receiver (#22242) 2024-12-07 12:38:14 +01:00
Theo Arends 789bbb8b97 Extent command Knx_Enabled with KNX restart functionality (#22242) 2024-12-06 17:40:05 +01:00
Theo Arends 4ffc53b465 Shorten menus and add submenu headers (#22592) 2024-12-06 17:02:44 +01:00
Jason2866 f341f8d35a
language (DE): shorten (Menü) Texts (#22594)
* language (DE): shorten (Menü) Texts

* KNX: einmalig -> eindeutig
2024-12-06 15:48:05 +01:00
gemu 9317e02f25
recode powerwall (#22589) 2024-12-05 15:42:20 +01:00
Theo Arends b80cc6a3e6 Fix select list and possible input buffer overflow (#22405) 2024-12-05 13:31:14 +01:00
stefanbode ccd76b26ed
Re-enable shutter report on teleperiod (#22586)
* Reactivate shutter report on teleperiod

* Reactivate shutter report on teleperiod
2024-12-04 11:43:51 +01:00
Theo Arends f72769252e Fix KNX Scenes index change regression from v14.2.0.4 (#22405) 2024-12-04 10:52:00 +01:00
Theo Arends 6b753cff44 Fix ESP32 Shift595 relay click on restart 2024-12-03 17:15:14 +01:00
Theo Arends 570e2052d3 Fix compilation 2024-12-03 11:37:39 +01:00