Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikegam/iLonSSIPGW
Lonworks(R)/IP; iLon SOAP to IEEE1888 Gateway
https://github.com/ikegam/iLonSSIPGW
Last synced: 24 days ago
JSON representation
Lonworks(R)/IP; iLon SOAP to IEEE1888 Gateway
- Host: GitHub
- URL: https://github.com/ikegam/iLonSSIPGW
- Owner: ikegam
- Created: 2014-07-08T02:07:01.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-07-09T15:23:32.000Z (over 10 years ago)
- Last Synced: 2024-08-04T06:01:18.297Z (4 months ago)
- Language: C
- Size: 199 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-advanced-metering-infrastructure - Lonworks - Lonworks(R)/IP; iLon SOAP to IEEE1888 Gateway (C / Tools)
README
# i.Lon(R) Smart Server SOAP to IEEE1888 Gateway
# Installation for OpenBlocks
## Configure environment
* # aptitude install libcunit1-dev
* # aptitude install build-essentials git
* # git clone https://github.com/ikegam/liblight1888.git
* # cd liblight1888; make install## Move and clone
* # cd /root
* # git clone https://github.com/ikegam/iLonSSIPGW
* # cd iLonSSGW## Make and setup
* # mkdir /var/log/ieee1888_ilonss_gw
* # mkdir /var/cache/ieee1888_ilonss_gw
* # make
* # cp ieee1888_ilonss_gw.conf /etc/
* # cp init-script /etc/init.d/ieee1888_ilonss_gw## Launch
* # /etc/init.d/ieee1888_ilonss_gw start=オプション設定
- 1. 死活チェック
rpptで作業
1. crontab -e
2. エディタ起動
3. 下記を追記
* * * * * pgrep "ieee1888_ilonss" || (/etc/init.d/ieee1888_ilonss_gw stop; /etc/init.d/ieee1888_ilonss_gw start)- 2. 自動起動
上記の死活チェックで起動するため、とくべつの設定を行う必要はない
しかし、きちんと起動したい場合には下記のような設定を行う。
1. sudo vi /etc/rc.local
2. 下記を追加
(/etc/init.d/ieee1888_ilonss_gw stop; /etc/init.d/ieee1888_ilonss_gw start)