https://github.com/robmarkcole/hass-mqtt-camera-forwarder
Custom integration which forwards a camera feed onto an MQTT topic
https://github.com/robmarkcole/hass-mqtt-camera-forwarder
Last synced: about 1 year ago
JSON representation
Custom integration which forwards a camera feed onto an MQTT topic
- Host: GitHub
- URL: https://github.com/robmarkcole/hass-mqtt-camera-forwarder
- Owner: robmarkcole
- Created: 2021-02-10T05:23:11.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-02-10T06:43:22.000Z (over 5 years ago)
- Last Synced: 2025-03-25T00:07:48.680Z (about 1 year ago)
- Language: Python
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HASS-mqtt-camera-forwarder
Custom integration which forwards a camera feed onto an MQTT topic
Add to your config:
```yaml
image_processing:
- platform: mqtt_camera_forwarder
mqtt_topic: hass_camera_1
source:
- entity_id: camera.local_file_1
```
You can create an [MQTT camera](https://www.home-assistant.io/integrations/camera.mqtt) to monitor the feed by subscribing to the same topic:
```
camera:
- platform: mqtt
topic: hass_camera_1
name: mqtt_camera_1
```
## Dev references
- https://github.com/home-assistant/core/blob/dev/homeassistant/components/mqtt_eventstream/__init__.py
- https://github.com/robmarkcole/mqtt-camera-streamer/blob/master/scripts/opencv-camera-publish.py