Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery stopped charging and discharing during tariff 2 #91

Open
icorne opened this issue Aug 27, 2023 · 15 comments
Open

Battery stopped charging and discharing during tariff 2 #91

icorne opened this issue Aug 27, 2023 · 15 comments

Comments

@icorne
Copy link

icorne commented Aug 27, 2023

What can I do to help debug this situation?

@icorne
Copy link
Author

icorne commented Aug 28, 2023

It started working again, but I am missing some numbers.
Could it be related to peak/offpeak switch?

@hif2k1
Copy link
Owner

hif2k1 commented Sep 1, 2023

If it is related to peak and off peak it should be fixed in the version just released (v1.2.0). If it's still a problem maybe post a graph of the battery charging and discharging.

@icorne
Copy link
Author

icorne commented Sep 2, 2023

I recreated a battery and it seems to be charging now

Screenshot_20230902-142007.png

@icorne
Copy link
Author

icorne commented Sep 2, 2023

The old one does not move.

Screenshot_20230902-142109.png

@hif2k1 hif2k1 closed this as completed Sep 26, 2023
@icorne
Copy link
Author

icorne commented Jan 8, 2024

@hif2k1 It seems to be broken again since I've updated in 2024. Any known issues?

@hif2k1
Copy link
Owner

hif2k1 commented Jan 11, 2024 via email

@icorne
Copy link
Author

icorne commented Jan 13, 2024

image As you can see, there IS consumption/production in tariff 2

@icorne
Copy link
Author

icorne commented Jan 13, 2024

@icorne
Copy link
Author

icorne commented Jan 19, 2024

@hif2k1 can I reopen this?

@hif2k1 hif2k1 reopened this Jan 20, 2024
@icorne icorne changed the title Battery stopped charging and discharing Battery stopped charging and discharing during tariff 2 Jan 22, 2024
@icorne
Copy link
Author

icorne commented Feb 17, 2024

Ok, I think I missed a change somewhere, it's working now after putting in export 1 AND 2,

Did they used to be consolidated?

@hif2k1
Copy link
Owner

hif2k1 commented Feb 18, 2024

Literally just logged on to try and read through your log file. Not sure why it should have started working now. Let me know if it stops working again. Thanks

@hif2k1 hif2k1 closed this as completed Feb 18, 2024
@icorne
Copy link
Author

icorne commented Feb 19, 2024

I was wrong @hif2k1 it's not working

@hif2k1 hif2k1 reopened this Feb 20, 2024
@hif2k1
Copy link
Owner

hif2k1 commented Feb 20, 2024

Looking through the log the battery is getting updates from these two sensors: sensor.energy_consumption_tarif_2 and sensor.energy_consumption_tarif_1

I don't see any time when the battery is charging up during the logged period so I can't tell about the export sensors.

It looks like it should be updating correctly in response to each of them. For some reason I haven't included the batteries actual charge level in the debug logging so I will release an update now with that included. However, I don't see how it could respond differently to the two inputs when it is receiving them exactly the same.

If you can update to the latest version and then run the logging again I can see how the batteries actual charge level is changing in response to the two inputs that would maybe show if there is a problem there, but I don't think there should be as after that point it is exactly the same code for handling the input.

@hif2k1
Copy link
Owner

hif2k1 commented Feb 20, 2024

It might also be helpful if you can add a graph of ensor.energy_consumption_tarif_2, sensor.energy_consumption_tarif_1 and the batteries charge level from the history graph section. Something like this.

image

@icorne
Copy link
Author

icorne commented Mar 7, 2024

image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants