This script uses codetheweb/tuyapi to control a Tuya compatible Aroma Diffuser.
- Add the device to the Tuya Smart app
npm i
cp device_settings.json.copy device_settings.json
and change with your values (you can get them with a traffic capture like NetCapture)- to power on mist and colors
DEBUG=aroma-diffuser npm start -- powerOn colorful
- to power off mist and color:
DEBUG=aroma-diffuser npm start -- powerOff no_color