is there way to add function to tuya, by automation? for example, when door is open, play aaaa.mp3 , or when door is closed, send email to .... address apk setings is limited to message center or phone call, or sms, why not have other settings? or how can play mp3 or send mail when actions happen?
Well, this can't be achieved by the Tuya app. However, you may achieve this by using Tasker App. Example: Tasker app reads the notifications from Tuya, then play mp3 file and sending emails or perform other complex actions.