almottier / TapoP100

A module for controlling the TP-Link Tapo P100 Plugs
MIT License
68 stars 18 forks source link

P110 - full energy kWh information (not day or month) #17

Closed mickaelBert closed 4 months ago

mickaelBert commented 6 months ago

Hi Everyone,

Do you know if there is a full energy information that is not erased each day/month . For example, like today_energy and month_energy, is it possible to get total_energy (since the begining ?)

Here is what i get from getEnergyUsage() {'today_runtime': 60, 'month_runtime': 60, 'today_energy': 33, 'month_energy': 33, 'local_time': '2024-01-03 16:10:02', 'electricity_charge': [0, 0, 0], 'current_power': 22567}

int the tapo android app, i have 3 energy value (kWh), day, month, year.

Mickaël