Repository navigation
Charge from grid not working (v 2.0.0b3 ) #975
Replies: 9 comments 3 replies
|
Hi @bertsmelik, "It plans a charge but doesn't charge" is not something I can act on. There is no plan, no SOC, no prices, no configuration and no logs in this report, so there is nothing to diagnose. A planned charge can legitimately end at 0 W for several reasons: max SOC reached, a charge blocker on one battery, the grid import limit, a hold. The integration tells you which one applied. It exposes a lot of sensors and a full diagnostics dump precisely so this doesn't have to be guessed. To look into it I need, for one specific window that was planned and did not charge:
That it works with another integration doesn't help here. It is different code with different logic and different settings, so it says nothing about what this one is doing on your system. With the data above I'll gladly dig in. |
|
Thanks for responding so quickly!
I will gather the info you requested later this evening (when a couple of
charging slots are scheduled).
Regards, Bert
Op ma 30 nov 2026 om 15:17 schreef Funes ***@***.***>:
… Hi @bertsmelik <https://github.com/bertsmelik>,
"It plans a charge but doesn't charge" is not something I can act on.
There is no plan, no SOC, no prices, no configuration and no logs in this
report, so there is nothing to diagnose.
A planned charge can legitimately end at 0 W for several reasons: max SOC
reached, a charge blocker on one battery, the grid import limit, a hold.
The integration tells you which one applied. It exposes a lot of sensors
and a full diagnostics dump precisely so this doesn't have to be guessed.
To look into it I need, for one specific window that was planned and did
not charge:
1. The diagnostics file (Settings > Devices & services > Omnibattery >
Download diagnostics), downloaded during that window.
2. A screenshot of the plan, plus the time of the slot, its price and
the SOC of both batteries.
3. Debug logs of custom_components.omnibattery covering that window.
4. Your settings: max SOC, grid import limit / contracted power,
pricing strategy, and whether weekly full charge is enabled.
That it works with another integration doesn't help here. It is different
code with different logic and different settings, so it says nothing about
what this one is doing on your system.
With the data above I'll gladly dig in.
—
Reply to this email directly, view it on GitHub
<#975?email_source=notifications&email_token=ACJXXQGFQ7Z5WA4HHME6HUL53V6PDA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGI3TSNRZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-20027969>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJXXQDA7OM6NGFO4WUF4E353V6PDAVCNFSNUABJKJSXA33TNF2G64TZHMYTEOBTGEYDQNBXGU5UI2LTMN2XG43JN5XDWMJRGQZTKMZVHCQXMAQ>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ACJXXQGE7Q2OIP52QAKPAAD53V6PDA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGI3TSNRZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/ACJXXQDDRV3BTOSOFTBKLLD53V6PDA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGI3TSNRZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Groet, Bert Smelik
|
|
Good evening!
I highly appreciate that you want to help me solve this.
Here the requested information for the planned charging from grid at 23:30
1. diagnostic file (attached file)
2. screenshot of the plan
[image: image.png]
3. debug logs (attached file)
4. my settings:
- max SOC, *100% for both batteries*
- grid import limit / contracted power:* "SYSTEM POWER LIMITS" not
enabled*
- pricing strategy: *no explicit strategy defined* (see screenshot
below???)
[image: image.png]
- weekly full charge is *enabled for MONDAY*
Thanks again for taking the time to help!
Regards, Bert Smelik
Op ma 30 nov 2026 om 15:17 schreef Funes ***@***.***>:
… Hi @bertsmelik <https://github.com/bertsmelik>,
"It plans a charge but doesn't charge" is not something I can act on.
There is no plan, no SOC, no prices, no configuration and no logs in this
report, so there is nothing to diagnose.
A planned charge can legitimately end at 0 W for several reasons: max SOC
reached, a charge blocker on one battery, the grid import limit, a hold.
The integration tells you which one applied. It exposes a lot of sensors
and a full diagnostics dump precisely so this doesn't have to be guessed.
To look into it I need, for one specific window that was planned and did
not charge:
1. The diagnostics file (Settings > Devices & services > Omnibattery >
Download diagnostics), downloaded during that window.
2. A screenshot of the plan, plus the time of the slot, its price and
the SOC of both batteries.
3. Debug logs of custom_components.omnibattery covering that window.
4. Your settings: max SOC, grid import limit / contracted power,
pricing strategy, and whether weekly full charge is enabled.
That it works with another integration doesn't help here. It is different
code with different logic and different settings, so it says nothing about
what this one is doing on your system.
With the data above I'll gladly dig in.
—
Reply to this email directly, view it on GitHub
<#975?email_source=notifications&email_token=ACJXXQGFQ7Z5WA4HHME6HUL53V6PDA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGI3TSNRZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-20027969>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJXXQDA7OM6NGFO4WUF4E353V6PDAVCNFSNUABJKJSXA33TNF2G64TZHMYTEOBTGEYDQNBXGU5UI2LTMN2XG43JN5XDWMJRGQZTKMZVHCQXMAQ>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ACJXXQGE7Q2OIP52QAKPAAD53V6PDA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGI3TSNRZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/ACJXXQDDRV3BTOSOFTBKLLD53V6PDA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGI3TSNRZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Groet, Bert Smelik
|
|
Here the files: |
|
Ok, I will do that.
Op di 1 dec 2026 om 09:18 schreef Funes ***@***.***>:
… Hi,
You need to log in to github in order to attach files, attaching it via
email just doesn't work.
Best regards
—
Reply to this email directly, view it on GitHub
<#975?email_source=notifications&email_token=ACJXXQET2VZFK4GL4643KLD53Z5GHA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGQ3TCNZZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-20047179>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJXXQCBPVONBYRYJEO3FY353Z5GHAVCNFSNUABJKJSXA33TNF2G64TZHMYTEOBTGEYDQNBXGU5UI2LTMN2XG43JN5XDWMJRGQZTKMZVHCQXMAQ>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ACJXXQEKR4RPWHLZ3COZ3F353Z5GHA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGQ3TCNZZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/ACJXXQBCHKBVCUQ3GFZK4ST53Z5GHA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGQ3TCNZZUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
Groet, Bert Smelik
|
|
Thanks for the logs, they show what happened. The 23:30 slot was your weekly full charge, but at that moment the battery was held by the SmartEVSE excluded device, not by charge delay (the log message is misleading, I'll fix it). The integration read I think the state text is the cause. Any state containing "charg" counts as charging, so something like "Ready to Charge" would trigger it. Can you check two things in Developer tools → States?
Until this is fixed, removing the activity sensor from the SmartEVSE excluded device stops it from blocking. The power sensor alone still handles the case where the car is actually drawing power. |
|
sensor.smartevse_8156_state can have the following states:
Currently, with the car plugged in and not charging it is
Last night, during the intended charging from grid:
I have removed the sensor from the excluded devices. 12:00-13:00 is planned as charge from grid. Will let you know if it indeed went charging! Charge from grid did not happen. Here's the debug log. |
|
Thanks, that confirms it. Every one of those states contains "charg", so the integration read all four as "car is charging", including "Ready to Charge" last night. Fixed for the next beta: the activity sensor now has to match a charging state exactly ( With that change, on SmartEVSE the activity sensor only reacts to "Charging", which the power sensor already catches, so you can leave it off. Let me know how the 12:00–13:00 slot went. |
|
Thanks for the explanation.
We will get there in the end. Keep on the great work!
Groet, Bert Smelik
Op di 1 dec 2026, 14:30 schreef Funes ***@***.***>:
… You're right, that's a second bug: clearing a sensor field of a special
device put the old sensor back on save. Your 12:00 log shows the same
SmartEVSE hold, so the removal never stuck. Fixed for 2.0.0b5, together
with the "Ready to Charge" fix. b4 has neither.
A correction to my last message: you have *Device has dynamic power
control* on for this device, and that option needs an activity sensor. So
"leave it off" was wrong for your setup. Either keep a sensor in that
field, or switch that option off.
To remove the device on b4: Configure → *Excluded devices*, untick *Configure
special devices* and save. That deletes all special devices; then add it
again with the fields you want. From b5 each device's form also has a *Remove
this device* switch.
About the plugged status sensor: if it reads on, true or 1 while the car
is plugged in and not charging, it will hold the battery again whenever the
car sits plugged in. Once you're on b5, put sensor.smartevse_8156_state
back. Only "Charging" counts there now.
—
Reply to this email directly, view it on GitHub
<#975?email_source=notifications&email_token=ACJXXQH5LM7DEDAIQSJAPUT533BWXA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGU2DGMZRUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSWGM33PORSXEX3DNRUWG2Y#discussioncomment-20054331>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJXXQHSTXL7M7NHYZMCPAD533BWXAVCNFSNUABJKJSXA33TNF2G64TZHMYTEOBTGEYDQNBXGU5UI2LTMN2XG43JN5XDWMJRGQZTKMZVHCQXMAQ>
.
Triage notifications, keep track of coding agent tasks and review pull
requests on the go with GitHub Mobile for iOS
<https://github.com/notifications/mobile/ios/ACJXXQHSJZW74TDVALF6W2L533BWXA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGU2DGMZRUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSVGM33PORSXEX3JN5ZQ>
and Android
<https://github.com/notifications/mobile/android/ACJXXQEQKTT3JS7BXZGYESD533BWXA5CNFSNUABIM5UWIORPF5TWS5BNNB2WEL2ENFZWG5LTONUW63SDN5WW2ZLOOQXTEMBQGU2DGMZRUZZGKYLTN5XKO3LFNZ2GS33OUVSXMZLOOSXGM33PORSXEX3BNZSHE33JMQ>.
Download it today!
You are receiving this because you were mentioned.Message ID:
***@***.***>
|


Uh oh!
There was an error while loading. Please reload this page.
Good day!
I am experimenting with version 2.0.0b3 and find that charge from grid is indeed planned but if the planning period is executed no charging takes place at all.
It looks like some mechanism nullifies the charge from grid.
As a result, in this season, the batteries end up drained and I could as well have no batteries at all.
I am using 2 x Marstek Venus E 3 that have worked well using Home Battery Control.
Any clues or suggestions?
All reactions