I’ve created an S0 Counter to measure (Solar) energy using an external kWh Pulse meter. This time using an Arduino Yun which can upload the data to PVOutput.org and provide the data via MQTT.
Read the article