esphome / esphome/feature-requests

Support for Sonoff SC

Open
#140 5 comments 0 reactions 0 assignees View on GitHub
Type: Device
Dominant language
No language data
Stars
450
Forks
29
PR merge metrics
No merged PRs in 30d

Description

**Describe the problem you have/What new integration you would like**
I managed to migrate my Sonoff basic devices from Tasmota to esphome. But facing issues with Sonoff sc. Initially I flashed sonoff sc using OTA. But can't figure out how to define the sensors available in Sonoff SC in esphome yaml file. I'd really love to have a cookbook for Sonoff SC.

**Please describe your use case for this integration and alternatives you've tried:**
I have tried following sensor definition in my esphome yaml file for DHT11 sensor.
`sensor:
- platform: dht
model: DHT11
pin: 10
temperature:
name: "Sonoff Temperature"
humidity:
name: "Sonoff Humidity"
update_interval: 10s`

This is what i found in the logs.

`14:01:26][W][sensor.dht:140]: Requesting data from DHT failed!
[14:01:26][W][sensor.dht:076]: Invalid readings! Please check your wiring (pull-up resistor, pin number).`

**Additional context**
Sonoff SC is a sensor station that packs a DHT11 temperature and humidity sensor, a GM55 LDR, a microphone with an amplifier circuit and a Sharp GP2Y1010AU0F dust sensor.
Here is the schematic of sonoff SC. [https://www.itead.cc/wiki/images/f/f7/Sonoff-SC-Schematic.pdf](url).

Datasheet for Sharp GP2Y1010AU0F dust sensor: [https://www.sparkfun.com/datasheets/Sensors/gp2y1010au_e.pdf](url)

Datasheet for GM55 LDR: [https://www.sunrom.com/get/443700](url)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.