fbpx
Magicblocks Lesson 14: Mobile App 03
Magicblocks App Lesson 3

Configure app with Magicblocks.io

This is custom heading element

Configure with Magicblocks.io

Go to Magicblocks.io and create a free account. Magicblock is an easy IoT platform for everyone.

To receive data from the app, create the following flow,

Image link

For the ‘MQTT in node,’ the same details you entered on the settings page should be given. They are,

  1. Hostname
  2. Port
  3. Publish Topic in Topic field
  4. QoS
  5. Username (Only if given in the app)
  6. Password (Only if given in the app)

To send data from Magicblocks.io to the app, create the following flow,

Image link

For the ‘MQTT out node’ The same details you entered on the settings page should be given. They are,

  1. Hostname
  2. Port
  3. QoS
  4. Username (Only if given in the app)
  5. Password (Only if given in the app)

In the Inject node, these adjustments should be made.

  1. Payload should be JSON and for testing purposes use the following JSON.
    { “title”:”hello”, “text”:”Welcome to magicblocks” }
  2. The topic should be given the same Subscribe Topic in your app settings.

When you want to publish data from magicblocks.io click the inject node.

Publish to topic

Tap on any sensor/s to send data to the specified topic.

Subscribe to topic

When data is received for the topic, a popup notification will appear on your phone.

it is an easy IoT platform for everyone.

www.magicbit.cc

Related Posts
Leave a Reply