Benutzer:MathiasMahnke/Raspbian: Unterschied zwischen den Versionen
Aus Opennet
Zeile 26: | Zeile 26: | ||
reboot | reboot | ||
apt install i2c-tools | apt install i2c-tools | ||
+ | mkdir ~/bme680; cd ~/bme680 | ||
+ | wget https://raw.githubusercontent.com/pimoroni/bme680-python/master/examples/read-all.py | ||
+ | wget https://raw.githubusercontent.com/pimoroni/bme680-python/master/examples/indoor-air-quality.py | ||
+ | chmod +x *.py | ||
+ | ./read-all.py | ||
+ | ./indoor-air-quality.py | ||
* BME680 Sensor to InfluxDB (https://github.com/ayeks/bme680_to_influxdb) | * BME680 Sensor to InfluxDB (https://github.com/ayeks/bme680_to_influxdb) |
Version vom 11. Dezember 2020, 06:44 Uhr
- Bereinigung GUI
apt purge wolfram-engine apt purge cups* gnome* (apt purge x11-common*)
- Installation ioBroker (Zugriff anschließend per http://<pi.lan>:8081)
apt purge node nodejs apt autoremove curl -sL https://iobroker.net/install.sh | bash -
- Installation InfluxDB (Zugriff anschließend via http://localhost:8086)
apt install influxdb influxdb-client
- Installation Grafana (Zugriff anschließend per http://<pi.lan>:3000)
wget -q -O - https://packages.grafana.com/gpg.key | apt-key add - echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list apt update apt install grafana systemctl daemon-reload && systemctl enable grafana-server.service systemctl start grafana-server && systemctl status grafana-server
- 64-bit Kernel
rpi-update /boot/config.txt [pi4] arm_64bit=1 reboot
- BME680 Sensor (https://pypi.org/project/bme680/)
raspi-config > Interface-Options > I2C > Enable reboot apt install i2c-tools mkdir ~/bme680; cd ~/bme680 wget https://raw.githubusercontent.com/pimoroni/bme680-python/master/examples/read-all.py wget https://raw.githubusercontent.com/pimoroni/bme680-python/master/examples/indoor-air-quality.py chmod +x *.py ./read-all.py ./indoor-air-quality.py
- BME680 Sensor to InfluxDB (https://github.com/ayeks/bme680_to_influxdb)