The SmartServer IoT can be used on an LNS network that is managed by the IzoT Commissioning Tool (CT), or other IzoT Net Server or LNS tool. This section describes how to make Modbus RTU data updates available as network variables in an LNS network.
In order to see Modbus datapoints in LON network variables, you need to create a custom internal application in the SmartServer IoT that subscribes to the Modbus data (MQTT) and updates the internal LON variables on your internal LON device so the data will populate on your device’s instance in IzoT CT.
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:
Copy the <internalApp>.conf file into the /etc/supervisor/conf.d directory.
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.
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.
Continue setting up Modbus IMM following the steps in the section below: Starting the SmartServer IoT Internal Application.
Starting the SmartServer IoT Internal Application
Note: 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.
From the console, reboot the SmartServer IoT by typing the sudo rebootcommand.
Once the SmartServer IoT console has restarted, verify that the Internal App is running by typing the sudo supervisorctl command.
Exit supervisorctl by pressing control-c.
Continue setting up Modbus IMM following the steps in the section below: Using IzoT CT.
Using IzoT CT
Launch the LonWorks Interfaces (32-bit) control panel applet on your Windows PC.
Using the LonWorks Interfaces applet, add a new IP-852 interface.
Define an IP-852 VNI interface that will be used by IzoT CT in the LonWorks Interfaces applet.
Launch the EnOcean IP-852 Configuration Server.
Create or open an existing IzoT CT network and attach to the defined IP-852 interface that is on the same IP-852 channel as the SmartServer IoT.
Set the Management Mode to OnNet.
Verify that the Channel Properties of the opened network is set to IP-852.
Create and add new IP-70 channel that represents the internal IP-70 channel.
Add a new router object to the drawing connecting the IP-852 channel to the newly defined IP-70 channel.