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.
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)
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?
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
Can you grab a log using adb?
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?
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
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)?
I just uploaded a new version that buffers item updates until the server is available. Please check if this fixes your problems.
Current device sensor values can not be read, AFAIK. It is only possible to be notified on change.
Check the app help.
Is there a way to grab the camera stream and send to openhab?
Or do i need additional software to do this?
There is no way to do that currently. But you can create a pull request.
Screen on not working properly. When I press the openhab switch, screen wakes up, but 2 minutes later screen goes off. Openhab switch still on.
Any idea how to solve that issue?
Was in the process of making an ADB log for the Tab 3, but used my remote url this time (typed in by hand). And now it is connecting to the server. Will different ways to input the url on the local network when I am on the local network again.
@vbier, I know this is not what you intended for this app, but I was playing around and installed it on my FireTV to see what would happen. I’m stuck with configuring it, as there is no touch interface to bring up the menu, and the remote isn’t doing anything. I searched for a configuration file that I could access (non-rooted), but did not see anything. Is there any way to configure the app, other than through the menu?
I have no idea how the FireTV will behave once the app is configured. I’ve toyed with the idea of making a Kodi plugin for viewing Habpanel, mainly for popping a security camera panel and receiving notifications. I already do this using Kodi APIs, but they are limited to when Kodi is running. I’m thinking maybe your app could be adapted for this purpose.
Can you open habpanel in the browser on your tab 3? Maybe your router does not allow the tablet to access habpanel using the local URL?
I was actually even seeing my habpanel site in habpanelviewer as well, but somehow stated not connected.
Sorry, there is no way to configure the app without using the menu. I have no interest in this, but you can add the functionality and create a pull request.
There are two different connections involved. The browser connection and an additional SSE connection from which the connection state is derived.
@5iver I was also playing running on FireTV as it could be very useful for a general system status display (ex. using old G1 Firesticks).
It just needs listeners for the remote keycodes which I have partially tested and is “on my list” to finish up and create a PR (along with a couple others).