oee-cli

0.0.1-h • Public • Published

The expected message sent to the oee/Machine1 topic should include JSON data with the following fields: runTime, totalTime,targetSpeed,totalProduced,goodProduced.

example json input

{ "runTime": 3600, "totalTime": 4200, "targetSpeed": 50, "totalProduced": 10000, "goodProduced": 9700 }

The input is taken from mqtt topic and output is logged into influxdb. This program calculates OEE from above parameters.

To run this program after npm install oee-cli -g

oee-cli -b -u -p -i -d -t

Example

oee-cli -b mqtt://localhost -u " " -p " " -i localhost -d oee -t oee/machine1

Replace localhost by your real machine or vm name or ip

oee-cli - By Harshad Joshi at Bufferstack.IO Analytics Technology LLP, Pune, 2023

Package Sidebar

Install

npm i oee-cli

Weekly Downloads

3

Version

0.0.1-h

License

GPL-3.0

Unpacked Size

40.2 kB

Total Files

4

Last publish

Collaborators

  • hj91