This is a working example that uses ESP-Insights component added into arduino-esp32 framework.
There are some platformio scripts running before and after the build process that help to engrave the necessary information required to setup ESP-Insights and create the firmware zip package to upload to the ESP-Insights dashboard. The zip file will be created after platformio build under .pio/esp32 folder. More info can be found in this issue: espressif/esp-insights#14
Check platformio.ini file to configure the project name and version that it will appear on the esp-insights node description:
; ESP-Insight Firmware data configurations for the scripts:
custom_prog_name = FirmwareNameTest
custom_prog_version = 1.2.3