Hi,
i spend the last weeks understanding and playing with openhab and mysensors. It’s fun and sooo addictive But can get really frustrating sometimes. I almost don’t dare to ask questions here because i am really new to all that. I just can’t figure out the chart errors.
The “widget null” errors are connected to the chart-period-switch (Hour, Day, Weeks,…). But not sure how
The errors look like that:
2016-09-01 19:56:37.949 [DEBUG] [.o.u.w.i.servlet.WebAppServlet] - Servlet request received!
2016-09-01 19:56:37.961 [DEBUG] [.o.u.w.i.servlet.WebAppServlet] - reading sitemap ed
2016-09-01 19:56:38.012 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Checking visiblity for widget 'null'.
2016-09-01 19:56:38.023 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Checking visiblity for widget 'null'.
2016-09-01 19:56:38.032 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Widget null is not visible.
2016-09-01 19:56:38.040 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Checking visiblity for widget 'null'.
2016-09-01 19:56:38.050 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Widget null is not visible.
2016-09-01 19:56:38.059 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Checking visiblity for widget 'null'.
2016-09-01 19:56:38.068 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Widget null is not visible.
2016-09-01 19:56:38.072 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Checking visiblity for widget 'null'.
2016-09-01 19:56:38.081 [DEBUG] [o.u.i.items.ItemUIRegistryImpl] - Widget null is not visible.
2016-09-01 19:56:38.123 [DEBUG] [.io.net.http.SecureHttpContext] - checking ip is in range took 0ms
2016-09-01 19:56:38.133 [DEBUG] [.io.net.http.SecureHttpContext] - security is disabled - processing aborted!
2016-09-01 19:56:38.141 [DEBUG] [ui.internal.chart.ChartServlet] - Received incoming chart request:
2016-09-01 19:56:38.151 [DEBUG] [ui.internal.chart.ChartServlet] - No begin and end are specified, use now as end and now - period as begin.
2016-09-01 19:56:38.582 [DEBUG] [.io.net.http.SecureHttpContext] - checking ip is in range took 1ms
2016-09-01 19:56:38.598 [DEBUG] [.io.net.http.SecureHttpContext] - security is disabled - processing aborted!
Items:
Group Temperature
Group Weather_Chart "Charts"
// Temperatures
Number Room_Temperature "Room Temperature [%.1f C]" <temperature> (Temperature, Barn, Weather_Chart) {mysensors="9;1;V_TEMP"}
Number Room_Temperature_Set "Set Room Temperature to [%.1f C]" <temperature> (Temperature, Barn)
Number Room_Humidity "Humidity [%.1f %%]" <temperature> (Temperature, Barn, Weather_Chart) {mysensors="9;0;V_HUM"}
Number Compost_Temperature "Compost Temperature [%.1f C]" <temperature> (Temperature, Garden, Weather_Chart) {mysensors="11;0;V_TEMP"}
Number Weather_Chart_Period "Chart Period"
Sitemap
Frame item=Garden{
Text item=Compost_Temperature icon="garden"{
Frame item=Garden{
Text item=Compost_Temperature
Switch item=Water_Left
}
Frame item=Weather_Chart{
Switch item=Weather_Chart_Period mappings=[0="Hour", 1="Day", 2="Week", 3="Month", 4="Year"]
Chart item=Weather_Chart period=h refresh=6000 visibility=[Weather_Chart_Period==0, Weather_Chart_Period=="Uninitialized"]
Chart item=Weather_Chart period=D refresh=30000 visibility=[Weather_Chart_Period==1]
Chart item=Weather_Chart period=W refresh=60000 visibility=[Weather_Chart_Period==2]
Chart item=Weather_Chart period=M refresh=120000 visibility=[Weather_Chart_Period==3]
Chart item=Weather_Chart period=Y refresh=120000 visibility=[Weather_Chart_Period==4]
}
}
}
Persistence:
// persistence strategies have a name and a definition and are referred to in the "Items" section
Strategies {
// for rrd charts, we need a cron strategy
everyMinute : "0 * * * * ?"
}
Items {
Temperature, Weather_Chart* : strategy = everyMinute, restoreOnStartup
}
What am i doing wrong? No need for rules if it comes to charts right?
Hope it’s something small as usual
Cheeers
ED