Giter Site home page Giter Site logo

Comments (4)

mcguirepr89 avatar mcguirepr89 commented on August 24, 2024

Hi, Frank -- thanks for opening this issue -- it's very helpful in tracking changes to have issues as issues

I have noticed several buggy things about the stats page. I've decided that it needs to be replaced fully with PHP that reads from the database (now that there is a database!). Using the database to query those stats instead of shell scripting to parse that info will be much quicker and more accurate (since it won't rely on everything staying structured manually, since the DB will keep that structure). The actual issue with scrolling is due to the tmux (that purple status bar at the bottom) that doesn't allow scrolling.

Until I have a new bird stats page built, it is possible to remove the tmux from the stats page to regain the ability to scroll. This is a temporary manual fix that you can try only if you're interested. If not, I will let you know when I've made a better statistics page. (Also, the newest iteration that is now on the main branch includes a "view database" button that is very informative, but no Raspberry Pi hardware statistics.
Screenshot from 2021-10-14 08-49-56
)

If you want to remove tmux for now, copy and paste the commands below into your terminal:

sudo sed -i 's/tmux new -A -s birdstats//' /etc/systemd/system/birdstats.service
sudo systemctl daemon-reload
pkill tmux
sudo systemctl restart birdstats.service

from birdnet-pi.

DD4WH avatar DD4WH commented on August 24, 2024

those commands work! I can now scroll the "stats" window! Thanks a lot, Patrick for your seemingly never ending energy focussed on this project!

Yes, when I find the time, I will install the new version and have a look at it. At the moment, my time is limited and the frequency of you issueing new versions is too high for me to keep track with ;-)

from birdnet-pi.

mcguirepr89 avatar mcguirepr89 commented on August 24, 2024

I'm glad that works for you.
Since my last comment, I've reworked the database view and it now is more like this:
Screenshot from 2021-10-14 09-33-55

from birdnet-pi.

mcguirepr89 avatar mcguirepr89 commented on August 24, 2024

I'm closing this issue as I have done away with the BirdNET-Pi Statistics page in lieu of the new viewdb.php

from birdnet-pi.

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.