NEWS
Server (RPI) Temperatur Alarm Funktion
-
Kannst du mal den Inhalt des Objekts "system.adapter.rpi.0" posten?
Und zwar von dem Tab "raw (experts only)".
-
Hallo hier der Inhalt
[code{
"common": {
"name": "rpi",
"title": "RPI-Monitor",
"version": "0.0.2",
"mode": "daemon",
"platform": "javascript/Node.js",
"loglevel": "info",
"main": "main.js",
"license": "MIT",
"readme": "https://github.com/husky-koglhof/ioBrok … /README.md",
"icon": "rpi-monitor.png",
"type": "hardware",
"extIcon": "https://raw.githubusercontent.com/husky ... onitor.png",
"installedVersion": "0.0.2",
"host": "raspberrypi",
"schedule": "",
"singletonHost": true,
"enabled": true,
"desc": {
"en": "RPI-Monitor for ioBroker Installations",
"de": "RPI-Monitor für ioBroker",
"ru": "RPI-Монитор для ioBroker"
},
"os": [
"linux",
"darwin"
],
"keywords": [
"ioBroker",
"monitoring",
"raspberry",
"orangepi",
"odroid",
"bananapi"
],
"authors": [
"Christian Baumgartner",
"husky-koglhof husky.koglhof@icloud.com"
]
},
"native": {
"interval": 60000,
"c_cpu": true,
"c_raspberry": true,
"c_memory": true,
"c_network": true,
"c_sdcard": true,
"c_swap": true,
"c_temperature": true,
"c_uptime": true,
"c_wlan": true,
"cpu": {
"cpu_frequency": {
"command": "cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq",
"regexp": "(.*)",
"post": "$1/1000"
},
"load1,load5,load15": {
"command": "cat /proc/loadavg",
"regexp": "^(\S+)\s(\S+)\s(\S+)",
"post": ""
},
"scaling_governor": {
"command": "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor",
"regexp": "(.*)",
"post": ""
}
},
"raspberry": {
"cpu_voltage": {
"command": "vcgencmd measure_volts core",
"regexp": "(\d+.\d+)V",
"post": ""
},
"mem_arm": {
"command": "vcgencmd get_mem arm",
"regexp": "(\d+)",
"post": ""
},
"mem_gpu": {
"command": "vcgencmd get_mem gpu",
"regexp": "(\d+)",
"post": ""
}
},
"memory": {
"memory_total": {
"command": "cat /proc/meminfo",
"regexp": "MemTotal:\s+(\d+)",
"post": "$1/1024"
},
"memory_free": {
"command": "cat /proc/meminfo",
"regexp": "MemFree:\s+(\d+)",
"post": "$1/1024"
},
"memory_available": {
"command": "/usr/bin/free -mk",
"regexp": "^-\/\+ buffers\/cache:\s+\d+\s+(\d+)",
"post": "$1/1024",
"multiline": true
}
},
"network": {
"net_received": {
"command": "cat /sys/class/net/eth0/statistics/rx_bytes",
"regexp": "(.*)",
"post": "$1*-1"
},
"net_send": {
"command": "cat /sys/class/net/eth0/statistics/tx_bytes",
"regexp": "(.*)",
"post": ""
}
},
"sdcard": {
"sdcard_root_total": {
"command": "df /",
"regexp": "\S+\s+(\d+).*\/$",
"post": "$1/1024",
"multiline": true
},
"sdcard_boot_total": {
"command": "df /boot",
"regexp": "\S+\s+(\d+).*\/boot$",
"post": "$1/1024",
"multiline": true
},
"sdcard_root_used": {
"command": "df /",
"regexp": "\S+\s+\d+\s+(\d+).*\/$",
"post": "$1/1024",
"multiline": true
},
"sdcard_boot_used": {
"command": "df /boot",
"regexp": "\S+\s+\d+\s+(\d+).*\/boot$",
"post": "$1/1024",
"multiline": true
}
},
"swap": {
"swap_total": {
"command": "cat /proc/meminfo",
"regexp": "SwapTotal:\s+(\d+)",
"post": "$1/1024",
"multiline": true
},
"swap_used": {
"command": "cat /proc/meminfo",
"regexp": "SwapFree:\s+(\d+)",
"post": "rpi.swap_total - ($1/1024)",
"multiline": true
}
},
"temperature": {
"soc_temp": {
"command": "cat /sys/devices/virtual/thermal/thermal_zone0/temp",
"regexp": "(.*)",
"post": "$1/1000"
}
},
"uptime": {
"uptime": {
"command": "cat /proc/uptime",
"regexp": "(^\S+)",
"post": ""
}
},
"wlan": {
"wifi_received": {
"command": "cat /sys/class/net/wlan0/statistics/rx_bytes",
"regexp": "(.*)",
"post": "$1*-1"
},
"wifi_send": {
"command": "cat /sys/class/net/wlan0/statistics/tx_bytes",
"regexp": "(.*)",
"post": ""
}
}
},
"acl": {
"object": 1638,
"owner": "system.user.admin",
"ownerGroup": "system.group.administrator"
},
"_id": "system.adapter.rpi.0",
"type": "instance"
}]
-
Also bei mir läuft der Adapter tadellos. Nur stellen nach dem Komma sind etwas viele
Mfg
-
@stephan61: Hast du WLAN und Network aktiviert?
Wenn ja, hast du Ethernet und WLAN aktiv an deinem Raspberry?
Für mich sieht das stark danach aus und eines der beiden liefert aber keine Werte.
@fischi87: Ja ich weiss, das muss ich noch anpassen, aber ansonsten funktioniert alles?
-
Jap, bei mir füllt es alles und hab keine Fehler im log.
Mfg
-
Hab eine 0.0.3 Version hochgeladen.
` > 0.0.3 (2015-12-28)
- (husky-koglhof) Fixed value calc.
Set Value to 2 digits `
LG Christian -
Mein Adapter läuft jetzt schon länger und habe dadurch entdeckt, das die Temperatur durchgehend um die 55 Grad war.
Gehäuse aufgemacht, bin mittlerweile schon runter auf 46.
Hoch lebe mein neuer Adapter!
Gesendet von meinem iPhone mit Tapatalk
-
wer es auch möglich mit einem aktualisier button bei dem Reiter adapter?
mag
-
Geht erst wenn Bluefox ihn in die Liste der Adapter aufgenommen hat und ich in in npmjs drinnen hab. Mein Teil kommt morgen rein.
Gesendet von meinem iPhone mit Tapatalk
-
Grüße Christian,
bekomme seid ich den occ adapter installiert habe diese Fehlermeldung?!
909_screenshot_2015-12-31_16.55.53.png