obtain MTCAP AEP EUID from node.js from the console?

Home Forums Conduit: AEP Model obtain MTCAP AEP EUID from node.js from the console?

Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #30199
    projectmentor
    Participant

    How can i get the EUID from a MTCAP-915 AEP console via node.js ?
    e.g:

    admin@mtcap~$ node
    > <– what command/script can i use to find Euid of conduit?

    #30202
    Steve Kovarik
    Moderator

    With the latest firmware ssh in with username/password.
    I sudo -s and re-enter the password.

    Use the command mts-io-sysfs show uuid

    #30205
    projectmentor
    Participant

    Hi Steve,

    This command worked for me. MTCAP-915 firmware 5.0.0 from the command prompt.`
    sudo mts-io-sysfs –verbose show “lora/eui”
    `

    However, not sure if i can access via node.js as i want to
    obtain the euid in a javascript function inside settings.js in order to dynamically customize the node-red app for each conduit upon app initialization without hardcoding.

    I did also notice that I can access the lora-euid by parsing the output of ps auxwww | grep lora-eui | grep -v angel

    • This reply was modified 4 years, 10 months ago by projectmentor.
    • This reply was modified 4 years, 10 months ago by projectmentor.
    • This reply was modified 4 years, 10 months ago by projectmentor.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.