Closed tobixx closed 1 year ago
Hi! Seems like the screenshots are taken about 10:50. Is that correct? The charging is planned to start 11:00, so it seems correct that charging has not started.
I have struggled a bit to make the Apexcharts-card example. How about the following? Note that I added offset: '-30min'
.
- entity: sensor.ev_smart_charging_charging
name: Charging
data_generator: >
return entity.attributes.charging_schedule.map((entry) => { return
[new Date(entry.start), entry.value]; });
type: area
color: black
offset: '-30min'
show:
in_header: false
extend_to: false
You might want to replace the type: area
with type: column
to make it clearer.
One problem with this is that when you point at the graph, the pop-up that appears will show starting time incorrectly by 30 minutes.
Thanks, for the reply!
Ok - if I understand correctly the: the raising flank is due to the area type - so my impression was just wrong that the start time of the flank (10:00) shows also the start of the charging - so basically my fault of misinterpreting it.
And yes: screenshot was taken just in front of of 11:00.
Your suggestion of using type column instead will probably eliminate the confusion. Will try that next week.
Thanks for clarifying!
Have a nice weekend!
First - the intergration works as expected. I'm just trying to get apexchart to visualize it a bit better.
Current schedule
Charging start time: 2024-01-26T04:00:00+01:00 Charging stop time: 2024-01-26T06:00:00+01:00
Currently i have Based on type: area curve: stepline
I have tried with different apexchart types but cant get it just right
type: column
Anybody got a better visualization ?
Played a bit more
Schedule with type: area curve: stepline stroke_width: 1 annd the price with type: line #column curve: stepline stroke_width: 4
is probably the best i can come up with ....
Hi,
the graph indicates that the charging should have been started already:
but not yet started as seen in the state.
Data indicates a one hour offset in opposite to the graph: