User Tools

Site Tools


user:rolf001

This is an old revision of the document!


Rolf Becker (rolf001) - Public Page

These pages are meant to be my personal scratch books, for arbitrary notes.

vosk ASR

Automatic Speech Recognition (ASR) with vosk

Hackday Moers 2023

Caspers Data API

TTN Appllication Moers Umwelt

Node-RED

https://nodered.org/docs/getting-started/raspberrypi

 ### ADDITIONAL RECOMMENDATIONS ###
  - Remove the /etc/sudoers.d/010_pi-nopasswd file to require entering your password
    when performing any sudo/root commands:

      sudo rm -f /etc/sudoers.d/010_pi-nopasswd

  - You can customise the initial settings by running:

      node-red admin init

  - After running Node-RED for the first time, change the ownership of the settings
    file to 'root' to prevent unauthorised changes:

      sudo chown root:root ~/.node-red/settings.js
sudo systemctl enable nodered.service

sudo systemctl start nodered.service

Password auf Node-RED setzen

Web Frontend

InfluxDB

cd ~ 

# influxdata-archive_compat.key GPG Fingerprint: 9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E
curl -s https://repos.influxdata.com/influxdata-archive_compat.key > influxdata-archive_compat.key
echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list

ls -al
sudo apt-get update && sudo apt-get install influxdb
sudo systemctl unmask influxdb.service
sudo systemctl start influxdb
influx 

CREATE USER admin WITH PASSWORD '<password>' WITH ALL PRIVILEGES

exit 

# drop user admin

sudo vi /etc/influxdb/influxdb.conf

# Determines whether user authentication is enabled over HTTP/HTTPS.                                                    
auth-enabled = true            

sudo systemctl restart influxdb.service 
influx

create database sensordaten

# Port 8086

Grafana

https://grafana.com/tutorials/install-grafana-on-raspberry-pi/

wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -

echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list

sudo apt-get update

sudo apt-get install -y grafana

systemctl enable grafana-server
# Port 3000

Royal Eijkelkamp

user/rolf001.1695367161.txt.gz · Last modified: 2023/09/22 09:19 by rolf.becker