openHAB version 4.1.2 on a proxmox system
I have a problem with the System Info Binding and especially with the channel Cpu#load
As soon as I link an item here, the thing reports an COMMUNICATION_ERROR error.
All other channels work without problems, anyone have any ideas?
I have tried all possible settings for the item
- unit one
- unit %
- state decription pattern %d %%
- and without
but I keep getting the error.
The log says the following
2024-05-08 10:06:54.815 [DEBUG] [o.internal.handler.SysteminfoHandler] - High prioriy tasks will not be run anymore!
2024-05-08 10:06:54.816 [DEBUG] [o.internal.handler.SysteminfoHandler] - Medium prioriy tasks will not be run anymore!
2024-05-08 10:06:56.580 [DEBUG] [eminfo.internal.model.OSHISysteminfo] - OSHISysteminfo service starts initializing
2024-05-08 10:06:56.606 [DEBUG] [o.internal.handler.SysteminfoHandler] - Systeminfo implementation is instantiated!
2024-05-08 10:06:56.606 [DEBUG] [o.internal.handler.SysteminfoHandler] - Start reading Thing configuration.
2024-05-08 10:06:56.606 [DEBUG] [o.internal.handler.SysteminfoHandler] - Refresh time for medium priority channels set to 60 s
2024-05-08 10:06:56.606 [DEBUG] [o.internal.handler.SysteminfoHandler] - Refresh time for high priority channels set to 1 s
2024-05-08 10:06:56.607 [DEBUG] [o.internal.handler.SysteminfoHandler] - Properties updated!
2024-05-08 10:06:56.608 [DEBUG] [o.internal.handler.SysteminfoHandler] - Schedule high priority tasks at fixed rate 1 s
2024-05-08 10:06:56.608 [DEBUG] [o.internal.handler.SysteminfoHandler] - Schedule medium priority tasks at fixed rate 60 s
2024-05-08 10:06:56.608 [DEBUG] [o.internal.handler.SysteminfoHandler] - Schedule one time update for low priority tasks
2024-05-08 10:06:57.608 [WARN ] [o.internal.handler.SysteminfoHandler] - No information for channel battery#remainingTime with device index: 0
2024-05-08 10:06:57.608 [DEBUG] [o.internal.handler.SysteminfoHandler] - Channel with UID systeminfo:computer:openhab:process#path tracks process with PID: 0
2024-05-08 10:06:57.609 [WARN ] [o.internal.handler.SysteminfoHandler] - No information for channel battery#remainingCapacity with device index: 0
2024-05-08 10:06:57.688 [WARN ] [o.internal.handler.SysteminfoHandler] - No information for channel battery#name with device index: 0
2024-05-08 10:06:57.714 [DEBUG] [o.internal.handler.SysteminfoHandler] - Channel with UID systeminfo:computer:openhab:process#name tracks process with PID: 0
2024-05-08 10:06:57.789 [DEBUG] [o.internal.handler.SysteminfoHandler] - Channel with UID systeminfo:computer:openhab:process#used tracks process with PID: 0
2024-05-08 10:06:57.802 [DEBUG] [o.internal.handler.SysteminfoHandler] - Unexpected error occurred while getting system information!
java.lang.IllegalArgumentException: Value must be between 0 and 100
at org.openhab.core.library.types.PercentType.validateValue(PercentType.java:93) ~[?:?]
at org.openhab.core.library.types.PercentType.<init>(PercentType.java:88) ~[?:?]
at org.openhab.binding.systeminfo.internal.model.OSHISysteminfo.getSystemCpuLoad(OSHISysteminfo.java:511) ~[?:?]
at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.getSystemCpuLoad(SysteminfoHandler.java:642) ~[?:?]
at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.lambda$0(SysteminfoHandler.java:127) ~[?:?]
at org.openhab.core.cache.ExpiringCache.refreshValue(ExpiringCache.java:101) ~[?:?]
at org.openhab.core.cache.ExpiringCache.getValue(ExpiringCache.java:72) ~[?:?]
at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.getInfoForChannel(SysteminfoHandler.java:486) ~[?:?]
at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.publishDataForChannel(SysteminfoHandler.java:414) ~[?:?]
at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.publishData(SysteminfoHandler.java:408) ~[?:?]
at org.openhab.binding.systeminfo.internal.handler.SysteminfoHandler.lambda$2(SysteminfoHandler.java:385) ~[?:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539) [?:?]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) [?:?]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) [?:?]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
at java.lang.Thread.run(Thread.java:840) [?:?]