*** This version now works without the screen glitch where everything blinks.
Here is a quick video tutorial on how to install and some basic usage for this version.
➡️Video Tutorial⬅️
This is the databank version of this script. It's for monitoring machines only. Eventually I'll add more features to this, but I don't want to overwhelm the simplicity in its intent. It's meant for larger industries, so you can have a central monitor that shows you which machines are running and which need attending.
There was a problem pasting the JSON into the spoiler, so I have made it available to download. Right click and Save as, or click the link and copy the entire page of the new window.
Here is the JSON code. Just copy/paste it to the programming board that will be hooked up to the screen and databank.
➡️ Main PB⬅️
Here is the JSON code. Just copy/paste it to the programming board that will be hooked up to the databank and the industry machines.
➡️ Mach PB⬅️ *Updated 9-29-2020
**note: If you need to remove machines from the machine PB's, you need to do 1 of 2 things.
1: Edit LUA on the PB you removed the link from. On the left you will see the names of everything connected. db and mach1 - mach9. The mach# must start at 1 and can't skip any numbers. So if you have 3 machines and you remove mach2, you must rename mach3 to mach2.
2: (The easiest method) Repaste the JSON code to the PB. This will rename everything for you.
***You also need to clear the databank. Turn off all the PB's then, edit LUA on the main PB. Click System and the very top start. Change --db.clear() to db.clear and click apply. Turn the PB on then off then change db.clear() back to --db.clear(). Finally, turn all the machine PB's on first, then the main PB.
I'm working on a fix to make this easier.