Yes, I’m using the camera API 2. I’ve had a single crash today, and the panel probably snapped a 100 pics because of the changing lights with today’s weather. Later I’ll change my rule to only snap in some situations, so it is no too bad. The strange thing is that when the screen lights up and it snaps a pic, I see a message at the bottom that the front camera could not be found - but it snaps with no problem.
Hmm, last evening I can see in the log that my Motion Item changed to CLOSED, and I did a SCREE_ON and snapped an Image. But after that I never received any changes on Motion, so the the screen kept on all night. A reboot was necessary today for the motion detection to get working again. No errors in any logs.
Did you look into the adb log? You will never see HPV errors in any of the openHAB logs. And there is not much I can do without an adb log file. If you can grab one, open an issue in github and attach it.
I have strange visual issue with HABPanelViewer. On my Nexus 10 (Android 7.1 Lineage but I have the same issue with other versions) I have black square on bottom-right corner. It appears after entered into Preferences or changed recent apps or minimalized and restored HABPanelViewer. Restart app restores normal view. Nexus 10 has high native resolution 2560x1600 maybe this is an issue.
I have a quite old tablet with Android 4.2.2 (a Medion product for which there are no OS updates).
Instead of throwing it away, which is not very sustainable, I would like to use it for HABPanelViewer. HABPanelViewer is however limited to Android >4.4, so when I try to install it it fails (“Parsing apk file failed Maybe minSdk of apk is lower than current Sdk”).
Any idea how to make it run or doesn’t it work at all on old Androids? Is this limitation to >4.4 just a default setting when building HABPanelViewer (which could maybe be overrun by setting an older Sdk) or is there a rationale for this limitation?
Camera is broken in Lineage Android for Nexus 10. I almost sure that camera is disabled in preferences. A black square appears only in some circumstances. I’ll check camera properties on weekend. Version 0.9.24.
From reading on the internet, the camera on the Nexus 10 does not seem to work on Lineage starting with Nougat. It is possible that the app does not handle that case very well. As I don’t have a Nexus 10, I can not reproduce what happens. If you are willing to install some development apks and send me some adb logs, you can create an issue in my github project. I will then instrument the app in order to find out what is going on and hopefully find a fix for your device.
I want to use the HabPanelviewer but have some problems in the implementation. Use currently a Samsung Galaxy Tab S3 and a Xido X111 but on both tablets I can not get beyond the display of the start page. Both devices indicate that motion detection is not available. Must always press the power button to get back to the HabPanel page. Come synonymous with the instructions not very clear is there assuming that you use a Smart Home Designer? So far I have only set up everything via PaperUI. Am absolute beginner!