How many of you have a raspberry pi?
And what are you using it for?
Mine is running samba+apache server and a torrent client.
Best investment ever.
I further wish to automate torrent downloads, like running a script that automatically looks for episodes of series that i'm watching when they come out and automatically downloads them. Is there such a script already out there?
Also gonna control the lights in my room through some relays and wireless modules and controlling them through a webpage through apache server. Currently waiting on said modules to be delivered.
Would love to hear more ideas.
I don't have one yet, however I am looking at getting one to make a touchscreen stereo for my car with easy streaming music and videos to/from my phone. Auto downloading podcasts when I pull into my driveway and connect to WiFi etc...
i saw this video.
I'm already running transmisison-daemon. Thanks for suggesting me flexget. Seems like the thing i was looking for.
Have you tried other torrent clients? Deluge seemed like a better option than transmission in many websites that compared the two.
I've tried Deluge. I couldn't stand it, it was missing a few really basic features that helped a lot, like search. I know this is just anecdotal, but I've found transmission-daemon to be flawless, and I use it very heavily.
With XBMC on it, I have it hooked up to the TV and powering ambilight that I've got on the back. I also use have it auto downloading any TV shows that I watch. It really makes for an awesome media experience. Will probably order another one - the new version (with more USBs and slightly lower power consumption) goes for $35 on aliexpress.
did you do the case with a 3d printer?
i like what you are doing and im reading about raspberry pis more and more. i dont even know what it is but im assuming its a mini computer without a display port?
also i haver to be able to program stuff in order to use it? or can i just download scripts and upload it to the raspberry pi?
how would you go about adjusting room lights with it? i mean how would you connect a computer to power cables running through your walls
what i will be doing next: read stuff about raspberry pi so i know what its all about. just yesterday i was in the 3d printer thread and were amazed as well, havent read into it much yet though
Do you experience any slowness when playing videos? Does it take a lot of time opening new videos or is it rather seamless?
I never used xmbc. The only reason i'm not hooking up my pi with my tv is because i would have to spend money on a new wireless keyboard+mouse combo. I just looked on the play store, does xmbc remote works well with pi?
No slowness or any kind of stuttering while playing videos. I actually find my internet connection to be the limiting factor, and not the hardware.
I exclusively use XBMC remote and stream almost all content from my phone via DLNA. I only use the keyboard during the initial setup of Wi-Fi.
These have always sort of interested me but I have zero computer engineering or soldering background.
What kind of stuff would I need to learn to do something like OP said, control lights in room with software
nah, i bought it on ebay. It's known as piblow case but mine is a rip off of that.
It's like any computer except it's cheap, small, and consumes less power. It does have a display port. HDMI in newer version and composite in older ones. Though most people like to use it without a display (called headless).
No you don't need to program to be able to use it. Though i'd recommend having some linux experience beforehand.
I will be using relays to control the light switches, that will be connected to raspberry pi. I might use wireless modules because i won't run wires from raspberry pi to every switchboard in the house.
with samba server, you can have the drives connected to raspi as network drives. It's like you connected the drives to your pc/laptop itself. I don't know about ftp but you can just stream videos through a samba server. I guess you'd have to download the entire file through a ftp first before watching.
since there seems to be a big community out there, there will also be a lot of scripts available already, so programming doesnt have to be essential. just general computer understanding.
also you will have to be able to use linux
but just like you i have no idea how you would go about controlling lights in my room with a software
I'd say start off learning the electrical stuff to do it, then learn how to do stuff with python, because that is how you're going to be controlling stuff programmatically from the pi.
op here. If you have zero background with soldering and electronics, then a project that involves 220V is definitely a no-no. Start small. make a led cube or something.
I'm an electronics student but i myself am a bit unsure what will work.
If you want to learn more how to do that shit, search home automation on youtube/google/instructables.
Kevin derrah has some great tutorials on this topic.
Before buying pi i searched for some better alternatives. I only found beaglebones and bananapi (maybe some others).
Still raspi was the only one in that range. I never stumbled around odroid C1, though if i had to guess, the reason people buy raspberry pi compared to other boards is probably because of community support. You can find a lot of supporting tutorials/articles/help in general for raspi than other boards.
Once you're familiar with raspi, you can easily move to other boards.
Looks pretty good, but as it has already been mentioned the rasp has a great comunity and info avaliable. Also, in my case I wouldnt be able to connect the audio with this or other aternative boards to my old TV, while I still can with the rasp pi
Yes you can buy a wi-fi dongle for it, but explain what you mean by "internet stuff"
The RasPi is capable of PWM on all GPIO pins, so you just need to make a buffer circuit using power transistors to make it handle 220V(or whatever voltage your lamps use) and program the Pi to handle whatever switches you plan to use. Shouldn't be too hard, just make sure to debounce any switches you use as inputs for the Pi.
On second thought, you'd probably be best off using optocouplers for controlling the lights since they make an air gap between the logic circuit(RasPi) and the lights.
I have cheap android stick that I installed linux on.
Using it as ssh server, hosting my website, and I made program that downloads chinese cartoons from xdcc using generated schedule
Never really used it because it has only usb and has some power problems.
When I have my hdd enclosure connected to it it works but it keeps breaking the connection so should make script to mount it back.
Also stopped wathing chinese cartoons.
Never really used the website for anything because got bored when I had to make it look good.
Optocouplers also create an air gap between the logic circuit and the power circuit, so you can't fry your RasPi using them unless you fuck up royally. That's why I recommended them.
Most optocouplers can't handle mains electricity, though, so you need to use power transistors to do the actual switching.
whats the speed you get when transferring data between the external harddrive and ur pc? max speed I get is 14mb which is a pain in the ass. Also extracting a 4gb movie over samba share takes 40 minutes so I usually ssh onto it and unrar x it which only takes like 5 minutes
>I further wish to automate torrent downloads, like running a script that automatically looks for episodes of series that i'm watching when they come out and automatically downloads them. Is there such a script already out there?
flexget + transmission
The transfer speeds are a bitch.
The max i get is around ~5 mbps if i'm lucky.
If i watch a video and start a transfer, the video lags the entire duration of the transfer.
I think it's cause the bus is shared between Ethernet port and usb ports, Also i probably have a shit router.
I had a simple USB controller lying around which works pretty much out of the box (simple set-up via ./retropie_setup.sh), I also have a wireless xbox controller which i'm trying to get to work as well
is there something better than openelec/raspbmc for R Pi? I find xbmc very slow when pulling shit from the internet, locally it works great but it's so damn slow at searching for youtube videos, and just searching which is simply displaying on your screen a list of links
What brand is your controller?
I bought a cheap ass controller that didn't worked with most of my pc games so i disassembled it. If i had that still lying around i'd try my hand at retropi. But if i'm gonna buy a new controller, i should make sure it works with pi.
It´s a Logitech Precision:
>Too lazy to download a picture, yea i know
Others have pointed this out but I only know from my job. Colocation is essentially renting space in another company's data center.
Like Netflix may be a colocator in an ISP's data center so they can drop a server closer to their customers.
Depending on the terms the local data center folks may or may not maintain the remote equipment.
I did look up the definition, but how is raspberry pi being colocated?
Do you buy a raspberry pi, use it and then send it over to the company so they make a cluster of them?
Or do you set your raspberry pi connected to the internet in your own home and hence it forms a network across the world?
idk why they are this expensive now, i got it for like 10 bucks. However this is also an option:
Is there any legitimate better value alternative to the pi? i.e.
>as cheap or cheaper than the pi
>runs proper linux (fuck off androidfags)
>as fast or faster than the pi
>at least 256m memory
>hdmi can fuck off
I don't really use mine any more since I got a VPS which is faster and has more storage.
Still, I'm really glad I made the investment, it has served me really well for 2 years.
Yeah, all the storage my pi has is its SD card. I've considered getting a cheap USB HDD and adding it there, but my pi is mounted on the wall in my garage. Mounting another device there and a power strip seems like too much work atm.
Not the guy but NAS = Network Attached Storage. Simply connect an HDD to the PI and have it ftp (or whatever you like) accessible inside your home network (or outside your network for a private cloud)
i run a apache server on mine, as well as a irc bot. a website might not be the best to run on it, specially since web hosting is so dirt cheap these days. but it was a great learning experience to set everything up.
It would be slow. The Pi Network and USB share bandwidth so transferring over a network would slow transfer to the drive. It would probably be more reliable to get a cheap Buffalo or something if you really needed a cheap NAS set up. Though if you have the money Synology NAS is really nice.
That's why i said it was the best investment ever.
But don't be like one of those dumbasses who buy this thing and are still clueless as to what it does. Look up stuff online and see what all it can do. If you don't think you'll want to do all that, then don't buy one. Spend your money elsewhere.
i can really recommend it. doesn't need to be a rpi, any small device is fine, as long as its cheap with low power draw.
I'm currently trying to battle the trashman, and I put "host and run my own website" on my resume, as well as include my website in every email I send out. not sure if it matters, but it helps you stand out I guess.
If storage matters, get the Banana. The onboard SATA shits all over.
I honestly don't understand the inbred niggers who make stone soup torrent/NAS/server solutions based on the Raspberry.
You can do that on any server. Digitalocean droplets is what i'm going for next (since i got $100 coupons on that bitch).
Still it's not a very big deal you can just host a website without knowing a whole lot about web development.
Then again you never know what might get you a job.
Was thinking of using mine to measure the temperature using a DHT-22 sensor and logging it to a file. Don't know how hard it would be and what tools I would need though (wires? breadboard?). Never done anything of this sort before.
Should receive my ODROID C1 on saturday.
Quad Core Linux computer is now $35.00.
* Amlogic ARM® Cortex®-A5(ARMv7) 1.5Ghz quad core CPUs
* Mali™-450 MP2 GPU (OpenGL ES 2.0/1.1 enabled for Linux and Android)
* 1Gbyte DDR3 SDRAM
* Gigabit Ethernet
* 40pin GPIOs
* eMMC4.5 HS200 Flash Storage slot / UHS-1 SDR50 MicroSD Card slot
* USB 2.0 Host x 4, USB OTG x 1,
* Infrared(IR) Receiver
* Ubuntu 14.04 or Android KitKat
I have a bunch of these hooked up to the lights in my house. The relay is tucked inside that beige box and it completes the circuit to the light switch when there is a 5v current applied to the signal side.
I have a question. you connect the relay in parallel to the light switch, right?
Does that mean if i physically switch the light on using the plug, the relay circuit would be useless unless i physically turn the light off? right?
pic related is what i have in mind.
They're pretty cheap on ebay. If you buy from china, I bet you can find one for 1 dollar. Buy a bunch to start out with. You never know when you need more.
I have a cool ssh setup on my phone already with widgets for each light. What's ncat and what do you like about using it?
oh no. I ran into that problem while wiring up. I wire up the relay on top of the light switch, so that you can still use the light switch as normal. Cool thing about the setup is that all the lights shut off automatically when rpi can't ping my phone.
yes that clears it up. Thank you. I guess it's the only best option.
Unless i use a 2 way switch. Boy! that just came into my mind. It'd run perfectly until my circuit loses power.
I'm using raspberry pi B for a 4 WD robot with sonar, infared camera and IR leds, it also has a small robotic arm out front, i'm currently using it to search the streets around me for small metalic object, i live in the whitest neighbor hood no one will steal it. I shall call it the FagOS
Not that anon
If your tv supports hdmi-cec you don't need a keyboard/mouse. It takes a second or two to open videos from my windows smb share, but that's more probably due to the hard drives spinning up.
I'm using raspbmc on a model B with the 'super' over clock and everything works smoothly ootb
I want to hook mine up with the coffee machine and control it via shortcut on my phone.
But for now It's sitting somewhere around the tv in it's fancy case, slightly overclocked with two aluminum 'radiators'. Seen a movie or two with XBMC. But sure a lot with learning about linux !
>I further wish to automate torrent downloads, like running a script that automatically looks for episodes of series that i'm watching when they come out and automatically downloads them. Is there such a script already out there?
Gewgle showrss and check out their 'transmission push' feature. Pushes episode torrents to your transmission web interface as they're released, been using it for years. You can also create custom torrent res feeds.
Iv got 5.
My company uses them as the back end servers as we do not require much computing power. These things are amazing, they use no power, are incredibly cheap, and are pretty damn reliable.
I was running xbian on mine but the 'bleeding edge' evidently bled out because after beta 2 that shit doesn't run at all without slaughtering a goat.
May repurpose it into a small server for assorted shit, watching films with it has lost it's allure when xbmc craps out like a motherfucker any time theres an update to anything.
Are any of the models able to do 1080p video playing yet? It would be perfect for something I could plug my external HDD in when I go to my friend's or elsewhere.
P.S. silly question but would I be able to plug it into my laptop and browse the files in that instead of an external HDD? I carry my laptop around but it doesn't have HDMI out or anything, just VGA.
Mine runs a python script that books me library study rooms a university. You can only book them on 00:00 the same day, so I'm the first to always get the room I want. Probably going to run a torrent box on it too, but don't have the money for a large HDD at the mo'.
RaspbPis? Nah, not generally.
You can get many Android stick PCs that can do this, and also development boards.
Most of the applicable inexpensive ones have Allwinner / Rockchip / AMLogic chipsets, but Intel is also an option.
> would I be able to plug it into my laptop and browse the files in that instead of an external HDD
You can access that over network (with a wlan module or NIC) or even USB, yes. The latter is probably more something for Linux users, though.
you don't need a case, but if you're worried you can just buy one of those cases for exteriors, open a bunch of holes so it doesn't heat up and you're done, it doesn't have to be pretty and they are easy to open in case you need to connect/disconnect something
The printer only has a usb interface.
Besides raspberry pi runs 24x7 anyways. Would be nice to be able to print documents through multiple devices without having to manually plug in the printer every time.
>not allowed in Germany
You poor bastards have it rough, I'm amazed you have ANYTHING to watch.
>yfw 'This video is not available in your region.' in german
Good on you for shitting on their restrictions though.
find me a computer with usb and no ethernet
apple is just retarded, and no the usb port isn't used for internet (I think) often it is used for 3g usb sticks and printers, in fact in your router advanced mode you'll find a menu for printers
until 2010 i was using a computer without an ethernet.
I had to ask for a router that had usb interface since there was no other way to connect to the internet with that computer.
The router has changed since then but i still think the usb port actually serves as a backward compatibility thing. Not a printer support feature.
heh, That computer was from 2004 i think. To this day i always thought it had an ethernet port, but when i finally tried to hook it up, i couldn't find it.
And yes, i'm from a 3rd world country. Still the internet guy was surprised to hear i didn't had an ethernet port in my computer. I think i was rather an exception. That computer just stopped working after 2010. It was barely functional
I want to get one and use it as "portable samba server"
to solve the issue of my nexus low storage.
1. Have the RPi to automount and share every USB flash drive that is plugged in.
2. Plug in a WiFi USB adapter and broadcast SSID to connect to and view the files on the USB flash drive as well as controll the pi.
Is this possible?
Also what do I need to make it? the WiFi adapter to be precise.
Finally could this solve the badusb issue?
Yes all that is possible. Though carrying an otg cable with a pen drive might better suit your needs (unless you need all that data while charging as well)
You'd need a wifi module. Look around for ones that work natively with linux. i think the cheap ones on ebay for a few dollars might work too. I guess you should be able to make a portable wifi hotspot as well. I don't have any experience with this so confirm with ddg.
You'll need a battery pack to power the pi.
I don't know about the badusb issue, what is it?
>with samba server, you can have the drives connected to raspi as network drives. It's like you connected the drives to your pc/laptop itself.
With no issues?
I was told that samba is a bad idea on the pi.
Naah i'm watching videos right now via samba server that im running in my house.
The only problem is transfer speeds are a bitch. You want something with SATA port inbuilt if you want good transfer speeds. But since you're using pen drives, it won't affect performance that much.
So far i have never had any problems with it.
More details on the performance?
I want to get one as well to do exactly that.
But I'm still not sure because I can't think I can set it up without a DE and don't know how to set up an RSS on it.
I searched but it appear I'm the first to come with the idea.
Nexus doesn't support that unless you root, and I want to make it provide to 3 different devices at the same time, mostly chinese cartoon and since the decoding will be done by the player device I can run 10bit as well as HEVC
>You'd need a wifi module.
Any suggestions? I think the WiFi adapter needs to support hotspot?
>battery pack to power the pi
I was thinking of a car charger I found one that supply 2A, is it enough? Also what battery pack do you recommend?
>i'm watching videos right now via samba server that im running in my house.
To be clear.
You use samba server on the pi that is connected to the router through ethernet cable and run media from a HDD connected to the pi and view it on what? what is the file size? Is the pi overclocked?running rasbian?any other thing that are running on the pi at the same time?
The HDD is connected to pi.
Pi is connected through router.
I use my windows laptop/desktop to access the HDD that appears as a network drive on my windows 7 (pic related).
I can access the files on this drive as if the HDD was connected to the laptop itself. I view it on my default player, vlc.
And the file size is like ~170 mb for ~20 mins. It's an avi file and sometimes glitches appear during the start of the video. It runs smoothly during most of the video.
The Pi is not overclocked. It's running raspian. I'm op you can check what else i'm running in my original post.
Neat, you've been most helpful OP.
As for the glitch I think it's the VLC try different player.
Finally is the RPi on static adress? how do you set it?
And is there a way to make the samba server allow anybody to see/read the content without a password or user name and prevent writing?
Maybe you guys can help. I have a Pi and looking to set up Deluge and connect to a VPN. Know any good guides for getting this going? Or any information on setting up a kill switch for OpenVPN in case it drops?
Naah raspi is slow at transfer. If i'm copying something through the HDD the video starts lagging. I can then see vlc loading chunks of video.
Yes it's on 192.168.1.17 for now. You need to edit some config files. There are many guides on it. I forgot what file it was. it's just setting the default ip, gateway, etc. Easy shit.
Yes you can configure the samba server to prevent writing. It's also simple editing of a config file. And yes, there are lots of tutorials on it. Just go and search. There's lots of stuff out there.
Newbie friendly, once you fully are comfortable with raspberry pi you can move on to better boards. Plus not every single project requires better specs than a raspberry pi.
Almost Every Realtek and Ralink chipset should be supported. I use hostapd for the wireless network, nginx + php-fpm for the web GUI in PHP. The PHP scripts just call some .sh bash scripts which do specific tasks. This also make it editable from command line, so without the web gui.
I'm also working on a DHCP server for IP's.
./changeSSID.sh SSID CHANNEL WIDTH
./changeDNS.sh DNSSTART DNSEND ROUTERIP
I can vouch for odroid.
I have an odroid U3, and an odroid W, and their stuff is really solid. Super easy; no compiling your own damn kernel.
Just download their image (14.04) and dd that junk to an sd card or their eMMC modules, and it will just werk.
They have regular and minimal images available, so you can be as autistic as you want within the boundaries of ubuntu, and if you want to be more autistic then you can have all your autismgasm in compiling your own shit.
I have two and I use them for small computing tasks needed for digital art installations - A sound spectrum-DMX converter was one, another was a simple sensor array used to trigger stereo sounds in Pd-Extended