All Projects → TheMickeyMike → raspberrypi-temperature-telegraf

TheMickeyMike / raspberrypi-temperature-telegraf

Licence: other
Collect RaspberryPi CPU and GPU temperature with telegraf

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to raspberrypi-temperature-telegraf

Temp Monitor
Internet of Things data platform for temperature and humidity sensors with maps
Stars: ✭ 84 (+5%)
Mutual labels:  temperature
Ha4iot
Open Source Home Automation system for .NET
Stars: ✭ 146 (+82.5%)
Mutual labels:  temperature
S Tui
Terminal-based CPU stress and monitoring utility
Stars: ✭ 2,825 (+3431.25%)
Mutual labels:  temperature
Rpi Tempruntime
基于树莓派3B,DHT11/DHT22,LCD1602的一个实时温度湿度检测系统
Stars: ✭ 109 (+36.25%)
Mutual labels:  temperature
Lora Serialization
LoraWAN serialization/deserialization library for The Things Network
Stars: ✭ 120 (+50%)
Mutual labels:  temperature
Stressberry
Stress tests for the Raspberry Pi
Stars: ✭ 167 (+108.75%)
Mutual labels:  temperature
Homebridge Weather
OpenWeatherMap Plugin for Homebridge
Stars: ✭ 78 (-2.5%)
Mutual labels:  temperature
google-it-telegram-bot
🤖 @Google_itBot 🔎 Search and share LINKS/IMAGES/VIDEOS in inline mode
Stars: ✭ 40 (-50%)
Mutual labels:  telegraf
Nexus433
433MHz temperature and humidity sensor receiver that integrates with home automation systems.
Stars: ✭ 137 (+71.25%)
Mutual labels:  temperature
Gammy
Adaptive screen brightness/temperature for Windows, Linux, FreeBSD
Stars: ✭ 220 (+175%)
Mutual labels:  temperature
Pi Temp
Web server using a Raspberry Pi and DHT22 sensor to graph the humidity and temperature in my apartment over time.
Stars: ✭ 114 (+42.5%)
Mutual labels:  temperature
Thaw Carrots
Thaw carrots by warming up your laptop to a specific temperature
Stars: ✭ 120 (+50%)
Mutual labels:  temperature
Nfancurve
A small and lightweight POSIX script for using a custom fan curve in Linux for those with an Nvidia GPU.
Stars: ✭ 180 (+125%)
Mutual labels:  temperature
Thermimage
R Package for working with radiometric thermal image files and data
Stars: ✭ 97 (+21.25%)
Mutual labels:  temperature
ups-telegraf
Get data from USB-connected UPS with Telegraf
Stars: ✭ 21 (-73.75%)
Mutual labels:  telegraf
Psychrolib
📚 Library of psychrometric functions to calculate 🌡️ thermodynamic properties of air for Python, C, C#, Fortran, R, JavaScript and VBA/Excel
Stars: ✭ 83 (+3.75%)
Mutual labels:  temperature
Esp8266aq
ESP8266 and Plantower AQ sensor
Stars: ✭ 153 (+91.25%)
Mutual labels:  temperature
Weather Shield
Barometric pressure, temperature, humidity and light sensing weather shield for Arduino.
Stars: ✭ 62 (-22.5%)
Mutual labels:  temperature
ThermistorLibrary
Marlyn based thermistor library for read temperature.
Stars: ✭ 45 (-43.75%)
Mutual labels:  temperature
Onewirehub
OneWire slave device emulator
Stars: ✭ 195 (+143.75%)
Mutual labels:  temperature

raspberrypi-temperature-telegraf

Collect RaspberryPi CPU and GPU temperature with telegraf

How to use (No script required 🔥)

  1. Add this to you telegraf.conf
[[inputs.file]] 
  files = ["/sys/class/thermal/thermal_zone0/temp"]
  name_override = "cpu_temperature"
  data_format = "value"
  data_type = "integer"
  
[[inputs.exec]]
  commands = [ "/opt/vc/bin/vcgencmd measure_temp" ]
  name_override = "gpu_temperature"
  data_format = "grok"
  grok_patterns = ["%{NUMBER:value:float}"]

  1. Add telegraf user to video group sudo usermod -a -G video telegraf
  2. sudo service telegraf stop;sudo service telegraf start
  3. Run test telegraf -config /etc/telegraf/telegraf.conf -test

How to use (Old way)

  1. Copy telegraf_pi_temp.sh to /usr/local/bin/telegraf_pi_temp.sh
  2. Modify file permissions chmod +x /usr/local/bin/telegraf_pi_temp.sh
  3. Add telegraf user to video group sudo usermod -a -G video telegraf
  4. sudo service telegraf restart or sudo reboot
  5. Add to your telegraf.conf snippet from telegraf.conf
  6. Run test telegraf -config /etc/telegraf/telegraf.conf -test

Data format

To get a human readable cpu temperature divide it by 1000 (in grafana use the math(/ 1000) function

{"cpu":54768, "gpu":54.8}

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].