Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Open the SmartServer Configuration page as described in Accessing the SmartServer IoT Configuration PageThe Network tab appears as the default SmartServer Configuration page. Once the network settings are configured for the SmartServer system, then the System tab will appear as the default.


    Network tab



    System tab

  2. From the Network tab, select the LAN Interface Static IP Address dropdown option and specify the address details. 



  3. Click Update to save your configuration.

  4. Click the /wiki/spaces/TEMP/pages/1475599 Firewall tab.



  5. Enable the SmartServer IoT port 1883 for eth0, which is required for the IzoT Net Export Tool and internal applications.



  6. Click Update to save your configuration.

  7. Click the LON tab.



  8. Enable the SmartServer IoT for IP-852  eth0 interface.



  9. Click Update to save your configuration.

  10. Click the CMS tab and log into the CMS.

  11. From the Devices widget, switch the LON management mode to LON Independent Management Mode (IMM).

...

  1. Use the CMS Import / Export button ( ) to import the internal LON application DTP file.

  2. Connect to the SmartServer IoT via FTP.

  3. In the /var/apollo/data/ directory, create a new directory called apps and a subdirectory under apps, where SmartServer IoT internal application files will be copied using the following commands:
    1. package.json
    2. package-lock.json
    3. <internalApp>.js

  4. Copy the <internalApp>.conf file into the /etc/supervisor/conf.d directory.

  5. If your SmartServer IoT has internet access, from the SmartServer console (as described in the section Connecting to Your SmartServer), navigate to the newly created internal app directory and enter the npminstall command to add the node packages required for this application.

    or 

    If your SmartServer IoT does not have internet access, use FTP to copy the entire node_modules folder into the SmartServer IoT internal application directory.

...

It is best practice is to design the SmartServer IoT internal application to delay its startup by 5 minutes when running as a service. Doing so allows time for dependent applications, like the CMS, to execute.  

  1. From the console, reboot the SmartServer IoT by typing the following command:

    Code Block
    sudo reboot


  2. Once the SmartServer IoT console has restarted, verify that the Internal App is running by typing the sudo supervisorctl command.

  3. Exit  supervisorctl by pressing control-c

...