HABPanelViewer

android
habpanel
Tags: #<Tag:0x00007f1828c53248> #<Tag:0x00007f1828c53040>

(Michael Ritterbusch) #81

Hi Tommy, do your cameras/dvr support url auth? ex. http://192.168.1.112:81/image/fdoor?q=50&s=90&user=myuser&pw=mypass instead of the http://user:pass@192.168.1.112, etc…? I use quite a few cams but the URL auth tends to work better in my experience (if the devices support it)


(Aaron Khare) #82

Hey, thanks for this, might be just what I was looking for to upgrade from the Wall Panel webviewer app!

At work so can’t test right now, but wanted to know about this feature:
configurable scrolling prevention: when checked, scrolling is completely disabled

Does that mean if my HABpanel has an inner-scrolling area (overflow-scroll or just very tall), which I want to keep, it won’t scroll?


(Volker Bier) #83

Yes, that’s why I wrote scrolling is completely disabled. :wink:


(Aaron Khare) #84

I had a feeling, but wanted to confirm, thanks :nerd_face:
Is it through an implementation of scroll/swipe blocking?

In that case I guess I’ll restructure my custom HABpanel through CSS to have a scrolling container and fixed bottom nav.

Thanks for the quick reply, cheers!


(Volker Bier) #85

Version 0.9.8

  • add welcome screen shown on first start
  • report to openHAB when device battery state is low/not low

(Joost Westra) #86

Nice App. Might help in the development as well. Can you also add the (front) distance sensor as an (extra) motion input. Camera detection only does not work well when it is dark.


(Volker Bier) #87

It is my plan to add support for reporting more device sensor values (e.g. proximity, light, …) to openHAB items. I will also change the motion detection to no longer activate the screen, but to also report detected motion to openHAB.


(Joost Westra) #88

That is even better. That we can define the relevant rules in OpenHab. Do you need help?


(Semperor) #89

I wonder how you all disabled that the screen goes off after X seconds/minutes? I can only select from few seconds to a max of 30 minutes within android settings.


(Volker Bier) #90

I have just pushed a pre version that does now report motion and proximity events to openHAB. But I am pretty sure there is no use in the proximity sensor. My tablet does not have one, and my phone only reports ON/OFF, with ON triggering if you are <2cm close to the device.
If you want to try it out, look at the Status Information. It reports the max. range and resolution of the proximity sensor.


(Kersten Tams) #91

hi,
use caffeine


(Semperor) #92

Thank you for the quick response. I tried caffeine and it does the job.

By chance I stumbled over the android developer settings. There is a setting where you can set the display to always on. This did the job for me, too.


(Volker Bier) #93

I have pushed another pre version with added support for brightness, pressure and temperature sensors. I have no hardware with pressure sensors, so if anybody has a device with pressure sensors, please test and report if it works.


(Joost Westra) #94

I have an issue with the device coupling on my Galaxy Tab 3 7. The item works fine on my phone, with exactly the same spelling. But my Tab 3 keep reporting =null even after a reboot of the tablet and the App. (will test the presure sensor on a Galaxy SIII for you)


(Volker Bier) #95

Has the app been connected at all on your Tab 3? Did it show the server url in the upper part of the menu or “not connected”? Did some items show values or did they all show null?


(Joost Westra) #96

On the Tab 3 I get a “not connected” for the server.
Things I tried to fix: Discover as https and http. Reinstall, clear settings. Can not get it to work.
Works fine on a Tab 4 and on a Honor 8


(Volker Bier) #97

Can you grab a log using adb?


(Hallo Ween) #98

When is Habpanel Viewer sending new status information to openhab items? Everytime something changes or at start of programm too?

Can you implement sending all status information to openhab when the app is starting?


(Scott Rushworth) #99

Related to this, I’m seeing Brightness updates very frequently, and a bit erratically (Nexus7 2013). An update frequency setting would be helpful, with values averaged over the period.

Time	                Value
2017-11-21 07:57:43.445	4
2017-11-21 07:57:43.237	0
2017-11-21 07:57:43.177	1
2017-11-21 07:57:29.721	4
2017-11-21 07:57:29.603	5
2017-11-21 07:57:26.567	4
2017-11-21 07:57:26.477	5
2017-11-21 07:57:26.100	4
2017-11-21 07:57:25.870	5
2017-11-21 07:57:24.546	4
2017-11-21 07:57:24.452	5
2017-11-21 07:57:23.847	4
2017-11-21 07:57:23.650	5
2017-11-21 07:57:23.239	4
2017-11-21 07:57:22.738	5
2017-11-21 07:57:22.644	4
2017-11-21 07:57:22.538	5
2017-11-21 07:57:22.239	4
2017-11-21 07:57:21.942	5
2017-11-21 07:57:21.336	4

(Hallo Ween) #100

How can i completely control the screen on with an openhab switch?

Now i changed regex to ON, so when my switch is “on”, the screen powers on. Then i have to wait (on my device) 2 min and the screen goes off. Haven´t tested, if the screen stays on, as long as the switch is “on”.

Will screen stay on as long as the openhab-switch is on or will it go off after the defined time (android settings)?