-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Wrong prices in the end of JSON #901
Comments
I have found the issue and fixed it: |
Thanks for the quick response. It is still an hourly rate too much. It looks like it's a copy of the 11pm rate. MQTT at 4pm: |
MQTT is correct after midnight. {"id":"xx:xx:xx:xx:xx:xx","prices":{"0":0.4286,"1":0.4253,"2":0.4237,"3":0.4174,"4":0.4256,"5":0.4451,"6":0.8067,"7":0.9173,"8":0.6805,"9":0.5365,"10":0.4639,"11":0.4371,"12":0.4324,"13":0.4337,"14":0.4261,"15":0.4151,"16":0.4202,"17":0.4092,"18":0.3783,"19":0.3669,"20":0.3619,"21":0.3619,"22":0.3606,"23":null,"24":null,"25":null,"26":null,"27":null,"28":null,"29":null,"30":null,"31":null,"32":null,"33":null,"34":null,"35":null,"36":null,"37":null,"min":0.3606,"max":0.9173,"cheapest1hr":"2025-01-24T22:00:00Z","cheapest3hr":"2025-01-24T20:00:00Z","cheapest6hr":"2025-01-24T17:00:00Z"}} |
So the thread can be closed? |
It's still one price too many when I receive more than 24 prices |
Describe the bug
I am getting some strange values on price when I get prices for more than one day. The last two prices are wrong. The last one is way too high and the second to last one is a copy of the price before. Max is also wrong since the last price is too high.
The error only comes when I get prices for two different days.
{"id":"XX:XX:XX:XX:XX:XX","prices":{"0":0.4893,"1":0.4766,"2":0.5327,"3":0.5235,"4":0.6431,"5":0.5231,"6":0.4816,"7":0.4516,"8":0.4362,"9":0.4273,"10":0.4230,"11":0.4233,"12":0.4158,"13":0.4193,"14":0.4179,"15":0.4225,"16":0.4232,"17":0.4323,"18":0.5182,"19":0.6426,"20":0.5334,"21":0.4927,"22":0.4430,"23":0.4381,"24":0.4324,"25":0.4327,"26":0.4337,"27":0.4384,"28":0.4386,"29":0.4322,"30":0.4329,"31":0.4349,"32":0.4342,"33":0.4324,"34":0.4308,"35":0.4308,"36":5.3161,"37":null,"min":0.4158,"max":5.3161,"cheapest1hr":"2025-01-17T00:00:00Z","cheapest3hr":"2025-01-17T00:00:00Z","cheapest6hr":"2025-01-16T22:00:00Z"}}
Hardware information:
Relevant firmware information:
The text was updated successfully, but these errors were encountered: