I'm hoping someone can help me or point me in the correct direction.
I'm currently monitoring the energy production from my solar setup (Soladin)
I'm using this ino from GitHub with an ESP8266:
github.com/vChrisR/esp8266-pv-logger/blob/master/esp8266-pv-logger.ino
The date is sent to thingspeak and is working perfect. But I'd like to have the data sent to my MQTT broker instead (Mosquitto running on RPi 2) so I can incorporate it into home-assistant.
Is there a way to edit the ino to incorporate MQTT instead of Thingspeak?
I'm sorry if this is a simple thing to do but I'm new to this kind of thing but willing to learn.
Thanks in advance.
Andrew.