Configuring Shelly EM Energy Meter

You can use this script: Shellies Discovery Script