Hi,
I’ve configured three graphs for my temperature sensors and they are diplayed regulary if I access to openhab with a browser.Insted when I use the android app usually no graphs are displayed or they are displayed partially (only one of three) or they are displayed after a lot of time (5 minutes after the apps in loaded)
Sitemaps configuration is the following:
Frame label=“Temp. Room1” {
Chart item=Fibaro_Motion_1_1_Temperature period=d refresh=3000
}
Frame label=“Temp. Room2” {
Chart item=Fibaro_Motion_2_1_Temperature period=d refresh=3000
}
Frame label=“Temp. Room3” {
Chart item=Fibaro_Motion_3_1_Temperature period=d refresh=3000
}
If I check jetty request log while accessing with the app It seems that the app try to access to the graphs many times:
192.168.1.200 - - [17/ott/2015:07:29:51 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=1387952365&w=1080&h=540 HTTP/1.1” 200 25573
192.168.1.200 - - [17/ott/2015:07:29:52 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25558
192.168.1.200 - - [17/ott/2015:07:29:54 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25817
192.168.1.200 - - [17/ott/2015:07:29:56 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25820
192.168.1.200 - - [17/ott/2015:07:30:03 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25848
192.168.1.200 - - [17/ott/2015:07:30:03 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25847
192.168.1.200 - - [17/ott/2015:07:30:06 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25546
192.168.1.200 - - [17/ott/2015:07:30:07 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25587
192.168.1.200 - - [17/ott/2015:07:30:13 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25588
192.168.1.200 - - [17/ott/2015:07:30:14 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25587
192.168.1.200 - - [17/ott/2015:07:30:16 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=195409991&w=1080&h=540 HTTP/1.1” 200 25735
192.168.1.200 - - [17/ott/2015:07:30:18 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=-901472106&w=1080&h=540 HTTP/1.1” 200 25710
192.168.1.200 - - [17/ott/2015:07:30:24 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=-901472106&w=1080&h=540 HTTP/1.1” 200 26183
192.168.1.200 - - [17/ott/2015:07:30:24 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=-901472106&w=1080&h=540 HTTP/1.1” 200 26182
192.168.1.200 - - [17/ott/2015:07:30:27 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=-901472106&w=1080&h=540 HTTP/1.1” 200 26177
192.168.1.200 - - [17/ott/2015:07:30:29 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=-901472106&w=1080&h=540 HTTP/1.1” 200 26106
As you can see the http response code is 200 and no error are presents in openhab.log, It seems that the app continuos retry to get the graph image.
Instead when I access to openhab with browser I see only three get for my three graps:
192.168.1.54 - - [17/ott/2015:07:20:37 +0000] “GET /chart?items=Fibaro_Motion_3_1_Temperature&period=d&random=1 HTTP/1.1” 200 6461
192.168.1.54 - - [17/ott/2015:07:20:37 +0000] “GET /chart?items=Fibaro_Motion_1_1_Temperature&period=d&random=1 HTTP/1.1” 200 9688
192.168.1.54 - - [17/ott/2015:07:20:37 +0000] “GET /chart?items=Fibaro_Motion_2_1_Temperature&period=d&random=1 HTTP/1.1” 200 9847
Any clues ?