logo elektroda
logo elektroda
X
logo elektroda

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

marcolueck1976 3570 31
ADVERTISEMENT
  • #31 21445968
    akm97
    Level 12  
    Gentlemen an interesting topic, but me from a different angle. I own such a fully working sensor. Although the load capacity of the relay is 3kW, it is only 1 KW with the heater. It is with such a heater that I use it, or rather try it. And so sometimes, when the heater just happens to have an intake of less than 1 kW, it is OK, but other times, when it exceeds this value, it disconnects the relay after about 5 seconds. Is it possible to increase its "load capacity" by 10%?
  • ADVERTISEMENT
  • #32 21501442
    ok2vuv
    Level 2  
    >>21379314 Driver for DS18B20 starts with this key startDriver DS1820 by inserting it into Config and Execute Custom Command. To start after startup, insert into Configure Startup a startup command as well as startDriver NTP and ntp_timeZoneOfs 2
    I just can't get the temperature into MQTT and Home Assistant.
    Please help.
    Radek
    Screenshot with data on energy and temperature of a device.

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