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

Kw measurements and cost calculation #8

Open
2 tasks done
martinberlin opened this issue Mar 1, 2023 · 0 comments
Open
2 tasks done

Kw measurements and cost calculation #8

martinberlin opened this issue Mar 1, 2023 · 0 comments
Assignees
Labels
RTC Real Time Clock

Comments

@martinberlin
Copy link
Owner

martinberlin commented Mar 1, 2023

In this issue we can discuss, plan, and mention it in the commits where the formula is modified.

  • DS3231 second tick calculation
  • PCF8563 second tick calculation. This one will require additional libraries modified for ESP-IDF. Pending to be merged in master

Main task will be to build a simple CPP main program that counts how much seconds the switch is on and based on this inputs:

#define DEVICE_CONSUMPTION_WATTS 100
double  DEVICE_KW_HOUR_COST    = 0.4;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RTC Real Time Clock
Projects
None yet
Development

No branches or pull requests

1 participant