Raspberry π

Posted on
Page
of 53
First Prev
/ 53
Next
  • Did this work for you?

  • Raspberry Pi 5 has been announced, with availability from next month:

    https://www.raspberrypi.com/products/raspberry-pi-5/

  • £60! This in now just another ££ development board.

  • Sure, but the older ones are still available and much cheaper.

    I need to resurrect my 5-a-side scorer/video project and a Pi 5 gives me the grunt and bus bandwidth to take away any concerns about recording dual HD video feeds, plus sound, plus driving a display. I could even consider doing some processing in real time rather than the current plans of stitching everything together in post.

  • Sorry I totally missed this! No, I couldn't get script to work so I set it running with the Pi being charged by USB power bank, disconnected the ribbon cable and power from the LED Matrix board and re-connected it at the venue. It worked fine.

    Would still like to get it working, but not a priority now

  • Ah, yeah, glad it did it's job & hope you can sort the script for the future.

  • subbed

    just bought a pi for pihole. Now trying to see if i can run homeassistant and maybe a vpn.

  • Any suggestions for a nice SATA board solution? I'm planning on pulling 2 SSDs out of my old laptops to use as a NAS but I can't find a setup that isn't just them sitting near the board in a mess of cables

  • After a few faultless years my zero-w fried during an update tonight and won't power-up now. Not ideal. New one on way, but could using the same sd card lead to that frying likewise? I didn't copy the error message before I rebooted but it was that some process was locked so it couldn't re-run sudo apt full-upgrade.

  • The logs should still be in /var/log on the SD card and accessible if you mount it somewhere else.

    It would be possible to fix a broken update using chroot, but that is a massive massive chore to get right (based on doing similar before).

    If it were me, I'd copy /home/user directory and any conf files form packages that I'd been using, and the flash a new image.

  • I'm struggling with setting up crowdsec on (a docker) container. Anyone here done something like that?

  • I'd copy /home/user directory and any conf files form packages that I'd been using, and the flash a new image.

    Thanks for this. It drives the justboom digizero hat so I need find those conf files. Also my run on boot instruction too.

    Will wait for new board to arrive then revisit.

  • Not with crowdsec, but I have struggled with docker. A lot. If that helps?

  • Decided to see if I could run the digizero on lite which is doable with a simple command

    cvlc stream.url
    

    This is run by a new bash script launch.sh

    To auto run it needs the network connection to have established so I've created new service using network-online.target check as detailed in the answer to this similar example:

    https://raspberrypi.stackexchange.com/questions/93538/run-a-system-startup-script-after-network-and-dns-resolution-are-available

    This throws up errors though found via journalctl:

    digizero (aunch.sh)[448]: launch.service: Failed to execute /home/pi/launch.sh: Permission denied 
    
    digizero (aunch.sh)[448]: launch.service: Failed at step EXEC spawning /home/pi/launch.sh: Permission denied 
    

    I can run launch.sh manually fine still so not sure why permissions kick in at boot?

    Any ideas on what might be the cause?

    Edit: looks like it's a vlc feature not a bug?

    VLC is not supposed to be run as root. Sorry.
    If you need to use real-time priorities and/or privileged TCP ports
    you can use /usr/bin/vlc-wrapper (make sure it is Set-UID root and
    cannot be run by non-trusted users first).
    
  • ^ all resolved. Combo of user permissions and chucking in some delays into the .service (via .timer) and .sh (using sleep) has got it to autorun once more.

    Now to figure out if I can pre-load a list of stream url's, then cycle through them with a button connected via spare GPIO if there're any.

    I've also got a "pirate audio" hat to setup and connect to the guts of an old DAB radio for similar purpose, so this has all been good learning / chats with Bing AI.

  • portainer makes working with some elements of docker a bit nicer. runs inside docker so if you have docker installed you just need to spin up an instance of it.

    i have a compose script that handles my media server stack in github which autodeploys to portainer which spins it all up when a change is triggered. can edit the compose script directly on github and hit save and it'll just do its stuff. it's pretty magic

    edit: specifically the 3 nodes free plan https://www.portainer.io/take-3

  • I just found this in a bag of shite.

    Anyone want it?


    1 Attachment

    • IMG_5608.jpeg
  • Possibly 🙂

    What is it? I need something to try work on instead of my running Pihole

  • Raspberry pi B? I think. Early one.

  • Happy third birthday to Raspberry Pi.

  • a complete novice question but I would like to show a film on a 5 inch screen that plays when a button is depressed, and stops when the button is unpressed. Would I be able to do this with raspberry pi?

    I found this https://www.vanderbilt.edu/the-wondry/build-a-button-driven-video-player-using-a-raspberry-pi/ which I assume is modifiable for different types of buttons, but as a total novice I'd like to advice before spending money

  • Should be possible but best use a pi5 or it might struggle.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Raspberry π

Posted by Avatar for photoben @photoben

Actions