Why are charts no longer visible in Android app (but in Classic UI)? [closed]

I no longer see the temperature charts (current, min, max) from the demo sitemap on my Android app. I do see them in the classic UI, though.

I have updated both OH2 and the Android app in the past couple months and either one of these updates may have caused the error. I have not touched by sitemap configuration though.

Looking for a root-cause, I noticed the following error:

2017-08-25 23:32:40.374 [WARN ] [nce.extensions.PersistenceExtensions] - There is no queryable persistence service registered with the id 'rrd4j'

This is odd, because:

  1. rrd4j is set as the only persistence service in the addons.cfg
  2. it is shown installed in the PaperUI
  3. It is listed as installed and active in the console (bundle:list)

I do not think that this is related, because apparently the data is stored and can be properly displayed in Classic UI. Nevertheless, I tried increasing the log-level, but it appears I am doing something wrong, because I do not get any additional info:

openhab> log:list
Logger                                                             | Level
ROOT                                                               | WARN
javax.jmdns                                                        | ERROR
org.apache.aries.spifly                                            | ERROR
org.apache.karaf.kar.internal.KarServiceImpl                       | ERROR
org.eclipse.smarthome                                              | INFO
org.eclipse.smarthome.persistence                                  | DEBUG
org.eclipse.smarthome.persistence.extensions.PersistenceExtensions | DEBUG
org.jupnp                                                          | ERROR
org.openhab                                                        | INFO
org.openhab.binding.mqtt                                           | INFO
org.ops4j.pax.web.service.jetty.internal.JettyServerWrapper        | ERROR
smarthome.event                                                    | INFO
smarthome.event.InboxUpdatedEvent                                  | ERROR
smarthome.event.ItemAddedEvent                                     | ERROR
smarthome.event.ItemRemovedEvent                                   | ERROR
smarthome.event.ItemStateEvent                                     | ERROR
smarthome.event.ThingStatusInfoEvent                               | ERROR
  • Is anyone able to confirm my observations with regard to the charts from the demo sitemap and Android app / Classic UI?
  • What do I have to set to DEBUG to get more info on the “rrd4j”-warning?

Looking forward to your assistance.

  1. It needs to be listed as the default Persistence in PaperUI > Configuration > System > Persistence

This is already the case, so this is not it. Moreover, persistence in general and rrd4j specifically appear to work fine, since the charts show up OK on Classic UI. Thanks, though.

I am still able to see my charts with the Android app, but i am using mysql persistence. The charts take some time to be drawn, did you try to increase the refresh interval?

There is currently a bug where charts and external images are not shown, when Icon type is set to SVG

I’m using the Android-App and BasicUI. My charts are shown on both (Yes it takes some seconds to show the data, the more to show the longer it takes).
My setup is OH2 stable release, rrd4j as persistence service.
See my screenshot:

Just to close this topic: Yes, indeed my preferences were set to SVG. Then, without any change in my configuration, but after an update of the Android app, the graphs now show as expected. It seems the bug was linked to an older version of the app just as pointed out by @mueller-ma. Thanks!

1 Like