Friday, August 5, 2016

Mqtt broker on ESP8266 #4


[Later edit]. On iotcentral.eu you will find instructions on how to install the ESP8266 MQTT broker on your EPS8266 and how to use the MQTT service provided by iotcentral.eu


I have more progress in ESP8266 as MQTT broker.


What I have for now on this ESP8266 module:



  • MQTT broker functionality
  • Bridging data to/from and another MQTT broker ( usually a cloud MQTT instance)
  • websockets connectivity ( I can now connect with my Homy application directly to the ESP8266 acting as an MQTT broker)
  • OTA (Over The Air) updates. Every time I have a new software update the ESP8266 is updating itself so, I can say that I have continuous integration (CI) and continuous deployment(CD). Also all the modules are activated over the air.
With all those function in place I still have 34kb of heap available for other features and yes is running on an ESP with a minimum 1Mb of memory. ESP8285 is a good candidate for running the broker.

Is working also on and old ESP-01 with 512kb but without OTA functionality.

Previous posts on the same subject:


IoT with ESP8266: Mqtt broker on ESP8266 #1


6 comments:

  1. Replies
    1. Hi, The full application is at iotcentral.eu. Just flash the binary to a new 4Mb ESP8266 and you have a functional MQTT broker in 1 minute. If you go to https://github.com/bcatalin/demoapp you a have code and binary for a ESP8266 socket(plug) that integrates with the iotcentral.eu and Bondar ESP8266 broker. You can use the demoapp as a starter for any device type you want. In 30 minutes you have a fully functional solution.

      Delete
  2. Replies
    1. Hi, Even better, the full application is at iotcentral.eu. Just flash the binary to a new 4Mb ESP8266 and you have a functional MQTT broker in 1 minute. If you go to https://github.com/bcatalin/demoapp you a have code and binary for a ESP8266 socket(plug) that integrates with the iotcentral.eu and Bondar ESP8266 broker. You can use the demoapp as a starter for any device type you want. In 30 minutes you have a fully functional solution.

      Delete
  3. Replies
    1. Hi, The full application is at iotcentral.eu. Just flash the binary to a new 4Mb ESP8266 and you have a functional MQTT broker in 1 minute. If you go to https://github.com/bcatalin/demoapp you a have code and binary for a ESP8266 socket(plug) that integrates with the iotcentral.eu and Bondar ESP8266 broker. You can use the demoapp as a starter for any device type you want. In 30 minutes you have a fully functional solution.

      Delete