So it became clear I can't hear jack shit if I'm playing games with my headset on. So with a PI0w and super cheap voice detection board, I wrote a python script that sends a push notification to my phone via Prowl if my kid wakes up crying (or a pin drops).
Project link: https://www.hackster.io/Skyphoxx/sound-detector-with-visual-alerts-3997ab
UPDATE: Woke up to all the upvote love and genuine improvement comments! Thanks so much everyone!
My wife's new car has CarPlay/AndroidAuto and I got jealous of having Google Maps in her car. Upgraded my stereo to a Pioneer AVH-4400NEX and realized it has an HDMI port on the back. Threw a Pi3B+ in the glovebox with RetroPi on it and now I have something to play around with when waiting for people!
$222 USD?? Call me crazy, but that puts this hat well out of DIY territory let alone any budget IoT project which the Pi is used for in the first place.
EDIT: I’ve got to be missing something. TR is saying this is affordable compared to other options. Besides being a hat, how would this be different from a 4G USB dongle?
I usually use Fing, but you can also use nmap or arp on another computer rather than logging into your router (which may be difficult depending on the router). See http://www.pidramble.com/wiki/setup/prepare
Just a heads up to anyone that wants to play with this project on the cheap with an existing pi:
You can find mSata SSDs pulled from Chromebooks and other low end netbooks on eBay for less than the cost of a similarly sized fast sd card on Amazon. I paid around $7 for a SanDisk 16gb and $18 for a 32gb Samsung.
I used this USB to mSata adapter from Amazon ($23): https://www.amazon.com/dp/B00NTQGZK6/ - it's suitable for 24/7 use on the pi without overheating.
Using Pi-Hole you can block adverts across your entire network with no need to install any software to them at all. Just run the installer (command is available from website) and then set your devices to use your Pi as their DNS server. It can even improve the speed of your network as advertisements are never loaded.
Resources for the project:
Pi-hole network wide adblocking
Script i modified to get the LEDs to work
The LEDs are part of a moel Traffic Light board.
The scripts monitors the pihole.log and flashes the red LED when a domain is blocked. The green LED just indicates the script is running.
Some of the kits on Amazon are great, specifically the ones by CanaKit. They usually come with everything needed to get started (Pi, power adapter, sdcard, case, etc.) Some kits have more items than others.
As for which Pi, there are only really two options: the Pi 3 or the Pi Zero W. The other models are older and slower or lacking wifi/Bluetooth/etc. The Pi3 is more powerful and requires less adapters to make it plug into your TV, use USB devices, etc. The Pi Zero W requires some adapters and isn't as powerful but it is cheaper and a lot smaller so it is great for projects where you want it as small as possible. Both are great.
Overall, I'd recommend a Pi 3. More powerful, less messing with adapters, and still pretty small. This kit covers all the bases: CanaKit Raspberry Pi 3 Complete Starter Kit - 32 GB Edition: https://www.amazon.com/dp/B01C6Q2GSY/
Pi 3, case, power, SD card, HDMI cable, SD reader, and heatsinks.
Edit: Here is a similar kit for the Pi Zero W if you want to go the smaller/cheaper route: CanaKit Raspberry Pi Zero W (Wireless) Starter Kit with Official Case https://www.amazon.com/dp/B06XJQV162/
The SD card isn't as large and you don't get a card reader but you do get the needed HDMI and USB adapters.
Hope it helps!
Sure!
Music streaming:
I have a pretty big collection of music in FLAC and MP3 format, so I wanted a way to stream the music located on the external harddrive to a mobile app. I used a fork on github of something called subsonic to convert and stream the music to an app on my Android phone called ultrasonic. It also has a web interface, and supports streaming of video - but that's a bit labor-intensive for my poor pi.
Laundromat:
I only started this project a few days ago, because I got tired of using the washing machine registration system provided by Miele for my local laundromat. Basically, the website doesn't properly remember logins, doesn't allow you to automatically reserve on certain dates and times, and often I would reserve a washing machine and forget all about it because three or four days would pass. I have a kid on the way, and don't want to miss those all-important washing times, so I created two python scripts that automatically reserves the next available machine, mails the time and date of the reservation and machine type to me and my wife using the local mail server, and schedules a reminder e-mail so it reminds me 10 minutes before I need to grab the laundry and head over to the laundromat. :) I also want it to do recurring reservations on given dates, and have it be able to send text messages (Which I implemented using Twilio, but I can't for the life of me figure out if it's free or not, so that's on hold for now).
Anyway, the Python script will probably only work for danish MieleLogic websites, and it's pretty hacked together at this point, but it's available here: https://github.com/fennesz/PyWasher
Just a word of warning - I implemented this in my car, and ran into a few hurdles:
1) Audio output was too quiet, haf to crank my stereo to 100%. Installed a USB soundcard ( https://www.amazon.com/Sabrent-External-Adapter-Windows-AU-MMSA/dp/B00IRVQ0F8 ) to correct the issue.
2) Calling support is limited! Just launches speakerphone on your phone, no bluetooth audio support for calling.
3) I had trouble finding a power adapter that wouldn't trigger the lightning bolt (bad power indicator) in the upper right of my screen when, especially since the phone pulls power through the Pi. Oddly this one worked fine: https://www.amazon.com/AUKEY-Charger-Charge-Samsung-Galaxy/dp/B01KZHKF4I
4) This issue is probably limited to my exact car, or my model of car ( 2010 Hyundai Elantra Blue), but: after connecting the setup, within 5 minutes a light would fire in my dash indicating one of my TPMS sensors had disconnecting. Removing the Pi setup would clear the light within 5 minutes. The sensors operate on 315 mhz; no idea how the Pi setup could be interfereing ( tried a Pi2, Pi3, and Pi3b+ w/ Official 7" LCD ). I am probably the only person on earth who will experience this, but figured I'd report anyways.
5) Heavy Waze + Spotify user here; the entire setup would shit the bed if there was too much going on in Waze (traffic, cops, accidents would trigger massive audio tearing). Other users report similar experience on this front.
Overall, cool project, but I retired my setup!
If you have multiple Pis and monitors sitting around, a nice way to create a usable workstation is to hook a separate Pi up to each monitor. Then use Synergy to share the mouse and keyboard across them.
Now you can have Chromium open with multiple tabs on one screen, and your dev tools open on others, and they're not fighting each other for resources. If you have 3 Pis and 3 Monitors, you've got a workstation with '3gb ram', which is starting to get into pretty usable territory.
EDIT: Forgot clipboard isn't in the free version. Paid version with clipboard is available here. Also updated link to howto for latest version.
Or use DietPi - it does pretty much all of those things in the blog out of the box. And has a lot of other great features.
I have a Pi1 which has been running on the same SD card for 5+ years now, running DietPi.
It's quite low-latency, and it seems like I could reduce that even more by using a $35 HDMI to CIS-2 adapter instead of the USB one.
One thing it doesn't mention is the nuking of SD cards. Because of the extensive logging it can kill your SD card quite quickly. I set up a pihole with a brand new SD card (same model and brand that I almost always use and has always been reliable) and it was playing up within 6 months. So I now run that pi off a USB HDD and it's more reliable.
EDIT:
Yes, my SD card died, yes your's has probably been running for 2 years "no problem". Even though you've not noticed any problems, the frequent logging will be slowly but surely be killing your SD. SD card longevity is based on number of write-cycles. So the less you write to it, the longer it lasts. My load was, on average, 90,000 DNS requests per day, as 4 people were using it across at least 11 different devices. Also size and usage of your SD will also affect how long it will last. Mine was a 16gb card with ~10gb used, so it didn't take long with roughly 16.5 million DNS requests logged across the 6 months it was in service, for at least 5gb of it to be killed. Once the amount of your SD that has been killed is more than the free space, that's when you run into problems.
An SD card just isn't so suited to this kind of write-intensive application. So I could've solved my problem by getting a 64/128gb SD to replace it and it would've been fine for a few years. But I'd rather just run it off a HDD and know it's not slowly dying.
Some good news is this slow SD card genocide will stop soon as in a new release logging won't be necessary for the query log to work. (Thanks u/Mcat12 for pointing this out).
I've been a huge fan of the RPi 3A+ because it is: (i) cheap; (ii) has a really nice set of connections (full HDMI, USB, headphone) and 5Ghz Wifi; and (iii) more minimal power draw than the 3B+ or 4.
I don't really understand why this article doesn't compare the 3A+ to the Zero 2. According to this review, the 3A+ is pretty much the closest to the Zero 2.
It's a bit sad how the 3A+ is often forgotten in its utility.
you can just install Pi-Hole on the raspberry pi, aim your routers DNS servers at the Pi-Hole IP address and then sit and block sites whenever you want typing them in via the pi-hole URL.
it will also show exact URL's accessed from devices across your network
here's a video on how it works - https://youtu.be/vKWjx1AQYgs
it's primary purpose is an adblocker, but it will be pretty perfect for what you wanna do. Nothing needs to change on your network, attach the Pi via ethernet cable to your router and leave it there.... all other devices in your house connect to the network exactly as they were before. No one will even notice.
If anyone wants to check it out themselves, you can download it for free for Android (with a cardboard viewer) here. I can also send codes for Oculus Go/Gear VR if anyone wants to try it on those platforms. I also built a version for iPhone but unfortunately Apple won't publish it. I may be able to send testflight invites though if anyone wants to check it out on there.
I'm not really sure whether or not to flair it as a "project" but this was my impromptu attempt at keeping this cool! its not the prettiest but its what I could do, and I don't think its half bad!
It's THIS case for those wondering, plus lots of snipping of the plastic.
All purchased off of Amazon
Raspberry pi 3
SmartiPi Touch case (https://www.amazon.com/dp/B01HV97F64?ref=ppx_pop_mob_ap_share)
Raspberry Pi 7" Touchscreen Display (https://www.amazon.com/dp/B0153R2A9I?ref=ppx_pop_mob_ap_share)
Heres a link to the guide(https://www.hackster.io/mportatoes/trading-card-scanner-organizer-84399a), the op is the type of spammer that used to spam the 3dprinting subreddit with links of shit he found to his own website.
http://www.amazon.com/gp/product/B014JFEU48
Edit, photos of the inside here: https://imgur.com/a/5KQHR
Edit #2... well, from last week to today, there were 13-15 of those left.. I guess we made a happy seller today, cause they're all gone now
Edit #3, I have not gotten the Pi 3 to work with this screen yet. Hold the phone
All the Edits: Looks to me like someone asked adafruit support about their TFT screens and the Pi 3, They said it's in the works, but for now, I can't get the screen to work, and it looks like an obvious problem with what's being executed in the /boot/config.txt file. As of right now there are only commands referencing the Pi1/pi2/piZero SOC's
Got the screen working in 5 minutes [Rpi 2], and found the gpio button mapping in the amazon comments:
I was able to learn which pins the switch uses here is what I found, perhaps this will be helpful to others: GPIO4, pin 7 is the bottom side switch. GPIO5, pin 29 is the front bottom switch. GPIO17, pin 11 is the top most side switch. GPIO22, pin 15 is the front 2nd switch from top. GPIO23, pin 16 is the front, top most switch. GPIO24, pin 18 is the front, 2nd switch from bottom. GPIO25, pin 25 appears to be the D/C pin for display GPIO26, pin 37 appears to be the IR GPIO27, pin 13 appears to be the back-light for the display SPI_CE0 appears to be used. Usual SPI pins appear to be used.
The case is very solid aluminum, and took 5 minutes to put together, fits together perfectly, dissipates heat well too! Check it out!
(So far all I've done with the buttons since yesterday is making the "X" button shut down the pi after holding it for 5 seconds)
Did I mention the IR receiver?
Being disappointed with how weak and pathetic it is.
You could set it up as a VPN router: https://gist.github.com/superjamie/ac55b6d2c080582a3e64
A lot of people like the DNS ad blocker Pi-Hole though I think AdBlockPlus/uBlock are way better: https://pi-hole.net/
>If, like Brian, you’re making a product which requires a Raspberry Pi to run, we don’t ask you to buy special permission or licences from us to use it. All we ask is that you include the words “Powered by Raspberry Pi” somewhere on your packaging. If your business is successful, we’d be very grateful if you could consider donating a small portion of your profits to the Raspberry Pi Foundation – but that’s all, and if you choose not to do that, that’s fine too.
Like a usb wifi dongle? They make them pretty cheap! I got this from Amazon for $10 for pentesting. Works really well
http://www.raspberrypi.org/archives/tag/red-pi
>We’ve been working on how to improve availability of the Raspberry Pi in China. China represents a massive potential market for the Pi, and one which comes with its own unique set of challenges. With this in mind, in partnership with our licensees RS Components and Premier Farnell, we have granted Egoman Technology Corp a licence to produce and distribute Pis in China and Taiwan.
>We’ve made sure that the Chinese Pis are visually easy to distinguish from rest-of-world Pis. Because they do not carry FCC/CE marks (although they are fully compatible with the boards you can buy elsewhere), it’s not legal to import them into the EU or the USA, or into some other parts of the world.
I have ownCloud setup on mine. There a few neat add-ons you can install on it as well, so in addition to using it for file storage (Dropbox Clone) I also use ownCloud News (Feedly Clone). You can also add a calendar, task lists, contacts, documents & notes.
Don't reuse the power supply unless you're real comfortable with a voltmeter and with potentially shocking yourself. Even then, the actual power supply is likely to be embedded in the device's mainboard. Just get a good 5v power supply, and wire it to the original power cable.
Hell, on my RetroPie arcade machine, I have a literal household electrical box inside the case with power plugs (for the speakers and screen) and 2A USB ports (for the Pi).
But yeah, as a general rule, reusing unknown power supplies is at least intermediate-level stuff: if you're not confident you can figure it out yourself, you probably shouldn't be doing it.
As for the buttons, those are usually on a daughter board attached to the case front, connected by a ribbon cable. It shouldn't be too hard to figure out which is ground, which is the buttons, and wire that to GPIO. You can use an ohmmeter for that, and there's a lot less risk of shock.
Not knowing what Flutter was...
> Flutter is Google's mobile UI framework for crafting high-quality native interfaces on iOS and Android in record time. Flutter works with existing code, is used by developers and organizations around the world, and is free and open source. Learn more at https://flutter.io
looks promising!
It's this one, ordered from Amazon. There are many options, but I wanted one that would fit on the Pi with my case.
I want a somewhat similar thing. I'm completely new to the whole topic and I've been told that running a wireless setup like this apparently bottlenecks my network performance. Do you agree with that assumption?
I was thinking about the following setup for me:
(Router)->(Pi-hole/NordVPN on Pi)->(Desktop/Phone/TV)
* NordVPN because Netflix's Geo-blocking. I need the option to occasionally turn that off though. For example when I want to play games on my Desktop. Can I just SSH into the PI to turn that off then?
I don't know to convert the project yet, what Pi to use, what accessories I need, case etc. I need a wired connection from my Desktop and wireless for my TV/Chromcast + a side note, what do you mean by " torrent + SMB + FTP "?
No rooting necessary. I use IP Webcam Pro - $4 for the full-featured version - and it works perfectly. If you've got old Android phones, or even buy a used one for $60 with a good camera, it makes a great, self-contained package. It provides motion detection, time lapse, upload to dropbox and bunch of other features. I had 3 phones going at one point, with motion
on my linux server monitoring them, and they worked very well. They also make great ad-hoc web cams. I set up a puppy-cam when we left our pooch alone the first few times. The auto-focus and advanced phone camera features provided much better images than I was able to get with the RPi camera.
This one :
https://www.amazon.com/gp/product/B079D9MT1Y/ref=oh_aui_detailpage_o01_s00?ie=UTF8&psc=1
It was the cheapest I could find with decent output (which I have not measured in the real world...not sure how to?) and built-in USB output.
Folds up nice and seems really well made for $20!
Very tangential, but I would recommend carefully considering what you present to students. CS is used as a general term, but not everybody is truly interested in the abstract science (i.e. computability, etc). Software Engineering, Informatic, Bio-Informatics, Information Science, and more are also common related majors/programs with different kinds of focus. CS programs in college are often full of theory courses and math (I know because that's what I'm studying). Some people won't have any interest in the abstract, but mostly with what they can do with it. They may not need to study CS specifically to be able to do things with technology in their future.
TL;DR It's important to realize that CS != doing stuff with computers.
You might also wish to add some kind of game making to your curriculum, since it sounds like you'll be covering programming. Love2D (https://love2d.org/) might be a good option. It's a Lua game engine that's pretty easy to get started with. This might be useful -> http://pilove.mitako.eu/
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
Take a look there. It's pretty straightforward once you get it going. Basically you
Keep the id_rsa one secret. Disable the password login ability of your SSH server and now even if anyone gets both your username and password, they still can't login - since they don't have your key.
As far as fail2ban - the most basic level of getting it up and running is:
sudo apt install fail2ban
That's about it. All it basically does is scan your logs and look for IPs that fail to login a certain number of times over a certain time period. If so, it bans them for (I think the default is) 3 days. Even if they have the right credentials in that 3 day period, that IP is getting dropped until unbanned.
From the thumbnail it looks like the Orange Pi 2G IOT, which uses 2G connections for cellular. As such, this device may not work in countries where 2G is being phased out.
I've tried looking on Docker's website and I'm having trouble decoding what they're trying to portray that their software/IT solutions so. Anyone have a clear explanation of what this is supposed to do?
Edit: So apparently (after further research) Docker is like a box that has all the normal necessary stuff for an application to run on a given set of hardware. At least that's what I'm grasping (correct me if I'm wrong). I'm gonna do a little more research because I'm genuinely curious as to what this does.
Edit 2: Ahhhhhhh, I understand now. Docker Swarm is a type of protocol that can link multiple computers together and use all of their resources together. Say you wanted to render a very large file in AutoCAD, or something in After Effects. You would use something like Docker Swarm and combine all the computing resources on all of your computers together to distribute load, making the process nor only faster, but more efficient. At least that's what I'm gathering from here.
Someone correct me if I'm wrong because I've always wondered how those big huge move studios can render an entire movie such as The Jungle Book (something that would take years to render on even the most advanced supercomputer) can be done in a few weeks.
Edit 3: Thanks everyone that replied for the explanations! For the correct explanation, see the replies to my comment.
The screen was $3 from a thrift store, $6 plexiglass from home depot, and this window film.
Not sure what you mean by blacklight bleed, but in the dark you can't tell it's reflective, but it's not very bright.
This article seems to shed some light on the function.
The article describes the Pi as being "camera-shy"...that is, when a specific type of camera flash is set off near the Pi, it instantly powers off. Apparently high-intensity, long wave light emissions cause disruptions in the "U16" chip (responsible for regulating power to the processor core), subsequently causing a brief core voltage drop.
Apparently the folks who wrote this article are poking fun at this weakness of the Pi.
According to this hackaday post, "USB and Ethernet is still handled by the LAN9514 USB/Ethernet controller."
So, yes. Sorry to be the bearer of bad news.
I use Denyhosts, and the ReportHackIsp plugin. After Denyhosts detects a brute force attempt and bans the IP it runs the ReportHackIsp plugin which determines who owns the IP address and emails their abuse department.
I like catching and reporting them but if you just want to stop them you can do things like change the default port, and set up key based authentication.
https://www.amazon.com/gp/product/B01FHDL1DE/ref=oh_aui_detailpage_o02_s00?ie=UTF8&psc=1
kinda pricey, but I had orderered one for a different project but it works great on everything through atari and up to 64/ps1.
Paging /u/y45y564 . As open-source as it realistically can get. I've been following "pure open-source" GSM stack developments popping up here and there.
To sum up - it's hard. The open-source GSM part is just so hella hard that there still aren't any open-hardware blobless GSM modules - none of the Wiki-listed "open hardware phones" are nearly as open as you suggest (and my project is better than many of them in other ways). It's like developing your own Bluetooth peripheral full from scratch (Bluetooth specification is thousands of pages for one revision), just much harder, with the RF and programming skills necessary. It's just not possible at this point, it's millions of $ and thousands of manhours for the big companies with brilliant engineers, and I can only look in astonishment on what Osmocom is trying to achieve.
However, what I can do is a platform you can use with any GSM module with a datasheet - no matter the openness. Once we have an open-source GSM module, it'll fit right in. Moreover, it's not going to work without a platform like that. So, while I'm not developing an open-source GSM module (that'd be crazy), I'm developing an ecosystem that's willing to accept those - and if you follow the technology trends, the ecosystem is what actually matters and makes impossible things possible.
Meanwhile, I just got news that we're one step closer for Raspberry Pi to be deblobed and become closer to "pure open-source" - and that's big news, especially for this project,
Thanks for your comment. Yes, you are right, the pi alone can handle reading an analog sensor with an Analog-to-Digital converter such as MCP3008. But, in this project, I wanted to cover the topic for beginners - how to read analog sensors with Raspberry Pi via Arduino. So, Arduino is not a necessity for replicating this project but only an AD converter.
In my following project, if interested, I cover how to read analog sensors with an AD converter - MCP3008.
I'm writing a post on my blog explaining how to do that, please be patient come back in 20 minutes I'll update this comment with the link to the post. Stand By.
Just putting in my 2 cents for anyone considering this - I like to use a PoE splitter with a micro-usb plug. It's not nearly as compact but it's like a quarter of the price and they sell it on Amazon and not just some obscure site in the UK (which on its own isn't bad but I'm in the US so it's just a lot for shipping).
Here's the one I use.
Something like this should work. I use a different solution but a quick google search didn’t find it. Micro SD card holder - BLUE
To be honest, not much. Especially with the network being connected to the USB bridge.
Also...
>Overall real world performance is something like a 300MHz Pentium 2, only with much, much swankier graphics.
^http://www.raspberrypi.org/help/faqs/
edit: If you need any sort of performance, check out the new Odroid C1 or Banana Pi (or Banana Pro).
edit2: If you're just talking about attaching sensors and switching relays and stuff like that, the Rpi is perfect (and very well documented/supported). However, for anything that needs a bit of processing power and/or throughput (like a media server), something else will be much better suited.
From the official FAQ:
> 7. When will the next model of the Raspberry Pi be released?
> As of the end of 2013, there are no immediate plans for the next model; a new model may be released in 2-3 years, but this is not a firm schedule. A new model would inherently undo much of the community work that has been done to date on the Raspberry Pi, which would be counter-productive to our educational aims. We concentrate our engineering effort on making the software that runs on the Raspberry Pi faster and better all the time – which is why you should always be running the most recent firmware.
I have my pi set up with SSH certificates and no password logins allowed, see http://www.codeproject.com/Tips/600050/Raspberry-Pi-SSH-Public-Key-Authentication
Edit: I like this link better http://raspi.tv/2012/how-to-set-up-keys-and-disable-password-login-for-ssh-on-your-raspberry-pi
I guess to get people used to doing reverse engineering on the GPUs of PC-type graphics cards?! :-(
/s
From the Raspberry Pi's FAQ:
> To get the full SoC documentation you would need to sign an NDA with Broadcom, who make the chip and sell it to us. But you would also need to provide a business model and estimate of how many chips you are going to sell.
Home Assistant, automate all the things! Can't live without mine now.
It's not super-hard to get started, I found it much easier than the competing options, but there is a little learning curve.
They've components for everything from vaccums to light switches, kodi, mpd, etc. and almost any gadget you can connect to a Pi.
I certainly agree with you, but you can get the esp32 on a dev board for ~5$. Here is one example. Granted if you want to buy just one from amazon there's a markup but then again you have to pay for shipping for the pi so I think they're at least comparable cost-wise
Obviously the appeal is going to be all of the support from the raspberry pi community. I just really wish it had wifi.
You are totally correct and shouldn't be apologizing! I read Pi 2 B+ somewhere and stick with it, but the Foundation has clearly labeled it Pi 2 B. Thanks for the heads up!
In case anyone has been looking like me, according to the openELEC guys the rpi 4 will also support HDR (in theory, hdr on Linux isn't quite a thing yet)
That's pretty cool. If I were your kid, I'd be hyperventilating.
About a week ago I started watching the ISS as it passes overhead. I've been using ISS Detector Pro, cuz it went on sale for free. There's a free version, too.
I set up a LEMP server using Digital Ocean's tutorials, and then installed WordPress myself. Link here: https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-in-ubuntu-16-04 This pretty much tells you everything you need to know, but feel free to PM me for help as well.
Nice!
I'm working on something similar... although I like to think mine looks a little more elegant.
https://www.dropbox.com/sh/simrmmv31t9p3os/H7isLe214N
https://www.dropbox.com/s/hqfjv2mwey2ve27/2002-12-08%2012.00.00-5-1.jpg
Download NOOBS and copy it to an SD card. Stick the card in the Pi and boot it up. Select the OpenELEC operating system. Hit the install button at the top.
Look under "Videos" -> "Files", the drive on the USB port will be 'sda'. You can Google search an XBMC tutorial if you need more setup help, but it should mostly work right out of the box.
EDIT:
You're going to need a mouse to do the selecting in the above steps.
You can hook all your drives up to a USB hub and they'll show up as 'sda', 'sdb', 'sdc', etc...
There's an Apple device app called 'xbmcRemote' that will allow you to use your iPod/iPhone as a remote control for the XBMC install. You'll need to put the Pi and the Apple device on your home network. Or you could get a bluetooth keyboard/mouse pad. Plug the dongle into the Pi and there's a good chance it will work with no setup.
there are two different projects:
Scrapy | A Fast and Powerful Scraping and Web Crawling Framework http://scrapy.org/
Scapy is a powerful interactive packet manipulation program www.secdev.org/projects/scapy/
the bulk of traffic doesn't go through it, just the dns requests. It's a relatively tiny amount of data to handle even on sizeable networks.
All it adds to the process is a simple lookup before passing the request on (or not). They claim it actually speeds up the network normally as those requests that are blocked don't go out and don't have to be answered, plus as a result the actual traffic from those ads (or whatever you want to block) isn't downloaded.
here's their blurb on capacity
In my experience with a fairly gadget filled household, the extra time the pihole adds to loading a webpage is so small it's within the variance of a set of normal dns requests from your isp or google etc, ie unnoticeable.
Great job! There's a little bug though, in the script in lines 40, 47 and 54 you assume that the user is pi, so if you run this script on a different user it doesn't work. Use $HOME instead.
EDIT: in as well.
EDIT2: Whoops, I forgot that it runs on root, so $HOME doesn't really work. Either way, you can just change /home/pi/ to /home/whateveryouruseris/ in and
Fing is also a great android app for scanning what's connected to your router. As long as you can connect to the router, you can see everything on it, with generic/specified name and mac address.
If you're not actually limited to just SMS / MMS (i.e., you have a smartphone), you can also try sending notifications via PushBullet (API documentation.).
Or the $10 POE splitters - https://www.amazon.com/UCTRONICS-802-3af-Splitter-Ethernet-Raspberry/dp/B01MDLUSE7 is just one.
I bought one of these a while back. I wanted it barebones because I was fitting it into a custom case but that might not be your application. There are a ton of options out there at that size, mostly for in-car media players....like this one
Sorry all. I'm a reddit posting noob and thought I deleted this as it didn't let me write and text.
So this is my take on a home/personal dashboard. I set out to make a Magic Mirror but ended up going this route. It will eventually framed up and put on display in a central location of the house so the info is easily visible from everywhere.
I looked at MANY different options from Wix to Android/Chromecast apps to Wordpress to Dashing, you name it I probably looked into it. Eventually I decided that a locally hosted webpage would be the best but I would have to learn HTML, CSS and jquery.
At the moment it’s running on my PC (Firefox, full screen with auto-updating add-on) as I find it easier but will be transferred to my Pi3 when it’s finished.
The weather is an iframe fromforecast.io. I’ll more than likely replace it with a jquery widget but for now it looks ok and works.
The clock is a jquery clock.
The calendar is a repurposed date-picker jquery calendar.
The list of shows on the right is an auto-scrolling RSS feed of upcoming TV Shows. The list comes from Next Episode (https://next-episode.net/) and the RSS feed from here is copied into this RSS feed widget (http://feed.mikle.com/).
The ‘Home’ and ‘Work’ on the left are Google Directions API calls for the time to travel from home to work and vice-versa. That way I can see pretty easily if there’s an unusual traffic and can adjust leaving. The ‘Doctors’, is just a placeholder for ‘Next Event’ which will pull the next event from Google calendar and if it has an address, will display the time to leave and travel time etc.
The empty space is planned to be filled with eBay API calls data (I seel on eBay) that will give me up-to-date selling details. Other than that, a news ticker might find room somewhere.
Any ideas of what I could include or make prettier?
Why not re-run certbot from scratch, following the step-by-step questionnaire?
My stack: https://certbot.eff.org/lets-encrypt/centos6-apache.html
I'm not sure why a configuration would take most of a week to setup, the workflow takes about 30 seconds + cron job.
Here are all instructions: https://certbot.eff.org/all-instructions
Edit: I'd also recommend archiving stable pi images/configurations - I do this for distribution/replication, but it's also useful for configuration management/version control.
I set mine up last night. Pretty easy to follow the bouncing ball. Check out https://pi-hole.net for stuffs.
The tricky thing is if you want the PiHole to be dhcp server as well, you need to switch off that functionality on your modem otherwise conflict.
Feel free to ask any questions, not an expert but I have it running on an old pi 2B
This project is fairly pointless, but fun.
An old rotary phone with the on/off hook switch and dialling face wired into a Raspberry Pi GPIO and an application completed that will wait for the phone to be picked up, read the number dialled, and play a random sound from a corresponding folder to the handset.
1 is jokes
2 is motivational quotes
3 is Naked Gun or Archer sound clips
4 is Random noises
5 is my 5 year old singing
6 is recordings people yelling or berating you for inturrupting their conference call
7 is my 7 year old singing
8,9, and 0 are unassigned so far
I am waiting on an order of standoffs or I would have got everything mounted inside the phone already.
Here is a video of it in action (external speaker used so you can hear it)
Source code for the application (C/C++)
Exactly. But, Ben from Raspberry Pi recently posted this clarification on HN:
> Note: Windows 10 on Pi 2 will be an IoT platform, not a desktop OS.
> You'll develop your app in Visual Studio on a Windows PC and deploy it to the Pi.
> Raspbian will continue to be the main supported OS.
> - Ben from Raspberry Pi
Slightly more expensive option if the pi is out of stock for you is to try Jet.com. They have a RPi2 for $46.71. Add a cheap filler (candy, gum, etc) to get to $50. Then use the promo code JETCOMSAVE2 to save $25 off. Shipping is free. Again, new customers only.
EDIT: Looks like the code isn't working anymore. See edits on my original post for an alternative deal!
Free Open Source Ghost https://fogproject.org/ The only part that I haven't done is the scheduling. Once you have that figured out the machine will just boot off the Network, image the drive and then boot to your normal OS
I'm having a really hard time with the team photos: https://www.parrotsec.org/features.fx I'd be cautious of this one.
Edit: here's the company they all work for https://dasaweb.net/about.php easier to find information regarding the team there.
Seems to be the same price on amazon, dont know if its a sale or not - https://www.amazon.com/SanDisk-microSDXC-Adapter-Android-Tables/dp/B073CKZBBP
little overkill on the speed for a pi but certainly doesnt hurt
I have two pi's that stay under pretty constant load.
One 3B is a camera that I use with a Pimoroni Pan/Tilt HAT running Motioneye. The streaming and motion detector keep that thing's CPU pegging. Before I added a heatsink, it was averaging around 70 degrees C all the time. With the heatsink, it's around 55, which is way manageable.
But then I also have a Pi 3B running the official Pi touchscreen as a monitor to my home surveillance setup. Motioneye, since it uses MJPEG, streams a bajillion JPEGs if you run 3 streams like I do. That makes the browser process basically stay at 100% CPU load non-stop. I was getting as high as 80 degrees on it, which is too close to the limit of 85 degrees. On that one, I got this fan HAT and have a Python script that can alter the fan speed based on the temperature of the CPU. If I run the fan at full tilt, the temperatures average about 52 degrees. The little fan is loud, but I could always swap it to a quieter one.
I would agree with you that in most situations, you probably don't need any type of cooling. But, if it's constantly under load, you would want at least a heatsink, or better, a fan.
Seems like something that would be better suited for an Arduino Mega than a raspberry pi. You'd be able to connect a lot more bottles of liquor to it.
I'd have also gone with a cheaper but larger LCD instead of the super tiny OLED. Plus then you get a beeper, and a knob/button combo for selecting the drinks. Combine that with u8g2 and lcdmenulib2 and you've got a more friendly interface.
You might want to consider putting a very small sleep in that while loop. As it is, you're busy waiting which is using a bunch of resources on a resource constrained system. Even something like time.sleep(0.01)
would do a lot to reduce resource consumption.
Alternatively, you could write a callback function and dispense with the while loop entirely. Here's a really nice post detailing how to do that.
-0.09c for electricity
https://www.cryptocompare.com/mining/bitmain/antminer-u3/
So say 7c profit this month.
Difficulty has gone up 500% this year, so next month revenue 0.14c -0.09c = 5c revenue
Next month revenue 0.12c -0.09c = 3c revenue
Next month 1c
Next month turn it off, losing money.
So spent $30 got back 16c.
We are not talking big numbers here, so as a hobby/getting into crypto its fine. As an investment its a disaster buying this for $30.
If you are in a colder clime, you could offset some of those costs with keeping your house warm, but the total income (if difficulty keeps going at this rate) will be about $1.20
Yes there is. So normally the 8bitdo zero is recognized as a keyboard in retropie.
To fix this, you'll need to read this forum post
Follow user meleu's instructions.
Basically, it boils down to downloading the "8bitdozerogamepad.cfg" file from the forum and putting it in the "/opt/retropie/configs/all/retroarch-joypads/8BitdoZeroGamePad.cfg" location. I SMB share into Retropie and just dragged it into that folder.
After that, add bluetooth device using the retropie setup. Then go and go back to EmulationStation, press start and remap the keys using the gamepad now. Once that's done, you're good to go.
According to this, it's 100Mbit LAN https://www.olimex.com/Products/OLinuXino/A10/A10-OLinuXino-LIME/open-source-hardware. Still looks cool though. Does it have hardware accelerated video decoding? Could be a great XBMC device. My Pi works OK, but it chokes when subtitles have to be displayed (wife's Japanese so we watch everything with subtitles).
Download https://github.com/raspberrypi/firmware/blob/master/boot/arm448_start.elf and rename it start.elf and place it into /boot on the sdcard.
According to user dom on http://www.raspberrypi.org/archives/2180 cannot test yet unfortunately.
:edit: This is old, but I thought I would update it. The newer raspbian image allows this to be changed via raspi-config so there's no longer any need to download or replace the start.elf
This is Liz's comment in regards to not telling anyone.
http://www.raspberrypi.org/archives/2180#comment-34109
See Osborne Effect.
Not saying I agree with the move, but I can understand the pressure. Still, very happy for the upgrade.
It looks like they raised the price as an April Fools joke and decided not to stop laughing. All the way to the bank... (Change the History to Last 60 days to see the jump)
I'm definitely intrigued by the idea of running something like a Pi on solar using low-cost components. Lots of the less expensive options for solar panel + battery combos aren't terribly efficient, even suggesting that you plug in the battery to charge faster. Haha.
Running actual Microsoft Excel & Word on the Pi is completely impossible. You can however run Libre Office on it, and it's mostly compatible with Microsoft Office.
I spent about $150 on the mirror itself, which they now sell pre-made. Amazon has them at the moment. Then for the Pi, you can be overkill like me and use your $100 Pi4 Canakit, or you can use another version of the Pi such as a Pi3. The SD card should be around 16-32 gb for it to work properly and could cost around $17-$27 at Best Buy.
Mirror + display: Vilros Magic Glass Mirror and Frame - 2 Way Mirror for Smart Mirror Project Includes Internal Ready to Connect LCD https://www.amazon.com/dp/B083V7RK8H/ref=cm_sw_r_cp_api_i_UFrbFbSRFQH33
I have a similar box i love the RII keyboards, i have a smaller one and a larger one like https://www.amazon.com/gp/product/B077VYRMC1/ref=ox_sc_act_title_1?smid=A2K2QPLI74L8VE&psc=1
Here's a very similar (maybe the same?) Case/ screen combo on Amazon https://www.amazon.com/Raspberry-320x480-Monitor-Raspbian-RetroPie/dp/B07N38B86S/ref=sr_1_14?crid=2XBNIJHFJ0S4S&keywords=raspberry+pi+3+b%2B&qid=1563661306&s=gateway&sprefix=ras%2Caps%2C262&sr=8-14
Unless your home network that the pi is plugged into, is connected to a VPN service, then the Pi is useless. Most VPN services offer android and iphone apps anyways, so the RPI as a VPN is quite useless.
Private Internet Access is on sale this month for $33 a year. No logs stored and no throttling. They are very reputable and setup is super easy. It's just an exe file on windows then you log in with your account. They have android and iphone apps as well. And I believe they are available for Ubuntu only, out of the linux distros.
Step one: Buy this Kit - Amazon
Step two: leave your roommates stuff alone
Step Three: The world is now your oyster!
Seriously, the beauty of the raspberry pi market is they are incredibly affordable and have endless applications.
I recently switched to Anker cables because of this.
If you don't have a usb power meter you can use an app on android called Ampere to measure charging current. Really useful.
You're best bet is to look for the minecraft servers that were re-written in c++ rather than java. You can run java on the rpi and run a minecraft server but it will be rather unusable.
Have a look here.
Yeah the airport staff didn't know much about it. The reason we chose the launch site we did on the day we did was because of the forecasted landing spot. There is online software that tells you where it should land based on the wind direction that day. It was supposed to be far away from everything, it didn't pan out that way though.
(I think the website we used was https://www.windy.com/ or something similar.)
> strapping one IMU each on upper and lower legs is more accurate than having one on your wrist
Alternate TLDR: 1 IMU on the thigh is only losing 3% accuracy vs. 2 of them, and much easier to implement in a sell-able device. ESP32 + an IMU = nearly as good as all this hullabaloo.
Or, just buy this, add a coin cell and a strap, then put it on your leg. Ta-da.
There are a lot of smart mirrors for sale online. Prices are all over the place though.
Here's a almost ready to go smart mirror on Amazon. You still need to get a raspberry pi, configure it, and hook it up to the mirror, but that's the easy part of a project like this really. Probably add another $75 or so for that depending on what you get.
AFAIK, this was an issue with the RPi 2, where a power supply component (U16) was sensitive to light, causing an reset. Solution is to cover it with a piece of tape or put it in a case. Source
So this is my take on a home/personal dashboard.
I set out to make a Magic Mirror but ended up going this route. It will eventually framed up and put on display in a central location of the house so the info is easily visible from everywhere.
I looked at MANY different options from Wix to Android/Chromecast apps to Wordpress to Dashing, you name it I probably looked into it. Eventually I decided that a locally hosted webpage would be the best but I would have to learn HTML, CSS and jquery.
At the moment it’s running on my PC (Firefox, full screen with auto-updating add-on) as I find it easier but will be transferred to my Pi3 when it’s finished. The weather is an iframe from forecast.io. I’ll more than likely replace it with a jquery widget but for now it looks ok and works.
The clock is a jquery clock.
The calendar is a repurposed date-picker jquery calendar.
The list of shows on the right is an auto-scrolling RSS feed of upcoming TV Shows. The list comes from Next Episode (https://next-episode.net/) and the RSS feed from here is copied into this RSS feed widget (http://feed.mikle.com/).
The ‘Home’ and ‘Work’ on the left are Google Directions API calls for the time to travel from home to work and vice-versa. That way I can see pretty easily if there’s an unusual traffic and can adjust leaving. The ‘Doctors’, is just a placeholder for ‘Next Event’ which will pull the next event from Google calendar and if it has an address, will display the time to leave and travel time etc.
The empty space is planned to be filled with eBay API calls data (I seel on eBay) that will give me up-to-date selling details. Other than that, a news ticker might find room somewhere.
Any ideas of what I could include or make prettier?
> mpd
I think. It makes sense, though, seeing the content of the pic.
neat but I still prefer pushover: https://pushover.net/
Pushover makes it easy to get real-time notifications on your Android, iPhone, iPad, and Desktop (Pebble, Android Wear, and Apple watches, too!)
This https://pi-hole.net is the best thing I have ever installed on my Pi. Once it's setup it will block ads on all devices on your home network and it has some cool stats.
Edit. Some things to do after installing OS (i assume Raspbian) :
Expand your SD card size
Change the pi default password
Optional - create a new user for you - add said user to the sudoers file - remove the pi user.
If you have questions feel free to shoot me a message. Good luck on your journey!