This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update package list and install npm if it's not already installed - package is installed by default on Bufferstack.IO IIoT Gateway | |
if ! command -v npm &> /dev/null | |
then | |
echo "npm could not be found. Installing npm..." | |
sudo apt-get update | |
sudo apt-get install -y npm | |
else | |
echo "npm is already installed." |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Create a volume for Portainer Server to store its database | |
docker volume create portainer_data | |
# Download and install the Portainer Server container | |
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data portainer/portainer-ce:latest | |
# Check that the Portainer Server container has started | |
docker ps |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "dc1c7f4e5ddc86f8", | |
"type": "tab", | |
"label": "MING", | |
"disabled": false, | |
"info": "", | |
"env": [] | |
}, | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MTConnectFanuc/Device/d9006c59-58cc-57ff-b9a1-21ecb7559681 | |
MTConnectFanuc/Device/f_sim | |
MTConnectFanuc/Observation/ | |
MTConnectFanuc/Observation/d9006c59-58cc-57ff-b9a1-21ecb7559681/Events/Availability | |
MTConnectFanuc/Observation/d9006c59-58cc-57ff-b9a1-21ecb7559681/Events/DeviceAdded | |
MTConnectFanuc/Observation/d9006c59-58cc-57ff-b9a1-21ecb7559681/Events/DeviceChanged | |
MTConnectFanuc/Observation/d9006c59-58cc-57ff-b9a1-21ecb7559681/Events/DeviceRemoved | |
MTConnectFanuc/Observation/f_sim/Axes/Linear[X]/Condition/Actuator | |
MTConnectFanuc/Observation/f_sim/Axes/Linear[X]/Condition/Position | |
MTConnectFanuc/Observation/f_sim/Axes/Linear[X]/Condition/Temperature |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
["MTConnectFanuc/Device/d9006c59-58cc-57ff-b9a1-21ecb7559681",null] | |
["MTConnectFanuc/Device/f_sim",null] | |
["MTConnectFanuc/Observation/",3.2] | |
["MTConnectFanuc/Observation/d9006c59-58cc-57ff-b9a1-21ecb7559681/Events/DeviceChanged","UNAVAILABLE"] | |
["MTConnectFanuc/Observation/d9006c59-58cc-57ff-b9a1-21ecb7559681/Events/DeviceRemoved","UNAVAILABLE"] | |
["MTConnectFanuc/Observation/d9006c59-58cc-57ff-b9a1-21ecb7559681/Events/DeviceAdded","f_sim"] | |
["MTConnectFanuc/Observation/d9006c59-58cc-57ff-b9a1-21ecb7559681/Events/Availability","AVAILABLE"] | |
["MTConnectFanuc/Observation/f_sim/Controller/Path/Events/x:ProgramSize.Main","500"] | |
["MTConnectFanuc/Observation/f_sim/Controller/Path/Events/PartCount.All","1079"] | |
["MTConnectFanuc/Observation/f_sim/Controller/Path/Events/Block","4"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
harshad@harshad-HP-Laptop-15q-ds0xxx:~$ node mt-parser-current.js | |
ComponentStream: base, Component: Axes | |
Condition: | |
Unavailable: N/A (timestamp: 2023-08-06T20:17:07.303223Z) | |
Unavailable: N/A (timestamp: 2023-08-06T20:17:07.303223Z) | |
ComponentStream: A, Component: Rotary | |
Samples: | |
AngularVelocity: UNAVAILABLE (timestamp: 2023-08-06T20:17:07.303223Z) | |
Load: UNAVAILABLE (timestamp: 2023-08-06T20:17:07.303223Z) | |
Angle: UNAVAILABLE (timestamp: 2023-08-06T20:17:07.303223Z) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The OPCUA connection parameters. If you want to use anonymous auth, | |
# remove the username and password lines. | |
[opcua] | |
url = "opc.tcp://192.168.1.9:49320/KEPServerEX" | |
user = "" | |
pass = "" | |
# The InfluxDB connection parameters. Use a connection url containing all | |
# details, ie. http(s)://user:password@host:port/database | |
[influx] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ets Jun 8 2016 00:22:57 | |
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) | |
ets Jun 8 2016 00:22:57 | |
rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) | |
configsip: 0, SPIWP:0xee | |
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 | |
mode:DIO, clock div:2 | |
load:0x3fff0030,len:4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"id": "5e47003a.bd96b", | |
"type": "tab", | |
"label": "Flow 2" | |
}, | |
{ | |
"id": "265fd756.cc0488", | |
"type": "tab", | |
"label": "Flow 1" |
NewerOlder