FHEM Forum

Verschiedenes => Bastelecke => ESP Familie => Thema gestartet von: Mikesch am 11 Februar 2018, 20:15:57

Titel: Sonoff TH10 mit Si7021
Beitrag von: Mikesch am 11 Februar 2018, 20:15:57
Hallo,
ich habe hier den Sonoff TH10 mit ITEAD Si7021 Sensor, die Tasmota Firmware habe ich geflasht.
In den Einstellungen kann man den Sensor angeben, ich habe da "03 SI7021" ausgewählt. Ist das so mit dem "GPIO14 Sensor"Richtig?

Leider sehe nirgendwo Die Temperatur oder die Feuchtigkeits Werte.
Auf der Webseite vom TH10 Finde ich auch nichts.
und mit dem Befehl http://192.168.6.202/cm?cmnd=status wird nur das hier angezeigt
{"StatusSNS":{"Time":"2018.02.11 20:11:55"}}

Hat jemand noch eine Idee? Oder einen Tipp?


Update 11.02.2017 20:51Uhr:
Auf der Webseite: https://github.com/arendst/Sonoff-Tasmota/wiki/Sensor-Configuration
Steht:
The following single wire sensors are supported:
Itead SI7021 Temperature and Humidity - SI7021 (3) in group 1

Also denke ich ich es ist ein Konfigurations- Fehler?

Konfiguriert werden kann der Sensor mit dem Befehl gpio14 3





21:02:04 CMD: modules #show supported modules
21:02:04 RSL: stat/sonoff/RESULT = {"Modules1":["1 (Sonoff Basic)","2 (Sonoff RF)","3 (Sonoff SV)","4 (Sonoff TH)","5 (Sonoff Dual)","6 (Sonoff Pow)","7 (Sonoff 4CH)","8 (S20 Socket)","9 (Slampher)","10 (Sonoff Touch)","11 (Sonoff LED)","12 (1 Channel)","13 (4 Channel)","14 (Motor C/AC)","15 (ElectroDragon)","16 (EXS Relay)","17 (WiOn)"]}
21:02:04 RSL: stat/sonoff/RESULT = {"Modules2":["18 (Generic)","19 (Sonoff Dev)","20 (H801)","21 (Sonoff SC)","22 (Sonoff BN-SZ)","23 (Sonoff 4CH Pro)","24 (Huafan SS)","25 (Sonoff Bridge)","26 (Sonoff B1)","27 (AiLight)","28 (Sonoff T1 1CH)","29 (Sonoff T1 2CH)","30 (Sonoff T1 3CH)","31 (Supla Espablo)","32 (Witty Cloud)","33 (Yunshan Relay)"]}
21:02:04 RSL: stat/sonoff/RESULT = {"Modules3":["34 (MagicHome)","35 (Luani HVIO)","36 (KMC 70011)","37 (Arilux LC01)","38 (Arilux LC11)","39 (Sonoff Dual R2)","40 (Arilux LC06)","41 (Sonoff S31)"]}

21:03:00 CMD: module 4 #select desired module functionality for a Sonoff TH (Wait for the restart)
21:03:00 RSL: stat/sonoff/RESULT = {"Module":"4 (Sonoff TH)"}


21:04:20 CMD: gpios #show supported sensor types. (DHT21 = AM2301, AM2302 = AM2321 = DHT22)
21:04:20 RSL: stat/sonoff/RESULT = {"GPIOs1":["0 (None)","1 (DHT11)","2 (AM2301)","3 (SI7021)","4 (DS18x20)","5 (I2C SCL)","6 (I2C SDA)","7 (WS2812)","8 (IRSend)","9 (Switch 1)","10 (Switch 2)","11 (Switch 3)","12 (Switch 4)","13 (Button 1)","14 (Button 2)","15 (Button 3)","16 (Button 4)","17 (Relay 1)","18 (Relay 2)","19 (Relay 3)","20 (Relay 4)"]}
21:04:20 RSL: stat/sonoff/RESULT = {"GPIOs2":["21 (Relay 5)","22 (Relay 6)","23 (Relay 7)","24 (Relay 8)","25 (Relay 1i)","26 (Relay 2i)","27 (Relay 3i)","28 (Relay 4i)","29 (Relay 5i)","30 (Relay 6i)","31 (Relay 7i)","32 (Relay 8i)","33 (PWM 1)","34 (PWM 2)","35 (PWM 3)","36 (PWM 4)","37 (PWM 5)","38 (Counter1)","39 (Counter2)","40 (Counter3)"]}
21:04:20 RSL: stat/sonoff/RESULT = {"GPIOs3":["41 (Counter4)","42 (PWM 1i)","43 (PWM 2i)","44 (PWM 3i)","45 (PWM 4i)","46 (PWM 5i)","47 (IRRecv)","48 (LED 1)","49 (LED 2)","50 (LED 3)","51 (LED 4)","52 (LED 1i)","53 (LED 2i)","54 (LED 3i)","55 (LED 4i)","56 (MHZ Tx)","57 (MHZ Rx)","58 (PZEM Tx)","59 (PZEM Rx)","60 (SAir Tx)","61 (SAir Rx)"]}
21:04:20 RSL: stat/sonoff/RESULT = {"GPIOs4":["62 (SPI CS)","63 (SPI DC)","64 (BkLight)","65 (PMS5003)"]}

21:01:11 CMD: gpio14 3 #select sensor AM2301 (Wait for the restart)
21:01:11 RSL: stat/sonoff/RESULT = {"GPIO1":"0 (None)","GPIO3":"0 (None)","GPIO4":"0 (None)","GPIO14":"3 (SI7021)"}

21:00:03 CMD: gpio #how current defined sensors on supported GPIO pins
21:00:03 RSL: stat/sonoff/RESULT = {"GPIO1":"0 (None)","GPIO3":"0 (None)","GPIO4":"0 (None)","GPIO14":"3 (SI7021)"}



Titel: Antw:Sonoff TH10 mit Si7021
Beitrag von: Floh22964 am 12 Februar 2018, 13:17:42
Hallo

Die Anrede leider ohne Namen da Du ihn nicht geschrieben hast.

Ich habe leider keinen Sonoff TH, habe das selbe an einem Basic gemacht.
Wenn der Fühler wirklich auf GPIO 14 geht zeigt die Software das eigentlich sofort an.
Ist der Fühler vielleicht auf GPIO4, denn der ist auf dem Klinkenstecker auch verdrahtet?

Gruß Kay

Titel: Antw:Sonoff TH10 mit Si7021
Beitrag von: Mikesch am 12 Februar 2018, 19:41:14
Hallo Kay,

so wie es aussieht sind GPIO4 und GPIO14 raus geführt. Mittlerweile habe ich alle Kombinationen durch.
Also nur GPIO4, GPIO14 und beide 4 und 14. Nichts hat geholfen. Ich habe fünf Sensoren und TH10.
Sensor habe ich auch schon getauscht tausche jetzt mal den TH10.

Also bei dir sind die Werte das direkt auf der ersten Webseite zu sehen das ist schon mal ein guter Hinweis.

Gruß Mikesch


UPDATE: Es lag am Gehäuse da das Loch nicht genau über der Buchse ist steckte der 2,5mm Klinkerstecker nicht genau drin.
Also ein Kontaktproblem quasi. Ach ja es reicht GPIO14 auf  Si7021 einzustellen.

Gruß Mikesch