File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed
picode/digital-twin-device Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
- # How to run openplc-ditto demo on Raspberry Pi
1
+ # How to run digital-twin demo on Raspberry Pi
2
2
3
3
* Go to picode/digital-twin-device directory
4
4
26
26
python ditto_demo.py
27
27
```
28
28
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
+
29
43
# Run WebUI
30
44
31
45
To monitor the sensor values and interact with the Raspberry Pi, view the WebUI in your Browser.
32
46
Simply open /webapp/index.html.
33
47
34
48
You should see the following view:
35
49
<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% " />
37
51
</p >
You can’t perform that action at this time.
0 commit comments