I'm going to have to talk you through how to set up Tuya convert, MQTT and Node-Red on your Rpi. Grab one of these  And we'll get started.