Giter VIP home page Giter VIP logo

Comments (19)

spiff72 avatar spiff72 commented on June 11, 2024

Oops - forgot to link the screen:
https://www.amazon.com/gp/product/B013JECYF2

I believe this is a copy or clone of one of the 5" waveshare screens.

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

Oh boy - I just did a sudo apt-get dist-upgrade and it seems to have fixed the problem!

Now I need to figure out this calibration problem so i can accurately touch the screen icons. :-)

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

Ok so the issue went away? Upgrading first is always a good idea! :) But I‘ve also wasted a lot of times on errors that are fixed with a simple upgrade.

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

I had neglected to do the dist-upgrade (only did upgrade). I will close this one out. The script changes fixed the issues with oprint.
I also poked around a bit in the interface and found that I needed to change the 5000 port to be blank for it to work.
Two questions:
Is there a way to sort the files list by date uploaded (so the most recent are at the top)?
Does the screen ever go blank (like a screen saver)?

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

Did you configure your OctoPrint to run on port 80?

Currently there is no way to sort the files (they are just sorted by type and name). Maybe in a future version this will be support :).

Screen does never go blank no. But this can be setup with Raspbian I guess.

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

It does seem to be port 80. I tried [ip address]:80/api/version and [ip address]/api/version and both report the version info.

I set this all up several years ago, so I don't remember the specifics.

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

One other question - how do you exit the octodash program? I would like to stop it so I can launch the desktop and re-try the screen calibration to see if my dist-upgrade fixes my issue with calibration.

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

You can list all programs running and grep octodash from that. Than just kill the process. Sorry there is no easier way :/ Maybe ratpoison does have a command as well but I‘ve never really searched for that ...

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

I ended up just commenting out the various lines that were added to .bashrc and .xinitrc so it doesn't start at boot.
I am still troubleshooting the touchscreen calibration because I want to rule out errant touches causing some other odd issues with the octodash program. I am getting a lot of error message popups as I navigate the interface, and they appear to be related to the octoprint server restarting. I suspect this because when i have the octoprint web interface open on my other computer, it pops up the "reload" dialog asking to reload the server - and the printer has then disconnected.

I might post another issue if I can't get this one resolved - but the touchscreen calibration has me running in circles.

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

Did the whole restart thing happened before you installed OctoDash? Normally OctoDash shouldn't restart OctoPrint. The only thing I can think of is, that maybe your touchscreen registers 1 touch as multiple ones and therefore octodash sends multiple requests to OctoPrint, which might overload the system. But it's just a guess in the blue here.

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

No the restarts only happen with Octodash. I am still fighting with the calibration here - I ended up starting over with a new copy of my current octoprint server and this time I have upgraded the distro to stretch to see if that helped with the calibration. It hasn't. Grrr.

So I haven't yet attempted to reinstall octodash until i get that resolved (if it is resolvable). No matter what I do with the calibration - it just doesn't seem to accept it. I think the xinput calibrator is generating odd numbers (very large - 60000 or more for the values) - and this doesn't seem to align with others results as I am searching this online.

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

Damn that issue sound like a real pain. If you manage to fix this and the issue with OctoPrint restarting still persists you may want to try to lower your API interval, if you have set that to a too short amount of time you may run into issues.

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

Yeah -

I have given up for now. Until I find a reasonable touchscreen I have stopped my efforts on this one. I was going to attempt modeling an enclosure for the pi and the display, but I held off until I was sure it was working.

I will keep an eye on this project - I think it has a lot of potential. I will probably look for another screen - maybe a capacitive one this time!

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

Ok please create a new issue once you've come back and if you experience the same issue :)

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

Will do - thanks again for your help.

I am looking at some other screens - would a 1024x600 resolution (or other higher resolutions) work with this, or should I stick with 800x480?

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

I've tried making it scalable to almost every resolution. Just try to stick with an 5:3 aspect ration roughly. The screen should work, also in some screens everything might be a little bit crunched/stretched at the bottom. Shouldn't be a big problem though as 1024x600 is only slightly off 5:3

This is what it looks like on 1024x600

Screen Shot 2019-10-14 at 17 46 05

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

I can try and get some more screenshots once I get home if you like

from octodash.

spiff72 avatar spiff72 commented on June 11, 2024

No that is all i need to know. I keep seeing some of these slightly higher res screens and wondering if they would work. Higher res might be nice for just showing the Octoprint TouchUI too...

from octodash.

UnchartedBull avatar UnchartedBull commented on June 11, 2024

I mean OctoDash will look better on higher res displays, because everything just seems sharper. I've never tried TouchUI, because I don't like the look, that's the whole reason OctoDash exists :D. But that is personal preference :)

from octodash.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.