How to connect Hubitat or Home Assistant to an IoT system using ESP32/Raspberry Pi

I’m working on a DIY smart home project and want to integrate a Zigbee or Z-Wave smart hub with a custom-built IoT system using ESP32 or Raspberry Pi. Has anyone successfully connected a Hubitat or Home Assistant setup with SparkFun wireless modules (like LoRa, XBee, or Bluetooth)? What would be the best approach for handling automation rules and device control?

We don’t have specific instructions, but poking around Hubitat’s forums it looks fairly standard and several people have threads using SF products (lots of xbee)…you could start with something like SparkFun XBee 3 Wireless Kit utilizing our guide and go from there

That makes sense, XBee is actually a solid option for bridging the communication between the hub and custom iot devices. I was looking into how hubitat and home assistant handle automation in terms of integrations here: https://smarthomescope.com/hubitat-vs-home-assistant/
guess I should dig into SparkFun XBee 3 to see if it fits into the setup.

1 Like

That sounds like a great project! You can integrate Hubitat or Home Assistant with ESP32 or Raspberry Pi using MQTT for reliable communication. Zigbee2MQTT or Z-Wave JS can help bridge devices. SparkFun’s LoRa or XBee modules might need custom drivers. For automation, Node-RED or Home Assistant’s built-in tools work well. Are you planning to keep everything local or use cloud-based control?

1 Like