Arduino sketch to translate LED pulses to MQTT data.
Original credit goes to Hadley Rich. This has been slightly modified before initial commit. Original sketch can be found here: http://nicegear.co.nz/blog/electricity-meter-usage-over-mqtt/ Also requires MQTT PubSubClient library for arduino. which can be found here: http://knolleary.net/2012/11/11/updated-arduino-client-for-mqtt/