Skip to content

Firmware will not compile any longer - dmaker.fan.p33 #93

@scrampker

Description

@scrampker

I haven't been able to upgrade my Mi Smart Fan 2 for the last few weeks. Any thoughts?

INFO ESPHome 2025.11.2
INFO Reading configuration /config/esphome/master-bedroom-desk-fannn.yaml...
WARNING The minimum WiFi authentication mode (wifi -> min_auth_mode) is not set. This controls the weakest encryption your device will accept when connecting to WiFi. Currently defaults to WPA (less secure), but will change to WPA2 (more secure) in 2026.6.0. WPA uses TKIP encryption which has known security vulnerabilities and should be avoided. WPA2 uses AES encryption which is significantly more secure. To silence this warning, explicitly set min_auth_mode under 'wifi:'. If your router supports WPA2 or WPA3, set 'min_auth_mode: WPA2'. If your router only supports WPA, set 'min_auth_mode: WPA'.
INFO Generating C++ source...
INFO Compiling app... Build path: /data/build/mi-smart-standing-fan
Processing mi-smart-standing-fan (board: esp_wroom_02; framework: arduino; platform: platformio/[email protected])

HARDWARE: ESP8266 80MHz, 80KB RAM, 2MB Flash
Dependency Graph
|-- ESPAsyncTCP @ 2.0.0
|-- ESP8266WiFi @ 1.0
|-- ESPAsyncWebServer @ 3.7.10
|-- DNSServer @ 1.1.1
|-- ESP8266mDNS @ 1.2
|-- noise-c @ 0.1.10
Compiling .pioenvs/mi-smart-standing-fan/src/esphome/components/miot/select/miot_select.cpp.o
Compiling .pioenvs/mi-smart-standing-fan/src/esphome/components/number/automation.cpp.o
Compiling .pioenvs/mi-smart-standing-fan/src/esphome/components/number/number.cpp.o
Compiling .pioenvs/mi-smart-standing-fan/src/esphome/components/number/number_call.cpp.o
src/esphome/components/miot/select/miot_select.cpp: In lambda function:
src/esphome/components/miot/select/miot_select.cpp:13:45: error: use of deleted function 'esphome::FixedVector::FixedVector(const esphome::FixedVector&) [with T = const char*]'
13 | auto options = this->traits.get_options();
| ^
In file included from src/esphome/core/entity_base.h:6,
from src/esphome/components/select/select.h:4,
from src/esphome/components/miot/select/miot_select.h:6,
from src/esphome/components/miot/select/miot_select.cpp:2:
src/esphome/core/helpers.h:220:3: note: declared here
220 | FixedVector(const FixedVector &) = delete;
| ^~~~~~~~~~~
src/esphome/components/miot/select/miot_select.cpp: In member function 'virtual void esphome::miot::MiotSelect::dump_config()':
src/esphome/components/miot/select/miot_select.cpp:44:43: error: use of deleted function 'esphome::FixedVector::FixedVector(const esphome::FixedVector&) [with T = const char*]'
44 | auto options = this->traits.get_options();
| ^
In file included from src/esphome/core/entity_base.h:6,
from src/esphome/components/select/select.h:4,
from src/esphome/components/miot/select/miot_select.h:6,
from src/esphome/components/miot/select/miot_select.cpp:2:
src/esphome/core/helpers.h:220:3: note: declared here
220 | FixedVector(const FixedVector &) = delete;
| ^~~~~~~~~~~
In file included from src/esphome/components/miot/select/miot_select.cpp:1:
src/esphome/components/miot/select/miot_select.cpp:46:75: error: request for member 'c_str' in 'options.esphome::FixedVector<const char*>::at(((size_t)i))', which is of non-class type 'const char*'
46 | ESP_LOGCONFIG(TAG, " %i: %s", this->mappings_.at(i), options.at(i).c_str());
| ^~~~~
src/esphome/core/log.h:101:101: note: in definition of macro 'esph_log_config'
101 | ::esphome::esp_log_printf_(ESPHOME_LOG_LEVEL_CONFIG, tag, LINE, ESPHOME_LOG_FORMAT(format), ##VA_ARGS)
| ^~~~~~~~~~~
src/esphome/components/miot/select/miot_select.cpp:46:5: note: in expansion of macro 'ESP_LOGCONFIG'
46 | ESP_LOGCONFIG(TAG, " %i: %s", this->mappings_.at(i), options.at(i).c_str());
| ^~~~~~~~~~~~~
Compiling .pioenvs/mi-smart-standing-fan/src/esphome/components/number/number_traits.cpp.o
Compiling .pioenvs/mi-smart-standing-fan/src/esphome/components/ota/ota_backend.cpp.o
*** [.pioenvs/mi-smart-standing-fan/src/esphome/components/miot/select/miot_select.cpp.o] Error 1
========================== [FAILED] Took 2.09 seconds ==========================

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions