Coder Social home page Coder Social logo

pimatic / pimatic-sysinfo Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 4.0 144 KB

Plugin for displaying system and process information such as CPU and Memory usage for pimatic

Home Page: https://pimatic.org/

License: GNU General Public License v2.0

CoffeeScript 100.00%
pimatic pimatic-plugin system-information sysinfo monitoring memory-usage cpu-monitoring network-monitoring

pimatic-sysinfo's Introduction

pimatic-sysinfo

Plugin for displaying system and process information such as CPU and Memory usage for pimatic setups on Linux and Windows. MacOS should also work, but has not been tested.

The plugin is based on the systeminformation project developed by Sebastian Hildebrandt which realizes a lightweight abstraction layer for the acquisition of system information on various operating systems.

Supported values:

  • CPU usage (percent): "cpu"
  • Memory active usage (bytes): "memoryUsed"
  • Memory active usage (percent): "memoryUsedPercent"
  • Memory free, including cache & buffers (bytes): "memoryFree"
  • Memory free, including cache & buffers (percent): "memoryFreePercent"
  • Disk usage (percent) for a single mount point: "diskUsage"
  • Number of processes: "processes"
  • System temperature (Celsius ℃): "temperature"
  • System temperature (Fahrenheit ℉): "temperatureF"
  • System uptime in seconds: "systemUptime"
  • WiFi received signal level (dBm): wifiSignalLevel
  • Network interface throughput received (bps): nwThroughputReceived
  • Network interface throughput sent (bps): nwThroughputSent
  • Pimatic SQLite database size (bytes): "dbSize"
  • Pimatic process RSS memory (bytes): "pimaticRss"
  • Pimatic process used heap memory (bytes): "pimaticHeapUsed"
  • Pimatic process total heap memory (bytes): "pimaticHeapTotal"
  • Pimatic process uptime (seconds): "pimaticUptime"

Notes:

  • Database size is only applicable if builtin SQLite database is being used
  • RSS is the amount of space occupied in the main memory device (that is a subset of the total allocated memory) for the process, which includes the heap, code segment and stack
  • The attribute wifiSignalLevel is currently only supported on Linux
  • The spelling for some attributes has been changed in release 0.9.5. The device configuration setup for earlier releases will be transformed automatically. However, you may need to update references in rule and variable definitions. See table below.
  • Version 0.9.5 provided different values for memory usage than earlier versions of the plugin. The value for "memoryUsed" also included reclaimable cache and buffer space while earlier versions only measured the active memory usage. Since Version 0.9.6 this has been changed back to monitoring active and available (total - active) memory.
old new
diskusage diskUsagePercent
dbsize dbSize
uptime systemUptime
memory memoryUsed
memoryRss pimaticRss
heapUsed pimaticHeapUsed
heapTotal pimaticHeapTotal

Plugin Configuration

{ 
  "plugin": "sysinfo"
}

Device Configuration

Examples:

{
  "class": "SystemSensor",
  "id": "system-info",
  "name": "System",
  "attributes": [
    {
      "name": "cpu"
    },
    {
      "name": "memoryUsed"
    },
    {
      "name": "diskUsagePercent",
      "path": "/"
    }
  ]
}
{
  "class": "SystemSensor",
  "id": "system-temp",
  "name": "System Temp.",
  "attributes": [
    {
      "name": "temperature",
      "interval": 5000
    }
  ]
}

Trouble Shooting

  • The value for temperature is -1

    On Windows, admin privileges are required in some setups to query the temperature with the underlying wmic tool. If you're running on Linux, please report an issue with the Linux distribution, version and hardware used.

  • I would like to display the uptime in a human readable format

    You can set the displayFormat xAttributeOption for attribute systemUptime or pimaticUptime to the value uptime.

Credits

Icon made by Freepik is licensed under CC BY 3.0

pimatic-sysinfo's People

Contributors

hvdwolf avatar incmve avatar mwittig avatar sweetpi avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

pimatic-sysinfo's Issues

temperature is -1

On my Debian Stretch (no RPi) pimatic server the sysinfo plugin shows -1 for CPU temperature.

I use a small PC with a VIA CPU and a HDD for pimatic server. I have installed lm-sensors, did sensors-detect and kmod is started. Runnig sensors from shell gives:

acpitz-virtual-0
Adapter: Virtual device
temp1:        +40.0°C  (crit = +127.0°C)

via_cputemp-isa-0000
Adapter: ISA adapter
Core 0:       +49.0°C
cpu0_vid:    +0.860 V

If it's a problem of my special hardware please close the issue again. I have a watchdog running even for CPU temperature and no problem if sysinfo is not showing this information for my server.

error installing sysinfo (nsutil)

I cannot install sysinfo as nsutil fails to compile.

Same error if I install via plugin in config.json, or with "npm install pimatic-sysinfo" from pimatic-app folder (as normal user or root).

See below the output of the "npm install pimatic-sysinfo" command. I can provide the npm-debug.log file if needed.

npm install pimatic-sysinfo
\
> [email protected] install /home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil
> node-gyp rebuild

child_process: customFds option is deprecated, use stdio instead.
make: Entering directory '/home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/build'
  CXX(target) Release/obj.target/nsutil_linux/src/sutil/sutil_linux.o
  CXX(target) Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o
In file included from ../src/nsutil/nsutil_linux_funcs.cpp:1:0:
../src/nsutil/nsutil_linux_funcs.h:6:30: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:6:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:9:30: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:9:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:12:30: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:12:45: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:15:22: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:15:37: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:18:36: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:18:51: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:21:20: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:21:35: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:24:25: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:24:40: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.h:27:22: error: 'Arguments' in namespace 'v8' does not name a type
../src/nsutil/nsutil_linux_funcs.h:27:37: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
../src/nsutil/nsutil_linux_funcs.cpp:9:25: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:9:36: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_pid_exists(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:11:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:12:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:13:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:13:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:14:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:14:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:16:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:17:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:17:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:18:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:18:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:20:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:21:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:21:58: error: no matching function for call to 'v8::Boolean::New(bool)'
../src/nsutil/nsutil_linux_funcs.cpp:21:58: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:25:30: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:25:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_get(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:27:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:28:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:29:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:29:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:30:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:30:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:32:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:33:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:33:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:34:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:34:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:36:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:39:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:39:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:41:37: error: no matching function for call to 'v8::Object::New()'
../src/nsutil/nsutil_linux_funcs.cpp:41:37: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../src/nsutil/nsutil_linux_funcs.cpp:42:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:42:69: error: no matching function for call to 'v8::Integer::New(int&)'
../src/nsutil/nsutil_linux_funcs.cpp:42:69: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:43:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:43:68: error: no matching function for call to 'v8::Integer::New(int&)'
../src/nsutil/nsutil_linux_funcs.cpp:43:68: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:46:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:50:30: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:50:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_set(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:52:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:53:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:54:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:54:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:55:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:55:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:57:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:57:40: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:57:64: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:58:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:58:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:59:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:59:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:62:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:63:26: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:64:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:67:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:67:39: error: no matching function for call to 'v8::Integer::New(int&)'
../src/nsutil/nsutil_linux_funcs.cpp:67:39: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note: static v8::Local<v8::Integer> v8::Integer::New(v8::Isolate*, int32_t)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2012:25: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:77:28: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:77:39: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_linux_prlimit(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:79:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:80:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:80:34: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:87:30: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:87:41: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_disk_partitions(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:89:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:94:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:94:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:97:49: error: invalid conversion from 'std::vector<std::vector<std::basic_string<char> > >::size_type {aka unsigned int}' to 'v8::Isolate*' [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2417:23: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)' [-fpermissive]
../src/nsutil/nsutil_linux_funcs.cpp:100:37: error: no matching function for call to 'v8::Object::New()'
../src/nsutil/nsutil_linux_funcs.cpp:100:37: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../src/nsutil/nsutil_linux_funcs.cpp:102:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:103:17: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:104:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:105:17: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:106:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:107:17: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:108:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:109:17: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:115:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:121:22: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:121:33: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_sysinfo(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:123:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:128:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:128:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:131:37: error: no matching function for call to 'v8::Object::New()'
../src/nsutil/nsutil_linux_funcs.cpp:131:37: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../src/nsutil/nsutil_linux_funcs.cpp:133:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:134:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:134:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:135:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:136:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:136:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:137:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:138:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:138:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:139:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:140:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:140:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:141:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:142:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:142:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:143:14: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:144:32: error: no matching function for call to 'v8::Number::New(uint64_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:144:32: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:147:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:153:36: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:153:47: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_proc_cpu_affinity_get(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:155:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:156:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:157:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:157:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:158:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:158:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:160:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:161:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:161:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:162:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:162:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:164:25: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:168:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:168:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:171:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:171:40: error: no matching function for call to 'v8::Number::New(uint32_t&)'
../src/nsutil/nsutil_linux_funcs.cpp:171:40: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:208:20: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:208:31: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_users(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:210:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:215:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:215:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:218:51: error: invalid conversion from 'std::vector<sutil_user_info>::size_type {aka unsigned int}' to 'v8::Isolate*' [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2417:23: error:   initializing argument 1 of 'static v8::Local<v8::Array> v8::Array::New(v8::Isolate*, int)' [-fpermissive]
../src/nsutil/nsutil_linux_funcs.cpp:219:37: error: no matching function for call to 'v8::Object::New()'
../src/nsutil/nsutil_linux_funcs.cpp:219:37: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note: static v8::Local<v8::Object> v8::Object::New(v8::Isolate*)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:2388:24: note:   candidate expects 1 argument, 0 provided
../src/nsutil/nsutil_linux_funcs.cpp:223:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:223:49: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:224:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:224:44: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:225:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:225:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:226:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:226:75: error: no matching function for call to 'v8::Number::New(float&)'
../src/nsutil/nsutil_linux_funcs.cpp:226:75: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:227:18: error: 'NewSymbol' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:227:74: error: no matching function for call to 'v8::Boolean::New(bool&)'
../src/nsutil/nsutil_linux_funcs.cpp:227:74: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note: static v8::Handle<v8::Boolean> v8::Boolean::New(v8::Isolate*, bool)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:6194:17: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:232:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp: At global scope:
../src/nsutil/nsutil_linux_funcs.cpp:239:22: error: 'Arguments' does not name a type
../src/nsutil/nsutil_linux_funcs.cpp:239:33: error: ISO C++ forbids declaration of 'args' with no type [-fpermissive]
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h: In function 'v8::Handle<v8::Value> nsutil_sysconf(const int&)':
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:816:13: error: 'v8::HandleScope::HandleScope()' is protected
../src/nsutil/nsutil_linux_funcs.cpp:241:17: error: within this context
../src/nsutil/nsutil_linux_funcs.cpp:242:14: error: request for member 'Length' in 'args', which is of non-class type 'const int'
../src/nsutil/nsutil_linux_funcs.cpp:243:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:243:86: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:244:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:244:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:246:16: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:247:45: error: 'New' is not a member of 'v8::String'
../src/nsutil/nsutil_linux_funcs.cpp:247:76: error: 'ThrowException' was not declared in this scope
../src/nsutil/nsutil_linux_funcs.cpp:248:22: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:248:38: error: too few arguments to function 'v8::Handle<v8::Primitive> v8::Undefined(v8::Isolate*)'
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:305:28: note: declared here
../src/nsutil/nsutil_linux_funcs.cpp:250:33: error: invalid types 'const int[int]' for array subscript
../src/nsutil/nsutil_linux_funcs.cpp:254:18: error: 'class v8::HandleScope' has no member named 'Close'
../src/nsutil/nsutil_linux_funcs.cpp:254:39: error: no matching function for call to 'v8::Number::New(int&)'
../src/nsutil/nsutil_linux_funcs.cpp:254:39: note: candidate is:
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note: static v8::Local<v8::Number> v8::Number::New(v8::Isolate*, double)
/home/pi/.node-gyp/0.12.1/deps/v8/include/v8.h:1999:24: note:   candidate expects 2 arguments, 1 provided
../src/nsutil/nsutil_linux_funcs.cpp:255:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_users(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:233:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_cpu_affinity_get(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:172:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_sysinfo(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:148:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_disk_partitions(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:116:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_linux_prlimit(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_set(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:68:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_proc_ioprio_get(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
../src/nsutil/nsutil_linux_funcs.cpp: In function 'v8::Handle<v8::Value> nsutil_pid_exists(const int&)':
../src/nsutil/nsutil_linux_funcs.cpp:22:1: warning: control reaches end of non-void function [-Wreturn-type]
nsutil_linux.target.mk:85: recipe for target 'Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o' failed
make: *** [Release/obj.target/nsutil_linux/src/nsutil/nsutil_linux_funcs.o] Error 1
make: Leaving directory '/home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack     at ChildProcess.emit (events.js:110:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:1067:12)
gyp ERR! System Linux 3.18.11+
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/pi/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil
gyp ERR! node -v v0.12.1
gyp ERR! node-gyp -v v1.0.2
gyp ERR! not ok 
npm ERR! Linux 3.18.11+
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-sysinfo"
npm ERR! node v0.12.1
npm ERR! npm  v2.5.1
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the nsutil package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get their info via:
npm ERR!     npm owner ls nsutil
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/pi/pimatic-app/npm-debug.log

error Compiling pimatic-sysinfo

Hey,

for your information. If i activate this Plugin, i become the following error:

by the way: my system is "raspbmc"

23:06:37.858 [pimatic] info: Installing: "sysinfo"
23:06:48.947 [pimatic, npm] info: http GET https://registry.npmjs.org/pimatic-sysinfo
23:06:50.866 [pimatic, npm] info: http 200 https://registry.npmjs.org/pimatic-sysinfo
23:06:51.422 [pimatic, npm] info: http GET https://registry.npmjs.org/pimatic-sysinfo/-/pimatic-sysinfo-0.8.7.tgz
23:06:52.298 [pimatic, npm] info: http 200 https://registry.npmjs.org/pimatic-sysinfo/-/pimatic-sysinfo-0.8.7.tgz
23:07:08.799 [pimatic, npm] info: http GET https://registry.npmjs.org/mocha
23:07:09.366 [pimatic, npm] info: http 200 https://registry.npmjs.org/mocha
23:07:11.982 [pimatic, npm] info: http GET https://registry.npmjs.org/mkdirp/0.3.5
23:07:12.109 [pimatic, npm] info: http GET https://registry.npmjs.org/debug
23:07:12.237 [pimatic, npm] info: http GET https://registry.npmjs.org/commander/2.0.0
23:07:12.345 [pimatic, npm] info: http GET https://registry.npmjs.org/growl
23:07:12.507 [pimatic, npm] info: http GET https://registry.npmjs.org/diff/1.0.7
23:07:12.598 [pimatic, npm] info: http GET https://registry.npmjs.org/glob/3.2.3
23:07:12.677 [pimatic, npm] info: http GET https://registry.npmjs.org/jade/0.26.3
23:07:13.329 [pimatic, npm] info: http 200 https://registry.npmjs.org/commander/2.0.0
23:07:13.597 [pimatic, npm] info: http 200 https://registry.npmjs.org/debug
23:07:13.777 [pimatic, npm] info: http 200 https://registry.npmjs.org/glob/3.2.3
23:07:13.878 [pimatic, npm] info: http 200 https://registry.npmjs.org/diff/1.0.7
23:07:14.255 [pimatic, npm] info: http GET https://registry.npmjs.org/commander/-/commander-2.0.0.tgz
23:07:14.367 [pimatic, npm] info: http GET https://registry.npmjs.org/diff/-/diff-1.0.7.tgz
23:07:14.503 [pimatic, npm] info: http GET https://registry.npmjs.org/glob/-/glob-3.2.3.tgz
23:07:15.147 [pimatic, npm] info: http 200 https://registry.npmjs.org/commander/-/commander-2.0.0.tgz
23:07:15.265 [pimatic, npm] info: http 200 https://registry.npmjs.org/glob/-/glob-3.2.3.tgz
23:07:15.384 [pimatic, npm] info: http 200 https://registry.npmjs.org/diff/-/diff-1.0.7.tgz
23:07:24.377 [pimatic, npm] info: http GET https://registry.npmjs.org/ms/0.6.2
23:07:26.661 [pimatic, npm] info: http GET https://registry.npmjs.org/inherits
23:07:26.846 [pimatic, npm] info: http GET https://registry.npmjs.org/graceful-fs
23:07:26.995 [pimatic, npm] info: http GET https://registry.npmjs.org/minimatch
23:07:27.769 [pimatic, npm] info: http 200 https://registry.npmjs.org/graceful-fs
23:07:30.033 [pimatic, npm] info: http GET https://registry.npmjs.org/lru-cache
23:07:30.150 [pimatic, npm] info: http GET https://registry.npmjs.org/sigmund
23:07:31.569 [pimatic, npm] info: http GET https://registry.npmjs.org/commander/0.6.1
23:07:31.783 [pimatic, npm] info: http GET https://registry.npmjs.org/mkdirp/0.3.0
23:07:32.253 [pimatic, npm] info: http 200 https://registry.npmjs.org/commander/0.6.1
23:07:32.613 [pimatic, npm] info: http GET https://registry.npmjs.org/commander/-/commander-0.6.1.tgz
23:07:33.127 [pimatic, npm] info: http 200 https://registry.npmjs.org/commander/-/commander-0.6.1.tgz
23:07:36.412 [pimatic, npm] info: > [email protected] install /usr/local/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil
23:07:36.507 [pimatic, npm] info: > node-gyp rebuild
23:07:43.636 [pimatic, npm] info: gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/.node-gyp/0.10.24"
23:07:43.751 [pimatic, npm] info: gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/.node-gyp"
23:07:43.863 [pimatic, npm] info: gyp http GET http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz
23:07:44.572 [pimatic, npm] info: gyp http 200 http://nodejs.org/dist/v0.10.24/node-v0.10.24.tar.gz
23:09:41.058 [pimatic, npm] info: make: Entering directory `/usr/local/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/build'
23:09:41.178 [pimatic, npm] info:   CXX(target) Release/obj.target/nsutil_linux/src/sutil/sutil_linux.o
23:09:43.193 [pimatic, npm] info: In file included from /usr/include/linux/kernel.h:4:0,
23:09:43.297 [pimatic, npm] info:                  from /usr/include/arm-linux-gnueabihf/sys/sysinfo.h:25,
23:09:43.370 [pimatic, npm] info:                  from ../src/sutil/sutil_linux.h:13,
23:09:43.475 [pimatic, npm] info:                  from ../src/sutil/sutil_linux.cpp:1:
23:09:43.596 [pimatic, npm] info: /usr/include/linux/sysinfo.h:8:2: error: '__kernel_long_t' does not name a type
23:09:43.675 [pimatic, npm] info: /usr/include/linux/sysinfo.h:9:2: error: '__kernel_ulong_t' does not name a type
23:09:43.763 [pimatic, npm] info: /usr/include/linux/sysinfo.h:10:2: error: '__kernel_ulong_t' does not name a type
23:09:43.876 [pimatic, npm] info: /usr/include/linux/sysinfo.h:11:2: error: '__kernel_ulong_t' does not name a type
23:09:43.964 [pimatic, npm] info: /usr/include/linux/sysinfo.h:12:2: error: '__kernel_ulong_t' does not name a type
23:09:44.062 [pimatic, npm] info: /usr/include/linux/sysinfo.h:13:2: error: '__kernel_ulong_t' does not name a type
23:09:44.162 [pimatic, npm] info: /usr/include/linux/sysinfo.h:14:2: error: '__kernel_ulong_t' does not name a type
23:09:44.276 [pimatic, npm] info: /usr/include/linux/sysinfo.h:15:2: error: '__kernel_ulong_t' does not name a type
23:09:44.355 [pimatic, npm] info: /usr/include/linux/sysinfo.h:18:2: error: '__kernel_ulong_t' does not name a type
23:09:44.439 [pimatic, npm] info: /usr/include/linux/sysinfo.h:19:2: error: '__kernel_ulong_t' does not name a type
23:09:44.529 [pimatic, npm] info: /usr/include/linux/sysinfo.h:21:22: error: '__kernel_ulong_t' was not declared in this scope
23:09:44.636 [pimatic, npm] info: /usr/include/linux/sysinfo.h:21:53: error: array bound is not an integer constant before ']' token
23:09:48.118 [pimatic, npm] info: ../src/sutil/sutil_linux.cpp: In function 'int sutil_linux_sysinfo(uint64_t*&)':
23:09:48.240 [pimatic, npm] info: ../src/sutil/sutil_linux.cpp:202:29: error: 'struct sysinfo' has no member named 'totalram'
23:09:48.363 [pimatic, npm] info: ../src/sutil/sutil_linux.cpp:203:29: error: 'struct sysinfo' has no member named 'freeram'
23:09:48.440 [pimatic, npm] info: ../src/sutil/sutil_linux.cpp:204:29: error: 'struct sysinfo' has no member named 'bufferram'
23:09:48.523 [pimatic, npm] info: ../src/sutil/sutil_linux.cpp:205:29: error: 'struct sysinfo' has no member named 'sharedram'
23:09:48.629 [pimatic, npm] info: ../src/sutil/sutil_linux.cpp:206:29: error: 'struct sysinfo' has no member named 'totalswap'
23:09:48.717 [pimatic, npm] info: ../src/sutil/sutil_linux.cpp:207:29: error: 'struct sysinfo' has no member named 'freeswap'
23:09:50.248 [pimatic, npm] info: make: *** [Release/obj.target/nsutil_linux/src/sutil/sutil_linux.o] Error 1
23:09:50.361 [pimatic, npm] info: make: Leaving directory `/usr/local/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil/build'
23:09:50.449 [pimatic, npm] info: gyp ERR! build error 
23:09:50.546 [pimatic, npm] info: gyp ERR! stack Error: `make` failed with exit code: 2
23:09:50.632 [pimatic, npm] info: gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:267:23)
23:09:50.729 [pimatic, npm] info: gyp ERR! stack     at ChildProcess.EventEmitter.emit (events.js:98:17)
23:09:50.818 [pimatic, npm] info: gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:789:12)
23:09:50.933 [pimatic, npm] info: gyp ERR! System Linux 3.12.21
23:09:51.043 [pimatic, npm] info: gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
23:09:51.814 [pimatic, npm] info: gyp ERR! cwd /usr/local/pimatic-app/node_modules/pimatic-sysinfo/node_modules/nsutil
23:09:52.056 [pimatic, npm] info: gyp ERR! node -v v0.10.24
23:09:52.172 [pimatic, npm] info: gyp ERR! node-gyp -v v0.12.1
23:09:52.241 [pimatic, npm] info: gyp ERR! not ok 
23:09:56.085 [pimatic, npm] info: ERR! [email protected] install: `node-gyp rebuild`
23:09:56.157 [pimatic, npm] info: ERR! Exit status 1
23:09:56.213 [pimatic, npm] info: ERR! 
23:09:56.296 [pimatic, npm] info: ERR! Failed at the [email protected] install script.
23:09:56.358 [pimatic, npm] info: ERR! This is most likely a problem with the nsutil package,
23:09:56.418 [pimatic, npm] info: ERR! not with npm itself.
23:09:56.483 [pimatic, npm] info: ERR! Tell the author that this fails on your system:
23:09:56.555 [pimatic, npm] info: ERR!     node-gyp rebuild
23:09:56.617 [pimatic, npm] info: ERR! You can get their info via:
23:09:56.692 [pimatic, npm] info: ERR!     npm owner ls nsutil
23:09:56.752 [pimatic, npm] info: ERR! There is likely additional logging output above.
23:09:56.813 [pimatic, npm] info: ERR! System Linux 3.12.21
23:09:56.892 [pimatic, npm] info: ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-sysinfo"
23:09:56.955 [pimatic, npm] info: ERR! cwd /usr/local/pimatic-app
23:09:57.012 [pimatic, npm] info: ERR! node -v v0.10.24
23:09:57.086 [pimatic, npm] info: ERR! npm -v 1.3.21
23:09:57.172 [pimatic, npm] info: ERR! code ELIFECYCLE
23:09:57.428 [pimatic, npm] info: ERR! 
23:09:57.498 [pimatic, npm] info: ERR! Additional logging details can be found in:
23:09:57.533 [pimatic, npm] info: ERR!     /usr/local/pimatic-app/npm-debug.log
23:09:57.588 [pimatic, npm] info: ERR! not ok code 0
23:09:57.732 [pimatic] error: Error running "npm install pimatic-sysinfo"

[Request] Set Uptime over 24h to "DD days HH hours"

Hi,

it is possible to change the Uptime from the Sensor to after 24hours show Days and Hours? In the Moment it will just show the hours but "83:31:44" (for example) is not really useful.

Greetings Milcho

/Path parameter not working

Changing the path does not work, still the original path is used to read the values.

I'm running pimatic on an Orange-Pi and the temperature readings do work, however 1/1000th of the 'normal' Raspberry-Pi values. Therefore, I made a script that multiplies the value and directed the path to there, however still the 'old', small values are displayed. This also happens with other values than temperature.
/edit: I now see that this is only supposed to be used for diskusage, it would be nice if it could also be used for other values. It also does not work for diskusage, it still uses the actual diskusage when I change it to my temperature-script.

Wifi signal strength monitor

As requested by @FWillems in PR #11 ...

"Is it possible to implement a wifi signal strength monitor?

Within a shell sensor the command
iwconfig wlan0
is providing this information by signal level."

sysinfo device can't be deleted in gui

titles says, can't delete the device by pulling it to bottom red delete-box. i even can't resort it in my list, it just stays at the bottom. doesn't happen with other devices.

edit: the device is NOT listed in the "pages" object but displayed on the page in the gui?

System running time

I just was wondering if it is easy to add the information how long the system running or how long a network connection exists or any other lets call them runtimes.

Is there an easy way to get this information? It would be great an could be used perfectly for so e rules I am thinking about.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.