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

Create _TZ3000_qeuvnohg_fuse_w_power_meter.json #7012

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cornim
Copy link

@cornim cornim commented May 25, 2023

Support for Tongou Power Meter and Fuse (https://zigbee.blakadder.com/Tongou_TO-Q-SY1-JZT.html)

@BabaIsYou
Copy link
Contributor

It seems that Matsee Plus ATMS1602Z model could also share this DDF.
Could you please change the 5 first lines of your DDF

      	"schema": "devcap1.schema.json",
      	"manufacturername": "_TZ3000_qeuvnohg",
      	"modelid": "TS011F",
      	"product": "TO-Q-SY1-JZT",
      	"vendor": "TONGOU",

by these :

      	"schema": "devcap1.schema.json",
      	"manufacturername": ["_TZ3000_qeuvnohg","_TZ3000_ky0fq4ho","_TZ3000_8bxrzyxz"],
      	"modelid": ["TS011F","TS011F","TS011F"],
      	"product": "Din smart relay with power monitoring",

thx !

@manup
Copy link
Member

manup commented Aug 5, 2023

@cornim ping :)

@labor4
Copy link

labor4 commented Feb 6, 2024

Hi,
Thank you very much for this spec.
I installed it manually.

The API shows to be working, Phoscon GUI apparently not yet.
I have the 16A variant.

Question: What unit is consumption?

{
    "config": {
        "on": true,
        "reachable": true
    },
    "etag": "a4040393300873a5e0aa764fcafd36d4",
    "lastannounced": null,
    "lastseen": "2024-02-06T15:16Z",
    "manufacturername": "_TZ3000_qeuvnohg",
    "modelid": "TS011F",
    "name": "Consumption 25",
    "state": {
        "consumption": 5, 
        "lastupdated": "2024-02-06T15:12:55.026"
    },
    "type": "ZHAConsumption",
    "uniqueid": "18:7a:3e:ff:fe:47:80:33-01-0702"
}

@labor4
Copy link

labor4 commented Feb 10, 2024

I see a possible future problem with these kind of devices.

Since this is a mains switch, it is a category that should be handled with extra care.
Because light bulbs easily survive trial'n'error config mistakes (on/off), while the consequences here might not.

Especially in Phoscon GUI there is a problematic default config,
where a trigger may "shutdown all devices, even if not in a group".

So this makes it impossible by default, to keep this device safely away from human interaction.

Because of this, it may even be worth considering, to introduce a breaking addition into the API, to secure the transition of such devices into a different category, example:

should fail?
PUT     '{"on":true}'     {{baseUrl}}/api/{{APIKEY}}/lights/$NUM/state
PUT     '{"on":false}'     {{baseUrl}}/api/{{APIKEY}}/lights/$NUM/state

should succeed?
PUT     '{"onforce":true}'     {{baseUrl}}/api/{{APIKEY}}/lights/$NUM/state
PUT     '{"onforce":false}'     {{baseUrl}}/api/{{APIKEY}}/lights/$NUM/state

or?
PUT     '{"onforce":true}'     {{baseUrl}}/api/{{APIKEY}}/critical/$NUM/state
PUT     '{"onforce":false}'     {{baseUrl}}/api/{{APIKEY}}/critical/$NUM/state

So backwards-compatibility-wise it would fail by default, which is good (safe).

I don't know the full concept of your API mechanics, you know better, but you get my meaning.

Extra problem:
If I reboot my router in front of my Phoscon Raspi, all Zigbee devices will shut down.
Possibly triggered by interface/dhcp reconfig. (didn't investigate yet, bug present in two separate locations)

To be fair:
There might be an argument to be made in this specific case, that most people (like me) want this device for its metering, and not for the switch. So to be able to disable the switch might be a more common use case.

Best regards

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

Successfully merging this pull request may close these issues.

Tongou DIN Rail Circuit Breaker 63A with Power Monitoring
4 participants