@RaeYcrep Related: https://blog.dakboard.com/diy-wall-display/
There's also the Teletext Twitter feed for the Pi, so I'm sure somebody has converted this to other formats (RSS, etc)
I've got a number of single board computers and they're super useful, but my pi is sat in a drawer waiting for the next project.
@UnixAnt hmm that is a web based app, I’m trying to reduce the data being brought in to my network from a source that handles other data. So weather will come straight from the met office, news from bbc, etc. and then have it all displayed together. Time and date can be handled natively, I suppose. I’m the worst for having a finished concept in my head and trying to work it backwards to make it happen!
@RaeYcrep Assuming you've got Raspian (or similar) up and running I've got a couple of weather commands for you right off the bat that you can run from the terminal to test. Are these too minimal for your needs?
curl wttr.in/<TOWN_NAME>
different view:
curl v2.wttr.in/<TOWN_NAME>
Try it. I use wttr.in/norwich all the time, for example
@UnixAnt just tried this, it’s fab! Surprised it has a precise location for my area!
@RaeYcrep It's surprisingly accurate and uses bugger all data (good for metered connections). I use that and the Linux command cheat sheet all the time (curl cheat.sh/LINUX_COMMAND)
@UnixAnt it’s so minimal that I’d love to find other data sources that produce the same “aesthetic”.
Question for you. I’m trying to schedule updates to run within a certain time frame. I can see the unattended-upgrade package but it appears to run based on a daily schedule, and can’t be configured for a time. Can I use a cron job to just run apt-get update when I want? Or is there actually a much simpler way of doing this.
@RaeYcrep You absolutely can. I'm not a debian/ubuntu/raspian user but the following should do what you need:
30 20 * * * root apt-get update && apt-get upgrade -y > /home/your-user-name/updates.log
So at 20:30 run (as root) apt-get update and if successful (&&) run an upgrade with -y (yes to 'are you sure') and write a log file to your home directory.
Make sense?
@RaeYcrep Oh, forgot to mention:
As root (or using sudo) run crontab -e to edit the crontab. You may also be able to just edit /etc/crontab, but I can't remember xD
@fribbledom @UnixAnt I saw that but it doesn’t allow you to specify a time, only how many times a day. I need to specifically download between 11pm and 7am.
You can configure that in apt-daily.timer (just run sudo systemctl edit apt-daily.timer).
See https://wiki.debian.org/UnattendedUpgrades for a more detailed documentation.
@fribbledom oh for god sake, how did I miss that. Thank you! I’ll see if I can do it this way first!
@UnixAnt hold up: magicmirror.builders
@RaeYcrep WOAH!
@UnixAnt the absolute bollocks I could have on the screen. Live in Ireland but can see the queues for rides in Disney, BART train positions, literally anything that produces a data stream. I could get little fellas to measure ground temp, oil levels in the heating oil tank, and even stick a GPS tracker on the herd bull to see where he is at any given time. I’m amazed by this because of how straight forward it is to set up. Gonna get a Pi4 for Christmas I think 😂
@UnixAnt it’s gas! I might get another one soon, because I’d love to set up something like an old fashioned ticker tape news update and weather yoke. Like an information station for the day that isn’t part of the Internet of Things.