I’ve tried a lot of Raspberry Pi projects and the only one I’ve stuck with is tracking airplanes using ADSB and feeding that data to FlightAware using their PiAware system. The PiAware image for the Pi uses the eth0 MAC address to create a unique ID for the feeder you’re running. The downside with doing this is that if your Raspberry Pi breaks, dies, or if you upgrade to a new one like the Raspberry Pi 3, then PiAware will create a whole new feeder site. So much for your awesome feeder streak! The solution is to spoof your eth0 MAC address on the new Raspberry Pi! I’ve done this method with 3 Raspberry Pi upgrades for PiAware and have a [Read More…]
I had a WordPress site requirement where only logged in users could see the site and it’s contents. I came across this bit of code a few years ago and found it to be helpful. Place it into your functions.php and when a visitor comes along who is not logged in, it’ll redirect them to the wp-login.php page to login. Once logged in, then they can view the site without being blocked. This is an example where it can help keep unwanted visitors away from the content of your site. It’s been working great and I wanted to share it.
Last Updated 2/26/2017 I have an Ambient Weather WS-1200-IP weather station. It’s a great unit and very easy to use and setup! There is an outdoor unit which does temperature, humidity, wind speed, wind direction, rainfall, UV and solar radiation. There’s also an indoor unit which has a barometer sensor. The 2 sensors talk to an ObserverIP unit. This unit plugs directly into your router and has a little webpage that you configure your wunderground.com username with. Once you click save, it instantly starts uploading data to wunderground.com. Couldn’t be easier to start sharing your weather station data! Except. I want that data. I want to archive it on my own system. I want to be able to report off it. The little [Read More…]
I’ve released a new plugin, randomPost. The goal behind randomPost is to keep visitors on your website longer. By having the ability to view random posts, it keeps your visitors engaged and that means they stay on your site longer! Once you install the randomPost plugin, and select the random URL slug you want to use (for example: http://obrienlabs.net/random — where /random is the URL slug), this URL will redirect your users to a random post of yours! I recommend using the word “random” as your URL slug, but the option exists to use any slug you’d like (perhaps the word random in another language). Once configured, add the new URL with the slug to your menu as a custom link. [Read More…]
I have released a new WordPress plugin called Ad Blocking Advisor! If you run a website that has advertisements, your visitors could be using ad blocking software (e.g. AdBlock Plus, uBlock, etc.) that could be taking away your revenue! The purpose of this plugin is to detect if a visitor is using an ad blocker, and if so then put a small notification bar at the top of the site (or anywhere on the site you choose), that asks (or advises) the visitor the please whitelist your site. This notification banner only appears to visitors who are using ad blocking software, and the best part is that it’s not limited to just 1 advertisement service. Update 12/20/2017: Version 2.0 of the plugin gets rid of [Read More…]