Calculate actual charge energy used

This commit is contained in:
Adrian Kumpf
2019-10-19 21:54:56 +02:00
parent 5dff59a7bf
commit bef950a1a9
14 changed files with 181 additions and 46 deletions
@@ -0,0 +1,11 @@
defmodule TeslaMate.Repo.Migrations.AddEstTotalChargeEnergy do
use Ecto.Migration
def change do
alter table(:charging_processes) do
add(:charge_energy_used, :float)
add(:charge_energy_used_confidence, :float)
add(:interval_sec, :integer)
end
end
end