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

PV Surplus Charging - what happens when pGrid gets "unavailable"? #125

Closed
parkflyer opened this issue Dec 2, 2023 · 4 comments
Closed

Comments

@parkflyer
Copy link

My MQTT based grid sensor is WLAN based and there is the possibility that the "Power Saldo" which I use for pGrid in the "PV Surplus Charging" automation could get unavailable (e. g. no data received for 60 sec due to WLAN problems). What will then happen to the charging process?

Cheers,
parkflyer

@OhneNik
Copy link
Contributor

OhneNik commented Dec 6, 2023

Hey,

just do the good old |float(0) template.

{{ “unavailable”|float(0) }} returns the default 0 in the template.

I think what really happens is, that the go-e does not accept the input and ignores the value.

@parkflyer
Copy link
Author

Thanks, OhneNik!
I assume

has_value('sensor.my_sensor')

would also work, correct?

Also I believe a default value of e.g. 1000 (positive value) would be better as it indicates to the wallbox that no surplus PV power is available.

@OhneNik
Copy link
Contributor

OhneNik commented Dec 7, 2023

Yep all templating functionality is working there.

But if you like to alter the pGrid values on multiple heuristics I‘d prefer doing something like this

@syssi
Copy link
Owner

syssi commented Feb 3, 2024

Let's close this issue. It looks like it's resolved.

@syssi syssi closed this as completed Feb 3, 2024
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

3 participants