Update changelogs / gpioviewer / wizmote

This commit is contained in:
Theo Arends 2025-02-24 15:23:59 +01:00
parent fd0501035d
commit 3f74bc83e5
4 changed files with 16 additions and 7 deletions

View File

@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file.
- LVGL, prepare for HASPmota theme, change: no-grow when clicked, DPI set to 160 (#23040)
- LVGL Mirroring add checkbox to enable/disable the feature (in the iterim for a better solution) (#23047)
- Leds Panel add checkbox to enable/disable the feature (in the iterim for a better solution) (#23048)
- GPIOViewer from v1.6.1 to v1.6.2 (No functional change)
### Fixed
- Too many zeros in RCSwitch received data regression from v14.4.1.4 (#23050)

View File

@ -125,6 +125,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm
### Breaking Changed
### Changed
- GPIOViewer from v1.6.1 to v1.6.2 (No functional change)
- LVGL, prepare for HASPmota theme, change: no-grow when clicked, DPI set to 160 [#23040](https://github.com/arendst/Tasmota/issues/23040)
- LVGL Mirroring add checkbox to enable/disable the feature (in the iterim for a better solution) [#23047](https://github.com/arendst/Tasmota/issues/23047)
- Leds Panel add checkbox to enable/disable the feature (in the iterim for a better solution) [#23048](https://github.com/arendst/Tasmota/issues/23048)

View File

@ -30,6 +30,9 @@
* GvUrl 1 - Select default url (GV_BASE_URL)
* GvUrl https://thelastoutpostworkshop.github.io/microcontroller_devkit/gpio_viewer_1_5/
*
* Note 20250223
* - GVRelease 1.6.2 (No code change)
*
* Note 20250126
* - GVRelease 1.6.1 (No code change)
*
@ -86,7 +89,7 @@
#define GV_KEEP_ALIVE 1000 // milliseconds - If no activity after this do a heap size event anyway
const char *GVRelease = "1.6.1";
const char *GVRelease = "1.6.2";
/*********************************************************************************************/

View File

@ -13,9 +13,10 @@
* Enable with command `SetOption164 1`
*
* If USE_WIZMOTE_COMMISSION is enabled you have a WIZMOTE_COMMISSION_WINDOW after restart or
* after command `SetOption164 1` to register a persistent WiZMote id. This supports multi-press
* power control. If a light is configured it supports dimming control too. In that case no rule
* is needed.
* after command `SetOption164 1` to register a persistent WiZMote id by pressing the ON button
* three times. This supports multi-press power control. If a light is configured it supports
* dimming control too. In that case no rule is needed.
* Pressing the OFF button three times will de-register the WizMote id.
*
* Example rule for color led
* on wizmote#action do var1 %value% endon - Store current button
@ -164,7 +165,7 @@ void WizMoteResponse(void) {
#ifdef USE_WIZMOTE_COMMISSION
uint32_t now;
if (WizMote.comm_id == WizMote.id) { // Commissionend id
if (WizMote.comm_id == WizMote.id) { // Commissioned id
now = millis();
if (WizMote.delayed_index && WizMote.count && (WizMote.last_press < now)) {
ExecuteCommandPower(WizMote.count, WizMote.delayed_index -1, SRC_REMOTE);
@ -186,14 +187,17 @@ void WizMoteResponse(void) {
Settings->keeloq_serial = WizMote.comm_id;
}
WizMote.comm_window = TasmotaGlobal.uptime;
AddLog(LOG_LEVEL_DEBUG, PSTR("WIZ: %sommissionend"), (WizMote.comm_id) ? "C" : "De-c");
AddLog(LOG_LEVEL_DEBUG, PSTR("WIZ: %sommissioned"), (WizMote.comm_id) ? "C" : "Dec");
ExecuteCommandPower(1, 2, SRC_REMOTE); // Toggle light as feedback of (de)commission
delay(500);
ExecuteCommandPower(1, 2, SRC_REMOTE);
}
}
WizMote.index = 0;
return;
}
if (WizMote.comm_id == WizMote.id) { // Commissionend id
if (WizMote.comm_id == WizMote.id) { // Commissioned id
switch(WizMote.index) {
case 1: // OFF
case 2: // ON