I am making the transition to OpenHab2 and I have found a small issue with my rrd4j chart.
I am using some rrd4j charts to plot some weather data over time (temp, pressure, humidity, etc). I have a switch that I use to switch between plot time periods (hour, day, week, etc). This functions by changing the visibility of the images. This was functional on OpenHab1, but on OpenHab2 the visibility does not change until I refresh my Web browser. I know the image URL is updating and that my persistance is functional because I can see new data pop up in the chart. Any ideas?
Here is the relevant section of my sitemap:
Text item=Weather_Pressure {
Frame {
Switch item=Weather_Pressure_Chart_Period label=“Period” mappings=[0=“Hour”, 1=“Day”, 2=“Week”]
Image url=“http://localhost:8080/rrdchart.png?items=Weather_Pressure&period=h” refresh=6000 visibility=[Weather_Pressure_Chart_Period==0, Weather_Pressure_Chart_Period==“Uninitialized”]
Image url=“http://localhost:8080/rrdchart.png?items=Weather_Pressure&period=D” refresh=30000 visibility=[Weather_Pressure_Chart_Period==1]
Image url=“http://localhost:8080/rrdchart.png?items=Weather_Pressure&period=W” refresh=30000 visibility=[Weather_Pressure_Chart_Period==2]
}
}