-
Notifications
You must be signed in to change notification settings - Fork 24
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
Power/Ampere/Current Support #5
Comments
When the plug is on should be more useful. |
I'll try to plug it again under the real load and see again what happens. |
Just a laptop
|
about 2KW Oil Radiator:
|
So, Of course, we must take into considiration that there is must be a coma, which is missing here. 20334 (Voltage) / 2385 (Power) = 8.525786163522013 (Current) 2385 * 8686 = 20716110 (Power) |
I have a lonsonho plug where DPS is: 104 = current in mA I don;t know how to check for the cumulative usage of the plug in kWh for the day and in total. So maybe good to make the input variable. |
historical information is also found in the json output. 0.02 is in kWh of today. 0.43 is total. Can we use this too for domoticz? {
|
I have a tuya smart plug with energy meter.
https://www.amazon.co.uk/gp/product/B07K24QZHN/ref=ppx_yo_dt_b_asin_title_o00__o00_s00?ie=UTF8&psc=1
I managed to get work this plugin in Domoticz but it can only turn off and on and doesn't provide information from the meter.
The get_dps.py request returns info from the meter, I guess:
`domoticz@housespririt:~/domoticz/plugins/Domoticz-Tuya-SmartPlug-Plugin$ sudo python3 get_dps.py 192.168.10.172 11444708600194c04232
Plug State Information:
{'dps': {'1': False, '5': 0, '2': 0, '6': 2385, '4': 0}, 'devId': '11444708600194c04232'}
Plug DPS List:
1
domoticz@housespririt:~/domoticz/plugins/Domoticz-Tuya-SmartPlug-Plugin$`
The text was updated successfully, but these errors were encountered: