hello all! first post so hope to do it right
enviroment:
OpenHab 2.5.0.M5
Wyse Z90S7 ThinClient with AMD G-T52R processor 1.5GHz/4GB DDR3/120GB SSD
Windows 7 Pro SP1 x64 with zulu8.28.0.1-jdk8.0.163-win_x64
SystemInfo binding works with some channels (like memory#usedPercent, storage#usedPercent) but not with sensor#cpuTemp and cpu#load1 which are vital for me. Tried all I could think of but couldn’t get aything else than -NaN as a value
Thought to bypass the problem by using Core Temp 1.15.1 (alcpu.com/CoreTemp) with Core Temp Remote Server plugin which runs on port 5200 and periodically outputs a JSON structure with all infos, like if i type localhost:5200 in a web browser I get a window with increasing number of telegrams like:
{"CpuInfo":{"uiLoad":[3],"uiTjMax":[100],"uiCoreCnt":1,"uiCPUCnt":1,"fTemp":[35.5],"fVID":1.3499999,"fCPUSpeed":1496.36707,"fFSBSpeed":99.7578049,"fMultiplier":15,"CPUName":"AMD G-T52R (Zacate) ","ucFahrenheit":0,"ucDeltaToTjMax":0,"ucTdpSupported":1,"ucPowerSupported":0,"uiStructVersion":2,"uiTdp":[9],"fPower":[0],"fMultipliers":[15]},"MemoryInfo":{"TotalPhys":3685,"FreePhys":1603,"TotalPage":7368,"FreePage":5075,"TotalVirtual":8388608,"FreeVirtual":8388014,"FreeExtendedVirtual":1,"MemoryLoad":56}}
I installed TCP/UDP binding and JSONPATH transformation and tried this items config with no success:
String CoreTemp_temperature "CPU Temp [%s]" { tcp="<[127.0.0.1:5200:JSONPATH($.CpuInfo.fTemp)]" }
or
Number CoreTemp_temperature "CPU Temp [%.1f °C]" { tcp="<[127.0.0.1:5200:JSONPATH($.CpuInfo.fTemp)]" }
In events.log all I can find is “Item ‘CoreTemp_temperature’ has been updated.”
Running out of ideas of where I could go wrong or what else to try… Any help would be appreciated with either the SystemInfo binding or the Core Temp approach.