You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+46-18
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,19 @@
2
2
3
3
> Open source Manufacturing Execution and Performance Monitoring built on [Grafana](https://grafana.com), [Influx](https://www.influxdata.com/), and [Postgres](https://www.postgresql.org/).
4
4
5
-
Define your master data, push your machine metrics to modernize your manufacturing and start collecting and analysing your manufacturing data with Libre. Libre is an open source manufacturing execution and performance monitoring tool.
5
+
Define your master data, push your machine metrics, start collecting and analyzing your manufacturing data with Libre. Libre is an open source manufacturing execution and performance monitoring tool.
6
6
7
7
-_Define:_ Your manufacturing master data including your enterprise model, downtime reasons, products, ingredients and product steps.
8
8
-_Capture:_ Connect up your machines using a variety of methods into key buckets with an InfluxDB Historian
9
-
-_Use:_Schedullers create and schedule orders, operators execute orders and capture downtime reasons.
9
+
-_Use:_Schedulers create and schedule orders, operators execute orders and capture downtime reasons.
10
10
-_Improve:_ Get key insights into your manufacturing, understand your biggest losses, visualize OEE.
11
-
-_Extensible:_ Built on Grafana, Influx and postgres push your key process parameters to view alongside your production dashboards. Extend with your Grafana dashboards.
11
+
-_Extensible:_ Built on Grafana, Influx and postgres push your key process parameters to view alongside your production dashboards. Extend with your Grafana dashboards. Free to innovate.
12
+
13
+

12
14
13
15
## Try it out
14
16
15
-
Use the [Libre Simulator](https://github.com/Spruik/Libre-Simulator) to test out Libre. The quickest way to run Libre and the Libre Simulator it is with with docker-compose `docker-compose -f docker-compose.yml -f docker-compose.sim.yml up -d` command. This will start up Libre and the simulator together. After running the command, browse to `http://localhost:3000` to access Grafana and `http://localhost:1880` to control the simulation.
17
+
Use the [Libre Simulator](https://github.com/Spruik/Libre-Simulator) to test out Libre. The quickest way to run Libre and the Libre Simulator it is with the docker-compose command `docker-compose -f docker-compose.yml -f docker-compose.sim.yml up -d`. This will start up Libre and the simulator together. After running the command, browse to `http://localhost:3000` to access Grafana and `http://localhost:1880/ui` to control the simulation.
16
18
17
19
See [Try it out](/docs/try-it-out.md) for more information.
Creating network "libre_default" with the default driver
46
+
Creating volume "libre_grafana_plugins" with default driver
47
+
Creating volume "libre_grafana_provisioning" with default driver
48
+
Creating volume "libre_postgres_data" with default driver
49
+
Creating volume "libre_influx_data" with default driver
50
+
Creating libre_influx_1 ... done
51
+
Creating libre_postgres_1 ... done
52
+
Creating libre_grafana_1 ... done
53
+
Creating libre_postREST_1 ... done
47
54
48
55
```
49
56
50
57
#### Set Grafana Admin Password
51
58
52
-
Once Libre is installed and running, navigate to `http://<server>:3000/` and and use the default grafana login username `admin` and password `admin` to login. You will then be prompted to change the default password.
59
+
Once Libre is installed and running, navigate to `http://<server>:3000/` and use the default Grafana login username `admin` and password `admin` to login. You will then be prompted to change the default password.
53
60
54
61
### Define your factory Model
55
62
@@ -63,7 +70,7 @@ Next, define your reason codes. Long click ReasonCodes in the Reason Codes panel
63
70
64
71

65
72
66
-
Raw Materials are added during product operations. Products are made up of a number of product operations. Finally products can be categorized by groups. Start by entering in Raw Material information by clicking the (+) on the Raw Material panel. These are the ingredients that go into your final product. Once raw materials have been added, add in the required Product Operationsin the Product Operation panel. Product Operations are the steps to manufacture the final product and is where a raw ingredient is added. For example `Fill Tank` or `Add Label`.
73
+
Raw Materials are added during product operations. Products are made up of a number of product operations. Finally, products can be categorized by groups. Start by entering in Raw Material information by clicking the (+) on the Raw Material panel. These are the ingredients that go into your final product. Once raw materials have been added, add in the required Product Operations in the Product Operation panel. Product Operations are the steps to manufacture the final product and is where a raw ingredient is added. For example `Fill Tank` or `Add Label`.
67
74
68
75

69
76
@@ -73,9 +80,9 @@ Once Raw Materials and Product Operations are added create a Product group using
73
80
74
81

75
82
76
-
Now that you have defined your factory model, downtime reasons, ingredients, product operations and products your are ready to start schedulling orders.
83
+
Now that you have defined your factory model, downtime reasons, ingredients, product operations and products your are ready to start scheduling orders.
77
84
78
-
### Schedulling Orders
85
+
### Scheduling Orders
79
86
80
87
Schedule orders on your lines using the `SmartFactory/Schedulling` dashboard. To setup use the `Production Line Start Time Setter` to define the start time for each line. This is the time whereby an order will be first scheduled for the day. For 24hr operation, set to 12:00AM.
81
88
@@ -89,11 +96,11 @@ Orders have the following state model:
89
96
90
97
The `SmartFactory/Line Schedule` dashboard shows the schedule for the selected manufacturing line. Orders can be set to next/running so that they are visible on the `SmartFactory/Line Performance` dashboard.
91
98
92
-
### Executing Orders and Integrating Machines
99
+
### Executing Orders
93
100
94
101
Orders be executed by clicking from the list in either `SmartFactory/Line Performance` or `SmartFactory/Line Schedule` and selecting Running. Only a single order can be Running at once per line. The Paused state can be used to pause orders until they are ready to be execute on again or completed. Once an order is running machine state and counts are logged against that order.
95
102
96
-
####Integrating Machine State
103
+
### Integrating Machines
97
104
98
105
Machines will need to push data to the following buckets and schemas.
99
106
@@ -155,21 +162,42 @@ The machine will need to publish to the `OrderPerformance` Influx bucket with th
155
162
| order_id | tag | string | Current order id |
156
163
| issued_qty | field | number | Count of good products this order |
157
164
158
-
### Analysing the Manufacturing Data
165
+
### Analyzing the Manufacturing Data
166
+
167
+
Analyse your manufacturing data using the `SmartFactory/Line Performance` and `SmartFactory/Analysis` dashboards. Line Performance offers analysis of performance and availability whilst the Analysis dashboard drills into time loss through Downtime Pareto graphs and sunbursts of both Downtime duration and frequency.
168
+
169
+
## Developing
170
+
171
+
Prerequisites
172
+
173
+
- docker (>= 18 required)
174
+
- git (>= 1.20 required)
175
+
176
+
1. Run the docker compose with the docker-compose.dev.yl file. Include the --build argument to build containers from source. `docker-compose -f docker-compose.dev.yml up --build`
177
+
2. To clear data whilst developing ensure to remove volumes `docker-compose -f docker-compose.dev.yml rm -v`
178
+
179
+
## Building
180
+
181
+
Prerequisites
182
+
183
+
- docker (>= 18 required)
184
+
- git (>= 1.20 required)
159
185
160
-
Analyse your manufacturing data using the `SmartFactory/Line Performance` and `SmartFactory/Analysis` dashboards. Line Performance offers analysis of performance and availability whilst the Analysis dashboard drills into time loss through Downtime paretos and sunbursts of both Downtime duration and frequency.
186
+
1. Clone this repository with `git clone https://github.com/Spruik/Libre` and enter directory `cd Libre`
187
+
2. Change directory into grafana and build the container `cd grafana`, `docker build . -t spruiktec/libre-grafana`
188
+
3. Change directory up one level, into postgres and build the container `cd .. && cd postgres`, `docker build . -t spruiktec/libre-postgres`
161
189
162
190
## Contributing
163
191
164
192
For any issue, there are fundamentally three ways an individual can contribute:
165
193
166
194
- By opening the issue for discussion: For instance, if you believe that you have uncovered a bug in, creating a new issue in the [GitHub issue tracker](https://github.com/Spruik/Libre/issues) is the way to report it.
167
-
- By helping to triage the issue: This can be done either by providing supporting details (a test case that demonstrates a bug), or providing suggestions on how to address the issue.
195
+
- By helping to triage the issue: This can be done either by providing supporting details (a test case that demonstrates a bug) or providing suggestions on how to address the issue.
168
196
- By helping to resolve the issue: Typically, this is done either in the form of demonstrating that the issue reported is not a problem after all, or more often, by opening a Pull Request that changes some bit of something in the panel in a concrete and reviewable manner.
169
197
170
198
## License
171
199
172
-
Libre is distrbuted under the [Apache 2.0 License](https://github.com/spruik/libre/blob/master/LICENSE).
200
+
Libre is distributed under the [Apache 2.0 License](https://github.com/spruik/libre/blob/master/LICENSE).
0 commit comments