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

Smart Energy Meter #20

Open
dpoitou-tlse opened this issue Jun 14, 2021 · 1 comment
Open

Smart Energy Meter #20

dpoitou-tlse opened this issue Jun 14, 2021 · 1 comment

Comments

@dpoitou-tlse
Copy link

dpoitou-tlse commented Jun 14, 2021

Hello,
I have 2 smart energy meter, the first one has a firmware version 1.0.2 and the second is in 1.1.17.
The first one is working fine and I can get the current and power with tuyapower.

The second one return with tuyapower Power data unavailable

import tuyapower
PLUGID = 'bfb9b29bca25f99a69aqla'
PLUGIP = '192.168.0.94'
PLUGKEY = 'XXXXXXXXX'
PLUGVERS = '3.3'
(on, w, mA, V, err) = tuyapower.deviceInfo(PLUGID,PLUGIP,PLUGKEY,PLUGVERS)
tuyapower.deviceInfo(PLUGID,PLUGIP,PLUGKEY,PLUGVERS)
=>> (136, -99, -99, -99, 'Power data unavailable')

Field '1' correspond to the total energy consumption but I can not see the real time power or the current consumption.

tuyapower.deviceRaw(PLUGID, PLUGIP, PLUGKEY, PLUGVERS)
=>> {'dps': {'1': 136, '10': 0, '16': True, '18': '111111111111'}}

It seems to be linked to a newer firmware. Do you plan a new upgrade to this firmware?
Thanks for your help

@jasonacox
Copy link
Owner

Addressing this here: jasonacox/tinytuya#55

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

No branches or pull requests

2 participants