-
Download influxdb2-2.0.7-windows-amd64.zip
-
Create a folder called influxdb, in a directory of your choice and extract the contents of the upper zip file into it.
- Launch Powershell with administrator privileges.
- Move to the directory where InfluxDB is installed.
cd '.\Program Files\InfluxData\influxdb\'
- Run influxdb service
./influxd
- Open your browser and go to the following address http://localhost:8086/signin .
Telegraf is a plugin-driven server agent for collecting and sending metrics and events from databases, systems, and IoT sensors.
- Launch Powershell with administrator privileges.
- Paste and execute
wget https://dl.influxdata.com/telegraf/releases/telegraf-1.19.1_windows_amd64.zip -UseBasicParsing -OutFile telegraf-1.19.1_windows_amd64.zip Expand-Archive .\telegraf-1.19.1_windows_amd64.zip -DestinationPath 'C:\Program Files\InfluxData\telegraf\'
- Go to
cd .\Program Files\InfluxData\influxdb\telegraf
. - Create a new file and named it as
telegraf.conf
. - Open file
telegraf.conf
with an editor and set all the configuration for OPC UA Server through https://github.com/influxdata/telegraf/blob/release-1.19/plugins/inputs/opcua/README.md instructions. - Save file.
- In order to run Telegraf Service launch Powershell with administrator privileges, and go to directory
cd .\Program Files\InfluxData\influxdb\telegraf
. - Start service with
.\telegraf --config telegraf.conf
.
- Go to https://grafana.com/grafana/download?platform=windows
- Download Standalone Windows Binary.
- Create a folder called Grafana, in a directory of your choice and extract the contents of the zip file into it.
- Launch Powershell with administrator privileges.
- Go to
cd .\Program Files\Grafana\bin
. - Start service with
.\grafana-server.exe
.
In order to automatic start grafana at every boot of raspberry pi follow the following steps
Open your terminal and type the following:
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
This will open a new text file which will be executed when the desktop environment (LXDE) launches. In the file type the following:
@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --start-fullscreen http://localhost:3000/playlists/play/1?kiosk=tv&autofitpanels&refresh=5s
Can only use alt-F4 or ctrl w to quit browser