point85 / OEE-Designer

The OEE-Designer is the build time environment for OEE applications.
MIT License
93 stars 46 forks source link

Monitor application sample data #2

Closed vraghu1983 closed 5 years ago

vraghu1983 commented 5 years ago

Hi - I went through the samples, and would like to know how the monitor application can be envisioned with some sample static data. So, any samples in this regard will be useful. Thank you in advance.

point85 commented 5 years ago

The easiest way to create static data is to use the Monitor's editors to create events. Create a material setup first followed by the availability and production events. The web operator application can also be deployed to a web server. The war file is at https://github.com/point85/OEE-Operations/releases.

On Mon, Mar 18, 2019 at 12:21 AM Raghu notifications@github.com wrote:

Hi - I went through the samples, and would like to know how the monitor application can be envisioned with some sample static data. So, any samples in this regard will be useful. Thank you in advance.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/point85/OEE-Designer/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/ALzL8JfrjChcXSftCq7Knb-BModVGIoeks5vXz6CgaJpZM4b5G1k .

une18 commented 5 years ago

I studied the documentation of the project. Plan is to use MQTT for data transfer. For testing I plan to use Arduino NodeMCU board with photoelectric switch connected to it. I got confused what is the exact data that should be sent out? If 1 product is counted with the sensor, should it send out just "1" or "date,time,1" Should it send every counted product as separate data transfer or should it collect and send out 10 product counts with 1 transfer or 1 transfer per minute or...? Maybe You could add into the user manual a sample of the data transfered.

I need to start with the software, but need some help locally to get all up and running.

vraghu1983 commented 5 years ago

Thanks. We don't have a setup in the factory as yet but would like to see how this works so was asking for the simulation of static data. Will give a try with the material setup and let you know.

On Mon, 18 Mar 2019, 20:18 une18, notifications@github.com wrote:

I studied the documentation of the project. Plan is to use MQTT for data transfer. For testing I plan to use Arduino NodeMCU board with photoelectric switch connected to it. I got confused what is the exact data that should be sent out? If 1 product is counted with the sensor, should it send out just "1" or "date,time,1" Should it send every counted product as separate data transfer or should it collect and send out 10 product counts with 1 transfer or 1 transfer per minute or...? Maybe You could add into the user manual a sample of the data transfered.

I need to start with the software, but need some help locally to get all up and running.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/point85/OEE-Designer/issues/2#issuecomment-473941409, or mute the thread https://github.com/notifications/unsubscribe-auth/AK20dNtruNQ_Bt02YcjZoI90WpEe96Jnks5vX6c8gaJpZM4b5G1k .

point85 commented 5 years ago

There is one MQTT message per availability, production or setup event. So the amount is '1' with an associated unit of measure as defined in the physical plant model for that equipment. If you don't have a material setup event for this equipment, you can use the Monitor's editor to create one. The body of the MQTT message is a JSON-serialized EquipmentEventMessage object. You can look at that class to see its attributes. The ISO 8601 event time string can be sent in the message itself, set the JavaScript event resolver or left null in which case the event time is the data collector's current time.

I will add an example EquipmentEventMessage JSON body to the user guide.

On Mon, Mar 18, 2019 at 7:48 AM une18 notifications@github.com wrote:

I studied the documentation of the project. Plan is to use MQTT for data transfer. For testing I plan to use Arduino NodeMCU board with photoelectric switch connected to it. I got confused what is the exact data that should be sent out? If 1 product is counted with the sensor, should it send out just "1" or "date,time,1" Should it send every counted product as separate data transfer or should it collect and send out 10 product counts with 1 transfer or 1 transfer per minute or...? Maybe You could add into the user manual a sample of the data transfered.

I need to start with the software, but need some help locally to get all up and running.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/point85/OEE-Designer/issues/2#issuecomment-473941409, or mute the thread https://github.com/notifications/unsubscribe-auth/ALzL8L2Mr3hdCsh6WkNVU4zk46m8njD1ks5vX6c8gaJpZM4b5G1k .

point85 commented 5 years ago

I updated the Point 85 OEE User Guide with an example of a JSON MQTT message.