Android App Beta

android
Tags: #<Tag:0x00007f1e6bae3d38>
(Ron) #61

Just installed vesion 2.3.3-beta. Looks quite nice, but unlike the ‘old’ openhab adroid app, it does not show my Grafana graphs presented with Webview in the sitemap.
What should I do different for this app to make the show up?

0 Likes

(Mueller Ma) #62

Is the connection to the graphs https? There’s an issue were self-signed certs are unsupported in webviews for now.

0 Likes

(Ron) #63

It is https but with LE certificate, not self-signed.

0 Likes

(Ole Morten Rønning) #64

I just noticed this as well. I’m using plain http://
Works in non beta App.

0 Likes

(Hallo Ween) #66

When i want to look at a chart inside openhab app beta, i always have to open the windows twice. At the first time, i only get a blank screen with no data inside the chart. After i close the chart and open it again, i can see the chart. Same is, when i want to change the visible time period. I have to change the time period, then leave the chart and then enter it again, then i get the chart.

In former version, it worked without any issue. But this bad behavior is since a long time now.

I use rrd4j for most of my graphs.

I´m on latest openhab app beta and latest openhab2.5 snapshot.

Any idea?

0 Likes

(Mueller Ma) #67

Yes: https://github.com/openhab/openhab-android/issues/1094

The fix is on its way :slight_smile:

1 Like

(Hallo Ween) #68

Is there a way to report the battery state of the android phone to openhab or would this be possible?

Maybe in a future version?

0 Likes

(Mueller Ma) #69

Currently @maniac103 and I are adding a framework to the app that allows sending device information to the server: https://github.com/openhab/openhab-android/pull/1137
The first feature that uses this framework is sending the alarm clock time. New features need to be added to the source code, but it’s quite easy to add them.
I was thinking of:

  • Battery state
  • Wi-Fi SSID (can be used for presence detection)
  • Switch item on if receiving a phone call
  • Number and name of caller
  • Last SMS

Please note, that this feature isn’t ready yet and it might take some time until it’s in the stable version. Google might add new restrictions with any new Android version, so things might brake in the future.

4 Likes

(Hallo Ween) #70

Can you tell me, how i can display habpanel on the beta app? When i press the habpanel button. I only get a blank screen.

0 Likes

(Mueller Ma) #71

You’re probably connected over https with an invalid certificate: https://github.com/openhab/openhab-android/issues/948

0 Likes

(Hallo Ween) #72

I’m in my local network, only http, no certificate, no username/password.

Strange. Tried again and now it works…

0 Likes

(Scott Rushworth) #73

Is there any posibility to have the app switch to landscape mode when viewing Habpanel? I don’t autorotate, and all of my panels are setup for a wide format. Having Habpanel in the app is awesome!

2 Likes

(Mueller Ma) #74

IMO it’s better not to add an option only for the people that have autorotate disabled and their habpanel for the wide format.

0 Likes

(Mueller Ma) #75

The latest beta has the two pane mode enabled for larger devices in portrait mode. If you think it wastes too much space on your device, please let us know. Screenshot and device name are appreciated.

0 Likes

(Hallo Ween) #76

Can you make this manually adjustable?

I have a 6" smartphone with full-hd and i increased the dpi-settings in android. So i could be able to see much more information on my screen. But i still have only one pane. I´m on 2.6.1 beta app.

0 Likes

(Mueller Ma) #77

How much DPI do you have now?

0 Likes

(Hallo Ween) #78

At the moment i have 400dpi. But i can change it easily.

0 Likes

(Mueller Ma) #79

Can you enable demo mode and make a screenshot? In the first iteration of the PR I enabled twopane mode for 600dp width, which didn’t look good: https://user-images.githubusercontent.com/22525368/53193036-46feef80-3610-11e9-9ca8-c157e5187ab1.png (7 inch tablet).

0 Likes

(Hallo Ween) #80

But this is not the two pane mode from Basic UI in your example, that is the “old” two pane mode from classic ui.

Any chance to get basic ui two pane mode to android app?

0 Likes

(Hallo Ween) #81

Hm, now it works in landscape mode…

But you are right, it’s ugly…

But i think basic ui two pane mode would be better.

0 Likes