LogViewer Android App for openHAB

Tags: #<Tag:0x00007f5caa097b40> #<Tag:0x00007f5caa097a00> #<Tag:0x00007f5caa0975a0>

Hi,
here I want to present you my own “LogViewer for openHAB” app.

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.

I developed it because once I wanted to read the log while not having the possibility to turn on the pc, then I looked for a good app to solve this problem but there wasn’t any app.


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.


Things I will try to do:

  • [DONE via GitHub (PlayStore coming soon)] finding a better solution for sharing the .apk file
  • [DONE in 1.2.1] making it more comfortable for mobile phone users by changing the text size by zooming out
  • [DONE in 1.1.2] solving the error: ERR_CLEARTEXT_NOT_PERMITTED

If you’re German and interested in the changelog look at the article about it on my website:

GitHub / Download Link:
github.com/nikothegreek/logviewer-for-openhab-app

4 Likes

Congratulations on “one of your first apps”. :smiley:

I do not need it, but I would like to give you some Feedback (without looking at the app).

I really like the idea of an android logviewer app. I’ll test once i am home.

I agree with @christoph_wempe that integrating it into the official app would be ideal.
Then your efforts will have the highest range.

1 Like

Nice app. An option for the text size would be great. Unless I missed it.
Please apply to add it to the official app

1 Like

Unfortunately not working for me. Could the reason be that frontail is running on my OH server?

Same applies to me

Thanks for your feedback!

  • 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!

That’s the problem.

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!

The only thing I could try is to zoom out a bit.

@stefaanbolle
Tried to solve the problem.
Please test it again with the new download link…

great, now it works for me. thanks for this nice app!

1 Like

Nice, I’m glad to hear that.
More updates will follow.

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?

1 Like

Thanks for your explanations and tips.

I’m just using the “openHAB 2 Log Viewer” that you can access via the dashboard (default port 9001).

Finally had the time to find a way to do it.

I included it in the newest version 1.2.1:

Finally had the time and will to publish the project on GitHub.

2 Likes