You need to connect the dimmer to the Tuya or SmartLife app to change how the dimmer module responds to different types of switches and buttons. Then you connect the dimmer to SmartThings. To do this you will need a Tuya hub. They can be very cheap (less that $10 US) on AliExpress.
Hi, haven’t heard from Wesley in a while. Do you know what we can do for the device to be added to the driver?
Hey! Hi.
If you have a similar device that works by using any of the existing models and you want to contribute with your integration, then just follow the steps in the link above.
In other words:
- Fork the repository
- Duplicate the yaml file of the similar device
- Make the changes you want in the yaml file (Yes, just simple as that! No code at all, nothing! Just copy the yaml file.)
- Open a merge request
- Be ready to test after the merge request is accepted. Otherwise, I have no choice other than reverting the change.
Thanks for your reply. Looking at the post, @dotan_shai requested you to add the CO sensor to your driver and co-incidentally, even I purchased the same device which is why I was also following up with you to request you to add it to your driver. There is no similar device for this one in your repository so please help.
Oh, I see.
In this case, unfortunately, you will need a little more of coding.
- New implementation to treat the capability carbonMonoxideMeasurement ( I suggest you to duplicate it from carbonDioxideMeasurement )
- New yaml file for profile to reference the new capability mentoned above ( I suggest you to duplicate it from any other profile that uses carbonDioxideMeasurement )
- New yaml file for device model to reference the new profile and the supported capabilities ( I also suggest you to duplicate it from any other model that uses carbonDioxideMeasurement )
Step 1 requires a little of coding skill.
Steps 2 and 3 doesn’t require any coding skills.
Again, everything is explained in the link below.
There are a little more tweaks to do, but I will explain once the merge request is done.
The community will be thankful for your new integration.
In this case, it is as simple as:
- Duplicate the models/TS0601/_TZE204_cjbofhxw.yaml in the same folder
- Rename the new file with the name
_TZE284_cjbofhxw.yaml
- Open merge request
All other files are modified automatically.
Thanks for the instructions and I need to digest this first as I am not a programmer. There are no models for CO2 that I could find so can you advise what we can do?
The search field is our friend.
This result contains examples of models and profiles.
Thanks Wesley. Just out of curiosity, have you stopped adding drivers?
Thanks for the response, but I already returned the device.
Looking at the logs with the CLI it seemed to me that it could cause problems for my zigbee network due to the number of messages that the device emits.
The GatewayStatus.ID command is received every 4 seconds and power, voltage and amp reports are sent with any value change.
The fact that reports cannot be configured makes it not recommended for use in smartthings.
On tuya it seems to work fine, but I can’t see how many messages it sends on tuya.
Based on my limited understanding, I have mimicked the gas and carbonodixode detector codes and tried to replicate this for Carbonmonoxide in the commands.lua as a first step. Then, I created two profiles, one for measurement and the other for detection and referenced both in the model file which has the data points and capabilities. I committed the changes and created pull requests for models and profiles and merged the commands.lua. How do I test this and what should I do next?
Hi @w35l3y please add command control blacklight for tuya zigbee switch
Mains-Powered Scene Switch-Gateway Connectivity-Tuya Developer
Just to let people know my driver reached the limit of 100 profiles.
I am still trying to imagine how to separate all those profiles logically.
The generic mode tries its best to match another predefined device to work in similar mode.
By separating into 2+ drivers, this feature will be compromised.
Device Information
- Manufacturer: _TZE204_7gclukjs
- Model: TS0601
Issue Description
I am using this Tuya Zigbee sensor with SmartThings and have successfully paired it using the provided Edge driver. However, I need assistance in configuring detailed sensor settings to fully utilize the device’s capabilities.
Requirements
- Parameter Settings:
- Current Distance
- Far Detection
- Near Detection
- Detection Delay
- Unmanned Delay
- Sensitivity
- Illuminance
- Sensor On/Off Control:
- Occupancy Sensor
- Illuminance Sensor (to be able to disable one if not in use)
Request
- Assistance in adding parameter setting capabilities to the current driver
- Code examples or detailed instructions on how to implement these features
- Any additional tips or information relevant to achieving full functionality of the sensor
Thank you in advance for your help!
(post deleted by author)
Did you ever get a working driver for this device? I have the WZ-M100-C (ceiling mounted), and cannot find any existing compatible drivers.
Have different DP from WZ-M100-Z. You didn’t sent the device finger print which I assume it is:
Model: 'TS0601',
Manufacturer: 'TZE204_7gclukjs'
If this is correct here are the DP for that sensor:
You can start with profile like presence and luminance and change the DP according the list I attached.
Hi, thaanks for this driver, it’s working fine! One thing, would it be possible to have the humidity rather than temperature as the default display? It’s more useful in this type of sensor.
Dear Weasleyת
I have been struggling for several weeks to develop a Boiler driver.
I decided that at first I would write something very very basic and then get into the code itself. I pulled your latest version. I added one ability “15minButton” and I run the command “smartthings edge:drivers:package .”
I get an error. AxiosError: Request failed with status code 400:
{“requestId”:“7240771864004533349”,“error”:{“code”:“BadRequestError”,“message”:“Invalid device profile
specification for 8227af03-9246-4e7a-a95e-0b022ba4376b”,“details”:}}
Code: ERR_BAD_REQUEST
I come from .NET worlds and I don’t know LUA at all
I would be very happy if you could show me briefly how to do it once and I will make an explanatory video
i tried to find you on facebook and linkedin for better comunication.
haimazulai@gmail.com, this is my email. thank you very much!
Hello, this device(TS0049 TZ3210_0jxeoadc) supported by tuya edge driver?
I try by “personal tuya devices and personal tuya devices(beta)”, but doesnt work properly.
Try by personal tuya devices-beta(generic only) and set dp for valve 101, it display valve status properly at manual valve on off but can not execute remotely.
I found dp point searching web (Tuya water valve (TS0049 by _TZ3210_0jxeoadc) · Issue #2377 · zigpy/zha-device-handlers · GitHub), but how configure in ST edge driver.