hektiker1983 / openhab

Automatically exported from code.google.com/p/openhab
0 stars 0 forks source link

HABDroid: Charts not being displayed when using items #323

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a RRD chart with item(s) using the image widget
2. Try to view the chart from Habdroid

What is the expected output? What do you see instead?
- Expected: the chart
- Seen: Empty space

What version of the product are you using? On what operating system?
Devel-Snapshot org.openhab.core_1.3.0.201305112214

Please provide any additional information below.
More details in this thread: 
https://groups.google.com/forum/?fromgroups#!topic/openhab/ovIUVgS1gN8

Original issue reported on code.google.com by hlw31...@gmail.com on 30 May 2013 at 9:20

GoogleCodeExporter commented 8 years ago

Original comment by teichsta on 30 May 2013 at 9:15

GoogleCodeExporter commented 8 years ago
Fixed with changeset 
https://code.google.com/p/openhab/source/detail?r=1b30063586f4f25222c774e32e7675
445a7b2b41

Original comment by kai.openhab on 11 Jun 2013 at 4:05

GoogleCodeExporter commented 8 years ago
Kai/Victor - I am still seeing this issue running the latest code. I have a 
chart for a single item (energy usage in watts) which shows up fine in the 
classic UI but I get nothing (blank) in HABDroid.

Original comment by ben.jone...@gmail.com on 15 Aug 2013 at 8:57

GoogleCodeExporter commented 8 years ago
Can you confirm that you see the chart in the demo sitemap (on the temperature 
page)?

Original comment by kai.openhab on 15 Aug 2013 at 10:26

GoogleCodeExporter commented 8 years ago
I can confirm I see the charts on the demo-site but not on my own site.
I run 1.3.0 default checked out August 18 2013 on a Raspberry Pi running 
rasberian.
I have tried lots of different configurations with single and multiple charts 
but all are blank on the habdroid app.

Original comment by bjorn.la...@gmail.com on 24 Aug 2013 at 6:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
There is nothing like a "Chart" as an item type, Did you mean your sitemap-file?

Original comment by kai.openhab on 25 Aug 2013 at 11:44

GoogleCodeExporter commented 8 years ago
My error. Ofcorse i mean sitemap.
I can post my complete configuration when I get home again if you want?

Original comment by bjorn.la...@gmail.com on 25 Aug 2013 at 1:19

GoogleCodeExporter commented 8 years ago
Yes, please!

Original comment by kai.openhab on 26 Aug 2013 at 5:05

GoogleCodeExporter commented 8 years ago
I have tested your files and it works in my HABDroid.
Could you maybe check if you have log entries in your 
logs/2013_08_xx.request.log file? They should look like:
192.168.0.130 -  -  [28/Aug/2013:20:17:58 +0000] "GET 
/rrdchart.png?items=OutTemp&period=D&random=-894762417 HTTP/1.1" 200 7183 
192.168.0.130 -  -  [28/Aug/2013:20:17:58 +0000] "GET 
/rrdchart.png?items=OutTemp&period=M&random=917420226 HTTP/1.1" 200 6944 
192.168.0.130 -  -  [28/Aug/2013:20:17:58 +0000] "GET 
/rrdchart.png?items=OutTemp&period=h&random=1661509275 HTTP/1.1" 200 7174 

Original comment by kai.openhab on 28 Aug 2013 at 8:22

GoogleCodeExporter commented 8 years ago
I only get the following log messages when connecting from habdroid and click 
on a link that should give me the graphs (and do so in the web-UI):
94.234.170.186 -  -  [29/Aug/2013:06:58:11 +0000] "GET /rest/sitemaps HTTP/1.1" 
200 289
94.234.170.186 -  -  [29/Aug/2013:06:58:13 +0000] "GET 
/rest/sitemaps/huset/demo HTTP/1.1" 200 6261
94.234.170.186 -  -  [29/Aug/2013:06:58:14 +0000] "GET 
/rest/sitemaps/huset/demo HTTP/1.1" 200 0
94.234.170.186 -  -  [29/Aug/2013:06:58:19 +0000] "GET 
/rest/sitemaps/huset/0100 HTTP/1.1" 200 1272
94.234.170.186 -  -  [29/Aug/2013:06:58:19 +0000] "GET 
/rest/sitemaps/huset/0100 HTTP/1.1" 200 1272
94.234.170.186 -  -  [29/Aug/2013:06:58:19 +0000] "GET 
/rest/sitemaps/huset/0100 HTTP/1.1" 200 0

Original comment by bjorn.la...@gmail.com on 29 Aug 2013 at 7:09

GoogleCodeExporter commented 8 years ago
Could you maybe have a try with the latest snapshot build of HABDroid that you 
can get from
https://openhab.ci.cloudbees.com/job/HABDroid/?

Original comment by kai.openhab on 30 Aug 2013 at 7:38

GoogleCodeExporter commented 8 years ago
The snapshot version of HabDROID works like a charm!
The graphs shows up ss expected

Original comment by bjorn.la...@gmail.com on 30 Aug 2013 at 8:47

GoogleCodeExporter commented 8 years ago
Sorry - I thought I had starred this item but I hadn't. Thus I have missed all 
these messages! I just downloaded and tried the latest version of HABDroid and 
can confirm RRD charts now work just fine with items only. Cheers!

Original comment by ben.jone...@gmail.com on 12 Sep 2013 at 5:06

GoogleCodeExporter commented 8 years ago
So Victor, time to release a new HABDroid version soon :-)

Original comment by kai.openhab on 12 Sep 2013 at 7:55

GoogleCodeExporter commented 8 years ago
Victor - I am noticing HABDroid crashing every time I try and open 'openHAB 
Info' from the settings menu. Apart from that it is great! Great piece of 
software - looks very slick on my HTC One.

I also noticed the voice command button...care to share the syntax on how to 
make this work?! I tried a few variations of 'send command <item> on', 'update 
<item> on', '<item> on' and whilst my words were correctly identified, nothing 
happened.

Original comment by ben.jone...@gmail.com on 12 Sep 2013 at 10:45