How to send commands via MQTT to Thingy52

Hello Dear Team,

Does anybody know how can send command (for example enable LED) to Thingy52 via MQTT?

Thanks and be well!

Parents
  • Hi Doykin,

    Could you explain more about your project? 

    Running MQTT on Thingy52 is possible but there are no samples you can use directly, the solution is basically 802.15.4/Thread/IP/TCP/MQTT, but this is not common usage due to hardware restriction and complexity. Using BLE to enable LED is simple and fast.

    Best regards,

    Charlie

  • Dear Charlie, thanks for response,

    I use Omniot as software hub for Thingy52, and I able for get data from it in MQTT-Explorer app on my laptop, and MQTT-Explorer can send command to Thingy52 in raw, xml or json format, but I don`t know what I should to send for enable LED on the board of Thingy52

    It just a education home project, just for fun.

    Thanks and be well!

  • Hello Doykin,

    Sorry this is a bit late but I just wanted to follow up to let you know you can definitely control the Thingy:52 remotely via MQTT using the OmnIoT SoftHub directly. You can write to any of the Thingy's write enabled ble characteristics based on events arriving to the SoftHub from your remote MQTT broker. Once you understand how it works you can do it with literally a few minutes effort.

    There are a few video's covering it on the OmnIoT youtube channel, OmnIoTVideos, but if you need help or have specific questions feel free to follow up here or contact us directly via the contact page at the OmnIoT website....

Reply
  • Hello Doykin,

    Sorry this is a bit late but I just wanted to follow up to let you know you can definitely control the Thingy:52 remotely via MQTT using the OmnIoT SoftHub directly. You can write to any of the Thingy's write enabled ble characteristics based on events arriving to the SoftHub from your remote MQTT broker. Once you understand how it works you can do it with literally a few minutes effort.

    There are a few video's covering it on the OmnIoT youtube channel, OmnIoTVideos, but if you need help or have specific questions feel free to follow up here or contact us directly via the contact page at the OmnIoT website....

Children
No Data
Related