Embed and Smartworks iot problem

Robbert Lee
Robbert Lee Altair Community Member
edited December 2022 in Community Q&A

Hi Team, I read Embed and SmartWorks IOT tutorial and try to configure my device. But the SmartWorks interface in the tutorial has been completely changed so I have some problems. I have performed some steps in SmartWorks so far, create space,category,things and model.But I don't know how to configure JSON and MQTT in Embed, can you guide me how to configure it? Thank you.

image

image

image

Answers

  • Girish Karamadi_21849
    Girish Karamadi_21849 New Altair Community Member
    edited November 2022

    Hi Robbert,

    Are you trying to use Arduino and ESP8266 to send the data to Smartworks??  

    https://altairsmartcore.com/

    Click on that above link. You would need to have an account to set up the device on smartcore.

    create a device and configure the MQTT for instance as shown below on smartcore . Once you create the device copy the device ID to JSON block of Embed. 

    Next on the MQTT block of Embed copy the API key of smart core to topic and user name of MQTT block in Embed . Password would be same as you set it on smartcore when you configure MQTT .

     

    Let me know if anything is required.

    image

    Regards,

    Girish

  • Steven Fine
    Steven Fine
    Altair Employee
    edited November 2022

    Based on some of your discussion, you MIGHT have signed up for the NEW IoT platform at studio.swx.altairone.com.  That demo refers to our OLD IoT platform as you have it shown.  I don't know if the embed example will work with the new platform... the JSON messages are much different.

     

     

  • Robbert Lee
    Robbert Lee Altair Community Member
    edited December 2022

    Hi Robbert,

    Are you trying to use Arduino and ESP8266 to send the data to Smartworks??  

    https://altairsmartcore.com/

    Click on that above link. You would need to have an account to set up the device on smartcore.

    create a device and configure the MQTT for instance as shown below on smartcore . Once you create the device copy the device ID to JSON block of Embed. 

    Next on the MQTT block of Embed copy the API key of smart core to topic and user name of MQTT block in Embed . Password would be same as you set it on smartcore when you configure MQTT .

     

    Let me know if anything is required.

    image

    Regards,

    Girish

    Hi Girish,

    Thanks for your reply. I don't have any direction in NEW IoT platform and not even sure if I can communicate with SmartWroks using JSON and MQTT from Embed

    I would really appreciate it if the development team could update the tutorial document for the latest IoT platforms.

  • Robbert Lee
    Robbert Lee Altair Community Member
    edited December 2022

    Based on some of your discussion, you MIGHT have signed up for the NEW IoT platform at studio.swx.altairone.com.  That demo refers to our OLD IoT platform as you have it shown.  I don't know if the embed example will work with the new platform... the JSON messages are much different.

     

     

    What you said is absolutely right. This is the biggest problem I currently encounter when I want to use Embed for IoT in NEW platform.....