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

ROVF (TMZ02L-16A-B2) Mini Switch Module 16A No Neutral: _TZ3000_hkkkuk7k TS0012 #7194

Closed
str31ok opened this issue Aug 21, 2023 · 3 comments · Fixed by #7196
Closed

ROVF (TMZ02L-16A-B2) Mini Switch Module 16A No Neutral: _TZ3000_hkkkuk7k TS0012 #7194

str31ok opened this issue Aug 21, 2023 · 3 comments · Fixed by #7196

Comments

@str31ok
Copy link

str31ok commented Aug 21, 2023

Device

  • Product name: ROVF (TMZ02L-16A-B2)
  • Manufacturer: _TZ3000_hkkkuk7k
  • Model identifier: TS0012
  • Device type :
    • Switch

Screenshots

1 2 Node info

Basic

1 1 Basic cluster

Identify

image

Groups

image
image

Scenes

image
image
image
image

On/Off

image
image
image

Unknown

image

Tuya specific

image

OTAU

image

Time

image

On/Off

image
image

@BabaIsYou
Copy link
Contributor

BabaIsYou commented Aug 22, 2023

Can you try with this DDF file (inspired from {https://github.com/dresden-elektronik/deconz-rest-plugin/blob/master/devices/tuya/_TZ3000_zmy4lslw_2channel_module.json) :

"schema": "devcap1.schema.json",
 "manufacturername": "_TZ3000_hkkkuk7k",
 "modelid": "TS0012",
 "product": "Tuya 2 output module",
 "sleeper": false,
 "status": "Gold",
 "subdevices": [
   {
     "type": "$TYPE_ON_OFF_OUTPUT",
     "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",                   
         "refresh.interval": 86400,
         "parse": {"fn": "zcl", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
         "read": {"fn": "zcl", "ep": 1, "cl": "0x0000", "at": "0x0001"}
       },
       {
         "name": "attr/type"
       },
       {
         "name": "attr/uniqueid"
       },
       {
         "name": "state/on"
       },
       {
         "name": "state/reachable"
       },
       {
         "name": "config/tuya_unlock"
       }
     ]
   },
   {
     "type": "$TYPE_ON_OFF_OUTPUT",
     "restapi": "/lights",
     "uuid": [
       "$address.ext",
       "0x02"
     ],
     "items": [
       {
         "name": "attr/id"
       },
       {
         "name": "attr/lastannounced"
       },
       {
         "name": "attr/lastseen"
       },
       {
         "name": "attr/manufacturername"
       },
       {
         "name": "attr/modelid"
       },
       {
         "name": "attr/name"
       },
       {
         "name": "attr/swversion",                   
         "refresh.interval": 86400,
         "parse": {"fn": "zcl", "ep": 1, "cl": "0x0000", "at": "0x0001", "script": "tuya_swversion.js"},
         "read": {"fn": "zcl", "ep": 1, "cl": "0x0000", "at": "0x0001"}
       },
       {
         "name": "attr/type"
       },
       {
         "name": "attr/uniqueid"
       },
       {
         "name": "state/on"
       },
       {
         "name": "state/reachable"
       }
     ]
   }
 ]
}

@str31ok
Copy link
Author

str31ok commented Aug 22, 2023

It seems to me that it works. At least the relay appeared in phoscon and i could add it in openhab. Thank you very much for your help

@BabaIsYou
Copy link
Contributor

My pleasure 😇

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

Successfully merging a pull request may close this issue.

2 participants