Fantastic, I too have been missing my Ohme charger from being integrated into HA somehow, even for just a basic charge on/charge-off control. I’ve pestered Ohme about how ridiculous it is they don’t expose a simple managed API for this very reason. Their app isn’t great and sometimes let’s me down, so moving all this logic including my car integration and Octopus Energy into HA is the ultimate solution. I’m on their Agile tariff, so I should now be able to utilise the cheapest period of the day option I believe the HACS Octopus integration offers. My car is a small battery PHEV, so doesn’t need too long to top up daily.
Uptil now, I’ve managing this value manually and daily once I’ve looked at the agile prices for the up coming day. Is it possible to expose this option and value in your integration?
My thinking is that I have some options,
either to do the rates checks in HA and also have it manage the charge/pause control, or,
determine the optimium lowest price value for the day in HA and set the cap price for the day via the Ohme integration, letting Ohme’s logic manage the charge/pause control for each 30min rate slot.
The latter may be better for me as I’m still a novice when it comes to scripts etc in HA.
Many thanks for doing this integration, it’s certainly appreciated.
This looks brilliant, just what I’ve been looking for
Just one thing has anyone had to change their sign in to the app from Google sign in to email sign in? I can’t see how to do it, if I try to log in using email sign in it tells me I already have it setup with Google account and signs me in via Google?
Any help very much appreciated
Is there a way to block the log in your Google account, this may trigger an option in the ohme interface to reset or setup an alternative sign in method?
@dan-r Do I need to do anything to trigger an initial load of entities?
I’ve added the integration, and it shows “Ohme Charger” under the integration entities, but then has “No devices or entities”.
Does it just take some time to load them in or should it do it when I add the integration?
Edited to add: I’ve found someone with the same issue on your github, I’ll comment on there.
I’d like to add the usage to the energy dashboard as an “individual device” but it doesn’t show up to be added.
According to the FAQ for why, it needs to be have “state_class” as “total” or “total_increasing”.
Could you add that to it? Not sure if it’ll break anything else though.
As an example, my “tasmota” wifi-plug can be added to the energy dashboard, has these attributes:
state_class: total
unit_of_measurement: kWh
device_class: energy
friendly_name: Tasmota ENERGY Total
but the “ohme accumulative energy” has these:
unit_of_measurement: kWh
device_class: energy
icon: mdi:lightning-bolt
friendly_name: Accumulative Energy Usage
Edited to add: I’ve been able to add it myself using Developer Tools, so I’m sorted for now
I’m planning some changes to that sensor so it’s a bit more efficient - currently every time it polls it fetches the entire history of charges when it only needs to get the past x hours/days and do it incrementally.
When I get round to that I’ll add that flag to it too
A quick couple of tests and it’s looking good so far. Many thanks for adding that, it’ll likely make things easier for me to set up charging across the cheapest (Octopus Agile) slots throughout each day.
Plus, it’s also quicker and easier to get to the setting via my dashboard than by using the Ohme app.