Lectura de una sonda de temperatura ds18b20 con esp8266 esp01, y publicacion de la temperatura por medio de mensaje mqtt cada 10 minutos posibilidad de recibir un mensaje y publicar como respuesta la temperatura actual Editar configuraciones host, user, password etc etc en fichero include/user_config.h Requried:
SDK esp_iot_sdk_v0.9.4_14_12_19 to esp_iot_sdk_v1.0.1_b1_15_04_02
Mqtt library for esp8266 Authors: Tuan PM
ds18b20 driver Authors: Adaptation of Paul Stoffregens One wire library to the ESP8266 and
Necromantes Frankenstein firmware by Erland Lewin erland@lewin.nu
Pauls original library site:
http://www.pjrc.com/teensy/td_libs_OneWire.html
See also http://playground.arduino.cc/Learning/OneWire
Stripped down to bare minimum by Peter Scargill for single DS18B20 or DS18B20P Donations-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.