Skip to content
No description, website, or topics provided.
Branch: develop
Clone or download
Singhal-Vaibhav Merge pull request #19 from foglamp/master
v1.6.0 release - master to develop
Latest commit 05b4d5d May 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
packages/Debian/DEBIAN
python
test add connection failure warnings log in poll routine; changed DataRetr… Feb 20, 2019
.gitignore
Description
LICENSE FOGL-2785 Correct company name in license file May 13, 2019
Package RPM packaging May 14, 2019
README.rst FOGL-1470 architecture set to all Aug 1, 2018
VERSION.south.modbustcp VERSION changed May 22, 2019
make_deb

README.rst

foglamp-south-modbustcp

FogLAMP South Plugin for Modbus TCP

Installation

Create Debian Package

$ ./make_deb help
make_deb help [clean|cleanall]
This script is used to create the Debian package of foglamp modbustcp

Arguments:
 help     - Display this help text
 clean    - Remove all the old versions saved in format .XXXX
 cleanall - Remove all the versions, including the last one

./make_deb will create the debian package inside packages/build/.

Install Debian Package

Make sure FogLAMP is installed and running.

$ sudo systemctl status foglamp.service

Once you have created the debian package, install it using the apt command. Move the package to the apt cache directory i.e. /var/cache/apt/archives.

$ sudo cp foglamp-south-modbustcp-1.3.0.deb /var/cache/apt/archives/.
$ sudo apt install /var/cache/apt/archives/foglamp-south-modbustcp-1.3.0.deb

Check the newly installed package:

$ sudo dpkg -l | grep foglamp-south-modbustcp
ii  foglamp-south-modbustcp    1.3.0    all    South plugin for the modbustcp

Check foglamp service status for foglamp-south-modbustcp, it should list it as a south service:

$ sudo systemctl status foglamp.service
...
...
CGroup: /system.slice/foglamp.service
         |- ....
         ├─/bin/sh services/south --port= --address=127.0.0.1 --name=Modbus TCP
         └─python3 -m foglamp.services.south --port= --address=127.0.0.1 --name=Modbus TCP
You can’t perform that action at this time.