Skip to content

Commit f44ac4d

Browse files
Update Pi README.md
1 parent 1d23b5e commit f44ac4d

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

picode/digital-twin-device/README.md

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# How to run openplc-ditto demo on Raspberry Pi
1+
# How to run digital-twin demo on Raspberry Pi
22

33
* Go to picode/digital-twin-device directory
44

@@ -26,12 +26,26 @@
2626
python ditto_demo.py
2727
```
2828

29+
# Data logging
30+
* Log file will be automatically created in the following path:
31+
32+
picode/digital-twin-device/logs/
33+
34+
* To extract the log file at any time, simply run a basic http server in RaspberryPi.
35+
36+
$ cd picode/digital-twin-device/logs/
37+
$ python -m SimpleHTTPServer 9001
38+
39+
* Open a browser from any local machine and type the IP address and port number in the following format:
40+
41+
http://10.114.56.110:9001
42+
2943
# Run WebUI
3044

3145
To monitor the sensor values and interact with the Raspberry Pi, view the WebUI in your Browser.
3246
Simply open /webapp/index.html.
3347

3448
You should see the following view:
3549
<p align="center" >
36-
<img src="https://github.com/sarweshkumar47/Digital-Twin/blob/master/images/openplc-ditto-demo-webapp-sample.png" alt="demo" width="100%"/>
50+
<img src="https://github.com/sarweshkumar47/Digital-Twin/blob/master/images/digital-twin-demo-webapp-sample.png" alt="demo" width="100%"/>
3751
</p>

0 commit comments

Comments
 (0)