Not sure how reliable banggood is, but they are selling a tuya wifi energy meter with different ct clamp sizes really cheap. 120A for AUD$80
Owon seems a legitimate manufacturer of power equipment.
I’ve ordered one (will take a month to arrive though). Just posting here because seems a good deal and if a few smart people start buying it then (self centeredly) I can come back and ask questions if I have any problems.
Note the instructions say that if the ct is attached the wrong way around then the reading will be zero, so I guess it does not measure reverse current. That is OK for me as I’m single-phase and although I have solar I’m assuming I can measure the solar feed and the main feed at the DB and the difference will be the net import/export, instead of measuring the point of connection. The 3rd ct I will measure my hvac (biggest load of the house).
Please let us know how it goes. Are you going to try using it with esphome?
I am not so keen on keeping the tuya firmware on it, but I lack any information on the device to be confident to order one on a whim.
Have one of these and show up as “unsupported” in HA.
It identifies as category “zndb” which by the tuya/sensor.py seem to be supported but does not seem to be the case.
I have the Tuya Power Clamp working with Local Tuya integration. With the integration you can get Home Assistant to show all the values displayed in the Tuya Smart Life app.
However most values need to be formatted in Home Assistant as they don’t have the correct unit of measurement and too many digits.
The energy consumption was displayed on the energy dashboards without any problems, but recently it stopped working. Somehow I get only a bar every 12 hours, instead of the energy consumption every hour. Has anybody experienced similar behaviour?
Did you try using the local tuya integration through HACS (GitHub - rospogrigio/localtuya: local handling for Tuya devices)? As you pointed out the standard tuya integration does not support the power clamp.
I added the power clamp with the smart life app first and once I assigned a permanent IP address to it on my router, I was able to add it local tuya.
Can you explain where you got stuck?
When you add the power clamp with local tuya and select sensor, you should get many sensors. Not sure if the sensor numbers are always the same, but in my case the total energy consumption is under sensor “131” and the number has to be formated “0.01” and unit of measurement set to KWh.
Can you confirm that you get the options described above?
Lucius, I try to get back to this configuration information I get first time I install, but cannot (if i do same process i get « Entity with this ID has already been configured.« Where can I get these infos or update them?
Also I wonder if I do not need to enter some info in my configuration yaml like.:.
localtuya:
- host: 192.168.1.x
device_id: xxxxx
local_key: xxxxx
friendly_name: Tuya Device
protocol_version: "3.3"
scan_interval: # optional, only needed if energy monitoring values are not updating
seconds: 30 # Values less than 10 seconds may cause stability issues
entities:
Ok Lucius, I played with Local Tuya INtegretion and click configure and add 131 then i get Kw/h and format it 0.01
So i need to add more sensor with different numbers, i just realise that the value (not formatted) is the one i get in my power clamp…so i continue and come back to you
Well I’m finally very happy to finally get all these info from my Tuya Power clamp…no need to buy a new Power Clamp as some people suggest
This is good news.
Now I try to get this entity into my energy dashboard, but still cannot…any recommendation ?
Thank you again…I’m so happy to get these number from my clamp
Anyone,can help me to add these data to energy board please? I,tried the same way I,had my Sonoff pow r2, but cannot
Not sure about what the error message means, but here a few things you neeed to check?
Did you add the lines in the customize.yaml? Does your configuration.yaml have a reference to the customize.yaml (i.e. customize: !include customize.yaml)
You need to refer to your sensor (not device). I am guessing “tuya_power_clamp” is your device, but you need to customize the sensor 131, which I am guessing is the one you named total energy P1-P2-P3
Finally, you need to format the lines correctly. this is from my customize.yaml and my sensor 131 is called “total_energy”:
The energy dashboard only displays energy consumption, so you can only show sensor 131 or the individual P1, P2 and P3 energy sensors (if you want to display P1,P2 and P3 you will need to customize them also)
Lucius, thank you for your answer.
No I have no reference in Configuration yaml.
So i just have to add a line, as: - customize: !include customize.yaml
(is the !) important?
So to resume, my entities :.
total energy P1-P2-P3 : sensor.tuya_power_clamp
P1 Energy: sensor.test1
P2 Energy: sensor.test_5
P3 Energy: sensor.test_8
Here is the error i h get by entering these information:
Integration error: customize - Integration ‘customize’ not found.
/config/customize.yaml
sensor.tuya_power_clamp:
unit_of_measurement: kWh
device_class: energy
state_class: total_increasing
icon: hass:counter