Sofar HYD6000-ES Inverter RS485 data logger part 2
![Image](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzu-LSwTENsYn9qVrSosEm3Iu4Rez9r4KQfEJEA8-3UjfhV6ebDf1kvk48JJjI2M8lOvIbsc68C0RWAealeHVB72VhlgL5qQmoU_F1WzlIccCqM_jmJRPsS5yPmrgYfJyEcKg7KwrCBbKlhhQHCyfTvokzhG-OMOLbsGzb4VWzZA7A69SlEtIzA5u_rw/w300-h400/sofar2MQTT.jpg)
Right, got the nonRS485 stuff all working. Tweaked the code considerably to add Added ESP8266mDNS to advertise on the local LAN using mDNS to make it easy to find A website that displays the most recent data on a simple page; I dropped the very complex ESP8266WebServer in favour of the WiFiServer class A reset page that resets the configuration and asks for new details. A "noRS485" flag, set on compile, but could be configured via a webpage if required so it's less twitchy about not having RS485 connected for testing Dummy data if noRS485 is set This was all fairly hard work, largely because my C++/Arduino/ESP8266 knowledge is really pants. I've also made another ESP8266 that subscribes to the MQTT messages and displays them on a web page - this was my alternative if I couldn't get the web server working with the original! Now just waiting for the RS485 interface to arrive so I can get round to Dave's and start shorting out his inverter :-). IDEAS Make noR...