In HA I use the calendar and I want to display the next upcoming events on an external Arduino ESP32 controlled (Elecrow) display. For that I want to have those events exported periodically from HA, these can be MQTT messages but exporting a file would also be fine.
A file format like date, description, start, end, allday would be fine to handle with Arduino.
An internal trigger in HA is fine but that can also be an external trigger, I think of an MQTT request or an API or something like that.
Can someone help or advise me with this?