Can anyone point me to an example or maybe just a workflow+libraries to achieve this:
I want a stand-alone MQTT broker on an ESP8266. That ESP8266 must also have a SoftAP so that other MQTT clients can collect messages (probably using mosquitto_sub). Lastly that core ESP8266 must also be able to publish its own MQTT messages to the broker.
I have found many variants on this theme but none quite fit the bill. The problem seems to be with the PubSubClient Publishing to "self/home address" - sorta like 127.0.0.1?
Regards, M.