---
title: "Discussion on \"MQTT and MAM: Sending temperature and humidity data to the IOTA Tangle\" | Hashnode"
description: "Discussion on \"MQTT and MAM: Sending temperature and humidity data to the IOTA Tangle\". Introduction\nThe project is an attempt to combine the two technologies, MAM and MQTT, to retrieve and store information in the blockchain. In this case the IOTA tangle.\nMQTT is a Client Server publish/subscribe messaging transport protocol. It is lig..."
url: "https://hashnode.com/posts/mqtt-and-mam-sending-temperature-and-humidity-data-to-the-iota-tangle/5e0d852b588ef29727358fdc"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [MQTT and MAM: Sending temperature and humidity data to the IOTA Tangle](https://hashnode.com/post/mqtt-and-mam-sending-temperature-and-humidity-data-to-the-iota-tangle?utm_source=hashnode&utm_medium=feed)

Introduction The project is an attempt to combine the two technologies, MAM and MQTT, to retrieve and store information in the blockchain. In this case the IOTA tangle. MQTT is a Client Server publish/subscribe messaging transport protocol. It is lig...

Jan 2, 2020 · 13 min read · hashnode.com  
Updated Aug 22, 2020  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#blockchain](https://hashnode.com/tag/blockchain)
-   [#iot](https://hashnode.com/tag/iot)
-   [#iota](https://hashnode.com/tag/iota)
-   [#micropython](https://hashnode.com/tag/micropython)

## Written by

[Peter Okwara](https://hashnode.com/@peterokwara)

@peterokwara

  
[View profile](https://hashnode.com/@peterokwara)

## Responses 1

Markdown supported · ⌘↵ to post

[Marcio Alencar](https://hashnode.com/@macalencar)

[Mar 14, 2020](https://hashnode.com/posts/mqtt-and-mam-sending-temperature-and-humidity-data-to-the-iota-tangle/5e0d852b588ef29727358fdc/comment/5e6d465db302cf0e5bda1503)

provider, "" ->> provider: ""

const client = mqtt.connect(`${brokerUrl}:${port}`); ->> const client = mqtt.connect(`mqtt://${brokerUrl}:${port}`);

[Peter Okwara](https://hashnode.com/@peterokwara)

[Apr 19, 2020](https://hashnode.com/posts/mqtt-and-mam-sending-temperature-and-humidity-data-to-the-iota-tangle/5e0d852b588ef29727358fdc/comment/5e6d465db302cf0e5bda1503#reply-5e9ccfd74248eaef4322862e)

Did it work?
