How to use your PV production in a smart way