Monitoring shelly plug s

Have a look at this topic, it may give you some ideas how to resolve it.