Hi all,
I’ve installed the sytem information binding for OH2 via PaperUI in simple linking mode.
The binding is retrieving data as per the screenshot below, but my openhab log is overflowing with errors.
I’ll try find out where the issue comes from by process of elimination, but in case someone has seen this before maybe you can advise?
Here’s the sample data values:
And a sample of the log:
2017-01-26 20:37:12.726 [WARN ] [systeminfo.handler.SysteminfoHandler] - Channel with ID process#used can not be updated! No information available for the selected device.
2017-01-26 20:37:13.679 [ERROR] [systeminfo.handler.SysteminfoHandler] - No information for channel process#load0
org.openhab.binding.systeminfo.model.DeviceNotFoundException: Error while getting information for process with PID 0
at org.openhab.binding.systeminfo.model.OshiSysteminfo.getProcess(OshiSysteminfo.java:83)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.model.OshiSysteminfo.getProcessCpuUsage(OshiSysteminfo.java:515)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler.getInfoForChannel(SysteminfoHandler.java:407)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler.publishDataForChannel(SysteminfoHandler.java:250)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler.publishData(SysteminfoHandler.java:243)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler.access$1(SysteminfoHandler.java:237)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler$1.run(SysteminfoHandler.java:215)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-01-26 20:37:13.682 [WARN ] [systeminfo.handler.SysteminfoHandler] - Channel with ID process#load can not be updated! No information available for the selected device.
2017-01-26 20:37:13.763 [ERROR] [systeminfo.handler.SysteminfoHandler] - No information for channel process#used0
org.openhab.binding.systeminfo.model.DeviceNotFoundException: Error while getting information for process with PID 0
at org.openhab.binding.systeminfo.model.OshiSysteminfo.getProcess(OshiSysteminfo.java:83)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.model.OshiSysteminfo.getProcessMemoryUsage(OshiSysteminfo.java:523)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler.getInfoForChannel(SysteminfoHandler.java:410)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler.publishDataForChannel(SysteminfoHandler.java:250)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler.publishData(SysteminfoHandler.java:243)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler.access$1(SysteminfoHandler.java:237)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at org.openhab.binding.systeminfo.handler.SysteminfoHandler$1.run(SysteminfoHandler.java:215)[190:org.openhab.binding.systeminfo:2.1.0.201701231847]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)[:1.8.0_121]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)[:1.8.0_121]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[:1.8.0_121]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[:1.8.0_121]
at java.lang.Thread.run(Thread.java:745)[:1.8.0_121]
2017-01-26 20:37:13.769 [WARN ] [systeminfo.handler.SysteminfoHandler] - Channel with ID process#used can not be updated! No information available for the selected device.
These errors and warnings are filling up so fast that my SD card will run out of space overnight! It’s splitting the log files pretty fast…
Please help
Edit: By process of elimination I removed any references to items belonging to the binding in my sitemap and my items definitions. I then uninstalled the binding and observed that the log goes quiet. I then install the binding and observe the log goes berserk.