How to integrate Shelly 3EM in Emoncms local?

Look at the JSONATA docs. Numeric functions · JSONata.

However, I think Emoncms will translate a string to number when it reads the topic (IIRC).

You can use a JSONATA string function to set the Topics.