Category Archives: Uncategorized

MQTT – Mosquitto for Raspberry Pi / Feather Huzzah / HIMS

I’ve primarily been using a mysql database for my home intelligent management system along with some system messages to communicate between Raspberry Pis. This has been a simple enough arrangement but to really get into more of the low power internet of things, I need a way to send messages amongst several hardware platforms. From looking online, MQTT, seems to be a decent IOT protocol that can accomplish my goals for the home intelligent management system.

This post will look at setting up the basics to support MQTT and get the basics working utilizing information available on the internet.

Here’s a great MQTT introduction and tutorial by BaldEngineer.

With the above introduction in mind. I plan on using a Raspberry Pi as the MQTT broker. I’ll likely migrate this function over to my CENTOS box running Apache/mysql but for now, I want to wait become more familiar with MQTT. In addition to using the Raspberry Pi as the broker, it looks like there’s quite a bit of instructions out there for using Mosquitto as the broker code so I’m going to start there.

Guide to installing Mosquitto as a MQTT broker for Raspberry Pi.

After following the guide above, I have confirmed the broker and client are installed and functioning on the Raspberry Pi. Next step, to get the client installed on my Feather Huzzah.

I had to get things setup to use the Arduino IDE for the Feather Huzzah. I followed the Adafruit guide found here.

Raspberry Pi 3 Plex Media Server for Car

I’m looking at taking a road trip and thought it would be handy to have a Plex Media Server available in the car for streaming shows. I already run Plex Media Server on a desktop machine but wanted something small for the car. After looking around on the web I saw people had it working with a Raspberry Pi 2. The Raspberry Pi 3 recently was released and has some advantages over the 2 so I went with that. This is the start of my own guide for getting it setup. I plan on also setting up the PI as a wireless access point using the built in WIFI.

  1. Loaded Jessie on a 16GB SD Card for now (will probably order a larger one once I get everything setup).
  2. Performed a sudo apt-get update and upgrade.
  3. Found this guide that “NedtheNerd” created in the Plex forums (Thanks Ned!) This guide was also helpful with a slightly different take.

Performed some basic testing and was able to stream content to my Ipad plex client and a fire tablet usign VLC viewer at the same time. Streaming two streams seems problematic though so I need to do more testing.

It begins!

Tinker Labz was created on March 19th, 2014 primarily for documenting my own projects. I decided to make the site public to share and expand upon all of the other great work everyone is doing with the Raspberry Pi and other tinkering type projects.