Created
July 10, 2023 19:09
-
-
Save arbnori45/db9d157f2bdad0d5f0c92c69dd8a1373 to your computer and use it in GitHub Desktop.
A simple json structure to fetch the rates for electricity when kw is cheaper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"electricityRates": [ | |
{ | |
"timeStart": "00:00", | |
"timeEnd": "05:59", | |
"rate": 0.12, | |
"currency": "USD", | |
"kwH": "per kw/h", | |
"rateType": "Off-Peak" | |
}, | |
{ | |
"timeStart": "06:00", | |
"timeEnd": "11:59", | |
"rate": 0.18, | |
"currency": "USD", | |
"kwH": "per kw/h", | |
"rateType": "Mid-Peak" | |
}, | |
{ | |
"timeStart": "12:00", | |
"timeEnd": "17:59", | |
"rate": 0.22, | |
"currency": "USD", | |
"kwH": "per kw/h", | |
"rateType": "Peak" | |
}, | |
{ | |
"timeStart": "18:00", | |
"timeEnd": "23:59", | |
"rate": 0.18, | |
"currency": "USD", | |
"kwH": "per kw/h", | |
"rateType": "Mid-Peak" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment