atanarro / aroma-diffuser-tuya

script to control Tuya compatible Aroma Diffuser

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This script uses codetheweb/tuyapi to control a Tuya compatible Aroma Diffuser.

Aroma diffuser

How to use

  1. Add the device to the Tuya Smart app
  2. npm i
  3. cp device_settings.json.copy device_settings.json and change with your values (you can get them with a traffic capture like NetCapture)
  4. to power on mist and colors DEBUG=aroma-diffuser npm start -- powerOn colorful
  5. to power off mist and color: DEBUG=aroma-diffuser npm start -- powerOff no_color

About

script to control Tuya compatible Aroma Diffuser

License:MIT License


Languages

Language:JavaScript 100.0%