-
Notifications
You must be signed in to change notification settings - Fork 665
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
[Device Support Request] Tuya Smart Zigbee Power Meter ATMS1603 TS011F _TZ3000_9ni6xxld #2364
Comments
And here another snapshot with higher power consumption: Control: So it looks like the Active Power is actually correct (just the device doesn't have the best precision), the current is off by a factor of 1000, and about the summation I can only guess - probably also factor 1000. No idea what the temp is showing. I don't think this thing has a temperature sensor. |
Since you're also in a 230V area, active power should be more twice the display around 210W OR the current (A) is displayed value 2x. According to the Ohm's law P = U x I 115W ~= 0.5A * 230V Event the "working" right is somehow "displaying craps" :D To determine which value (current or power) is accurate, can you check the specification of the load to define which fit better the measurement (current (A) or power (W)) ? |
Oh, I missed that, true. So looks like my control is actually also wrong. That is a tz3000_w0qqde0g... I have a third meter (tz3000_gjnozsaz_ts011f), I'll try that one, too :D. |
I think tuya is calculating with 110V and not the real one measured. PM: Ohms law is R = V / I and the P = U x I is the power law then i was leaned it in the school ;-) |
See also: Koenkk/zigbee2mqtt#9797 (comment) (This is the issue where my "control device" was apparently "fixed", but with an error that nobody noticed.) |
@knipknap The best is you is having one passive load you is knowing like one 75W old light ball then you can calculating the reading and see what is true and not. |
Then is still 2 questions: And is it some user here that can implementing it in one new device class in the quirk ? For the last i thing @javicalle can helping if hi is having time digging in the python spaghetti :-)) |
you're right, as so "low level" those two laws are, I use to "store" them in my brain under the same "codename". :D |
I have doing that 2 but my brain is now in FIFO mode so the old not used things is going out first and soon is start using the LIFO in parallel ;-))) They is simple but logic and all electric is build on them so very good to knowing doing doing DC calculating and not AC advance with phase and frequencies things. |
If Tuya is calculating the RMS current (wrongly), the entity should just be disabled. |
I dis agree the power factor is normally very near 1 then having restive load but then its AC its can being very different if the load is not. |
in Z2M, with a modified TS011F DIN smart plug with monitoring , the value are correct. I do believe that the magic line are :
Find bellow my modified Z2M import.
|
I've made some evolution with a "custom quirks", find below my current customization:
|
Cool, I tested with this quirk installed and it seems to improve the situation: So the total power consumption looks "more plausible". Note that I only installed your Python quirk and not what you commented earlier - frankly not sure what to do with that part. |
I've seen the abnormal current... I'm wonder if the Circuit breaker (which is the base of the custom quirks) has the same "issue" with the current... BTW, you can "delete" the temperature by clicking on the "indisponievel" line then in the "settings" (wheel on right top corner) and click on "Delete" :D |
The Zigbee module is one of the good ones = Sirlabs and not the new Telink ones. PS: tuya MCU is normal one STM32 that is doing its thing and using one RF module (WiFi,BLE or Zigbee) for tunneling the data its suing and its not the Zigbee module in this case then its doing all the data handling and Zigbee things. |
Back of PCB: On this particular board, voltage measurement happens directly without a PT, voltage divider resistors are 390K x5 and 0.51K x1, just like the reference design. As for the CT, everything else is similar to the reference design besides the loading resistor for the CT, which is 0.5Ω. BTW the CT included with my particular unit has a ratio of 1000:1 |
I was translating it with google translate online service and can reading the text so understanding more. PS if you need one coordinator you can using the Zigbee module only compiling one NCP firmware for it and its working great also with RCP firmware (I have doing it with LIDL LED stripe controller). |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions. |
@saintfrater Thanks for this custom quirck. Is this version your last one ? |
The last one yes |
I just did some testing, comparing the value measured using your custom quirk with the value of an external AC clamp meter (simple tool, not connected). -> Where is the 2x factor you are talking about? |
Problem description
The device has no quirks in ZHA.
ZHA add control (switch) that doesn't exist, it's also report sensors (temperature) that maybe doesn't exist, and wrong values (RMS Current are 1000x too high) also summation delivered is wrong.
I've also doubt about the "active power" that could be too low (calculated with 110V instead of 230V)
Solution description
The device has no "quirks" and is not correctly handled.
can you add support for this device ?
Screenshots/Video
Screenshots/Video
this is the device in "normal" mode (switch off)
![image](https://user-images.githubusercontent.com/13979047/235101868-f183c029-fcc3-478d-a3ce-5767b0ec81c7.png)
when the device is "activate" (switch on)
![image](https://user-images.githubusercontent.com/13979047/235102426-a3037512-e665-4404-99c6-1d0656685624.png)
Device signature
Device signature
Diagnostic information
Diagnostic information
Logs
None
Custom quirk
None
Additional information
No response
The text was updated successfully, but these errors were encountered: