2021年1月11日 星期一

MQTTool – MQTT for iPhone

 MQTTool – MQTT for iPhone

源自於 https://leeluchowdaryravi.wordpress.com/2018/02/26/node-red-sensors-store-data-in-mongodb-database-and-exploring-thingspeak-mqttool/

Although in the examples I have given above I used PC based software to carryout my testing, equally it is possible to use a smartphone app. So, This is an MQTT client and test tool.

IMG_3481

IMG_3480

I have Installed the application via Appstore on iPhoneX. Opened the application and made the  following changes.

  • Enter host the shared network of Mac (IPV4 address) and the default port 1883.
  • Click on connect

1520880523987

  • It is connected to the port and next click on Subscribe
  • Enter the Topic as per the code and like we did above for Node-Red /devices/”device_id”/events in my case
  • Make the QOS to 2 and click Subscribe
  • You will see that it is Subscribed to the topic

IMG_3479

  • Click on Publish and enter the Topic & Message like we did above. Retain and Publish

IMG_3477

  • Hit on Stats to see the details

1520880470026

  • Here we see the values from DTH22 sensor flowing in our phone. Isn’t it simple and useful to see the activities remotely using your cell phone. All that we did is to setup the device using Mongoose-OS keep it connected to our mobile app using MQTT broker on local network.

IMG_1990

 

沒有留言:

張貼留言

RFID TI 培訓影片系列

RFID TI 培訓影片系列  https://www.ti.com/zh-tw/video/series/rfid.html 培訓影片系列 RFID 隨著創新技術日益發展,RFID 和 RF 術語越來越容易讓人混淆。本訓練系列詳細介紹了使用案例、權衡技術優缺點,讓您清楚知道該選...