Skip to content

dataignitelab/WhaleShark_IIoT_nipa

Repository files navigation

issue badge forks badge starts badge license badge

Abount Project: Equipment Monitor system for Smart Factory or Smart Farm

WhaleShark IIoT, an open source monitoring system for smart factories, is a IIoT-based process monitoring system.

  • Target Object
    • Process equipment and objects connected to various sensors
    • The factory manager can monitor the status of the equipment in real time by checking the values of various sensors installed in the equipment.

Documents

  • 1th Step: Install Docker
  • 2th Step: Run redis container
  • docker pull redis docker run --name whaleshark-redis -d -p 6379:6379 redis docker run -it --link whaleshark-redis:redis --rm redis redis-cli -h redis -p 6379 if container is exist docker restart whaleshark-redis
  • 3th Step: Run rabbitmq container
  • docker run -d --hostname whaleshark --name whaleshark-rabbit -p 5672:5672
    -p 8080:15672 -e RABBITMQ_DEFAULT_USER=whaleshark -e
    RABBITMQ_DEFAULT_PASS=whaleshark rabbitmq:3-management if container is exist docker restart whaleshark-rabbit

API

https://whalesharkiiot.readthedocs.io/

Download

Modules

WhaleShart IIoT Project consists of 4 modules:

  • Embedded System for Sensor Device: The sensor value connected to the facility is read and transmitted to the gateway through RS485.
  • IIoT gateway : The measured sensor value is sent to the agent of the cloud server.
  • Gatway agent : It converts Modbus-based data transmitted through the gateway into human-readable data.
  • TSDB agent : Insert human-readable data to TSDB(ex: InfluxDB)

Facebook

Slack

Contributing to WhaleShark IIoT

  • Pull requests require feature branches

How to run

Prerequest:

  1. You need python3.x on Factory side, Server side
  2. Server side system needs Redis, RabbitMQ, InfluxDB If you need visualization engine, we will recommend Grafana.

Factory side:

  1. Wiring the controller and the embedded computer.
  2. Check the COM Port, and run bellow command
  • IIoT gateway : python3 instrument_monitor.py

Server side:

  • Gateway Agent: python3 iiot_server.py
  • TSDB Agent: python3 iiot_mqtt_agent.py

License

Licensed under the Apache License, Version 2.0

korea