Results 162 comments of Eugen

> calculate power for surplus charging That's the problem: power, we need energy ;) If a wallbox has energy values for the grid (like cFos, openWB...), we can use it....

cFos (and openWB) has direct connection to the Meter and get precalculated kWh You can't take power x time, because time should be each second, because you charging with PV...

> -Amount of energy for this charging session (kWh) from the wallbox? > -Amount of energy from the grid (kWh, which is an ever inceasing counter!) 🤪

@damiano94 did you found it out? https://github.com/SpenceKonde/DxCore/blob/master/PlatformIO.md

URL: https://www.energyforecast.de/api/v1/predictions/next_48_hours?token=___API_KEY____&fixed_cost_cent=14.907&vat=19 Response: `[{"start":"2024-08-09T00:00:00.000Z","end":"2024-08-09T01:00:00.000Z","price":0.2467},{"start":"2024-08-09T01:00:00.000Z","end":"2024-08-09T02:00:00.000Z","price":0.2431},{"start":"2024-08-09T02:00:00.000Z","end":"2024-08-09T03:00:00.000Z","price":0.23},{"start":"2024-08-09T03:00:00.000Z","end":"2024-08-09T04:00:00.000Z","price":0.2432},{"start":"2024-08-09T04:00:00.000Z","end":"2024-08-09T05:00:00.000Z","price":0.2618},{"start":"2024-08-09T05:00:00.000Z","end":"2024-08-09T06:00:00.000Z","price":0.2718},{"start":"2024-08-09T06:00:00.000Z","end":"2024-08-09T07:00:00.000Z","price":0.2373},{"start":"2024-08-09T07:00:00.000Z","end":"2024-08-09T08:00:00.000Z","price":0.2038},{"start":"2024-08-09T08:00:00.000Z","end":"2024-08-09T09:00:00.000Z","price":0.1773},{"start":"2024-08-09T09:00:00.000Z","end":"2024-08-09T10:00:00.000Z","price":0.1673},{"start":"2024-08-09T10:00:00.000Z","end":"2024-08-09T11:00:00.000Z","price":0.1666},{"start":"2024-08-09T11:00:00.000Z","end":"2024-08-09T12:00:00.000Z","price":0.1664},{"start":"2024-08-09T12:00:00.000Z","end":"2024-08-09T13:00:00.000Z","price":0.1656},{"start":"2024-08-09T13:00:00.000Z","end":"2024-08-09T14:00:00.000Z","price":0.1665},{"start":"2024-08-09T14:00:00.000Z","end":"2024-08-09T15:00:00.000Z","price":0.1666},{"start":"2024-08-09T15:00:00.000Z","end":"2024-08-09T16:00:00.000Z","price":0.1697},{"start":"2024-08-09T16:00:00.000Z","end":"2024-08-09T17:00:00.000Z","price":0.2163},{"start":"2024-08-09T17:00:00.000Z","end":"2024-08-09T18:00:00.000Z","price":0.263},{"start":"2024-08-09T18:00:00.000Z","end":"2024-08-09T19:00:00.000Z","price":0.3154},{"start":"2024-08-09T19:00:00.000Z","end":"2024-08-09T20:00:00.000Z","price":0.307},{"start":"2024-08-09T20:00:00.000Z","end":"2024-08-09T21:00:00.000Z","price":0.3017},{"start":"2024-08-09T21:00:00.000Z","end":"2024-08-09T22:00:00.000Z","price":0.2775},{"start":"2024-08-09T22:00:00.000Z","end":"2024-08-09T23:00:00.000Z","price":0.2679},{"start":"2024-08-09T23:00:00.000Z","end":"2024-08-10T00:00:00.000Z","price":0.2762},{"start":"2024-08-10T00:00:00.000Z","end":"2024-08-10T01:00:00.000Z","price":0.2705},{"start":"2024-08-10T01:00:00.000Z","end":"2024-08-10T02:00:00.000Z","price":0.2674},{"start":"2024-08-10T02:00:00.000Z","end":"2024-08-10T03:00:00.000Z","price":0.2653},{"start":"2024-08-10T03:00:00.000Z","end":"2024-08-10T04:00:00.000Z","price":0.2683},{"start":"2024-08-10T04:00:00.000Z","end":"2024-08-10T05:00:00.000Z","price":0.2722},{"start":"2024-08-10T05:00:00.000Z","end":"2024-08-10T06:00:00.000Z","price":0.257},{"start":"2024-08-10T06:00:00.000Z","end":"2024-08-10T07:00:00.000Z","price":0.2046},{"start":"2024-08-10T07:00:00.000Z","end":"2024-08-10T08:00:00.000Z","price":0.1668},{"start":"2024-08-10T08:00:00.000Z","end":"2024-08-10T09:00:00.000Z","price":0.163},{"start":"2024-08-10T09:00:00.000Z","end":"2024-08-10T10:00:00.000Z","price":0.1521},{"start":"2024-08-10T10:00:00.000Z","end":"2024-08-10T11:00:00.000Z","price":0.1398},{"start":"2024-08-10T11:00:00.000Z","end":"2024-08-10T12:00:00.000Z","price":0.118},{"start":"2024-08-10T12:00:00.000Z","end":"2024-08-10T13:00:00.000Z","price":0.1189},{"start":"2024-08-10T13:00:00.000Z","end":"2024-08-10T14:00:00.000Z","price":0.1313},{"start":"2024-08-10T14:00:00.000Z","end":"2024-08-10T15:00:00.000Z","price":0.1568},{"start":"2024-08-10T15:00:00.000Z","end":"2024-08-10T16:00:00.000Z","price":0.1667},{"start":"2024-08-10T16:00:00.000Z","end":"2024-08-10T17:00:00.000Z","price":0.2247},{"start":"2024-08-10T17:00:00.000Z","end":"2024-08-10T18:00:00.000Z","price":0.2935},{"start":"2024-08-10T18:00:00.000Z","end":"2024-08-10T19:00:00.000Z","price":0.3158},{"start":"2024-08-10T19:00:00.000Z","end":"2024-08-10T20:00:00.000Z","price":0.3249},{"start":"2024-08-10T20:00:00.000Z","end":"2024-08-10T21:00:00.000Z","price":0.3068},{"start":"2024-08-10T21:00:00.000Z","end":"2024-08-10T22:00:00.000Z","price":0.2935},{"start":"2024-08-10T22:00:00.000Z","end":"2024-08-10T23:00:00.000Z","price":0.2325},{"start":"2024-08-10T23:00:00.000Z","end":"2024-08-11T00:00:00.000Z","price":0.2319},{"start":"2024-08-11T00:00:00.000Z","end":"2024-08-11T01:00:00.000Z","price":0.2256},{"start":"2024-08-11T01:00:00.000Z","end":"2024-08-11T02:00:00.000Z","price":0.2184},{"start":"2024-08-11T02:00:00.000Z","end":"2024-08-11T03:00:00.000Z","price":0.2149},{"start":"2024-08-11T03:00:00.000Z","end":"2024-08-11T04:00:00.000Z","price":0.2152},{"start":"2024-08-11T04:00:00.000Z","end":"2024-08-11T05:00:00.000Z","price":0.2435},{"start":"2024-08-11T05:00:00.000Z","end":"2024-08-11T06:00:00.000Z","price":0.2696},{"start":"2024-08-11T06:00:00.000Z","end":"2024-08-11T07:00:00.000Z","price":0.2624},{"start":"2024-08-11T07:00:00.000Z","end":"2024-08-11T08:00:00.000Z","price":0.2488},{"start":"2024-08-11T08:00:00.000Z","end":"2024-08-11T09:00:00.000Z","price":0.2373},{"start":"2024-08-11T09:00:00.000Z","end":"2024-08-11T10:00:00.000Z","price":0.2357},{"start":"2024-08-11T10:00:00.000Z","end":"2024-08-11T11:00:00.000Z","price":0.2271},{"start":"2024-08-11T11:00:00.000Z","end":"2024-08-11T12:00:00.000Z","price":0.229},{"start":"2024-08-11T12:00:00.000Z","end":"2024-08-11T13:00:00.000Z","price":0.2278},{"start":"2024-08-11T13:00:00.000Z","end":"2024-08-11T14:00:00.000Z","price":0.2485}]`

Hi @mampfes what do you think? Will you implement it?

I'm also using same fork since few days without complains ;)

Hey Robert, the modules should be ok. I'm using same in other projects. But I'm not sure if the sketch still work in general. Can library und ESP IDF had...

Hey Robert, I tested it today and it still works. [can_common](https://github.com/collin80/can_common) 0.3.0 [ESP32_CAN](https://github.com/collin80/esp32_can) 0.2.3 esp32 Core 2.0.16 I will try to update to the newest versions and try it again....