Raspberry Pi Motion Detection MQTT Device

less than 1 minute read

PIR Motion Sensing MQTT Device

MQTT is an excellent protocol for simple device communication. Even better is how well it integrates with Home Assistant to create useful sensors using cheap gear.

Here is a short python script to turn a PIR mounted on a PI as a communicating motion sensor.

Check it out here