SmartThings Driver Setting
This driver is intended to work with devices that use 0xEF00 Tuya Cluster
Especially for the following device:
EU curtain switch
US curtain switch
Install the driver
- Accept the invitation ( https://api.smartthings.com/invite/6Vjd4YPVJwjN )
- Enroll the hub
- List available drivers
- Install the driver ( Personal Tuya Devices )
Pair the device
- Open SmartThings App
- Search for nearby devices
- Set the device in pairing mode
Configure for similarity - beginner mode (only if your device was not recognized automatically and you want to test a predefined device)
- Open the detail view of the device
- Open configurations
- Select the profile that best match with the type of your device and confirm
If it doesn't update the profile, please read Known issues.
Configure datapoints - advanced mode (only if your device was not recognized automatically)
- Open the detail view of the device
- Open configurations
- Fill the fields that best match the specified for your device
- Search on the internet about your device details (manufacturer and model)
- You will find the same device or very similar ones working on other systems (Home Assistant, Hubitat, old Groovy DTHs, ...)
- Similar devices usually use the same datapoints (it is NOT a rule!)
- There are configurations for some stock capabilities
Currently: switch, switchLevel, airQualitySensor, alarm, audioMute, audioVolume, battery, button, carbonDioxideMeasurement, contactSensor, currentMeasurement, doorControl, dustSensor, energyMeter, fineDustSensor, gasDetector, formaldehydeMeasurement, illuminanceMeasurement, keypadInput, motionSensor, occupancySensor, powerMeter, presenceSensor, relativeHumidityMeasurement, temperatureMeasurement, thermostatCoolingSetpoint, thermostatHeatingSetpoint, thermostatMode, thermostatOperatingState, tvocMeasurement, valve, veryFineDustSensor, voltageMeasurement, waterSensor/leakSensor, windowShade, windowShadeLevel and windowShadePreset - Also, there are configurations for generic Tuya Data Types
Currently: boolean (switch/binary sensors), enumeration, value, string, bitmap and raw - For example:
- If you know the datapoint 1 is for a writable boolean (actuator), then add it to "Datapoints for switches"
- If you know the datapoint 2 is for a read-only boolean (sensor), then add it to any binary sensor
Contribute with your integration
- Once you know exactly how your device works with each available datapoints, consider forking the repository and adding the code needed to make it a little more user friendly.
- Create a file representing your device at
/models// .yaml - You may use any of the existing files as template.
- Possible commands are at
/src/commands.lua. - If you need a new profile, then create it at
/profiles/normal-XXXXXXXXXXXXXXXXX-vX.yaml
- Execute
npm startto test locally- All required files are created/modified with this command.
- Don't bother modifying
fingerprints.yamlmanually. - Re-execute it every time you modify your model file to create/modify files properly. Otherwise, you may have inconsistent results.
- Pull request your modification










