Open Bergruebe opened 1 year ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
A new version of camera.ui is currently under active development. An initial alpha/beta release and previews are coming soon. Stay tuned for exciting updates: https://github.com/seydx/camera.ui/issues/448 .
This version will no longer be developed / fixed. The new version contains many novelties and fixes (most important is for HKSV recording).
Describe the bug The mqtt doorbell trigger is not working. CameraUI subscribed to the topic, but doesn't recognized the event. I tested the doorbell with the switch im Homebridge, with this method it works perfectly.
It would be great, if anybody could help me.
To Reproduce
Expected behavior CameraUI should log every change in the given topic and trigger the doorbell when the doorbellMessage is in the doorbellTopic.
Logs These are the mqtt related logs:
Config
The Camera with the doorbell is `Straße` ```json { "logLevel": "debug", "port": 8081, "atHomeSwitch": false, "options": { "videoProcessor": "/usr/local/bin/ffmpeg" }, "ssl": { "active": false, "key": "/ssl/...", "cert": "/ssl/..." }, "http": { "active": true, "port": 7272, "localhttp": false }, "smtp": { "active": false, "port": 2727, "space_replace": "+" }, "ftp": { "active": false, "useFile": false, "port": 5050 }, "mqtt": { "active": true, "tls": false, "host": "iobroker.domain.tld", "port": 1883, "username": "Heide-mqtt", "password": "XXXX" }, "cameras": [ { "name": "Schuppen", "manufacturer": "reolink", "model": "RLC-510WA", "serialNumber": "serial", "motion": false, "motionTimeout": 15, "unbridge": true, "hsv": true, "prebuffering": false, "prebufferLength": 4, "hksvConfig": { "source": "-i rtsp://admin:XXX@192.168.178.7:554", "maxWidth": 1920, "maxHeight": 1080, "maxFPS": 20, "maxBitrate": 2048, "audio": true }, "videoConfig": { "source": "-i rtsp://admin:XXX@192.168.178.7:554", "subSource": "-i rtsp://admin:XXX@192.168.178.7:554", "stillImageSource": "-i https://192.168.178.7/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=randomstring&user=admin&password=XXX", "maxFPS": 20, "maxStreams": 4, "vcodec": "copy", "acodec": "libfdk_aac", "audio": true }, "smtp": { "email": "Schuppen" }, "videoanalysis": { "active": true }, "mqtt": {} }, { "name": "Straße", "manufacturer": "reolink", "model": "RLC-510WA", "serialNumber": "XXX", "motion": false, "motionTimeout": 15, "unbridge": true, "doorbell": true, "hsv": true, "prebuffering": false, "prebufferLength": 4, "hksvConfig": { "source": "-i rtsp://admin:XXX@192.168.178.8:554", "maxWidth": 1920, "maxHeight": 1080, "maxFPS": 20, "maxBitrate": 2048, "audio": true }, "videoConfig": { "source": "-i rtsp://admin:XXX@192.168.178.8:554", "subSource": "-i rtsp://admin:XXX@192.168.178.8:554", "stillImageSource": "-i https://192.168.178.8/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=randomstring&user=admin&password=XXX", "maxFPS": 20, "maxStreams": 4, "vcodec": "copy", "acodec": "libfdk_aac", "audio": true }, "smtp": { "email": "Camera2" }, "videoanalysis": { "active": true }, "mqtt": { "doorbellMessage": "ON", "doorbellTopic": "camera.ui/test" }, "switches": false }, { "name": "Waschküche", "motionTimeout": 15, "videoConfig": { "source": "-i rtsp://admin:XXX@192.168.178.9:554", "stillImageSource": "-i https://192.168.178.9/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=randomstring&user=admin&password=XXX", "stimeout": 10, "maxStreams": 4, "audio": true, "debug": null, "subSource": "-i rtsp://admin:XXX@192.168.178.9:554", "rtspTransport": null, "vcodec": null, "acodec": null }, "mqtt": {}, "smtp": { "email": "Waschküche" }, "videoanalysis": { "active": true }, "unbridge": true, "motion": false, "doorbell": true, "switches": true, "motionDoorbell": false, "excludeSwitch": null, "privacySwitch": false, "manufacturer": "Reolink", "model": "RLC-510WA", "serialNumber": null, "hsv": true, "prebuffering": false, "prebufferLength": 4, "hksvConfig": { "source": "-i rtsp://admin:XXX@192.168.178.8:554", "maxWidth": 1920, "maxHeight": 1080, "maxFPS": 20, "maxBitrate": 2048, "audio": true } } ] } ```Environment