tnmendes / watt

iOS App for TP-Link Devices (Kasa Smart & Tapo) | Support page for issues related to Watt iOS App
50 stars 4 forks source link

Energy consumption disappeared #103

Closed tiagoefreitas closed 1 year ago

tiagoefreitas commented 1 year ago

I tried the app and it recorded some energy consumption of a tplink hs110, then I didn’t use it for a month or 2 and now it’s all empty. The device has been off since. Why can’t I access past data?

tnmendes commented 1 year ago

Hello Tiago, I am not saving anything on my Watt app side, all information comes directly from TP-Link servers. Daily data is only stored for 30 days on the TP-Link servers, only annual data is stored for longer.

Watt now lets you export CSV data but just what you see on the chart.

tiagoefreitas commented 1 year ago

Any idea why the annual data may have disappeared? Why doesn't watt save a local copy of previous months before they get deleted from tp-link? otherwise I need to export every month not to loose it.

On Mon, Mar 20, 2023 at 3:57 PM Tiago Mendes @.***> wrote:

Hello Tiago, I am not saving anything on my Watt app side, all information comes directly from TP-Link servers. Daily data is only stored for 30 days on the TP-Link servers, only annual data is stored for longer.

Watt now lets you export CSV data but just what you see on the chart.

— Reply to this email directly, view it on GitHub https://github.com/tnmendes/watt/issues/103#issuecomment-1475974978, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXJNRR6ND7DSPMOZLT3TDTW5AWI7ANCNFSM6AAAAAAWAFSD6M . You are receiving this because you authored the thread.Message ID: @.***>

tnmendes commented 1 year ago

"Any idea why the annual data may have disappeared?" - Did you do a reset? For example to change the Wifi network you need to reset

"Why doesn't watt save a local copy of previous months" - Watt is just a side project of mine. There are many features that Watt has to be developed and improved, but I don't always have time available, I have a full-time job, I have a family and I have a personal life. 🤷

tiagoefreitas commented 1 year ago

That's fine, I may use GPT-4 to add that feature soon as I need it :) If I add a PR can you then update the app in app store? Issue is setting up the dev / testing environment takes time haha

On Mon, Mar 20, 2023 at 4:15 PM Tiago Mendes @.***> wrote:

"Any idea why the annual data may have disappeared?" - Did you do a reset? For example to change the Wifi network you need to reset

"Why doesn't watt save a local copy of previous months" - Watt is just a side project of mine. There are many features that Watt has to be developed and improved, but I don't always have time available, I have a full-time job, I have a family and I have a personal life. 🤷

— Reply to this email directly, view it on GitHub https://github.com/tnmendes/watt/issues/103#issuecomment-1475998083, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXJNRT7LX7IZJOA6QZAYA3W5AYMFANCNFSM6AAAAAAWAFSD6M . You are receiving this because you authored the thread.Message ID: @.***>

tnmendes commented 1 year ago

Thank you for your interest in contributing, have you worked with Realm Database? Or what databases are you used to working within Swift?

tiagoefreitas commented 1 year ago

I have worked with several different databases and languages, but not with Realm or Swift. However I find all languages and databases are very similar I just used to take a few minutes to look at the documentation and best practices before GPT-4 arrived.

You may not be aware of the capabilities of GPT-4. Even if I was not an engineer with experience, with GPT-4 it is very easy to do anything, please get familiar with it and realize the developer job will end soon as anyone can develop anything now.

On Tue, 21 Mar 2023 at 04:46, Tiago Mendes @.***> wrote:

Thank you for your interest in contributing, have you worked with Realm Database? Or what databases are you used to working within Swift?

— Reply to this email directly, view it on GitHub https://github.com/tnmendes/watt/issues/103#issuecomment-1477075118, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXJNRWWNV22PT4CYBQDJUDW5DQLZANCNFSM6AAAAAAWAFSD6M . You are receiving this because you authored the thread.Message ID: @.***>

tnmendes commented 1 year ago

I am using GPT-3.5 is great, more than great it's a revolution. I've already used ChatGPT to solve some programming problems but both you and I know that he will never know your app in-depth or how the various classes are interconnected.

tiagoefreitas commented 1 year ago

GPT4 is another league. you can tell it your app there are several websites that index your github repo in a vector store and feed it to GPT: https://www.gptduck.com/ https://www.mendable.ai/ https://www.kapa.ai/

in alternative since GPT-4 has a bigger context window you can just copy paste the whole code (but I don’t have access to the 32K version yet only 8K) Anyway I will use this as a test case when I have time and let you know how long it takes to implement it.

On Tue, 21 Mar 2023 at 15:58, Tiago Mendes @.***> wrote:

I am using GPT-3.5 is great, more than great it's a revolution. I've already used ChatGPT to solve some programming problems but both you and I know that he will never know your app in-depth or how the various classes are interconnected.

— Reply to this email directly, view it on GitHub https://github.com/tnmendes/watt/issues/103#issuecomment-1477594654, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXJNRX4J55EI34SKH4WJM3W5F7D5ANCNFSM6AAAAAAWAFSD6M . You are receiving this because you authored the thread.Message ID: @.***>

tnmendes commented 1 year ago

Interesting that these tools already exist, they were quick. I will close this issue for now.