Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom ESPHome firmware and Tuya integration
#31
that need to use tuya license.
Reply
#32
(10-13-2025, 10:18 AM)admin Wrote: that need to use tuya license.

I have license for KC868-A6 
I use example in  GitHub - hzkincony/esphome-tuya-iot 
change   ref: v1.2.0 to  ref: v1.2.1
external_components:
  - source:
      type: git
      url: https://github.com/hzkincony/esphome-tuya-iot
      ref: v1.2.1


and get error in 

src/esphome/components/tuya_iot/tuya_iot_component.cpp: In member function 'virtual void esphome::tuya_iot::TuyaIotComponent::update()':
src/esphome/components/tuya_iot/tuya_iot_component.cpp:292:19: error: 'esp_mqtt_client_config_t' {aka 'struct esp_mqtt_client_config_t'} has no member named 'username'
292 | mqtt_cfg_.username = username;


my mqtt correct
mqtt:
  broker: !secret mqtt_host
  username: !secret mqtt_username
  password: !secret mqtt_password
  id: mqtt_client
 
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)