Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

Latest commit

 

History

History
28 lines (19 loc) · 891 Bytes

README.md

File metadata and controls

28 lines (19 loc) · 891 Bytes

DataCollector

DataCollector is ruby script written for data collection from power plants witch communicate through various of communication protocols. DataCollector supporting ModbusRTUviaTCP, ModbusTCP, Aurora protocol.

Prepare

config.json

{
  "API_URL" : "url_to_api",
  "email" : "[email protected]",
  "pass" : "loginPassword"
}

Installation

git clone [email protected]:ErikDvorcak/dataCollector.git
crontab -e  (and append to crontab next line where {path} is path to repository)
* * * * * cd {path}/dataCollector/lib/ && ruby dataCollector.rb

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/erikdvorcak/dataCollector. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.