Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KC868 Uair  external sensor SHT3xD erro
#1
I'm trying to load the Uair with external sensor and got the below error:

19:16:51][C][dallas.temp.sensor:036]:  Update Interval: 60.0s
[19:16:51][C][sht3xd:049]: SHT3xD:
[19:16:51][D][sht3xd:055]:  Error reading serial number
[19:16:51][E][sht3xd:064]:  Communication with SHT3xD failed!
[19:16:51][E][component:082]:  Component sht3xd.sensor is marked FAILED
[19:16:51][C][captive_portal:088]: Captive Portal:
[19:16:51][C][mdns:115]: mDNS:


Attached Files Image(s)
   
Reply
#2
upload your ESPHome yaml file at here.
Reply
#3
esphome:
name: kc868-uair
platform: ESP32
board: esp32dev

on_boot:
priority: 200
then:
- lambda: |-
delay(500);

external_components:
- source:
type: git
url: https://github.com/mrtoy-me/esphome-my-components
# ref: main
components: [ sht3xd ]


# Enable logging
logger:

# Enable Home Assistant API
api:

ota:
- platform: esphome
password: "978e66f878ed5041b830cfb427383c79"

wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password



captive_portal:

# follow configure use for DS18B20 temperature sensor, SHT30 temperature and humidity sensor. WS2812B RGB LEDs.
i2c:
sda: 4
scl: 16
scan: true
id: bus_a
frequency: 800khz
timeout: 10ms

# Example configuration entry

one_wire:
- platform: gpio
pin: GPIO27

# Individual sensors
sensor:
- platform: dallas_temp
address: 0x840000000d028228 # your DS18B20 address
name: "internal Temperature"


# Example configuration entry
- platform: sht3xd
temperature:
name: "extend Temperature"
humidity:
name: "extend Humidity"
address: 0x44
update_interval: 15s

light:
- platform: fastled_clockless
chipset: WS2812B
pin: GPIO32 # Pin Define connected with LED strip
num_leds: 4 #LEDs number
rgb_order: GRB
name: "Uair-Bottom-LED"
effects:
- addressable_rainbow: ##defined 7 effects styles
- addressable_color_wipe:
- addressable_scan:
- addressable_twinkle:
- addressable_random_twinkle:
- addressable_fireworks:
- addressable_flicker:

- platform: fastled_clockless
chipset: WS2812B
pin: GPIO33 # Pin Define connected with LED strip
num_leds: 1 #LEDs number
rgb_order: RGB
name: "Uair-Vertical-LED"
effects:
- addressable_rainbow: ##defined 7 effects styles
- addressable_color_wipe:
- addressable_scan:
- addressable_twinkle:
- addressable_random_twinkle:
- addressable_fireworks:
- addressable_flicker:

ESPhome Current version: 2024.6.2
Reply
#4
can you use my yaml file to test SHT30 sensor.
.txt   HA_Uair.txt (Size: 1.6 KB / Downloads: 44)
Reply
#5
Dallas is not supported in the new esp home version 2024.6.2
Although I used your code and make it computable with the new ESP version and got same error
Reply
#6
my means whether SHT30 work well.
if you want use DS18B20, see this topic, our customer have already worked with new ESPHome:
https://www.kincony.com/forum/showthread.php?tid=5939
Reply
#7
for the internal temperature its shown but external Nop, it shows 0C temp and 0 Humidity
Reply
#8
i think it's i2c extend usb cable pins define problem.  before i am using 4-wires USB mini cable in YouTube video. here is photo:
   
But now you are using 5-wires. Here is our PCB usb pin define.can you use a multi meter to check whether the vcc,gnd,sda,scl pin is connect correctly. also make sure you have connected with correct USB port of Uair box.
   
Reply


Forum Jump:


Users browsing this thread:
1 Guest(s)