Your Raspberry Pi Projects

Hi guys. i just started with a Pi4 plex server installation. My challenge is when i add a library on an ext hdd the movies dont load onto the server. any idea what it could be?
Can't help you with the auto-library refresh issue but I do have a question for you, how is you performance running on the Pi4? I tried to install on my Pi3 and the performance was so bad with most media that I just gave up and went back to Kodi. Is your Pi4 transcoding or have you pre-transcoded all of your media so plex can just serve the files directly?
 
Can't help you with the auto-library refresh issue but I do have a question for you, how is you performance running on the Pi4? I tried to install on my Pi3 and the performance was so bad with most media that I just gave up and went back to Kodi. Is your Pi4 transcoding or have you pre-transcoded all of your media so plex can just serve the files directly?
I've not even looked into transcoding. I'll look at the project again this week and update. the damn wifi on the pi stopped working so had to take it in, but it seemed to be an OS issue. I just haven't gotten back into it.
 
Not sure if there's an arduino thread somewhere.

I've got an interesting problem - I have a Wemos D1 running with a ultrasonic sensor on my water tank - its on the wifi - and it publishes the sensor data to MQTT.

I've been struggling where it just stops publishing. The device is still on the wifi network - I can ping it. So it seems the loop isn't running.

If I cycle the power - everything is good again.

So - I installed a basic web server, which allows me to see the memory usage (suspected this was the problem) - and also remotely reset the device.

It still randomly stopped publishing the sensor data. But now I could remotely reset the device.

I added a automation in home-assistant which sends me a message every time it stops receiving the sensor data - and this morning I noticed it for the last week, its at exactly 3:00am every day that it stops publishing :/ How do you debug that? I have nothing referring to time in my sketch.
 
Guys,

Does anyone have an idea for a PI solution for a projector? Need to connect a laptop wirelessly to a projector. Had a look a Lazycast, looks a bit complicated for a teacher to use I thought.
 
Not sure if there's an arduino thread somewhere.

I've got an interesting problem - I have a Wemos D1 running with a ultrasonic sensor on my water tank - its on the wifi - and it publishes the sensor data to MQTT.

I've been struggling where it just stops publishing. The device is still on the wifi network - I can ping it. So it seems the loop isn't running.

If I cycle the power - everything is good again.

So - I installed a basic web server, which allows me to see the memory usage (suspected this was the problem) - and also remotely reset the device.

It still randomly stopped publishing the sensor data. But now I could remotely reset the device.

I added a automation in home-assistant which sends me a message every time it stops receiving the sensor data - and this morning I noticed it for the last week, its at exactly 3:00am every day that it stops publishing :/ How do you debug that? I have nothing referring to time in my sketch.
Perhaps there is some housekeeping running at 3:00AM that causes the service to halt? I run Docker and I have a Watchtower instance to auto-update my images every morning at 3:00AM, so I expect most of my services to have a slight pause when they get recreated:

1601457888475.png

Just a thought as to what it could maybe be. When it's an obscure time then I usually suspect some 'housekeeping' services or cleanups causing the issue.
 
Perhaps there is some housekeeping running at 3:00AM that causes the service to halt? I run Docker and I have a Watchtower instance to auto-update my images every morning at 3:00AM, so I expect most of my services to have a slight pause when they get recreated:

View attachment 924407

Just a thought as to what it could maybe be. When it's an obscure time then I usually suspect some 'housekeeping' services or cleanups causing the issue.

Also suspect something like that - its weird though - will have to keep investigating. Also running server side stuff in docker containers, but don't see anything in the restarts.

Maybe its getting knocked off the network somewhere, and not reconnecting to the MQTT broker afterwards.
 
I've got an interesting problem
If it is easy to get to and reflash, let it write to a .csv file on a hard drive in your network as part of the loop after it has updated MQTT, and that should rule out or confirm both disconnection and something wrong with the esp. Just a thought.
The Esp's are usually quite obedient though so I'm not sure if it would be worth the effort.
 
For those perhaps battling to get the Netflix addon working in kodi, here is a chap that has written a script to automate some of the complicated stuff.

I had to authenticate with the token file
and it is working fine.
 
Question - because I have no clue - when it comes to sensor for Arduinio - PWM, or UART?

Then - second question - what would be the best way to create a small wifi-enabled battery/solar water thermometer? I'd like to place this on top of my pool cover, with the sensor through one of the cover holes to report my pool temperature.
 
Question - because I have no clue - when it comes to sensor for Arduinio - PWM, or UART?

Then - second question - what would be the best way to create a small wifi-enabled battery/solar water thermometer? I'd like to place this on top of my pool cover, with the sensor through one of the cover holes to report my pool temperature.
Get an esp 8266, I think you can get a battery add-on for it that takes an 18650.
You'll need to look for a solar charger tho. No, scratch that.

Get a solar power bank and plug it into the ESP. (you may need a boost / buck converter to get the voltage just right).

And of course you need a temperature probe which plugs into the ESP input pin. And you'll need to do a little coding. (example: https://www.communica.co.za/products/bmt-temperature-probe-ds18b20-1m)

Edit: Not sure about your first question - sounds like you don't know what to ask.
 
Get an esp 8266, I think you can get a battery add-on for it that takes an 18650.
You'll need to look for a solar charger tho. No, scratch that.

Get a solar power bank and plug it into the ESP. (you may need a boost / buck converter to get the voltage just right).

And of course you need a temperature probe which plugs into the ESP input pin. And you'll need to do a little coding. (example: https://www.communica.co.za/products/bmt-temperature-probe-ds18b20-1m)

Edit: Not sure about your first question - sounds like you don't know what to ask.
Thanks - also confirmed with my google searches.

Decided I first need to finish my other two projects though - parking sensor - and water flow measure.
 
More info re parking sensor?
Going to use an ultrasonic sensor - I have spare - and connect it up to LED lights to light up our one parking bay, we only have about 5cm of space between the front, and rear of the car - currently using a tennis ball from the ceiling, so I'd like to upgrade it.
 
Going to use an ultrasonic sensor - I have spare - and connect it up to LED lights to light up our one parking bay, we only have about 5cm of space between the front, and rear of the car - currently using a tennis ball from the ceiling, so I'd like to upgrade it.
Get one of these instead. Cheaper than the above, and requires no electricity!

 
Going to use an ultrasonic sensor - I have spare - and connect it up to LED lights to light up our one parking bay, we only have about 5cm of space between the front, and rear of the car - currently using a tennis ball from the ceiling, so I'd like to upgrade it.
Tennis ball from the ceiling was my family's favourite solution as welll... sometimes low-tech is the best.
 
has anybody got experience with using the rasberry pi as a plex server?

I recently bought a rasberry pi 4 (8GB) to use as my entertainment hub for plex server (with my external 4Tb drive plugged into it).

I got it working but it constantly buffers and freezes and sometimes it just quits the application. I run mostly HD movies and series and so I am not sure if it may be because the HD stream is too much for the pi.

I am thinking about getting a proper NAS now but before I do, I just wanted to know if maybe there was something that I could do to run plex on my PI
 
has anybody got experience with using the rasberry pi as a plex server?

I recently bought a rasberry pi 4 (8GB) to use as my entertainment hub for plex server (with my external 4Tb drive plugged into it).

I got it working but it constantly buffers and freezes and sometimes it just quits the application. I run mostly HD movies and series and so I am not sure if it may be because the HD stream is too much for the pi.

I am thinking about getting a proper NAS now but before I do, I just wanted to know if maybe there was something that I could do to run plex on my PI
The Pi doesn't have the grunt to handle transcoding, as the hardware is too lightweight. Direct streaming should work OK, as that is what I used before I got my current NAS.

Are you running Plex in Docker? You can try and make Plex use the Pi's GPU but I've had mixed results with this. I think the hardware is just too lightweight to do transcoding, unfortunately.
 
The Pi doesn't have the grunt to handle transcoding, as the hardware is too lightweight. Direct streaming should work OK, as that is what I used before I got my current NAS.

Are you running Plex in Docker? You can try and make Plex use the Pi's GPU but I've had mixed results with this. I think the hardware is just too lightweight to do transcoding, unfortunately.
awesome thanks Phireside. I had a feeling it may be a lightweight for the work but I thought I would give it a bash before I got a NAS (as I also wanted to learn a bit of linux coding and playing around with the PI for my own learning.

If I may ask which NAS do you currently have?

I am just looking for a NAS which can handle decent transcoding for HD films and series through my plex account. The thing is trying to find one in the country that is not lightweight. I used to have a synology DS115J but that also seemed lightweight for some of the HD movies and used to buffer and freeze as well.
 
awesome thanks Phireside. I had a feeling it may be a lightweight for the work but I thought I would give it a bash before I got a NAS (as I also wanted to learn a bit of linux coding and playing around with the PI for my own learning.

If I may ask which NAS do you currently have?

I am just looking for a NAS which can handle decent transcoding for HD films and series through my plex account. The thing is trying to find one in the country that is not lightweight. I used to have a synology DS115J but that also seemed lightweight for some of the HD movies and used to buffer and freeze as well.
I have an old HP MicroServer N40L which is definitely not strong enough for transcoding either but I do have a GT710 that I can pop in there and configure that as the transcoding hardware if I wanted.

I direct stream to my Ematic TV box which seems to handle up to 4k content just fine without transcoding.

The Pi is a nice thing to play around with though, and they are immensely useful. I have a Pi 3B that I have a few services on that I manage with Docker. Currently, it hosts my Heimdall application dashboard, Pihole, a VPN server and a CUPS server but prior to the NAS I also had Jackett, Transmission, Lidarr, Radarr, Sonarr, my Unifi Controller, Smokeping and Plex running off a Pi4B and it had room for more services.

I'd maybe look at getting a Lenovo Tiny to use as a Plex server, as they have Intel CPUs that support transcoding with Intel QuickSync (https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video) and there is a nice diagram explaining what chipset generation you would need for the codec you use.

You can also look at an Intel NUC with the 8th or 10th gen CPUs installed. I had one with an Intel 8109u and it was utterly brilliant for the price I paid
 
Top
Sign up to the MyBroadband newsletter
X