How to Find Where a Home Assistant Camera Feed Goes Stale

Two monitors show the same garden camera view. The yellow ball is stationary on the left and moving on the right.

A camera tile that shows an old frame is an excellent way to discover that a smart home can look perfectly calm while quietly giving up. The useful question is not just “Is the camera working?” It is “At which point did the picture stop being current?”

This guide builds a simple comparison between the camera feed in Home Assistant, the corresponding view in Frigate, and, where available, a view through go2rtc. The goal is to identify the first place a feed appears stale before changing settings or restarting services. I am aiming for a useful diagnosis, not a ceremonial reboot of everything with a network cable.

Quick check: Move an object in view and look for the same change in Home Assistant and Frigate. If Frigate updates while Home Assistant stays frozen, start with the dashboard or browser playback path.

Before you start

  • Access to the Home Assistant dashboard containing the affected camera.
  • Access to the Frigate interface and permission to view its live feed and any recordings.
  • If available, authorised access to the go2rtc interface or another existing way to inspect its stream. This is optional; do not expose a service to the internet just for this test.
  • A browser with developer tools, plus a second browser or device if you have one handy.
  • A safe, privacy-respecting way to create an obvious change in the camera view, with the consent of anyone who could appear in it.

Work on a trusted network. Camera footage, stream URLs and diagnostic logs can contain sensitive information. Keep them out of public posts and shared screenshots.

Compare the live feed in Home Assistant, Frigate and go2rtc

1. Write down what “stale” means

Open the affected camera tile in Home Assistant and describe the symptom in plain language. Is there a frozen image, a blank tile, an error message or a feed that updates but lags? Note the approximate time and whether the problem happens immediately or after the page has been open for a while.

Do not assume a visible image is a live image. A frozen frame can look very convincing, particularly when nothing in the scene is moving. Equally, a blank tile does not prove the camera itself is offline.

2. Make a recognisable change

Arrange a brief, obvious change in the view, such as moving an object with permission. Note when it happened. Watch the Home Assistant tile and check whether the change appears, how long it takes to appear and whether the picture continues updating afterwards.

Use the same reference change for the following comparisons where possible. If you need to repeat it, note the new time. The point is to compare freshness, not to produce a scientifically magnificent stopwatch result.

3. Check the corresponding view in Frigate

Open the affected camera in the Frigate interface. Look for the same change, or make another one and compare both views close together in time. Note whether Frigate shows a current picture, a stale picture or an error.

If Frigate looks current while Home Assistant is stale, the camera is at least supplying a usable picture to the Frigate view at that moment. That makes the Home Assistant presentation path, browser or network path worth investigating. It does not prove which component is responsible.

If both views are stale, look further upstream as well. They may depend on a shared stream, but the exact paths depend on the installation. Two broken views are a clue, not a wiring diagram.

4. Inspect go2rtc if an existing view is available

If you already have authorised access to a go2rtc interface or diagnostic view, find the stream corresponding to the affected camera and check whether it shows current movement. The stream name and available viewing options are site-specific; use your existing configuration or documentation to identify them rather than guessing.

A current go2rtc view alongside a stale Frigate or Home Assistant view narrows attention towards the path after that particular go2rtc view. A stale or unavailable go2rtc view makes its source or upstream connection worth checking. Neither result proves the cause, because the views may use different stream variants or playback methods.

If no suitable view is already available, skip this step. There is no prize for creating an insecure diagnostic shortcut.

5. Compare recordings carefully

If recording was enabled for the affected camera and the period being checked, look in Frigate for footage covering your reference change. Whether footage exists can depend on the configured recording mode and retention rules, which vary by installation.

A recording that contains the change is evidence that footage reached the recording path for that period. It does not guarantee that the live-view path was healthy. Conversely, a missing recording is not proof of a failed camera unless you have first confirmed that the recording configuration should have kept it.

6. Try another browser or device

Without changing the camera configuration, open the same Home Assistant view in another browser or on another authorised device. Repeat the movement check. If possible, compare devices on the same trusted network first; changing both the device and network at once gives you more variables than answers.

If one browser updates and another does not, investigate the failing browser’s playback support, extensions and cached site data. Check the documentation for the installed versions before clearing data or changing browser settings, and be aware that clearing site data may sign you out. If both fail in the same way, that does not rule out a browser-related issue, but it makes a shared path worth checking too.

7. Inspect errors without publishing secrets

Open your browser’s developer tools and look for errors while loading the affected view. The console and network panels can reveal a failed request or connection, although the names and messages vary by browser and integration. Record the error category and time in private notes.

Do not paste complete request URLs, headers, tokens or logs into a public forum. Stream addresses and authentication details can appear in places that look harmless. If you need help, describe the component and error in general terms, then redact sensitive material before sharing anything.

Where a reverse proxy is part of your setup, a failed connection may point towards that path. It might also point elsewhere. Check the relevant documentation for your installed versions rather than copying a random proxy configuration from an old comment thread.

8. Change one thing, then repeat the check

Use the observations to choose one next action. For example, if only one browser fails, investigate that browser first. If every view is stale, check the camera’s status and the existing stream configuration using the documentation for your equipment. Record what you changed, then repeat the same movement check in each available view.

Avoid changing stream settings, dashboard cards and network configuration together. If the picture returns, you want to know why, not conduct a small archaeological dig through your own settings.

How to test your conclusion

Make a short private table or list with one row per view: Home Assistant, Frigate, go2rtc if available, and a recording if one should exist. For each, note the time checked and whether the reference change appeared. Repeat after your single change, and again after the feed has been open long enough to reproduce the original symptom.

A useful outcome is a narrower statement such as “Frigate showed the change while one Home Assistant browser did not”. That is better evidence than “the cameras are flaky”, though it still leaves work to do. If the original failure does not return, note that the cause remains uncertain.

Troubleshooting

  • No view is current: Check camera power, connectivity and the existing upstream stream configuration. Use the camera and integration documentation for your versions. Do not assume a dashboard issue just because the dashboard is where you noticed it.
  • Frigate is current but Home Assistant is not: Compare browsers, inspect errors and review the existing Home Assistant integration or card documentation. Different playback paths can behave differently.
  • Live view works but the expected recording is missing: Verify the recording mode, relevant time period and retention before treating it as a recording failure.
  • Everything works during the check: Keep the notes and repeat when the symptom returns. An intermittent fault is still a fault, even if it chooses to behave while being observed.

The method is deliberately modest: compare visible evidence, protect the footage, and avoid fixing three imaginary problems before finding the real one. Your cameras can remain mysterious about the cat’s motives. Their connection status should at least be open to questioning.

Need help from a forum? See how to write a bug report without sharing private data.

How to Trace a Missing Frigate Detection Through MQTT to Home Assistant

A security camera, network switch, and monitor showing fictional detection activity.

A live camera feed can look perfectly healthy while the detection you wanted has gone missing. Video and detection information do not have to fail together, which is inconvenient but also a useful clue.

My goal here is to follow one deliberate detection across the boundaries: Frigate, MQTT and the Home Assistant automation. I want to identify the first place where the evidence stops, not restart everything until the house develops trust issues.

Quick checks

  1. Check Frigate for the object in the detection overlay.
  2. Watch MQTT for a message that matches the camera and test event.
  3. Open Home Assistant to find a matching trigger and inspect the automation trace.

What you need

  • Access to the relevant camera in Frigate and to Home Assistant.
  • Permission and a safe way to produce an object that the camera already detects.
  • Access to the existing Frigate configuration and the Home Assistant automation you are investigating.
  • Access to MQTT connection information and an authorised MQTT client, if you need to compare subscribers.
  • A way to take notes, including approximate times. Paper remains a surprisingly resilient dependency.

Identify the camera, object type and expected outcome before starting. If an automation controls physical equipment, make the test safe first. Keep people clear and prevent an unintended action using a method appropriate to the equipment. Do not assume a software test is harmless just because the button is on a screen.

Step 1: Define the missing result

Write down what should happen: for example, Frigate should recognise an object, Home Assistant should receive information, or an automation should run. These are separate observations. A missing clip is not automatically a missing detection, and a missing automation action is not automatically a camera fault.

Inspect the existing Frigate configuration for the selected camera and object type. Note any relevant detection filters. Then open the intended Home Assistant automation and identify its trigger: is it based on an MQTT message, a Home Assistant event, an entity state or something else? Keep the actual names private; they are placeholders for this investigation.

Step 2: Check the live feed and detection overlay

Open the camera in Frigate and confirm that the image is current. Look for an ordinary change in the scene, with permission from anyone involved. If the feed is stale or unavailable, investigate the camera and stream path first, including go2rtc where it is involved. Frigate cannot reliably detect an object in a picture it is no longer receiving.

Next, open the camera’s live or debug view and enable the available detection overlay, such as bounding boxes and labels. The location and wording of these controls depend on the Frigate version. Watch the view while someone produces one clear example of the configured object. Note the time and whether a labelled box appears.

This gives you a live observation that does not depend on a clip, snapshot or review item being retained. It is not infallible: you might miss a brief box or choose a view without overlays, and detection filters affect what you see. If necessary, repeat the same simple test while watching. Check your version’s Frigate documentation for its debug view rather than assuming an absent review item proves detection failed.

Step 3: Identify and watch the MQTT topic

Frigate documents an events topic using its configured MQTT topic prefix followed by an events suffix. The commonly documented default is frigate/events, but the prefix can differ. That is a general reference, not a verified topic for this project. Inspect the existing Frigate MQTT configuration and the documentation for your version to identify the actual topic and broker. Confirm that Frigate has MQTT enabled and can reach the broker.

In Home Assistant, open the MQTT integration’s configuration and use its option to listen to a topic. Enter the actual events topic you identified, start listening, and leave the listener open. Produce one controlled detection and watch for a new message. Check the message’s camera, object and time information where present against your test. Frigate event messages can contain changing information about a tracked object, so more than one message may correspond to the same test.

If the integration or listening option is unavailable, inspect the MQTT integration and its reported errors. Use an authorised MQTT client as an alternative listener. Subscribe to the same actual topic on the broker configured for Frigate, then repeat the test. Do not publish experimental messages to Frigate’s production topics.

Privacy warning: MQTT payloads can include camera identifiers, object details, timestamps and other sensitive information. Treat the topic and payload as private too. Do not paste them into a public forum without careful sanitising.

Step 4: Separate publication from subscription trouble

For a useful comparison, listen to the same exact topic with two subscribers during the same test: Home Assistant’s MQTT listener and an independent authorised client connected to the same broker. Record which listener sees the new message. A broker connection indicator alone does not prove either subscriber received it.

  • Both see the message: MQTT delivery to those listeners works for this test. Investigate the automation or integration that is supposed to use it.
  • The independent client sees it, but Home Assistant does not: check that Home Assistant uses the same broker and topic, then inspect its MQTT connection errors and account permissions. Different accounts can have different subscription access.
  • Neither sees it: check the topic, broker, Frigate MQTT connection and relevant permissions. This is not yet proof that Frigate failed to publish: both listeners could be looking in the wrong place or lack access.

If you cannot trust a listener, verify it using an authorised test publisher and a separate test topic permitted by your broker. Confirm that the subscriber receives that known test message, then return to the actual Frigate topic. This checks the listening path without pretending that a green connection icon is a full diagnosis.

Step 5: Inspect the actual Home Assistant trigger

Return to the automation and compare its trigger with what you observed. For an MQTT trigger, check the configured topic and any payload or template constraints against the received message. A message arriving at the MQTT listener does not necessarily satisfy every part of the trigger.

For a Home Assistant event trigger, open Developer Tools, then the Events tool. Listen for the event type specified by the automation and repeat the controlled test. Compare the observed event data with any conditions in the trigger. Home Assistant bus events and MQTT messages are different things, so listening for one is not a substitute for watching the other. Event data can also contain sensitive details.

For a state trigger, find the actual entity in Developer Tools under States and watch its state during the test. History may help with a brief change if it is available. Use the entity named by the automation, not a similarly named camera entity that merely displays video.

Step 6: Investigate a missing or stopped automation

Check that the intended automation is enabled and inspect its traces if any exist. A trace can show where a run stopped, including a condition the run could not satisfy. If there is no trace, do not conclude that the action failed: the trigger may never have matched, or trace availability may be limited by the setup.

Recheck the trigger type and its exact topic, event type or entity. Compare its filters with the evidence you collected during the test. Check for automation configuration errors and confirm that the automation is loaded. If the trigger is observed but still does not match, inspect its additional constraints and templates before changing Frigate.

Running an automation’s actions manually can help isolate an action problem, but it does not prove the trigger works and can operate real equipment. Only do that if the action is safe. I would rather leave a mystery unsolved for another minute than turn troubleshooting into an unscheduled door test.

How to test the result

After any change, repeat the same controlled detection. Note whether the live overlay showed it, whether each MQTT listener received a corresponding message, what Home Assistant observed, and whether the automation produced a trace or the intended safe action. Compare timestamps carefully; interfaces may display them differently.

Change one thing at a time and repeat at least once under similar conditions. If the result varies, record the difference instead of announcing a permanent victory over computers.

Troubleshooting and privacy

If the live feed works but the overlay shows nothing, revisit the configured object type, filters and test conditions. When the overlay shows a detection but no MQTT message appears, verify the exact topic and listening path before changing detection settings. A message that arrives without firing the automation points to its trigger or constraints. If needed, focus on the trigger and its constraints. A trace that stops at a condition tells you which condition to investigate.

When asking for help, describe the first boundary where evidence stops. Remove addresses, passwords, API keys, licence plates, family names, camera locations and other private infrastructure details from logs, screenshots, configuration, MQTT payloads and event data. Check the material again after redacting it. Logs are enthusiastic oversharers.

The useful result is a narrower question: which boundary has evidence on one side and not the other? That is less glamorous than a magic fix, but considerably kinder to everything that was working already.

If the camera view itself is frozen, see how to troubleshoot a stale Home Assistant camera feed.

How to Check Apache on Ubuntu Without Restarting It

A laptop terminal showing simulated service logs beside a small server.

When a website stops behaving, restarting everything is tempting. It is also a good way to disturb the evidence and possibly create a second problem for the first one to talk to.

I prefer to start with a smaller question: is Apache running, and is there an obvious reason it might not be serving the site properly? The goal here is to check the service, inspect its journal and validate its configuration without intentionally editing configuration files or restarting Apache.

That is not quite the same as promising that nothing on the system will change. Commands may be recorded in audit or authentication logs, and even opening a page can create access-log entries or trigger application activity. I have included a browser check as an optional step, with those caveats in mind.

This is not a complete WordPress troubleshooting guide. An active Apache service can still serve a broken application, and valid Apache syntax does not prove that routing or permissions are correct. We are narrowing the problem, not declaring victory over the internet.

Quick start: Check whether Apache is running, read the recent service logs, then test the configuration syntax. Each check gives a different clue and can be run without restarting Apache.

What you will need

  • An Ubuntu server with Apache installed as the standard apache2 service.
  • Shell access to the server and permission to use sudo for the journal and configuration checks.
  • Optionally, a browser and the address you normally use for the site. The address is site-specific; use your own rather than an example from someone else’s server.

These steps do not assume a particular virtual host, document root, WordPress configuration or network layout. The commands are intended to inspect the system, not alter its configuration or service state. If your environment requires a strictly controlled investigation, check its auditing and operational rules before running them.

1. Check the Apache service

Connect to the server using your usual method, then run:

systemctl status apache2.service --no-pager -l

This asks systemd for the service’s current status. The --no-pager option prints the output directly, while -l asks for full lines rather than truncated ones.

Look at the Active line first. An active service tells you systemd currently considers Apache to be running. An inactive or failed service gives you a different place to start. The output may also include recent journal entries, but it is only a snapshot, not a complete history.

Don’t mistake an active service for a healthy website. Apache can be running while an application errors, the wrong site is selected, or a request never reaches the server. Servers are quite capable of being technically present and emotionally unavailable.

2. Read the recent service journal

For more context, ask for the most recent 100 Apache service journal entries from the current boot:

sudo journalctl -u apache2.service -b -n 100 --no-pager

The -u option selects the service, -b limits the output to the current boot, and -n 100 limits how many entries are shown. Read the timestamps and messages around the time the problem occurred, if you know it.

Look for messages about startup failures, configuration problems or permission errors. A message is a clue, not automatically the cause of the current fault. Compare its timing with the symptom before rearranging the server around it.

The journal may not contain every Apache request or error. Depending on the site’s logging configuration, relevant detail may be written to separate log files. Their paths are site-specific, so I would check the existing Apache configuration or the server’s documentation rather than assume a location.

Keep the output private. Logs can contain hostnames, client addresses, request paths and other information you may not want to publish. Redact carefully before asking anyone else to review an excerpt.

3. Check the configuration syntax

Next, ask Apache to check its configuration:

sudo apache2ctl configtest

A successful check normally reports Syntax OK. If the check reports an error, read the message and note any file and line it identifies. This command does not reload Apache or apply a configuration change.

A syntax check has limits. It can tell you that Apache can parse the configuration it reads; it cannot prove that the configuration does what you intended, that WordPress is healthy, or that visitors can reach the site. A warning can also appear alongside a successful syntax result, so read the whole output rather than hunting for two reassuring words.

If you decide a configuration file needs editing, make that a separate, deliberate task. Know how you will back out the change, and run the syntax check again before considering a reload. I am leaving the reload out because the right next action depends on what you find.

4. Optionally check the site in a browser

Open the site’s usual address using its actual hostname. A browser on your normal network gives you a browser check, not necessarily a view from the wider internet. If you specifically need to check external access, use a client on a separate external network, provided you are authorised to do so.

A request can have side effects. It may create access-log entries, and the site or its application may perform additional work. Even loading a page is not guaranteed to be harmless. Skip this step if making a request is unsafe or outside the scope of your investigation.

If you do check, note what happens: does the expected page load, does the browser show a connection error, or does the server return an error page? Avoid submitting forms or triggering administrative actions merely for the sake of a test.

Compare the browser result with the service and configuration checks. For example, a running Apache service plus a browser connection error suggests looking beyond Apache’s process state. A page that loads but contains an application error points towards the application and its logs. Neither observation, on its own, identifies the precise cause.

How to tell whether the checks worked

You are looking for useful observations, not a guaranteed repair. The status command should return information about the Apache service. The journal command should show available entries or indicate that there are none for the selected scope. The configuration test should report its result. If you chose to use a browser, it gives you a separate view from that client’s network.

Write down which check disagrees with your expectation and any relevant timestamps. If everything looks normal but the reported problem is intermittent, that is still useful: you have a baseline to compare with the next occurrence. It is less satisfying than a dramatic fix, but my imaginary troubleshooting cape can stay in the cupboard.

Troubleshooting the checks

  • Service not found: Confirm that Apache is installed and managed as apache2.service on this server. A different installation or service name needs its own documentation; don’t substitute a guessed unit name.
  • Permission denied or incomplete journal access: Confirm that your account is authorised to use sudo. If it isn’t, ask the server administrator rather than changing permissions as a workaround.
  • No useful journal entries: The current boot may not include the event, or relevant details may be in Apache’s separately configured logs. Check where this server writes them.
  • Configuration test fails: Use the reported error and location as the starting point. Don’t assume the line mentioned is the only problem, and avoid editing a production configuration until you understand the change and recovery plan.
  • Apache is active but the site still fails: Check the exact browser symptom, if a request is appropriate, then investigate the relevant application, site configuration or network path. Service status alone cannot distinguish them.

The useful outcome is a smaller question. Instead of a vague report that the website is broken, you might have observations showing that Apache is active, the syntax check passes and a browser receives an application error. That is not a diagnosis, but it is considerably easier to investigate.

If you need help interpreting an error, write a bug report with a redacted log excerpt.

Automated PowerShell Script for Updating UserPrincipalNames in Active Directory After Domain Change

A UPN suffix change updates the part of the Active Directory sign-in name after the @ symbol. This archived example shows how I scheduled the change after a domain move.

Before scheduling the task

Before scheduling a UPN suffix change, confirm the destination suffix is configured and check the accounts the script will touch. Try the change on a small test group and verify cloud sign-in after directory sync.

You have completed the domain work in relation to your O365 tenancy, however the usernames replicated to AAD are in “username@old suffix.com” format.

Most organizations have inherited a “username@old-domain.local” suffix. Time goes on and the organization changes its name, amalgamates, etc, for whatever reason, effectively changes its name.

The target of the script is the group a on-prem active directory group.

The following script will serve to allow you to run the script wrapped in a scheduled task in order to change the full upn for the usernames in the group with from “username@old-company.local”(no joke intended), through to “firstname.lastname@new-domain.com” format.

I have used the script on a nightly basis but do not see the reason to run it more frequently.

Import-Module ActiveDirectory
$group = "O365 Users"
$newsuffix = "new-suffix.com"
$users = get-adgroupmember -Identity $group |Get-ADUser |sort userprincipalname
$from = "servername@domain.com"
$to = "admin-user@domain.com"
$tofailedrecipient = "poor.sysadmin@domain.com"

foreach ($user in $users){
    $upn = (($user.givenname)+"."+($user.surname)+"@"+$newsuffix).tostring()
    $upnfromad = ($user.userprincipalname).tostring()
    if ($upn -notmatch $upnfromad) {
        Try{
            $emailbody = "<HTML><HEAD><META http-equiv=""Content-Type"" content=""text/html; charset=iso-8859-1"" /><TITLE></TITLE></HEAD>"
            $emailbody = "<BODY bgcolor=""#FFFFFF"" style=""font-size: Small; font-family: Arial; color: #000000""><P>"
            $emailbody += "<p>The following UPNs have been updated:</p>"
            Set-ADUser -Identity $user.SamAccountName -UserPrincipalName "$($user.GivenName).$($user.Surname)@$newsuffix"
            $emailbody += $upn
            $emailbody += "<br>"
            $successMessageParameters = @{
                        Subject = "The following addresses have been updated - $((Get-Date).ToShortDateString())"
                        Body = $emailbody
                        From = $from
                        To = $to
                        SmtpServer = "x.x.x.x"
                        BodyAsHTML = $true
                        }
            $emailbody += "<p>Regards,</p>"
            $emailbody += "<p>Your friendly Office 365 team</p>"
            Send-MailMessage @successMessageParameters
            }
        Catch [Exception] {
            $ErrorMessage = $_.Exception.Message
            $failedMessageParameters = @{
                        Subject = "The following error was encountered when attempting to update the UPN's"
                        Body = ("'$ErrorMessage'") | Out-String
                        From = $from
                        To = $tofailedrecipient
                        SmtpServer = "x.x.x.x"
                        }
            Send-MailMessage @failedMessageParameters -BodyAsHtml
        }
    }
}

Related reading on this site: Change Suffix To AD Security group.