Replies: 3 comments
-
I just tried it this evening, and the costs seem to work for me now. Here is what worked for me..
After that, it works for me. Hope this helps. |
Beta Was this translation helpful? Give feedback.
-
Hey @Casenl, thanks for the explanation. Your implementation got me thinking, I used a local energy company intergration similar to Nordpool, called Amber Electric, they also sell spot pricing in Australia. I did have to tweak it a little to get it right for me, as I am on a fixed tariff. I will keep the amber integration and add another battery to compare if switching to a market price model would be better with a battery (i believe it may be, when dialed in) So based on the information you gave me, I figured the energy_tariff must not be expecting an explicit value set, rather a value from a sensor. Added them to my battery in the config file like this
Sadly I reset my battery with a months worth of data in the process and messed up todays actual solar statistics but the fact that "total_money_saved" is no longer 0, I can live with that. It may be beneficial to others if the documentation was amended to add something along the lines of the above. Thanks once again! |
Beta Was this translation helpful? Give feedback.
-
Sorry, only just saw this as it is a discussion not an "issue". The
energy_tariff configuration option should accept either a sensor with a
continuously variable tariff rate or a number for a fixed rate. I would
recommend using the config_flow setup (GUI) rather than the
configuration.yaml as it walks you through this a bit easier and hopefully
makes it clear. I'm going to add the option for different tariffs for each
separate input meter shortly, but haven't got that far yet.
Thanks,
…On Wed, 16 Aug 2023 at 13:14, ObJuanK ***@***.***> wrote:
Hey @Casenl <https://github.com/Casenl>, thanks for the explanation. Your
implementation got me thinking, I used a local energy company intergration
similar to Nordpool, called Amber Electric, they also sell spot pricing in
Australia.
I managed to get it going in the way you said, so thank you very much :)
I did have to tweak it a little to get it right for me, as I am on a fixed
tariff. I will keep the amber integration and add another battery to
compare if switching to a market price model would be better with a battery
(i believe it may be, when dialed in)
So based on the information you gave me, I figured the energy_tariff must
not be expecting an explicit value set, rather a value from a sensor.
I created a couple of Number Helpers, with a simple input field, one for
import one for export.
[image: image]
<https://user-images.githubusercontent.com/70180647/261001983-40e563cc-3a17-4256-bddd-cbf69209ee26.png>
Added them to my battery in the config file like this
battery_sim:
tesla_powerwall:
name: "battery_sim: Tesla Powerwall"
import_sensor: sensor.solaredge_imported_energy
export_sensor: sensor.solaredge_exported_energy
size_kwh: 13.5
max_discharge_rate_kw: 5.0
max_charge_rate_kw: 3.68
efficiency: 0.9
energy_tariff: input_number.re_import_price
Sadly I reset my battery with a months worth of data in the process and
messed up todays actual solar statistics but the fact that
"total_money_saved" is no longer 0, I can live with that.
It may be beneficial to others if the documentation was amended to add
something along the lines of the above.
Thanks once again!
—
Reply to this email directly, view it on GitHub
<#87 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFAIZGNE5H5ZTS6H3PPHCJDXVS2RPANCNFSM6AAAAAA3RBLYTI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Have installed via HACS on Docker. Battery (tesla) setup and working very well. But I had a question about cost tracking.
I know the documentation saying the following
When it says units not supported at present, does that talk about kWh, mWh etc? or the whole energy_tariff and cost tracking does not work?
I have been trying for days now to get the costs working but they always remain at 0.
Beta Was this translation helpful? Give feedback.
All reactions