Integration of Sense and Shelly Energy Monitoring Relays

Maybe my posting can help: