Closed gabriele-latino closed 5 months ago
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Hi, please add this device to deCONZ, thanks
Is there any DDF I can try?
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
Still needed......
@Smanar can you help?
Hello, can try this DDF
{
"schema": "devcap1.schema.json",
"manufacturername": "_TZE200_rks0sgb7",
"modelid": "TS0601",
"product": "Two-way Bilateral Energy Meter",
"sleeper": true,
"status": "Gold",
"subdevices": [
{
"type": "$TYPE_CONSUMPTION_SENSOR",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0x0702"
],
"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/offset",
"default": 0
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/consumption",
"parse": {
"fn": "tuya",
"dpid": 101,
"eval": "Item.val = Attr.val / 100;"
},
"read": {
"fn": "none"
},
"default": 0
},
{
"name": "state/lastupdated"
}
]
},
{
"type": "$TYPE_POWER_SENSOR",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x01",
"0x0b04"
],
"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": "none"
}
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/offset",
"default": 0
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/lastupdated"
},
{
"name": "state/current",
"parse": {
"fn": "tuya",
"dpid": 107,
"eval": "Item.val = Attr.val;"
},
"read": {
"fn": "none"
},
"default": 0
},
{
"name": "state/voltage",
"parse": {
"fn": "tuya",
"dpid": 106,
"eval": "Item.val = Attr.val;"
},
"read": {
"fn": "none"
},
"default": 0
},
{
"name": "state/power",
"parse": {
"fn": "tuya",
"dpid": 108,
"eval": "Item.val = Attr.val;"
},
"read": {
"fn": "none"
},
"default": 0
}
]
},
{
"type": "$TYPE_CONSUMPTION_SENSOR",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x02",
"0x0702"
],
"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/offset",
"default": 0
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/consumption",
"parse": {
"fn": "tuya",
"dpid": 103,
"eval": "Item.val = Attr.val / 100;"
},
"read": {
"fn": "none"
},
"default": 0
},
{
"name": "state/lastupdated"
}
]
},
{
"type": "$TYPE_POWER_SENSOR",
"restapi": "/sensors",
"uuid": [
"$address.ext",
"0x02",
"0x0b04"
],
"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": "none"
}
},
{
"name": "attr/type"
},
{
"name": "attr/uniqueid"
},
{
"name": "config/offset",
"default": 0
},
{
"name": "config/on"
},
{
"name": "config/reachable"
},
{
"name": "state/lastupdated"
},
{
"name": "state/current",
"parse": {
"fn": "tuya",
"dpid": 110,
"eval": "Item.val = Attr.val;"
},
"read": {
"fn": "none"
},
"default": 0
},
{
"name": "state/voltage",
"parse": {
"fn": "tuya",
"dpid": 106,
"eval": "Item.val = Attr.val;"
},
"read": {
"fn": "none"
},
"default": 0
},
{
"name": "state/power",
"parse": {
"fn": "tuya",
"dpid": 111,
"eval": "Item.val = Attr.val;"
},
"read": {
"fn": "none"
},
"default": 0
}
]
}
]
}
Values will probably need adjustement (* 10 or / 10 for exemple), just give me the result and the value you want.
@Smanar sorry for the dummy question, how can I import the DDF in deconz, using HassOS? I found only tutorials about docker version :/ Thanks a lot
Good question, HassOS use too docker nope ? What is your deconz version ? HA package, official docker image, custom installation ? If you have access to the GUI, you can make a right clic on a node, edit DDF, then try to save it to see the folder used by deconz.
Deconz 6.23.0 (Bump deCONZ to 2.25.3) Installed ad HA's component, no custom settings
This is the "Save as" default location:
But I'm unable to acces this folder by SSH
Perhaps there is a docker for the addon ? Because it's the same folder than others users (using docker) https://forum.phoscon.de/t/how-to-add-edit-a-ddf-on-home-assistant-using-text-editor/1839/20?u=smanar
For normal OS
All DDF provided directly with deCONZ typically reside in /usr/share/deCONZ/devices/ on a Linux system and are loaded first. However, files residing in the home directory of the user running deCONZ (e.g. /home/
/.local/share/dresden-elektronik/deCONZ/devices) will override the pre-packaged files to allow users to amend and keep their own files if desired.
As there has not been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.
As there has not been any response in 28 days, this issue will be closed. @ OP: If this issue is solved post what fixed it for you. If it is not solved, request to get this opened again.
Is there already an existing issue for this?
Product name
Zigbee Two-way Bilateral Energy Meter
Manufacturer
_TZE200_rks0sgb7
Model identifier
TS0601
Device type to add
Other
Node info
Endpoints and clusters
Basic
Further relevant clusters
Power Configuration
On/Off
Level Control
Color Control
Thermostat
Simple Metering
Electrical Measurement
Any other cluster of relevance/interest