logo elektroda
logo elektroda
X
logo elektroda

Tuya TYTE-D1 Smart Switch: Relay Works, Temperature Sensor find

marcolueck1976 5919 39
ADVERTISEMENT

Topic summary

The discussion centers on the Tuya TYTE-D1 smart switch featuring a BK7231N chip and an external DS18B20 temperature sensor connected via a 3.5mm jack. The relay and power measurement functions operate correctly, but temperature readings are initially unavailable due to missing driver support. GPIO 26 is identified as the One-Wire data pin for the DS18B20 sensor. Community members have been developing and porting a DS18B20 driver for the OpenBeken firmware, with progress including pull requests and testing on the CB3S board variant. The One-Wire protocol characteristics and sensor clone identification (Sensylink CT1820B) were discussed. Users seek guidance on enabling temperature reporting to MQTT and Home Assistant, with suggestions to start the DS1820 driver via custom commands and configure startup scripts. Additional features like relay state retention after power failure were queried, with configuration options suggested. Some users report partial success with the driver on GPIO 26, while others face issues with driver activation and temperature data publishing. The relay's load capacity and behavior under varying heater loads were also discussed. The latest OpenBeken builds include a DS18B20 driver and device template for TYTE-D1, facilitating integration of temperature sensing alongside relay control and power monitoring.
Summary generated by the language model.
ADVERTISEMENT