esphome / feature-requests

ESPHome Feature Request Tracker
https://esphome.io/
411 stars 26 forks source link

Support for Sensirion SHT1x sensors #494

Open m-pavel opened 4 years ago

m-pavel commented 4 years ago

Describe the problem you have/What new integration you would like

Support for the Sensirion SHT1x temperature/humidity sensors Please describe your use case for this integration and alternatives you've tried:

Standard stuff: read data, post to MQTT. Additional context

m-pavel commented 4 years ago

It's not exact I2C device, I did custom sensor for SHT1x using this library. Here is a gist https://gist.github.com/m-pavel/14a03c967067ee8a8b11fa34184fe3e2

Nzxtime commented 4 years ago

How did you connect the sensor with your ESP? I tried your solution and somehow I don't get any data or -40 °C when nothing is connected.

m-pavel commented 4 years ago

Nothing special, just 10k pullup resistor between Vcc and data pin.

Nzxtime commented 4 years ago

So I tried to connect every pin accordingly to the pinout (see below) and put a 10k pullup resistor between Vcc und data pin, but I still can't get any information in ESPHome.

Thank you in advance.

Picture of the wiring

nagyrobi commented 2 years ago

SHT1x is end of life...

landonr commented 7 months ago

https://github.com/landonr/esphome-components/tree/main/components/SHT1XSensor

external_components:
  - source: github://landonr/esphome-components
    components: [ SHT1XSensor ]

SHT1XSensor:
  update_interval: 10s
  data_pin: 22
  clock_pin: 23
  humidity: 
    id: humidity_sensor
    internal: false
  temperature: 
    id: temperature_sensor
    internal: false