Omni aims to be a centralized Industry 4.0 controller.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
On your raspberry Pi board : Python / Packet Manager (pip) and main packages (RPi.GPIO)
git clone http://github.com/SunPaz/omni
cd _deploy
chmod 740 delpoy_requiered_modules.sh
sh delpoy_requiered_modules.sh
Post installation checks can be ran like this :
cd _deploy
python test_python_packages.py
To deploy server application :
Navigate to "./cfg/" and edit file connectionString.example with your database credentials then save it in "./_deploy/docker/connectionString.sql". Note : To deploy database, you can use the script located in "./_deploy/database/".
Navigate to "./_deploy/docker/" and then execute the following docker commands :
docker build . -t omni-server
docker run -it --entrypoint=/bin/bash --net=host omni-server
docker ps
TODO
Role : Access controller
- [OK] HID iClass R-640X-300 Card Reader
- [OK] RC522 Card Reader
- [TESTING] ZFM 20 (Adafruit sensor) (Currently testing)
- [HELP] ZK4500 Fingerprint Reader (Image seems to be encrypted)
- [TODO] Digital Persona URU 4000 Fingerprint Reader
- [TODO] Fprint Fingerprint reader library compatibility
Role : Energy Manager
- [TODO]
Role : IO Echo
- [OK] Receive IO using GPIO and send it throught TCP
- Flask - Flask is a micro webdevelopment framework for Python.
- RPi.GPIO - Provides a class to control the GPIO on a Raspberry Pi.
- MFRC522 - MFRC522 Wrapper
- Docker - Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Matthieu AMOROS - Initial work - SunPaz
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details