Hi,
here I want to present you my own “LogViewer for openHAB” app.
It shall be a simplification of mobile access to the log of an frontail supporting openHAB instance
It’s one of my first apps ever and I still (can) learn a lot.
Please write feedback and give tips so I can improve this app step by step.
Either…
… directly post it on GitHub (GitHub Issue page)
… or write them here in the comments below.
To the openHAB developers:
I don’t know if you’re interested but I would definitely agree to including this feature in the offical openHAB app, it’s up to you.
Screenshots (on a tablet; smartphone screenshots are available HERE):
I do not know your development skills, but I strongly encourage you to get comfortable with git repositories and create one for your project.
This not only optimizes your development, but helps other people to contribute to it.
Yes, I know. That’s how I access the log. I simply used a WebView to open the website inside the app.
I have published my code in Git Gists. What can I do with a repository. What are the advantages?
In my text above I wrote, that the app manager could think about integrating it. I’ve already wrote with @mueller-ma, but he doesn’t think, that it’s a good idea.
Sorry, i forget them. Screenshots will follow very soon!
I wanted to add this feature but in the openHAB LogViewer you generally can’t change it (even on the pc, it’s the same website).
To include it in the app, the feature has to be added by the openHAB team to the website, I’m sorry!
You can publish the full source code, not just the java code. This makes it possible for everyone to build the app from source. Please also add a free software license, so people are allowed to contribute to your app.
Actually I don’t think looking through log files on a smart phone is something people want to do. But feel free to open a PR to implement this. If there are enough supporter, this should get merged.
Which website are you going to access to get the log file?
Yeah, the way @Udo_Hartmann mentioned is the current one, I’m sorry.
When I turn 18 I will publish it on the Play Store, until then this is the best solution.
No problem. I have installed it now and it works.
It will be useful for me to have the log on my phone, I will use it for a while and report back.
Thanks for making this app!
just found your app and I think it’s a pretty good idea and will be using it in the future.
My ideas to improve it:
When configuring the OH Server Port it says “default is 9001”. So I assumed I could just leave this field empty. I think when not entering a port the app should use 9001, so the field is no longer a requirement for the user.
I think the orange bar on the top ("openHAB 2 Log Viewer…) could be smaller in height. However I think this isnt that easy to achieve.
When in “Auto Scroll acrivated” it would be nice if either
a. The user was able so scroll just as the user wanted to but get put back to the bottom if a new message comes in. or
b.The user was not able to scroll at all. Now he can scroll but gets set back to the bottom immeadiatly. I think the effect doesnt look as nice.
Maybe you could move the back button more to the top so it doesnt cover up information. On the other hand 95% of the time its just the timestamp.