diff --git a/tasmota/include/tasmota_types.h b/tasmota/include/tasmota_types.h index 2e672f088..bbb4fddbc 100644 --- a/tasmota/include/tasmota_types.h +++ b/tasmota/include/tasmota_types.h @@ -184,7 +184,7 @@ typedef union { // Restricted by MISRA-C Rule 18.4 bu uint32_t artnet_autorun : 1; // bit 2 (v12.2.0.4) - SetOption148 - (Light) start DMX ArtNet at boot, listen to UDP port as soon as network is up uint32_t dns_ipv6_priority : 1; // bit 3 (v12.2.0.6) - SetOption149 - (Wifi) prefer IPv6 DNS resolution to IPv4 address when available. Requires `#define USE_IPV6` uint32_t no_voltage_common : 1; // bit 4 (v12.3.1.5) - SetOption150 - (Energy) Force no voltage/frequency common - uint32_t spare05 : 1; // bit 5 + uint32_t matter_enabled : 1; // bit 5 (v12.3.1.5) - SetOption151 - (Matter) Enable Matter protocol over Wifi uint32_t spare06 : 1; // bit 6 uint32_t spare07 : 1; // bit 7 uint32_t spare08 : 1; // bit 8 diff --git a/tasmota/tasmota_support/support_command.ino b/tasmota/tasmota_support/support_command.ino index ff3bcb891..4709fc309 100644 --- a/tasmota/tasmota_support/support_command.ino +++ b/tasmota/tasmota_support/support_command.ino @@ -1449,6 +1449,11 @@ void CmndSetoptionBase(bool indexed) { } else if (6 == ptype) { // SetOption146 .. 177 bitWrite(Settings->flag6.data, pindex, XdrvMailbox.payload); + switch (pindex) { + case 5: // SetOption151 - Matter enabled + TasmotaGlobal.restart_flag = 2; + break; + } } } else { ptype = 99; // Command Error