Logic Machine Forum
Is it possible to integrate LM with AWS IoT as of 2023? - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Is it possible to integrate LM with AWS IoT as of 2023? (/showthread.php?tid=5050)



Is it possible to integrate LM with AWS IoT as of 2023? - Hadeel - 24.10.2023

Hi!
I have reviewed the thread below and understood we can place cert files of AWS IoT in LM,
https://forum.logicmachine.net/showthread.php?tid=2223&highlight=aws+iot

but is it possible to integrate LM with AWS IoT as of 2023?

In my understanding, if we want LM to play a role as an AWS IoT device we need to install AWS IoT SDK which requires either of Node.js(version10+), Python(Version3.6+) or Java(version8) but is there any way possible to install it?

FYR
https://docs.aws.amazon.com/iot/latest/developerguide/iot-sdks.html

Thank you so much in advance!


RE: Is it possible to integrate LM with AWS IoT as of 2023? - admin - 24.10.2023

AWS IoT supports MQTT so you don't need any SDK to work with it.


RE: Is it possible to integrate LM with AWS IoT as of 2023? - Hadeel - 05.11.2023

Thank you admin it is actually true.
After you said so I tried and successfully connect LM with AWS IoT. : )

However I had a hard time placing the certificate files in LM.
I wanted to store them in 'data/ftp' directory with FTP but when I use the sevice like Filezilla (Visual FTP tool) I could not find the 'data/ftp' directory
and even though I tried placing the certificate files in other directory I could not reach them from the script.
Is there a easier way to place the certificate files in LM? Like scp commands?


RE: Is it possible to integrate LM with AWS IoT as of 2023? - admin - 06.11.2023

/data/ftp/ is the root directory for FTP server ftp login (not apps). If you upload client.crt into ftp root directory the absolute file path will be /data/ftp/client.crt


RE: Is it possible to integrate LM with AWS IoT as of 2023? - Hadeel - 06.11.2023

Oh I see! I need to use "ftp" for the username to use the folder /data/ftp/.
Can I use scp command to do the same thing?


RE: Is it possible to integrate LM with AWS IoT as of 2023? - admin - 06.11.2023

You can only use FTP.


RE: Is it possible to integrate LM with AWS IoT as of 2023? - Hadeel - 06.11.2023

OK : ) Thank you for your answer admin!