Skip to content

factana/fogwing-digital-twin-for-wqm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fogwing IoT digital twin simulator program for WQM with Raspberry Pi

This directory provide three files that sends sample data over Fogwing IoTHub.

Fogwing IoT Simulation for WQM

We have provided three files:

This program is for sending the data over Fogwing, it keeps sending data with every minute or hour gap as per requirement until programs stop manually and configuration.json is for configuring the required credentials of Fogwing IoTHub and sample data.

Step:1

Python & json file

  • Copy the python and json file to your raspberry, now you have completed coding part.

Step:2

Installing the libraries

  • Install all required libraries using pip with our requirements.txt file.
    pip install -r requirements.txt
    

Step:3

Credentials

Note:- Do the following modification in configuration.json file.

  • Enter the username, password, client_id, pub_topic of your Fogwing IoTHub access and data_interval as you want.

Step:4

Run and Get Started with Fogwing IoT

  • Now run the file with the below command.
    python fwg_dtwin_wqm.py
    
    Note:- Provided everything goes in line with the above mentioned instructions,you will be able to see a message that reads 'successfully published' in command line.

Step:5

Start analyzing your data at Fogwing Platform

  • Now you are ready to analyze your data at Fogwing Platform portal, you can check all the data within the data storage in the portal.

Getting help and finding Fogwing docs