- Sun Aug 16, 2015 2:13 pm
Despite my fondness for hardcoding IP addresses in my source code, this is better.
There must be two MQTT pubsubclient libraries in use, because my previously installed pubsubclient library wanted four parameters passed at startup, the library included with this only expects two parameters. The additional parameters being supplied later in the MQTT connection process.
After a little library renaming and rearranging activity on my part, it ran well with no crashes from my (very) limited testing.
I never quite got it talking to the Mosquitto server, but it felt like it would without too many more hours of trying.
Very much tied to the Domotics home automation program. It has many useful techniques and a nice UI for studying.
Tags would include: JSON, home automation, Domotics, MQTT, WebServer UI with persistent variable storage.