hi All
im using OH2.3, the Thing shows online as are the channels.
Ive setup my items as below:
/* Network information*/
String Network_AdapterName { channel="systeminfo:computer:OpenHAB:network#networkDisplayName" }
String Network_Name { channel="systeminfo:computer:OpenHAB:network#networkName" }
String Network_IP { channel="systeminfo:computer:OpenHAB:network#ip" }
String Network_Mac { channel="systeminfo:computer:OpenHAB:network#mac" }
Number Network_DataSent { channel="systeminfo:computer:OpenHAB:network#dataSent" }
Number Network_DataRecevied { channel="systeminfo:computer:OpenHAB:network#dataReceived" }
Number Network_PacketsSent { channel="systeminfo:computer:OpenHAB:network#packetsSent" }
Number Network_PacketsRecevied { channel="systeminfo:computer:OpenHAB:network#packetsReceived" }
/* CPU information*/
String CPU_Name { channel="systeminfo:computer:OpenHAB:cpu#name" }
String CPU_Description { channel="systeminfo:computer:OpenHAB:cpu#description" }
Number CPU_Load { channel="systeminfo:computer:OpenHAB:cpu#load"}
Number CPU_Load1 { channel="systeminfo:computer:OpenHAB:cpu#load1" }
Number CPU_Load5 { channel="systeminfo:computer:OpenHAB:cpu#load5" }
Number CPU_Load15 { channel="systeminfo:computer:OpenHAB:cpu#load15" }
Number CPU_Threads { channel="systeminfo:computer:OpenHAB:cpu#threads" }
Number CPU_Uptime { channel="systeminfo:computer:OpenHAB:cpu#uptime" }
/* Drive information*/
String Drive_Name { channel="systeminfo:computer:OpenHAB:drive#name" }
String Drive_Model { channel="systeminfo:computer:OpenHAB:drive#model" }
String Drive_Serial { channel="systeminfo:computer:OpenHAB:drive#serial" }
/* Storage information*/
String Storage_Name { channel="systeminfo:computer:OpenHAB:storage#name" }
String Storage_Type { channel="systeminfo:computer:OpenHAB:storage#type" }
String Storage_Description { channel="systeminfo:computer:OpenHAB:storage#description" }
Number Storage_Available { channel="systeminfo:computer:OpenHAB:storage#available" }
Number Storage_Used { channel="systeminfo:computer:OpenHAB:storage#used" }
Number Storage_Total { channel="systeminfo:computer:OpenHAB:storage#total" }
Number Storage_Available_Percent { channel="systeminfo:computer:OpenHAB:storage#availablePercent" }
Number Storage_Used_Percent { channel="systeminfo:computer:OpenHAB:storage#usedPercent" }
/* Memory information*/
Number Memory_Available { channel="systeminfo:computer:OpenHAB:memory#available" }
Number Memory_Used { channel="systeminfo:computer:OpenHAB:memory#used" }
Number Memory_Total { channel="systeminfo:computer:OpenHAB:memory#total" }
Number Memory_Available_Percent { channel="systeminfo:computer:OpenHAB:memory#availablePercent" }
Number Memory_Used_Percent { channel="systeminfo:computer:OpenHAB:memory#usedPercent" }
/* Swap memory information*/
Number Swap_Available { channel="systeminfo:computer:OpenHAB:swap#available" }
Number Swap_Used { channel="systeminfo:computer:OpenHAB:swap#used" }
Number Swap_Total { channel="systeminfo:computer:OpenHAB:swap#total" }
Number Swap_Available_Percent { channel="systeminfo:computer:OpenHAB:swap#availablePercent" }
Number Swap_Used_Percent { channel="systeminfo:computer:OpenHAB:swap#usedPercent" }
/* Display information*/
String Display_Description { channel="systeminfo:computer:OpenHAB:display#information" }
/* Sensors information*/
Number Sensor_CPUTemp { channel="systeminfo:computer:OpenHAB:sensors#cpuTemp" }
Number Sensor_CPUVoltage { channel="systeminfo:computer:OpenHAB:sensors#cpuVoltage" }
Number Sensor_FanSpeed { channel="systeminfo:computer:OpenHAB:sensors#fanSpeed" }
/* Process information*/
Number Process_load { channel="systeminfo:computer:OpenHAB:process#load" }
Number Process_used { channel="systeminfo:computer:OpenHAB:process#used" }
String Process_name { channel="systeminfo:computer:OpenHAB:process#name" }
Number Process_threads { channel="systeminfo:computer:OpenHAB:process#threads" }
String Process_path { channel="systeminfo:computer:OpenHAB:process#path" }
But I see errors in the log
kris@OpenHAB:~$ sudo tail /var/log/openhab2/openhab.log
2018-06-22 08:42:47.156 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Network_DataSent' for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.165 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Network_DataSent' for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.170 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.182 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Network_DataReceived' for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.184 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Network_DataReceived' for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.194 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'Network_DataReceived' for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.202 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.205 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'CPU_Load' for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.213 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'CPU_Load' for widget org.eclipse.smarthome.model.sitemap.Text
2018-06-22 08:42:47.216 [ERROR] [ui.internal.items.ItemUIRegistryImpl] - Cannot retrieve item 'CPU_Load' for widget org.eclipse.smarthome.model.sitemap.Text
My site map is
sitemap systeminfo label="System Info" {
Frame label="Network" {
Text item=Network_IP label="IP Address"
Text item=Network_DataSent label="Data Sent"
Text item=Network_DataReceived label="Data Received"
}
Frame label="CPU Information" {
Text item=CPU_Load label="CPU Load"
}
}
Any thoughts? Search of the forum suggests the sitemap cant find my items, but they look correct Confused
Looking in PaperUI it seems i dont have channels for data received/sent etc. I do for CPU load