Commit Graph
28 Commits
Author SHA1 Message Date
sfromisandGitHub 70fa0c5ad5 Include USE_TCP_BRIDGE with tasmota-zigbee build (#24912)
Since tasmota-zigbee is for use with CC2530, it makes sense to have USE_TCP_BRIDGE included too, for users wanting to use it with Z2M or ZHA.
2026-07-22 17:27:05 +02:00
sfromisandGitHub 07493b4e69 Update tasmota_globals.h - WebColor consistency (#24833)
Noticed a small inconsistency of the default light WebColor palette not fully matching the light palette example in my_user_config.h and the docs WebUI page. The color for COLOR_BUTTON_OFF was a long time ago changed from dark blue #08405e to the better-working pale blue #a1d9f7 without this being reflected in the defaults used in the absence of another #define value.

Of course, this normally makes no difference as the standard my_user_config.h defines a full dark palette anyway, but still....
2026-06-13 14:10:47 +02:00
sfromisandGitHub 4384f9c98a Update my_user_config.h, USER_MODULE (#24590)
`#define MODULE USER_MODULE` needed to have `USER_TEMPLATE` string enabled by default. Better have this hint included in the file.
2026-03-25 12:28:34 +01:00
sfromisandGitHub 8266ed7b33 Update Shift595.be to avoid failing init (#24399)
PR https://github.com/arendst/Tasmota/pull/15468 to "simplify drivers" caused a breaking change to this specific one, as it will instantiate the class without arguments. This fails https://github.com/arendst/Tasmota/discussions/24380

Removing the empty argument list allows `import Shift595` (suggested in the code block) to work, and do the class instantiation there. Ok with this minimal fix, @s-hadinger or should more refactoring be done?
2026-02-24 12:38:38 +01:00
sfromisandGitHub 5b64b0d559 Update decode-status.py, SetOption165 text for TLS ECDSA validation (#24051)
SetOption165 was missing explanation text, copied from https://github.com/arendst/Tasmota/pull/24000 update of
https://github.com/arendst/Tasmota/blob/development/tasmota/include/tasmota_types.h#L202
2025-10-24 15:28:12 +02:00
sfromisandGitHub fe166b149f Update be_modtab.c, #ifdef nesting for USE_BERRY_ANIMATION (#23905)
Adjustment of #ifdef nesting, as confirmed by @s-hadinger 
https://discord.com/channels/479389167382691863/826169659811168276/1416406702613598228
2025-09-13 20:44:01 +02:00
sfromisandGitHub 27532f8d81 Update statedata.be topic handling (#23878)
Could would react to any topic including the string "STATE", specifically including "ZBSTATE" payload from the command "ZbScan"
2025-09-06 21:31:45 +02:00
sfromisandGitHub 1736c640f3 Update statedata.be with stop() method (#23875)
Code was calling stop() when reinitialized, but method was not defined
2025-09-06 08:38:05 +02:00
sfromisandGitHub e7f9f51e27 Update xsns_102_ld2402.ino, command table broken (#23504)
Command pointer table broken after refactoring https://github.com/arendst/Tasmota/commit/3a28938b9153d01e7ccef0a03d981251ced56123

The error with a comma before an entry instead of after, to match the other pointers, looks very obvious to me. Hence, I'm submitting this PR without having the hardware, and thus not able to do a runtime test.
2025-06-02 21:53:08 +02:00
sfromisandGitHub b684486570 Command lookup table in support_command.ino broken for ESP32 (#23461)
I observed that the definition of command names became mangled with commit https://github.com/arendst/Tasmota/commit/2bc5f682b04ab8fb0a7975763c1a4c2f4a8d54b5 due to vertical bar not being placed where it should. With no bar after `D_CMND_CPU_FREQUENCY`, the command name became concatenated with the next `D_CMND_SETSENSOR` with the "funny" effect that command name `CpuFrequencySetSensor` got matched with `&CmndSetSensor`

The reason for it not being matched with `&CmndCpuFrequency` is that there is a bar too many before the `Info` command name, as previous command name lines all finish with `"|"`. Hence an extra command table entry was created, meaning that the mismatch "only" affected command names `Info`, `TouchCal`, `TouchThres`, `CpuFrequency` and `SetSensor`.

Issue is only for ESP32, as both mishaps happened in a block conditional on `#ifdef ESP32`.

Arguably, it could make sense to have all the lines with command names start with `"|"` as a consistent way of formatting the lines without the special case of ending `"|"` to be omitted for the very last command name line, but I wanted to only make minimal changes
2025-05-22 22:13:52 +02:00
sfromisandGitHub cced48d824 Update uDisplay.h (#23273)
RGB565 value for pink was same as magenta. This is obviously wrong, hence correcting to the "pink" value from the docs.

While I'm far from certain about the "right" shading of color nuances, the correction does "reasonably pink" in my eyes (on a ST7789), and assuming that the value from the docs was sourced from something relevant to the small displays used with Tasmota, I consider the change to be at least a move in the right direction.

Still, the corrected value (FF80C0 in RGB888) does have the name "tea rose" when using HTML color codes as a reference, but "some people" may have more interest in long discussions like what pink "really" is.
2025-04-11 15:15:35 +02:00
sfromisandGitHub 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
sfromisandGitHub c07b8a59c0 Fixing build error xdrv_13_display.ino with JPEG_PICTS (#22265)
On ESP32, with `#define JPEG_PICTS` without the scripter, build fails due to the function `Draw_jpeg` being defined after use. Order swapped to satisfy the compiler.

Change tested to compile without errors, but not being 100% sure of when/how it is supposed to work, no verification of this.
2024-10-13 11:10:27 +02:00
sfromisandGitHub 77669f7e20 Update my_user_config.h (#21921)
Adding SetOption references for a few `#define`, to make the relation clear, and in the common searchable format like `[SetOption147]`. Also added that since some time now, this option covers both `SSerialReceived` and `IrReceived`.
2024-08-07 16:08:52 +02:00
sfromisandGitHub 311a9f18e6 Wrong feature bit for USE_SPL06_007 (#21286)
Obvious "typo" in setting the feature bit for this recently added sensor. Already mentioned in https://github.com/arendst/Tasmota/pull/21185#issuecomment-2071122611
2024-04-27 16:30:57 +02:00
sfromisandGitHub a757447e6d Update webserver_async.be (#20638) 2024-02-01 14:46:02 +01:00
sfromisandGitHub ab420b6cc1 DS18x20_USE_ID_AS_NAME in my_user_config.h (#19777)
Add mention of #define DS18x20_USE_ID_AS_NAME
2023-10-17 11:00:39 +02:00
sfromisandGitHub 6382c2806c More user-friendly defaults for DisplayMode and DisplayDimmer (#19138)
Changing default for DisplayMode from 1 to 0. Users are getting confused by the display doing something they did not ask for (and not being aware of DisplayMode). This got worse with LVGL/HASPmota displays becoming common, with users having much less reason to dive into the old DisplayXxxxx commands. And it may even be hard to see that it is even a display of time/date causing the display to flicker.

Changing default for DisplayDimmer from 10% to 50%. The low brightness of 10% is not always easy to see, especially in daylight. 50% is generally better, while not going "full blast" with 100%.
2023-07-18 08:26:51 +02:00
sfromisandGitHub b7c9182c14 Update decode-status.py to synchronize SetOption154/155 (#19078)
I noticed that the translation for SetOption154/155 bits did not match tasmota_types.h:
https://github.com/arendst/Tasmota/blob/development/tasmota/include/tasmota_types.h#L190-L191
2023-07-09 14:03:18 +02:00
sfromisandGitHub 387d3486d5 Typo in I2CDEVICES (#17908)
Sensor name TSL2591 was misspelled. Is this file automatically duplicated on docs, or should I fix the copy there?
2023-02-07 13:52:33 +01:00
sfromisandGitHub 5025e86d75 Meaning of SetOption15 swapped (#17884)
Noticed that the text incorrectly said value 1 for direct PWM control, and 0 for the default as a light.
2023-02-05 13:34:02 +01:00
sfromisandGitHub 4a3a52cd3e Epoch in Berry map for time
Inserts input epoch value directly into the output map, for consistently having epoch in this data structure
2022-10-09 16:12:16 +02:00
sfromisandGitHub 409c9888dd Epoch in Berry map for time
Uses mktime to calculate the epoch value from the broken-down time structure, could potentially be tuned if deemed too inefficient in case of the caller already having the epoch value nearby.
2022-10-09 16:09:29 +02:00
sfromisandGitHub 4dc210004a Inconsistencies in decode-status.py feature flags
Not all flag names were updated to match updates to Tasmota source in `support_features.ino`. I assume the changes to be uncontroversial, with the possible exception of:

While `USE_TUYA_DIMMER` arguably is a more descriptive name than `USE_TUYA_MCU` the former name is not found anywhere in Tasmota code, which has 
```
#if defined(USE_LIGHT) && defined(USE_TUYA_MCU)
    feature2 |= 0x00008000;  // xdrv_16_tuyadimmer.ino
#endif
```
My assumption is that the actually used names "wins", to avoid user confusion, even if you could say that the name `USE_TUYA_MCU` is too broad for the actual feature. In principle, it would be more logical to create a new "real" `#define` name, but backwards compatibility and all that.... Makes sense? 
I'm ok either way....
2022-01-13 21:38:56 +01:00
sfromisandYves De Muyter 6987591714 Fix off by one error
Oops, warning about too old python script came when it should not.
2021-05-16 19:27:43 +02:00
sfromisandYves De Muyter 63f1334296 Expand decode-status to support all feature bits
Output of decode-status.py lacks information about the latest two new sets of feature bits, due to the constant for array size not being updated when the array was expanded. Code changed to avoid this magical number, but instead check size of array with texts, and array with features from the JSON format in Status 4, using the lowest number to provide as many bits as both Tasmota version and Python code supports. A warning is printed if the number of feature bits from Tasmota is higher than supported in the current iteration of Python code.

Based on history, I'm assuming that updates are first done in arendst/Tasmota development, later replicated to tasmota/Tasmota-decode-status. If wrong, I can move the change there.
2021-05-16 19:27:43 +02:00
sfromisandGitHub 4e7c991f3d Fix off by one error
Oops, warning about too old python script came when it should not.
2021-05-12 23:20:16 +02:00
sfromisandGitHub 972e39b607 Expand decode-status to support all feature bits
Output of decode-status.py lacks information about the latest two new sets of feature bits, due to the constant for array size not being updated when the array was expanded. Code changed to avoid this magical number, but instead check size of array with texts, and array with features from the JSON format in Status 4, using the lowest number to provide as many bits as both Tasmota version and Python code supports. A warning is printed if the number of feature bits from Tasmota is higher than supported in the current iteration of Python code.

Based on history, I'm assuming that updates are first done in arendst/Tasmota development, later replicated to tasmota/Tasmota-decode-status. If wrong, I can move the change there.
2021-05-12 18:44:13 +02:00