tsightler / ring-mqtt

Ring devices to MQTT Bridge
MIT License
569 stars 103 forks source link

Status always online #674

Closed WoCha-FR closed 1 year ago

WoCha-FR commented 1 year ago

Describe the Bug

When i unplug my stickup_cam_mini camera, the mqtt status stay 'online' but it appears 'offline' in the ring app

Steps to Reproduce

Unplug a stickup_cam_mini camera and wait for 5 minutes

Expected Behavior

MQTT Status of camera pass to 'offline'

Log Output

0000|2023-07-20T19:36:40.126Z ring-mqtt Reading latest data from state file: /var/www/html/plugins/mqttRing/resources/ring-mqtt/ring-state.json
0001|2023-07-20T19:36:40.128Z ring-mqtt Succesfully started the token generator web UI
0002|2023-07-20T19:36:40.133Z ring-mqtt MQTT URL: mqtt://jeedom:********@127.0.0.1:1883
0003|2023-07-20T19:36:40.201Z ring-mqtt Attempting connection to Ring API using saved refresh token...
0004|2023-07-20T19:36:42.963Z ring-mqtt Successfully established connection to Ring API using saved token
0005|2023-07-20T19:36:42.965Z ring-mqtt Received updated refresh token
0006|2023-07-20T19:36:42.965Z ring-mqtt Saving updated refresh token to state file
0007|2023-07-20T19:36:43.996Z ring-mqtt Successfully saved updated state file: /var/www/html/plugins/mqttRing/resources/ring-mqtt/ring-state.json
0008|2023-07-20T19:36:44.965Z ring-mqtt Attempting connection to MQTT broker...
0009|2023-07-20T19:36:45.156Z ring-mqtt MQTT connection established, processing Ring locations...
0010|2023-07-20T19:36:47.994Z ring-mqtt ------------------------------------------------------------------------------------------
0011|2023-07-20T19:36:47.994Z ring-mqtt This account has access to the following locations:
0012|2023-07-20T19:36:47.995Z ring-mqtt            Rozier-en-Donzy (**LOCATION_ID**)
0013|2023-07-20T19:36:47.995Z ring-mqtt
0014|2023-07-20T19:36:47.995Z ring-mqtt IMPORTANT: If *ANY* alarm or smart lighting hubs at these locations are *OFFLINE*
0015|2023-07-20T19:36:47.996Z ring-mqtt            the device discovery process below will hang and no devices will be
0016|2023-07-20T19:36:47.996Z ring-mqtt            published!
0017|2023-07-20T19:36:47.996Z ring-mqtt
0018|2023-07-20T19:36:47.996Z ring-mqtt            If the message "Device Discovery Complete!" is not logged below, please
0019|2023-07-20T19:36:47.996Z ring-mqtt            carefully check the Ring app for any hubs or smart lighting devices
0020|2023-07-20T19:36:47.996Z ring-mqtt            that are in offline state and either remove them from the location or
0021|2023-07-20T19:36:47.996Z ring-mqtt            bring them back online prior to restarting ring-mqtt.
0022|2023-07-20T19:36:47.996Z ring-mqtt
0023|2023-07-20T19:36:47.996Z ring-mqtt            If desired, the "location_ids" config option can be used to restrict
0024|2023-07-20T19:36:47.996Z ring-mqtt            discovery to specific locations. See the documentation for details.
0025|2023-07-20T19:36:47.996Z ring-mqtt ------------------------------------------------------------------------------------------
0026|2023-07-20T19:36:47.996Z ring-mqtt Starting Device Discovery...
0027|2023-07-20T19:36:47.996Z ring-mqtt
0028|2023-07-20T19:36:47.996Z ring-mqtt New location: Rozier-en-Donzy (**LOCATION_ID**)
0029|2023-07-20T19:36:55.204Z ring-mqtt   New device: Rozier-en-Donzy Alarm (712cc91f-aa7f-43e5-9e95-ae9756ad9e74)
0030|2023-07-20T19:36:55.205Z ring-mqtt               security-panel
0031|2023-07-20T19:36:55.208Z ring-mqtt   New device: Rozier-en-Donzy Base Station (97101566-b81d-4693-b157-abd7adbc114e)
0032|2023-07-20T19:36:55.209Z ring-mqtt               hub.redsky
0033|2023-07-20T19:36:55.214Z ring-mqtt   New device: DoublePorte (b196ed9d-7ffa-442b-9c1d-d4f36531af3a)
0034|2023-07-20T19:36:55.214Z ring-mqtt               sensor.contact
0035|2023-07-20T19:36:55.215Z ring-mqtt   New device: Repas (0ee28bc4-4a74-497d-9a26-d18ce61310aa)
0036|2023-07-20T19:36:55.215Z ring-mqtt               sensor.motion
0037|2023-07-20T19:36:55.216Z ring-mqtt   New device: Rozier-en-Donzy Range Extender (f9ea0b89-ee92-4c0c-ad1c-cd1a2d812f42)
0038|2023-07-20T19:36:55.216Z ring-mqtt               range-extender.zwave
0039|2023-07-20T19:36:55.217Z ring-mqtt   New device: Pavé numérique (4c7e27e4-7b61-4e0c-879e-8dc1de359aa6)
0040|2023-07-20T19:36:55.217Z ring-mqtt               security-keypad
0041|2023-07-20T19:36:55.217Z ring-mqtt   New device: Derrière (367663db-4b80-4c19-83ea-3b0f8e401eec)
0042|2023-07-20T19:36:55.217Z ring-mqtt               sensor.contact
0043|2023-07-20T19:36:55.218Z ring-mqtt   New device: Entrée (14013019-6d26-459d-9245-9f7b3e4eb27f)
0044|2023-07-20T19:36:55.218Z ring-mqtt               sensor.contact
0045|2023-07-20T19:36:55.219Z ring-mqtt   New device: Escalier (5b810ae9-0987-4145-980e-d64294f472c1)
0046|2023-07-20T19:36:55.219Z ring-mqtt               sensor.motion
0047|2023-07-20T19:36:55.220Z ring-mqtt   New device: Salon (55053044-74c6-4025-92f2-9458bd8a5a9f)
0048|2023-07-20T19:36:55.220Z ring-mqtt               sensor.motion
0049|2023-07-20T19:36:55.221Z ring-mqtt   New device: SaM (462fa2ba-1cfa-4628-afbc-fb9ed7e49726)
0050|2023-07-20T19:36:55.221Z ring-mqtt               sensor.motion
0051|2023-07-20T19:36:55.221Z ring-mqtt   New device: Porte de garage (7a6807ea-695e-41b1-b14d-314ad0a5fc7f)
0052|2023-07-20T19:36:55.221Z ring-mqtt               sensor.contact
0053|2023-07-20T19:36:55.232Z ring-mqtt   New device: Sous-Sol (343ea4432bd7)
0054|2023-07-20T19:36:55.232Z ring-mqtt               stickup_cam_mini
0055|2023-07-20T19:36:55.236Z ring-mqtt   New device: Hall (9c7613a1a0cc)
0056|2023-07-20T19:36:55.236Z ring-mqtt               cocoa_camera
0057|2023-07-20T19:36:55.240Z ring-mqtt   New device: Jardin (54e019d2f5ee)
0058|2023-07-20T19:36:55.240Z ring-mqtt               floodlight_pro
0059|2023-07-20T19:36:55.246Z ring-mqtt   New device: Devant (54e019d2f35c)
0060|2023-07-20T19:36:55.247Z ring-mqtt               floodlight_pro
0061|2023-07-20T19:36:55.253Z ring-mqtt   New device: Palier (9c7613a24e09)
0062|2023-07-20T19:36:55.254Z ring-mqtt               cocoa_camera
0063|2023-07-20T19:36:55.267Z ring-mqtt   New device: Sonnette (343ea477d55b)
0064|2023-07-20T19:36:55.268Z ring-mqtt               cocoa_doorbell
0065|2023-07-20T19:36:55.674Z ring-mqtt [Palier] Could not retrieve recording URL for any motion event, assuming no Ring Protect subscription
0066|2023-07-20T19:36:56.008Z ring-mqtt [Sonnette] Unable to retrieve most recent motion event for this camera
0067|2023-07-20T19:36:56.207Z ring-mqtt [Rozier-en-Donzy Base Station] Account does not have access to set volume on base station, disabling volume control
0068|2023-07-20T19:36:56.246Z ring-mqtt Successfully saved updated state file: /var/www/html/plugins/mqttRing/resources/ring-mqtt/ring-state.json
0069|2023-07-20T19:36:59.272Z ring-mqtt
0070|2023-07-20T19:36:59.272Z ring-mqtt Device Discovery Complete!
0071|2023-07-20T19:36:59.273Z ring-rtsp ------------------------------------------------------------------------------------------
0072|2023-07-20T19:36:59.273Z ring-rtsp Creating go2rtc configuration and starting go2rtc process...
0073|2023-07-20T19:36:59.329Z ring-rtsp Successfully wrote go2rtc configuration file: /var/www/html/plugins/mqttRing/resources/ring-mqtt/go2rtc.yaml
0074|2023-07-20T19:36:59.398Z ring-rtsp The go2rtc process was started successfully
0075|2023-07-20T19:36:59.705Z ring-rtsp [go2rtc] INF go2rtc version 1.6.0 linux/amd64
0076|2023-07-20T19:36:59.706Z ring-rtsp [go2rtc] INF [rtsp] listen addr=:8554
0077|2023-07-20T19:36:59.706Z ring-rtsp [go2rtc] DBG [hass] can't import config: open .storage/core.config_entries: no such file or directory
0078|2023-07-20T19:37:01.398Z ring-rtsp ------------------------------------------------------------------------------------------
0079|2023-07-20T19:37:02.398Z ring-mqtt Websocket for location id **LOCATION_ID** is connected
0080|2023-07-20T19:37:04.632Z ring-mqtt [Rozier-en-Donzy Alarm] ring/**LOCATION_ID**/alarm/712cc91f-aa7f-43e5-9e95-ae9756ad9e74/status online
0081|2023-07-20T19:37:04.633Z ring-mqtt [Rozier-en-Donzy Base Station] ring/**LOCATION_ID**/alarm/97101566-b81d-4693-b157-abd7adbc114e/status online
0082|2023-07-20T19:37:04.634Z ring-mqtt [DoublePorte] ring/**LOCATION_ID**/alarm/b196ed9d-7ffa-442b-9c1d-d4f36531af3a/status online
0083|2023-07-20T19:37:04.635Z ring-mqtt [Repas] ring/**LOCATION_ID**/alarm/0ee28bc4-4a74-497d-9a26-d18ce61310aa/status online
0084|2023-07-20T19:37:04.636Z ring-mqtt [Rozier-en-Donzy Range Extender] ring/**LOCATION_ID**/alarm/f9ea0b89-ee92-4c0c-ad1c-cd1a2d812f42/status online
0085|2023-07-20T19:37:04.637Z ring-mqtt [Pavé numérique] ring/**LOCATION_ID**/alarm/4c7e27e4-7b61-4e0c-879e-8dc1de359aa6/status online
0086|2023-07-20T19:37:04.638Z ring-mqtt [Derrière] ring/**LOCATION_ID**/alarm/367663db-4b80-4c19-83ea-3b0f8e401eec/status online
0087|2023-07-20T19:37:04.639Z ring-mqtt [Entrée] ring/**LOCATION_ID**/alarm/14013019-6d26-459d-9245-9f7b3e4eb27f/status online
0088|2023-07-20T19:37:04.639Z ring-mqtt [Escalier] ring/**LOCATION_ID**/alarm/5b810ae9-0987-4145-980e-d64294f472c1/status online
0089|2023-07-20T19:37:04.640Z ring-mqtt [Salon] ring/**LOCATION_ID**/alarm/55053044-74c6-4025-92f2-9458bd8a5a9f/status online
0090|2023-07-20T19:37:04.641Z ring-mqtt [SaM] ring/**LOCATION_ID**/alarm/462fa2ba-1cfa-4628-afbc-fb9ed7e49726/status online
0091|2023-07-20T19:37:04.642Z ring-mqtt [Porte de garage] ring/**LOCATION_ID**/alarm/7a6807ea-695e-41b1-b14d-314ad0a5fc7f/status online
0092|2023-07-20T19:37:04.643Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/status online
0093|2023-07-20T19:37:04.643Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/status online
0094|2023-07-20T19:37:04.645Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/status online
0095|2023-07-20T19:37:04.646Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/status online
0096|2023-07-20T19:37:04.647Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/status online
0097|2023-07-20T19:37:04.647Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/status online
0098|2023-07-20T19:37:06.634Z ring-mqtt [Rozier-en-Donzy Alarm] ring/**LOCATION_ID**/alarm/712cc91f-aa7f-43e5-9e95-ae9756ad9e74/alarm/state disarmed
0099|2023-07-20T19:37:06.638Z ring-mqtt [Rozier-en-Donzy Alarm] ring/**LOCATION_ID**/alarm/712cc91f-aa7f-43e5-9e95-ae9756ad9e74/siren/state OFF
0100|2023-07-20T19:37:06.642Z ring-mqtt [DoublePorte] ring/**LOCATION_ID**/alarm/b196ed9d-7ffa-442b-9c1d-d4f36531af3a/contact/state OFF
0101|2023-07-20T19:37:06.643Z ring-mqtt [DoublePorte] ring/**LOCATION_ID**/alarm/b196ed9d-7ffa-442b-9c1d-d4f36531af3a/bypass_mode/state Never
0102|2023-07-20T19:37:06.645Z ring-mqtt [Repas] ring/**LOCATION_ID**/alarm/0ee28bc4-4a74-497d-9a26-d18ce61310aa/motion/state OFF
0103|2023-07-20T19:37:06.645Z ring-mqtt [Repas] ring/**LOCATION_ID**/alarm/0ee28bc4-4a74-497d-9a26-d18ce61310aa/bypass_mode/state Never
0104|2023-07-20T19:37:06.648Z ring-mqtt [Pavé numérique] ring/**LOCATION_ID**/alarm/4c7e27e4-7b61-4e0c-879e-8dc1de359aa6/volume/state 30
0105|2023-07-20T19:37:06.649Z ring-mqtt [Pavé numérique] ring/**LOCATION_ID**/alarm/4c7e27e4-7b61-4e0c-879e-8dc1de359aa6/motion/state OFF
0106|2023-07-20T19:37:06.651Z ring-mqtt [Derrière] ring/**LOCATION_ID**/alarm/367663db-4b80-4c19-83ea-3b0f8e401eec/contact/state OFF
0107|2023-07-20T19:37:06.651Z ring-mqtt [Derrière] ring/**LOCATION_ID**/alarm/367663db-4b80-4c19-83ea-3b0f8e401eec/bypass_mode/state Never
0108|2023-07-20T19:37:06.653Z ring-mqtt [Entrée] ring/**LOCATION_ID**/alarm/14013019-6d26-459d-9245-9f7b3e4eb27f/contact/state ON
0109|2023-07-20T19:37:06.653Z ring-mqtt [Entrée] ring/**LOCATION_ID**/alarm/14013019-6d26-459d-9245-9f7b3e4eb27f/bypass_mode/state Never
0110|2023-07-20T19:37:06.655Z ring-mqtt [Escalier] ring/**LOCATION_ID**/alarm/5b810ae9-0987-4145-980e-d64294f472c1/motion/state OFF
0111|2023-07-20T19:37:06.655Z ring-mqtt [Escalier] ring/**LOCATION_ID**/alarm/5b810ae9-0987-4145-980e-d64294f472c1/bypass_mode/state Never
0112|2023-07-20T19:37:06.657Z ring-mqtt [Salon] ring/**LOCATION_ID**/alarm/55053044-74c6-4025-92f2-9458bd8a5a9f/motion/state OFF
0113|2023-07-20T19:37:06.657Z ring-mqtt [Salon] ring/**LOCATION_ID**/alarm/55053044-74c6-4025-92f2-9458bd8a5a9f/bypass_mode/state Never
0114|2023-07-20T19:37:06.661Z ring-mqtt [SaM] ring/**LOCATION_ID**/alarm/462fa2ba-1cfa-4628-afbc-fb9ed7e49726/motion/state OFF
0115|2023-07-20T19:37:06.661Z ring-mqtt [SaM] ring/**LOCATION_ID**/alarm/462fa2ba-1cfa-4628-afbc-fb9ed7e49726/bypass_mode/state Never
0116|2023-07-20T19:37:06.662Z ring-mqtt [Porte de garage] ring/**LOCATION_ID**/alarm/7a6807ea-695e-41b1-b14d-314ad0a5fc7f/contact/state OFF
0117|2023-07-20T19:37:06.663Z ring-mqtt [Porte de garage] ring/**LOCATION_ID**/alarm/7a6807ea-695e-41b1-b14d-314ad0a5fc7f/bypass_mode/state Never
0118|2023-07-20T19:37:06.665Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/siren/state OFF
0119|2023-07-20T19:37:06.666Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/motion_detection/state OFF
0120|2023-07-20T19:37:06.667Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/motion_warning/state OFF
0121|2023-07-20T19:37:06.673Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/siren/state OFF
0122|2023-07-20T19:37:06.674Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/motion_detection/state OFF
0123|2023-07-20T19:37:06.678Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/light/state OFF
0124|2023-07-20T19:37:06.679Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/siren/state OFF
0125|2023-07-20T19:37:06.679Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/motion_detection/state OFF
0126|2023-07-20T19:37:06.680Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/motion_warning/state OFF
0127|2023-07-20T19:37:06.684Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/light/state OFF
0128|2023-07-20T19:37:06.685Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/siren/state OFF
0129|2023-07-20T19:37:06.685Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/motion_detection/state OFF
0130|2023-07-20T19:37:06.686Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/motion_warning/state OFF
0131|2023-07-20T19:37:06.692Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/siren/state OFF
0132|2023-07-20T19:37:06.693Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/motion_detection/state OFF
0133|2023-07-20T19:37:06.694Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/stream/state OFF
0134|2023-07-20T19:37:06.696Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/motion/state OFF
0135|2023-07-20T19:37:06.697Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/motion_duration/state 180
0136|2023-07-20T19:37:06.697Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/snapshot_mode/state Auto
0137|2023-07-20T19:37:06.698Z ring-mqtt [Palier] Snapshots are unavailable, check if motion capture is disabled manually or via modes settings
0138|2023-07-20T19:37:06.698Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/snapshot/image 
0139|2023-07-20T19:37:06.699Z ring-mqtt [Palier] ring/**LOCATION_ID**/camera/9c7613a24e09/snapshot_interval/state 600
0140|2023-07-20T19:37:06.705Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/motion_detection/state OFF
0141|2023-07-20T19:37:07.150Z ring-mqtt [Sonnette] No event recording corresponding to Motion 1 was found in device event history
0142|2023-07-20T19:37:07.150Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/stream/state OFF
0143|2023-07-20T19:37:07.151Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/event_stream/state OFF
0144|2023-07-20T19:37:07.153Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/event_select/state Motion 1
0145|2023-07-20T19:37:07.153Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/motion/state OFF
0146|2023-07-20T19:37:07.154Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/ding/state OFF
0147|2023-07-20T19:37:07.155Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/ding_duration/state 180
0148|2023-07-20T19:37:07.155Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/motion_duration/state 180
0149|2023-07-20T19:37:07.156Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/snapshot_mode/state Auto
0150|2023-07-20T19:37:07.156Z ring-mqtt [Sonnette] Snapshots are unavailable, check if motion capture is disabled manually or via modes settings
0151|2023-07-20T19:37:07.156Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/snapshot/image 
0152|2023-07-20T19:37:07.157Z ring-mqtt [Sonnette] ring/**LOCATION_ID**/camera/343ea477d55b/snapshot_interval/state 600
0153|2023-07-20T19:37:07.205Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/stream/state OFF
0154|2023-07-20T19:37:07.206Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/event_stream/state OFF
0155|2023-07-20T19:37:07.207Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/event_select/state Motion 1
0156|2023-07-20T19:37:07.208Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/motion/state OFF
0157|2023-07-20T19:37:07.208Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/motion_duration/state 180
0158|2023-07-20T19:37:07.209Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/snapshot_mode/state Auto
0159|2023-07-20T19:37:07.209Z ring-mqtt [Hall] Snapshots are unavailable, check if motion capture is disabled manually or via modes settings
0160|2023-07-20T19:37:07.209Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/snapshot/image 
0161|2023-07-20T19:37:07.209Z ring-mqtt [Hall] ring/**LOCATION_ID**/camera/9c7613a1a0cc/snapshot_interval/state 600
0162|2023-07-20T19:37:07.234Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/stream/state OFF
0163|2023-07-20T19:37:07.236Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/event_stream/state OFF
0164|2023-07-20T19:37:07.237Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/event_select/state Motion 1
0165|2023-07-20T19:37:07.237Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/motion/state OFF
0166|2023-07-20T19:37:07.238Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/motion_duration/state 180
0167|2023-07-20T19:37:07.238Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/snapshot_mode/state Auto
0168|2023-07-20T19:37:07.239Z ring-mqtt [Devant] Snapshots are unavailable, check if motion capture is disabled manually or via modes settings
0169|2023-07-20T19:37:07.239Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/snapshot/image 
0170|2023-07-20T19:37:07.239Z ring-mqtt [Devant] ring/**LOCATION_ID**/camera/54e019d2f35c/snapshot_interval/state 30
0171|2023-07-20T19:37:07.245Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/stream/state OFF
0172|2023-07-20T19:37:07.246Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/event_stream/state OFF
0173|2023-07-20T19:37:07.247Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/event_select/state Motion 1
0174|2023-07-20T19:37:07.247Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/motion/state OFF
0175|2023-07-20T19:37:07.248Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/motion_duration/state 180
0176|2023-07-20T19:37:07.248Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/snapshot_mode/state Auto
0177|2023-07-20T19:37:07.248Z ring-mqtt [Sous-Sol] Snapshots are unavailable, check if motion capture is disabled manually or via modes settings
0178|2023-07-20T19:37:07.249Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/snapshot/image 
0179|2023-07-20T19:37:07.249Z ring-mqtt [Sous-Sol] ring/**LOCATION_ID**/camera/343ea4432bd7/snapshot_interval/state 30
0180|2023-07-20T19:37:07.257Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/stream/state OFF
0181|2023-07-20T19:37:07.257Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/event_stream/state OFF
0182|2023-07-20T19:37:07.258Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/event_select/state Motion 1
0183|2023-07-20T19:37:07.258Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/motion/state OFF
0184|2023-07-20T19:37:07.259Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/motion_duration/state 180
0185|2023-07-20T19:37:07.259Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/snapshot_mode/state Auto
0186|2023-07-20T19:37:07.259Z ring-mqtt [Jardin] Snapshots are unavailable, check if motion capture is disabled manually or via modes settings
0187|2023-07-20T19:37:07.259Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/snapshot/image 
0188|2023-07-20T19:37:07.259Z ring-mqtt [Jardin] ring/**LOCATION_ID**/camera/54e019d2f5ee/snapshot_interval/state 30

Screenshots

No response

Config File

{
"mqtt_url":"",
"mqtt_options":"",
"livestream_user":"",
"livestream_pass":"",
"enable_cameras":true,
"enable_modes":false,
"enable_panic":false,
"hass_topic":"ring\/jeedom",
"ring_topic":"ring",
"location_ids":[""]}

Install Type

Manual & Docker

Version

5.5.0

Operating System

Debian

Architecture

x86_64 & amd64

Machine Details

Physical x86_64 & Docker on RPI4

tsightler commented 1 year ago

This is not really a bug per-se, even though I can understand why you might think so. As designed, ring-mqtt does not really monitor the status of individual devices, online/offline status for cameras specifically only detects if ring-mqtt can communicate with Ring servers, not if a camera itself is actively online or not.

I'm not saying it's not a nice feature request, I can put it on the backlog, but it's not something that I consider high priority at this time so I can't say when/if it might ever come right now. Closing for now.