Ohme car charger integration

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.

Shall give it a good tonight :+1:

1 Like

All set up, and fairly straight forward too. Just a small request:

As I’m on Octopus Agile, I use the price cap value that sits behind an ‘Enable Price Cap’ option in the Ohme app. E.g.

Screenshot_20240110_232951_io.ohme.android|230x500

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.

1 Like

This looks brilliant, just what I’ve been looking for :slight_smile:
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 :slight_smile:

I guess I could delete the account and then set it up again using email sign in option?

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?

I’ve deleted the Ohme account and set it back up using email, was a lot quicker/easier than I thought.

All logged in on the intergration now, thankyou :slight_smile:

1 Like

Yeah that’s doable, I’ll add it to the todo list!

I was able to ‘reset my password’ but think it took me a few attempts… glad it’s working for you now

@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.

Thank you for this integration! Installed yesterday, working perfectly on my Ohme Home Pro.

1 Like

Sorted now after updating to the latest home assistant (from 2023.9.1 to 2024.1.3).

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 :slight_smile:

1 Like

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

Added price cap support in v0.4.1, mind giving it a try and letting me know how you get on?

1 Like

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.

Fantastic integration, thankyou :pray:

1 Like

Hi, I am interested in this but it does not show up when I search HACS, I can do manually but I was wondering if the HACS listing is broken?

You’ll need to follow the instructions in the Installation section of the documentation.

Thanks Dan but this is what was not working, can you confirm the url to the repo please?

Got it sorted thanks, spotted my mistake

1 Like

Holy…

Thank you sooo much. I am fighting since months with their crappy support cause I cannot reset the timer that pauses my charge whenever THEY want.

Finally NOW I have full control :partying_face:

Thank you Thank you Thank you :smiley:

1 Like