tsightler / ring-mqtt

Ring devices to MQTT Bridge
MIT License
556 stars 100 forks source link

Live Stream turning on by itself #737

Closed CKL1976 closed 10 months ago

CKL1976 commented 10 months ago

Describe the Bug

Live Stream keeps turning on even after i turn it of via automation or manually

Steps to Reproduce

Manually toggle live stream in Home Assistant

Expected Behavior

Turn off should keep stream turned off

Log Output

2023-09-22T15:39:29.228Z ring-mqtt [Front Door] Received set live stream state OFF
2023-09-22T15:39:29.229Z ring-wrtc [Front Door] Live stream WebRTC session has disconnected
2023-09-22T15:39:29.230Z ring-mqtt [Front Door] ring/630c6550-ede3-4ef0-8bcc-eb7a1636ef41/camera/54e019cff47e/stream/state OFF
2023-09-22T15:39:29.230Z ring-attr [Front Door] ring/630c6550-ede3-4ef0-8bcc-eb7a1636ef41/camera/54e019cff47e/stream/attributes {"status":"inactive"}
2023-09-22T15:39:29.253Z ring-rtsp [Front Door] State indicates live stream has gone inactive
2023-09-22T15:39:39.252Z ring-rtsp [go2rtc] WRN github.com/AlexxIT/go2rtc/internal/streams/producer.go:171 > error=EOF url="exec:/app/ring-mqtt/scripts/start-stream.sh 54e019cff47e live ring/630c6550-ede3-4ef0-8bcc-eb7a1636ef41/camera/54e019cff47e {output}"
2023-09-22T15:39:39.252Z ring-rtsp [go2rtc] DBG [streams] retry=0 to url=exec:/app/ring-mqtt/scripts/start-stream.sh 54e019cff47e live ring/630c6550-ede3-4ef0-8bcc-eb7a1636ef41/camera/54e019cff47e {output}
2023-09-22T15:39:39.252Z ring-rtsp [go2rtc] DBG [exec] run url="exec:/app/ring-mqtt/scripts/start-stream.sh 54e019cff47e live ring/630c6550-ede3-4ef0-8bcc-eb7a1636ef41/camera/54e019cff47e {output}"
2023-09-22T15:39:39.258Z ring-rtsp [Front Door] Sending command to activate live stream ON-DEMAND
2023-09-22T15:39:39.259Z ring-mqtt [Front Door] Received set live stream state ON-DEMAND rtsp://127.0.0.1:8554/7d25761cd21fa0d25e0a989f1381939c

Screenshots

No response

Config File

none provided

Install Type

Home Assistant

Version

2023.9.2

Operating System

2023.9.2

Architecture

Proxmox

Machine Details

NUC12