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

Zigbee Tuya Single Phase 65A Din Rail Smart Energy Meter timer Monitor kWh Meter Wattmeter 110V 220V 50/60HzDevice name #4957

Closed
MiAutomations opened this issue May 31, 2021 · 84 comments · Fixed by #6465

Comments

@MiAutomations
Copy link

Device

  • Product name: Zigbee Tuya Single Phase 65A Din Rail Smart Energy Meter timer Monitor kWh Meter Wattmeter 110V 220V 50/60Hz - https://s.click.aliexpress.com/e/_AOs9lj
  • Manufacturer: _TZE200_byzdayie
  • Model identifier: TS0601
  • Device type :
    • Other: Smart Energy Meter

Screenshots

image

In the Cluster Info panel press "read" button to retreive the values. Please note that at least "Manufacturer Name" and "Model Identifier" must be populated with data (therefore, must not be empty), otherwise that information will not be usable. For battery powered devices, after pressing read it is required to wake-up the device by pressing a button or any other means of interaction.
-->

Basic

Identify

Alarms

Device Temperature

Groups

Scenes

On/Off

Level Control

Color Control

Simple Metering

Diagnostics

Other clusters that are not mentioned above

I just can control this device as relay and I don't' see any info abou the Energy Meter functions, can you please help me in oder to solve this ?

Thank you for your support

@Smanar
Copy link
Collaborator

Smanar commented Jun 3, 2021

Ha nice device, and have found information about it.
Are you able to compile code to test code modification ? (Need a linux machine)

@juvenalandres
Copy link

I'm interested in this as well.

@Smanar
Copy link
Collaborator

Smanar commented Jun 7, 2021

@juvenalandres Have you a linux machine to test code modifications ?

@juvenalandres
Copy link

@Smanar I do, but I don't have the device

@Smanar
Copy link
Collaborator

Smanar commented Jun 7, 2021

Lol, so hard to find someone with both.

@github-actions
Copy link
Contributor

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 29, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jul 7, 2021

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.

@github-actions github-actions bot closed this as completed Jul 7, 2021
@MiAutomations
Copy link
Author

the device is not yet supported can you please keep this request open?
Thank you

@Mimiix Mimiix reopened this Jul 7, 2021
@Mimiix
Copy link
Collaborator

Mimiix commented Jul 7, 2021

Sure!

@Smanar
Copy link
Collaborator

Smanar commented Jul 7, 2021

BTW @MiAutomations you don't have a linux machine to test code modification ?

@github-actions github-actions bot removed the stale label Jul 8, 2021
@MiAutomations
Copy link
Author

BTW @MiAutomations you don't have a linux machine to test code modification ?

I will try to get a machine with a linux OS in order to test this and I let you now

Thank you

@github-actions
Copy link
Contributor

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 30, 2021
@diegomontanaduarte
Copy link

@Smanar I will get this device in the next days and I'm able to test the code modification. Could you please share the steps?

@github-actions github-actions bot removed the stale label Aug 2, 2021
@Smanar
Copy link
Collaborator

Smanar commented Aug 2, 2021

Hello.

You have the procedure here https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/Compiling-the-REST-plugin-for-device-specific-testing
So for you, after having installed deconz :

sudo apt install deconz-dev
git clone --branch energy_meter https://github.com/Smanar/deconz-rest-plugin.git
cd deconz-rest-plugin
qmake && make -j2
sudo cp ../libde_rest_plugin.so /usr/share/deCONZ/plugins

If you have a small raspberry, it can freeze during compilation, my pi 3 do, so remove "-j2"

You can have a different device, so you can too compare the MAC adress or manufacture name.

So (I don't think all will not work on first try)

  • You will have a "light" entry for the on/off
  • You will have 2 sensors a ZhaPower and a ZHAConsumption

@leonardpitzu
Copy link

i have one of these on the way (should arrive in about 4 weeks). once i get it i will be able to test the integration.

@github-actions
Copy link
Contributor

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 Aug 31, 2021
@diegomontanaduarte
Copy link

@Smanar I followed the steps but when I open deCONZ in GUI mode using the command line "/usr/bin/deCONZ --dbg-info=2 --dbg-error=2 > test_debug" I can just see the Coordinator node. I have already tried to put the energy meter device in pair mode many times but doesn't work.

What I'm doing wrong?

@diegomontanaduarte
Copy link

So I think the "Permit Join" was disabled. I'm progressing... Please let me know what information is needed from my end.

image

@diegomontanaduarte
Copy link

Basic cluster info

image

Groups cluster info

image

Scenes cluster info

image

Tuya specific cluster info

image

OTAU cluster info

image

@github-actions github-actions bot removed the stale label Sep 2, 2021
@Smanar
Copy link
Collaborator

Smanar commented Sep 2, 2021

@diegomontanaduarte all seem like the PR
Can you try the code modification ? #4957 (comment)

@diegomontanaduarte
Copy link

@Smanar I followed the exact steps, is there any way to check if I'm using the correct "libde_rest_plugin.so" file?

image

image

@leonardpitzu
Copy link

build the code with this PR. remove the old paired device and add it again - you'll see the sensors.

@xianhdz
Copy link

xianhdz commented Oct 19, 2021

Thanks @leonardpitzu I build the code with this PR, but I can't add the device. If I disable the REST API Plugin I can add as a light switch without any sensor.
@Smanar this PR will be added to a beta ?
Thanks

@github-actions github-actions bot removed the stale label Oct 20, 2021
@xianhdz
Copy link

xianhdz commented Oct 20, 2021

I found the issue, for some reason I back up the libde_rest_plugin.so on /usr/share/deCONZ/plugins. After remove the backup I followed up the steps again, I have the 2 sensors and the switch but are unavailable:
sensors

@Mimiix
Copy link
Collaborator

Mimiix commented Oct 20, 2021

Can you check with the Rest api/phoscon help page (api info) @xianhdz?

I had some issues with HA and deconz when doing dev tests like this and then it switched up resources somehow. checking with the Phoscon app gives more reliable results.

@Smanar
Copy link
Collaborator

Smanar commented Oct 20, 2021

@Smanar this PR will be added to a beta ? Thanks

Yes, I think, but I don't think the next one as it haven't the milestone.

@xianhdz
Copy link

xianhdz commented Oct 21, 2021

Can you check with the Rest api/phoscon help page (api info) @xianhdz?

I had some issues with HA and deconz when doing dev tests like this and then it switched up resources somehow. checking with the Phoscon app gives more reliable results.

Thanks @Mimiix the sensors are reporting values, what fix the issue was a restart of the system, aparently sudo systemctl stop deconz-gui wasn't doing the job.

@Smanar this PR will be added to a beta ? Thanks

Yes, I think, but I don't think the next one as it haven't the milestone.

Thanks @Smanar for the update.

@github-actions
Copy link
Contributor

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 Nov 11, 2021
@Smanar
Copy link
Collaborator

Smanar commented Nov 11, 2021

Still in waiting list

@github-actions github-actions bot removed the stale label Nov 12, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Dec 4, 2021

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 Dec 4, 2021
@thomas-svrts
Copy link

Please unstale

@Smanar Smanar removed the stale label Dec 9, 2021
@github-actions
Copy link
Contributor

github-actions bot commented Jan 1, 2022

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 Jan 1, 2022
@leonardpitzu
Copy link

Any hints on merging this?

@Mimiix
Copy link
Collaborator

Mimiix commented Jan 1, 2022

@Smanar can't we make ddf for this?

@Smanar
Copy link
Collaborator

Smanar commented Jan 2, 2022

No, totally impossible without editing code, there is new tuya command and some code modification.

@Mimiix Mimiix added this to the v2.14.x-stable milestone Jan 2, 2022
@ghost
Copy link

ghost commented Feb 2, 2022

Is the full support for this device added in 2.14.0?? Or will it be added in 2.14.1 (stable version?) or in another version?

@Mimiix
Copy link
Collaborator

Mimiix commented Feb 2, 2022

@minke890 Please read #5733 . Can't do anything atm.

@Smanar
Copy link
Collaborator

Smanar commented Oct 25, 2022

Support added using DDF #6465

@Smanar Smanar linked a pull request Oct 25, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment