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

Tongou DIN Rail Circuit Breaker 63A with Power Monitoring #7011

Closed
cornim opened this issue May 25, 2023 · 11 comments · May be fixed by #7012
Closed

Tongou DIN Rail Circuit Breaker 63A with Power Monitoring #7011

cornim opened this issue May 25, 2023 · 11 comments · May be fixed by #7012

Comments

@cornim
Copy link

cornim commented May 25, 2023

Device

Screenshots

Node Info

grafik

Cluster List

grafik

Basic

grafik

Identify

grafik

Alarms

Device Temperature

Groups

grafik

Scenes

grafik

On/Off

grafik

Level Control

Color Control

Simple Metering

grafik
grafik

Diagnostics

Other clusters that are not mentioned above

Electrical Measurement

grafik
grafik

Temperature measurement

grafik

Unknown

-no attributes-

Tuya specific

grafik

@cornim
Copy link
Author

cornim commented May 25, 2023

#6807 #6842 Seem to be the tickets for the same device without the power meter.

@BabaIsYou
Copy link
Contributor

Can try this DDF ? Seems that this device doesn't use specific Tuya cluster.

      {
      	"schema": "devcap1.schema.json",
      	"manufacturername": "_TZ3000_qeuvnohg",
      	"modelid": "TS011F",
      	"product": "TO-Q-SY1-JZT",
      	"vendor": "TONGOU",
      	"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",
      					"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"
      				}
      			]
      		},
      		{
      			"type": "$TYPE_TEMPERATURE_SENSOR",
      			"restapi": "/sensors",
      			"uuid": ["$address.ext", "0x01", "0x0402"],
      			"items": [{
      					"name": "attr/lastseen"
      				},
      				{
      					"name": "attr/manufacturername"
      				},
      				{
      					"name": "attr/modelid"
      				},
      				{
      					"name": "attr/name"
      				},
      				{
      					"name": "attr/swversion",
      					"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": "config/offset"
      				},
      				{
      					"name": "config/on"
      				},
      				{
      					"name": "config/reachable"
      				},
      				{
      					"name": "state/lastupdated"
      				},
      				{
      					"name": "state/temperature"
      				}
      			]
      		},
      		{
      			"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",
      						"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": "config/on"
      				},
      				{
      					"name": "config/reachable"
      				},
      				{
      					"name": "state/current"
      				},
      				{
      					"name": "state/lastupdated"
      				},
      				{
      					"name": "state/power"
      				},
      				{
      					"name": "state/voltage"
      				}
      			]
      		},
      		{
      			"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"
      				},
      				{
      					"name": "attr/type"
      				},
      				{
      					"name": "attr/uniqueid"
      				},
      				{
      					"name": "config/on"
      				},
      				{
      					"name": "config/reachable"
      				},
      				{
      					"name": "state/consumption"
      				},
      				{
      					"name": "state/lastupdated"
      				}
      			]
      		}
      	],
      	"bindings": [{
      			"bind": "unicast",
      			"src.ep": 1,
      			"cl": "0x0006",
      			"report": [{
      				"at": "0x0000",
      				"dt": "0x10",
      				"min": 1,
      				"max": 300
      			}]
      		},
      		{
      			"bind": "unicast",
      			"src.ep": 1,
      			"cl": "0x0402",
      			"report": [{
      				"at": "0x0000",
      				"dt": "0x29",
      				"min": 60,
      				"max": 360,
      				"change": "0x00000064"
      			}]
      		},
      		{
      			"bind": "unicast",
      			"src.ep": 1,
      			"cl": "0x0B04",
      			"report": [{
      					"at": "0x0505",
      					"dt": "0x21",
      					"min": 1,
      					"max": 360,
      					"change": "0x00000005"
      				},
      				{
      					"at": "0x0508",
      					"dt": "0x21",
      					"min": 1,
      					"max": 360,
      					"change": "0x00000032"
      				},
      				{
      					"at": "0x050b",
      					"dt": "0x21",
      					"min": 1,
      					"max": 360,
      					"change": "0x0000000a"
      				}
      			]
      		},
      		{
      			"bind": "unicast",
      			"src.ep": 1,
      			"cl": "0x0702",
      			"report": [{
      				"at": "0x0000",
      				"dt": "0x25",
      				"min": 1,
      				"max": 360,
      				"change": "0x00000001"
      			}]
      		}
      	]
      }

@cornim
Copy link
Author

cornim commented May 25, 2023

The DDF seems to work. I get consumption power and temperature as additional endpoints in HA now.

Thanks.

@cornim
Copy link
Author

cornim commented May 25, 2023

One question if I may,

Why are the bindings set up in such a way that all cluster report to the conbee at:0x0000 but the power measurement cluster (0x0B04) has 3 report bindings, which all point to different addresses and none to conbee?

@Smanar
Copy link
Collaborator

Smanar commented May 25, 2023

but the power measurement cluster (0x0B04) has 3 report bindings

They are the binded attributes inside this cluster, it's not a zigbee adress.

@BabaIsYou
Copy link
Contributor

@cornim Do you want to make the pull request (PR) to have this DDF shared into a next release ?

@cornim
Copy link
Author

cornim commented May 25, 2023

Sure: #7012

@github-actions
Copy link

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.

@github-actions github-actions bot added the stale label Jun 16, 2023
@Smanar
Copy link
Collaborator

Smanar commented Jun 16, 2023

PR is still waiting validation

@Smanar Smanar removed the stale label Jun 16, 2023
@github-actions
Copy link

github-actions bot commented Jul 8, 2023

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.

@github-actions github-actions bot added the stale label Jul 8, 2023
@github-actions
Copy link

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.

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.

3 participants