Using Two MQTT Brokers with Broker Bridging

Using Two MQTT Brokers with Broker Bridging

Running your own private MQTT broker on your local network? This is great for all your local Home Automation devices but would about things that are outside your network? Apps like OwnTracks can communicate your GPS to an MQTT broker but you’ll need to open up your network to the outside.

Today’s article details a hybrid-cloud solution using an external MQTT broker in conjunction with a private MQTT broker running on your local network. Home Assistant (or any Home Automation platform) can subscribe to topics on your local MQTT broker while still receiving messages from the external one.

[Read more…]Using Two MQTT Brokers with Broker Bridging

Create Your Own WiFi Connected RGB LED Strips

WiFi Connected RGB LED Strip

LED light strips can make a great accent to your desk, TV, kitchen or elsewhere in your home. Wouldn’t it be great to build one that can be controlled over WiFi? How about making cool animations that go with a holiday, sports team or time of day. Today, I’m giving my implementation of a WiFi Connected RGB LED Strip that you can use to add some lights and fun to your home.

[Read more…]WiFi Connected RGB LED Strip

DIY Bed Occupancy Sensor

DIY Bed Presence Detection in Home Assistant

Ever want to create an automation around someone sitting on a chair or laying in bed? Using an ESP8266, load cells, an MQTT broker and Home Assistant you can create a DIY weight sensor attached to your bed to form a smart bed! This that will allow you to detect these events and trigger automations.

While you could use this to accurately measure the weight of something, I’m focused on detecting presence on a piece of furniture. You can use this data to create automations based on where people are currently located in your home.

Some hardware you’ll need:

[Read more…]DIY Bed Presence Detection in Home Assistant

Setting up MQTT Broker for DIY Home Assistant Sensors

I’m planning on creating some DIY sensors and switches across my house (more on that in future posts!) and was looking for a good way to communicate over WiFi with them from Home Assistant. If you’ve never heard of MQTT it is described as a “publish-subscribe-based messaging protocol that works on top of TCP/IP”. It … [Read more…]