Raspberry π

Posted on
Page
of 53
  • Loads of research projects studying public sentiment will also be fucked.

  • On the plus side when the free client I used (Echofon) got kicked off Twitter I gained 30-60 minutes back in my day every day.

    I know I could just move to an official client but, heh, fuck that.

    One of the projects I used to run years ago would have been quite badly affected (but not completely) by this as it relied upon scraping a whole load of public tweets.

  • Oh well, my twitter timelapse project dies on 9th Feb

    Move it to Mastodon?

  • Bit complicated, and even smaller audience no?

    Tbh it'd be a good excercise to figure it all out though.

  • Wow, I actually get a whole bunch of new devices...

    crw-rw----   1 root  dialout   166,   0 Feb  3 17:25 ttyACM0
    crw-rw----+  1 root  audio      14,  41 Feb  3 17:25 dmmidi2
    crw-rw----+  1 root  audio      14,  34 Feb  3 17:25 midi2
    crw-------   1 root  root      240,   6 Feb  3 17:25 hidraw6
    drwxr-xr-x   4 root  root            80 Feb  3 17:25 serial
    drwxr-xr-x   2 root  root            60 Feb  3 17:25 bsg
    crw-rw----   1 root  disk       21,   0 Feb  3 17:25 sg0
    brw-rw----   1 root  disk        8,   0 Feb  3 17:25 sda
    brw-rw----   1 root  disk        8,   1 Feb  3 17:25 sda1
    
  • Tbh it'd be a good excercise to figure it all out though.

    Yes, that's where I was going with it.

    You'll probably have a much more interested/engaged audience away from Twitter too.

  • Cool i'll try make some time to check it all out.

  • Twitter API lives and it motivated me to start using that account again this week, with mixed results

    Separately I got a waveshsare e-paper 2.13 display. The test script works fine and it cycles the screen through a few display layouts.

    When I try to adapt the test.py for my purposes it fails as can't import waveshare_epd though. I saved it outside of the examples directory. The new .py runs if I move it back to the examples directory, where ideally I don't want to keep the script though.

    Why would the import work in one directory but not elsewhere?

  • Twitter API lives

    Have they decided to keep the free tier after all?

    Why would the import work in one directory but not elsewhere?

    I'm not a python guy, but it sounds like the include path is relative to the script that you're trying to run. You'll either need to copy the libraries into your own directory, or somehow add the path of the waveshare libraries to the set of paths that python searches for libraries.

  • Have they decided to keep the free tier after all?

    1500 free per month, more than most hobby projects will use I guess.

    copy the libraries into your own directory, or somehow add the path

    Thanks, makes sense. For now I ended up working with 4 scripts, 1 in /home/pi doing the work and that at different times calls each of 3 different display instructions subprocesses that I saved in the examples directory. I will revisit though.

  • I'm pondering using a raspberry pi as a slingbox to stream my virgin TV remotely.

    Thinking of some kind of usb capture thing for picture in (sure I have one somewhere), VLC or Ffmpeg to transcode and set up the stream and tailscale to access remotely.

    All sounds feasible but not sure if pi 4 has the grunt and exactly how to set it up. Anyone done anything similar?

  • What sort of device do you want to stream it to?

  • Ideally a web browser. Failing that, something like VLC.

  • @aggi

    Have you tried the 'TV go' service from virgin.

    https://www.virginmedia.com/virgin-tv-edit/tips-and-tricks/download-the-virgin-tv-go-app

    It does app and and browser and should do what you need? If you are on TV 360 (the one with voice commands) you can also stream recordings.

  • Yes, main issue with that is it doesn't work for sports channels. Also I don't think it has an Android TV app (haven't checked recently but it didn't and it failed when I tried to sideload it).

  • Anyone updated their Rasp Pi 3 to Bullseye? Any gotchas?
    It's just an older pihole but needs updating and now it won't because the OS is out of support.

  • A bit of investigation suggests that Restreamer should do what I'm looking for
    https://datarhei.github.io/restreamer/

    Tried it with a test stream and seems to do the job. Now I just need to try it with a capture device and see how that goes.

  • Right well now the whole OS is fucked and just booting me out so this is going well.

  • sounds like that might be a gotcha tbh

  • I'm pondering using a raspberry pi as a slingbox to stream my virgin TV remotely.

    Thinking of some kind of usb capture thing for picture in (sure I have one somewhere), VLC or Ffmpeg to transcode and set up the stream and tailscale to access remotely.

    Annoyingly restreamer nearly works for this but I get a lot of buffering and it is showing a frame rate of ~ 8 FPS. Tried playing with the transcoding settings to no avail so not sure whether it is some form of issue with the USB HDMI capture (USB device itself https://www.amazon.co.uk/gp/product/B07N1HQ41X should be fine) or some other issue (CPU only shows about 20% utilisation and memory about 40%) and not sure what to test next.

  • Sounds like a threading problem 🤔

  • Could be, I'm not sure how many cores a pi4 has.

    Was going to give it a try on my windows laptop to see how that worked but for whatever reason docker on windows didn't seem to see USB devices.

    Guess the next step will be to dig out a monitor cable and see if the USB device works ok on the pi just using VLC or similar.

  • Could be, I'm not sure how many cores a pi4 has.

    It's quad-core.

  • Does anyone run pihole + some kind of media server on their raspberry pi? Does it have enough grunt to serve content to a TV from another PC on the network somewhere? I think mine is a v3

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

Raspberry π

Posted by Avatar for photoben @photoben

Actions