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

Update evcc.dist.yaml #16720

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 15 additions & 6 deletions evcc.dist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,20 +252,29 @@ eebus:
messaging:
events:
start: # charge start event
title: Charge started
msg: Started charging in "${mode}" mode
title: Started charging of ${vehicleTitle} in ${mode} mode
msg: |
Start Time {{printf `%02d:%02d` now.Hour now.Minute}}
SoC {{round (.vehicleSoc) 0}}%
Range ${vehicleRange}km
stop: # charge stop event
title: Charge finished
msg: Finished charging ${chargedEnergy:%.1fk}kWh in ${chargeDuration}.
title: Charge of ${vehicleTitle} finished
msg: |
End Time {{printf `%02d:%02d` now.Hour now.Minute}}
SoC {{round (.vehicleSoc) 0}}%
Range ${vehicleRange}km
Charged Energy ${chargedEnergy:%.1fk}kWh
Total Price {{round (.sessionPrice) 2}}€
andig marked this conversation as resolved.
Show resolved Hide resolved
Average Price {{round (mulf .sessionPricePerKWh 100) 2}}ct/kWh
connect: # vehicle connect event
title: Car connected
msg: "Car connected at ${pvPower:%.1fk}kW PV"
msg: Car connected at ${pvPower:%.1fk}kW PV
disconnect: # vehicle connected event
title: Car disconnected
msg: Car disconnected after ${connectedDuration}
soc: # vehicle soc update event
title: Soc updated
msg: Battery charged to ${vehicleSoc:%.0f}%
msg: Battery charged to ${vehicleSoc:%.0f} %
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
msg: Battery charged to ${vehicleSoc:%.0f} %
msg: Battery charged to ${vehicleSoc:%.0f}%

guest: # vehicle could not be identified
title: Unknown vehicle
msg: Unknown vehicle, guest connected?
Expand Down