Skip to content
This repository has been archived by the owner on Jan 27, 2022. It is now read-only.

Add estimated costs #18

Open
Xeroxxx opened this issue Sep 24, 2020 · 6 comments · Fixed by #12
Open

Add estimated costs #18

Xeroxxx opened this issue Sep 24, 2020 · 6 comments · Fixed by #12
Assignees
Labels
enhancement New feature or request

Comments

@Xeroxxx
Copy link
Owner

Xeroxxx commented Sep 24, 2020

No description provided.

@Xeroxxx Xeroxxx self-assigned this Sep 24, 2020
@Xeroxxx Xeroxxx added the enhancement New feature or request label Sep 24, 2020
@Xeroxxx
Copy link
Owner Author

Xeroxxx commented Sep 24, 2020

Settings Dialog prepared by @nbyx.

@Xeroxxx Xeroxxx linked a pull request Sep 24, 2020 that will close this issue
@probins
Copy link

probins commented Oct 18, 2020

I find your monitor quite interesting for looking at real-time power consumption, but I don't think it will be much use in my case for costs, as I'm on a Time of Use tariff, where prices change every half-hour, in line with wholesale prices. getRealTime() includes total_wh, which is cumulative and seems to be set to 0 when the plug is switched off. So I've set up a simple logging script which runs every 30 mins, and the usage difference can then be matched with the price for each period. Of course, if you want to track all your costs, this has to run 24/7. In practice, I'm mainly interested in the appliances which use most power, so it only has to run when they're on.

My guess would be that Time of Use tariffs will become the norm over the next few years, so households can change their consumption to make use of the lowest prices. It may well be that future versions of energy measuring devices like the HS110 will take this into account, but in the meantime ...

@Xeroxxx
Copy link
Owner Author

Xeroxxx commented Nov 10, 2020

Hello @probins,
we're doing a complete redesign and recode of this project. We will keep that in mind.

We can implement a feature that you can add different costs for different time windows, will this suite your needs? I don't think there is a standarised API for all providers.

@probins
Copy link

probins commented Nov 13, 2020

hello

I gather that you are updating James Barnett's original, which doesn't seem to be maintained any more.

Yes, some kind of way of matching the price with time period, which would mean logging the usage, as the plugs themselves only store daily usage.

Another useful feature would be as per jamesbarnett91/tplink-energy-monitor#68 (comment)

And it would also be useful to be able to configure a plug id, f.e. 'fridge' instead of 'TP-LINK_Smart Plug_F93D'.
[ignore, as I've just discovered you can rename them in the Kasa app]

Happy to set these up as separate issues if you're actively working on this. Not much point doing that on the original if no-one's maintaining it.

@Xeroxxx
Copy link
Owner Author

Xeroxxx commented Mar 22, 2021

Added Demo to dev-2.0. Currently calculating with 0.29€/kWh

@frostinel
Copy link

What would be great is a chart that shows the costs per month :D as well and a Tile that shows the cost per last month as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants