Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
B16 ESPHome yaml for home assistant with tuya
#2
I have purchased a B16. And I run this YAML file to flash. These are the errors I have received. Attached is the log.
.txt   logs_b16_run.txt (Size: 28.98 KB / Downloads: 119)

1. WARNING Using `switch.SWITCH_SCHEMA` is deprecated and will be removed in ESPHome 2025.11.0. Please use `switch.switch_schema(...)` instead. If you are seeing this, report an issue to the external_component author and ask them to update it. https://developers.esphome.io/blog/2025/...recations/. Component using this schema: tuya_wifi_mcu 

and then this:

2.
Compiling .pioenvs/b16/FrameworkArduino/FunctionalInterrupt.cpp.o 
.piolibdeps/b16/Tuya_WiFi_MCU_SDK/src/TuyaWifi.cpp: In constructor 'TuyaWifi::TuyaWifi()': 
.piolibdeps/b16/Tuya_WiFi_MCU_SDK/src/TuyaWifi.cpp:34:33: error: no matching function for call to 'TuyaUart:Confusedet_serial(USBCDC*)' 
    tuya_uart.set_serial(&Serial); 
                                           ^ 
In file included from .piolibdeps/b16/Tuya_WiFi_MCU_SDK/src/TuyaWifi.h:19,
                      from .piolibdeps/b16/Tuya_WiFi_MCU_SDK/src/TuyaWifi.cpp:15: .piolibdeps/b16/Tuya_WiFi_MCU_SDK/src/TuyaUart.h:46:10: note: candidate: 'void TuyaUart:Confusedet_serial(HardwareSerial*)'
                                void set_serial(TY_UART *serial); 
^~~~~~~~~~ 
.piolibdeps/b16/Tuya_WiFi_MCU_SDK/src/TuyaUart.h:46:10: note: no known conversion for argument 1 from 'USBCDC*' to 'HardwareSerial*' 
*** [.pioenvs/b16/libe10/Tuya_WiFi_MCU_SDK/TuyaWifi.cpp.o] Error 1 
========================= [FAILED] Took 238.15 seconds =========================
Reply


Messages In This Thread
RE: B16 ESPHome yaml for home assistant with tuya - by ck1 - 07-03-2025, 07:00 AM

Forum Jump:


Users browsing this thread:
1 Guest(s)