@dan-r , I’d love to give this a try, but when I try and install, I enter my email and password and after a few seconds, I just get an “unknown error has occurred” message. I’ve double checked the details (logged out and back into the ohme app). Any ideas?
Anything in the Home Assistant logs? If not please turn on debug logging and raise an issue on GitHub or DM them to me on here.
Thanks - sent you a dm
Can we control the max current in advanced settings ?
This isn’t currently configurable remotely, aside from changing the ‘car’ in the Ohme app to one of the solar options.
Supposedly a new version of the Ohme app is coming this year with lots of new features so I’m waiting for this before implementing any car switching functionality myself. There’s an open issue for this at the moment.
First off, thanks for your work on this integration!
I’m only just getting started with it but was wondering if anyone can point me in the right direction - I seem to be getting higher energy used values in the Ohme app compared to what’s been reported with the sensors in home assistant.
Only have two examples but this week the Ohme app registered 47.3 and 40.9kWh whereas the same sensor in home assistant gives 43.11 and 37.3kWh respectively
It’s the opposite for me. The Ohme app correctly reports 0 kWh used today, whereas I get 43 kWh in home assistant. It even counted some usage at a time when the charger was unplugged.
power_draw
was correctly reported as 0W all day today, but session_energy
is all over the place.
The charger was unplugged between 12 and 17:30.
@satsusnai issue 76 on GitHub is tracking this now.
@nyordanov this is behaving somewhat as expected. The energy sensor has state class total_increasing, so this is not saying 43KWh was used today, it is an increasing count (like an electricity meter) that only resets to zero when you next plug in.
It shouldn’t jump up like it has on yours, but I have seen that sort of thing where the signal drops out. Its a ‘quirk’ of the API and seperate from the above issue.
Just reading this thread and will be adding the integration to my HA shortly, I noticed a few people have mentioned the dynamic charge slots, not ideal but if you have the HA Companion app installed on your phone, add the Ohme app to the notification list in sensors in the app and then HA should get sent the Ohme charge slot notification?
As I say, I’ve not installed this integration yet, but maybe as a get around an automation can do something with the Ohme notification received from the phone.
I must have missed it but now installed I see that the charge slots are there
Are you using an HA integration or is it HACS? Do you have a link that you can share?
Ohme integration:
Octopus integration:
You sir are a saint @dan-r send me over some ideas for icons and ill make them for you, or add some to custom brand icons repo.
Hi @dan-r and thanks for the great integration.
Would it be possible to have a flag that indicates a complete half hour intelligent slot, even if the car is only due to charge for part of it.
Eg. Tonight I have charge slots of 17:00-17:15, 17:30-18:15, 18:45-19:15, This is 105 minutes of car charging but 150 minutes of intelligent slot ie 17.00-1930
If we had an ‘intelligent slot active’, this could be used to signal an inverter to stop powering the house and charge the batteries if appropriate.
Not a big deal but would be really nice to have for battery users.
Thanks
Val
You may want to take a look at PredBat as it handles this beautifully with the Ohme integration and does exactly what you describe (and more!).
I think this would be a great addition
A sensor to indicate the full half hour slot is something I’d considered adding a while back but never got round to it, I’ll take a look at it again.
As @phiebs mentioned, I’m sure predbat has this functionality and a lot more and I’d urge you to check it out if you have any energy storage/solar.
Hi, this works great, but I would like to create an automation that sets the charge level. Ohme doesn’t have an integration with Polestar, but I think it should be quite an east automation to check detect the car being plugged in and retreive the Polestar charge level and max charge setting (through the polestar integration) and set the Ohme charge level to max charge level -current charge, so the Ohme can schedule better.
Has anyone seen an integration for this as I cant get my head around how to do maths in integrations?
I’ve got something similar for my Leaf (which has an Ohme integration but it doesn’t work very reliably).
My automation runs when the state of plugged in changes to true. It does 80 - current car charge from Nissan integration, then sets the Ohme target percentage to this value.
Dan,
That’s great, can you share how you did it?
Cheers
I would like to do somthing like this. The value setting doesn’t work, not sure about the syntax
action: number.set_value
metadata: {}
data:
value: '{{90 - sensor.polestar_battery_charge_level}}'
target:
entity_id: number.ohme_target_percent