Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moes Smart Dimmer Module 1 Gang _TZE204_hlx9tnzb #8086

Open
1 task done
c4coer opened this issue Jan 11, 2025 · 7 comments
Open
1 task done

Moes Smart Dimmer Module 1 Gang _TZE204_hlx9tnzb #8086

c4coer opened this issue Jan 11, 2025 · 7 comments

Comments

@c4coer
Copy link

c4coer commented Jan 11, 2025

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for my device

Product name

Smart Dimmer Swtich

Manufacturer

Moes

Model identifier

ZS-SR-EUD

Device type to add

Light

Node info

moes1

Endpoints and clusters

moes2

Basic

moes3

Further relevant clusters

Power Configuration

On/Off

Level Control

Color Control

Thermostat

Simple Metering

Electrical Measurement

Any other cluster of relevance/interest

@c4coer
Copy link
Author

c4coer commented Jan 11, 2025

I tried this ddf, but the power variation does not work, just on and off. thanks in advance for the help
#7703

@mangoschorle
Copy link

@c4coer I can reproduce this issue! On/Off works , power variation does not work

@c4coer
Copy link
Author

c4coer commented Jan 15, 2025

you epux tried this dff, we can see with the variation when we press the buttons directly, but the control via the application does not work in the end just works the on/off

@c4coer
Copy link
Author

c4coer commented Jan 15, 2025

{
"schema": "devcap1.schema.json",
"uuid": "3c38d64a-5192-4183-882c-e4320e914bb5",
"manufacturername": "_TZE204_hlx9tnzb",
"modelid": "TS0601",
"vendor": "Tuya",
"product": "Smart Dimmer Module (TS0601)",
"sleeper": false,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_DIMMABLE_LIGHT",
"restapi": "/lights",
"uuid": [
"$address.ext",
"0x01"
],
"items": [
{
"name": "attr/id"
},
{
"name": "attr/lastannounced"
},
{
"name": "attr/lastseen"
},
{
"name": "attr/manufacturername"
},
{
"name": "attr/modelid"
},
{
"name": "attr/name"
},
{
"name": "attr/swversion",
"parse": {
"fn": "zcl:attr",
"ep": 1,
"cl": "0x0000",
"at": "0x0001",
"script": "tuya_swversion.js"
},
"read": {
"fn": "zcl:attr",
"ep": 1,
"cl": "0x0000",
"at": "0x0001"
}
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/tuya_unlock"
},
{
"name": "state/alert",
"default": "none",
"public": false
},
{
"name": "state/on",
"parse": {
"fn": "tuya",
"dpid": 1,
"eval": "Item.val = Attr.val;"
},
"write": {
"fn": "tuya",
"dpid": 1,
"dt": "0x10",
"eval": "Item.val == 1 ? 1 : 0;"
},
"read": {
"fn": "tuya"
},
"refresh.interval": 300
},
{
"name": "state/bri",
"parse": {
"fn": "tuya",
"dpid": 2,
"eval": "Item.val = (Attr.val / 1000.0) * 254.0;"
},
"write": {
"fn": "tuya",
"dpid": 2,
"dt": "0x2b",
"eval": "(Item.val / 254.0) * 1000.0;"
},
"read": {
"fn": "none"
},
"refresh.interval": 42000
},
{
"name": "state/reachable"
}
]
}
]
}

@c4coer
Copy link
Author

c4coer commented Jan 15, 2025

@mangoschorle mangoschorle
you can try the ddf above and tell me if it works for you

@mangoschorle
Copy link

mangoschorle commented Jan 15, 2025 via email

@c4coer
Copy link
Author

c4coer commented Jan 15, 2025

I think the best thing is to do both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants