Installing Edge Lite in TRB246

Installing Edge Lite in TRB246

Installing Edge Lite enables seamless connection between your TRB246 gateway device and a Zoho IoT application. Running Edge Lite in the gateway also allows you to remotely configure the modbus device settings from the Zoho IoT Application itself.

Get Edge Lite setup files

  1. Contact support@zohoiot.com to obtain Edge Lite and its dependencies for TRB246.
  2. Unzip the provided file agent-trb-245-v.0.2.0.zip to a known location.

Connect TRB246 to PC/Mac

  1. Connect your Mac/PC to the TRB245 using a LAN cable.



  2. Power on your TRB246.
  3. Note the device's default IP address (Default IP: 192.168.1.1) displayed on the device.


  4. Open a browser (Chrome recommended) in your Mac/PC and enter the IP address in the address bar and click return/Enter. If prompted with a security warning, click "Continue to Site".



  5. Log in using the username and password displayed on the device label. (If you’ve already changed the password, use the updated one).



  6. Set up a new password if it is a new device.

Transfer set up file to TRB device

Notes
Note: Commands in the Terminal/Command Prompt are executed by typing the required command and pressing return/Enter. Password to be used in the setup must be the newly set password. 
  1. Open the terminal and navigate to the unzipped agent folder:
    1. Mac:
      1. Open Terminal.
      2. Type cd (followed by a space), drag the unzipped folder into Terminal, then press Return.

         cd    


      3. Example of command line after dragging and dropping:

         cd /Users/user-name/Documents/Downloads/binaries/teltonika/trb246   



    2. Windows:
      1. Open the extracted folder.
      2. Type cmd in the address bar and press Enter to open Command Prompt in that folder, then press Enter.



      3. Example of command in the command prompt for the directory:



  2. Transfer the dependency file:
    1. Execute the following command:

       scp libopenssl1.1_1.1.1t-1_mipsel_24kc.ipk root@192.168.1.1:/tmp     



    2. If prompted, type yes and press return/Enter.



    3. Then, enter the TRB246 password and press return/Enter.



  3. Transfer the agent file:
    1. Execute the following command:

       scp zoho_iot_agent_0.2.9-1_mipsel_24kc.ipk root@192.168.1.1:/tmp              



    2. Enter the TRB246 device password when prompted and click return/Enter.



Install Edge Lite in the device

  1. Go back to your browser tab with the TRB246 interface.
  2. Navigate to System > Maintenance > CLI.



  3. Log in with username root and your TRB246 device password.



  4. In the command line interface, execute.

      cd /tmp         



  5. Install the dependency first by executing:

     opkg install libopenssl1.1_1.1.1t-1_mipsel_24kc.ipk      
     


  6. Then, install the agent by executing:

      opkg install zoho_iot_agent_0.2.9-1_mipsel_24kc.ipk     




Access the web interface of Edge Lite

  1. Open a new browser tab.
  2. Go to: 192.168.1.1:8070/



  3. Login using:
              Username   : admin
             Password     : admin01



  4. Set a new password for the agent and click Confirm.


You will now be redirected to the Edge Lite web interface of your TRB246 device, you can now establish connection with the Zoho IoT application.

Next: Updating device credentials in Edge Lite installed in TRB246