Custom integration to use Lobe with cameras in Home Assistant
Lobe
This is a Home Assistant custom component for Lobe. Lobe is an AI tool that can classify images. This component lets you easily use an exported model along with another server to classify a camera entity’s feed with it.
Installation
Use HACS for the integration. You’ll also need a seperate server. Steps to install on another server:
- Install the Lobe library.
- Install Flask.
- Export a Tensorflow Lite model into a folder on the server.
- Copy over app.py and change the folder location.
- Run app.py.
- You’ll probably want to make it run on start.
Configuration
This is the configuration format:
image_processing:
- platform: lobe
entity_id: camera.front_door_livestream # Camera entity ID
name: "Front Door Status" # Optional; Custom name
server: "http://lobeserver.local:5623"