FAQ and Troubleshooting - TheThinkingHome/device_sentinel GitHub Wiki

Quick answers to setup questions, and to things that look wrong but usually aren't. Pick a question to jump to its answer.

Getting Started

  1. Do I Have to Configure Anything Right Away?
  2. How Is This Different From a Blueprint?
  3. What Is the Difference Between Exclude and Mute?
  4. What Should I Exclude or Mute?
  5. How Do I Get the Daily Brief by Email?
  6. I Can't Find a Tab or a Button. Where Is It?

How It Works

  1. Why Devices, Not Entities?
  2. What Is a Gap?
  3. What Is a Bad Signal Day?
  4. What Is the Difference Between a Low and a Falling Battery?
  5. Where Does a Device's Battery Type Come From?
  6. Can a Battery I Enter Help Battery Notes?
  7. Why Does a Nearly Full Battery Show No Forecast?
  8. Why Is an ESPHome Device or a Matter Light Never Reported Frozen?
  9. Does a Restart Make It Forget Everything?
  10. Will It Slow Down Home Assistant?

Understanding the Numbers

  1. Why Is My "Watched" Count Lower Than My Device Count?
  2. Why Is My "Learned" Count So Low?
  3. Why Does the Status Sensor Say "Learning"?

Troubleshooting

  1. I Muted a Device by Accident. Does It Start Over?
  2. What Does "Never Reported" Mean?
  3. Why Isn't a Dead Device in the "Device: Frozen" Sensor?
  4. My Battery Is Above the Threshold but Still Reported Low
  5. A Device Keeps Dropping Out. How Do I Stop Hearing About It?
  6. I Acknowledged a Problem. Why Is It Still on the List?
  7. My Zigbee Coordinator Crashed. Will I Get an Alert for Each Device?
  8. All My MQTT Devices Went Down at the Same Second
  9. Error: Notification Service Not Found
  10. My House Lost Power. Is What It Learned Lost?
  11. I Replaced a Battery. What Do I Do?
  12. My Bluetooth Proxy Is Listed Three Times. Will It Be Reported Three Times?
  13. A Device Has the Wrong Type. Does It Matter?
  14. I Found a Bug. What Do You Need?
  15. A Device Is Working but Still Listed After a Restart. Why?

Getting Started

1. Do I Have to Configure Anything Right Away?

No. Device Sentinel starts with sensible defaults. On day one, choose where alerts go under Notifications and Daily Brief, then open the Recommendations tab on the dashboard and turn on any Last Seen, Battery or Z-Wave status sensor it lists as switched off. Installation and Setup walks through the first two weeks.

2. How Is This Different From a Blueprint?

A blueprint asks you to keep a list of entities and guess a timeout. Device Sentinel needs no list and learns how often each device reports, so a busy motion sensor and a sleepy door sensor each get a fair wait.

3. What Is the Difference Between Exclude and Mute?

Exclude is for things that aren't hardware in your house. Nothing about an excluded integration or device is learned or kept, and what it had recorded is discarded at the next local midnight, so taking it back before then loses nothing. Mute keeps a device off the Problem List and out of reports and alerts, but Device Sentinel still watches it and keeps its history. Lift a mute months later and the device is judged again at once. Both are on Exclusions and Muting.

4. What Should I Exclude or Mute?

A new install already excludes phones (Mobile App), Ping, Spook, Fully Kiosk Browser, your router integration, Music Assistant, Alexa Media Player, Google Cast and the TV integrations. Others Device Sentinel recommends excluding get a card on the Recommendations tab, with an Exclude button. Mute what you don't want to hear about, such as Bluetooth proxies, wall dashboard screens or seasonal smart plugs. If you aren't sure, leave it watched; you can mute it later.

5. How Do I Get the Daily Brief by Email?

Set up Home Assistant's SMTP integration and add a recipient. Each recipient then appears under Send the Full Brief To on Notifications and Daily Brief as "Email, HTML". Choose it from the list; an email address typed into the field will not work. Sending the Daily Brief by Email has the steps, with Gmail as the example. Without email, the dashboard's Daily Brief tab shows any of the last fourteen days.

6. I Can't Find a Tab or a Button. Where Is It?

It is probably in Advanced. Simple shows what is broken and what to do about it; Advanced adds the trends, charts and setup details, with the Signal Trends tab. Switch the view at the top of the dashboard, or set the view it opens in on the Advanced screen.

How It Works

7. Why Devices, Not Entities?

One answer per physical device, not thirty alerts for one dead weather station. Any of a device's own entities reporting proves the device is alive. See Freeze Detection.

8. What Is a Gap?

The time between two reports from a device. Device Sentinel learns each device's usual longest gap and reports it frozen when a gap runs well past that. See Freeze Detection.

9. What Is a Bad Signal Day?

A day when a device's radio link was weaker than its own normal by more than you allow. See Signal Strength.

10. What Is the Difference Between a Low and a Falling Battery?

Low is at or under its battery type's threshold today: 10% for alkaline, 20% for lithium, other and rechargeable by default. Falling will reach your threshold within Days Till Low Warning, 30 days by default. A battery falling faster and faster is reported; one falling at a steady pace is listed under Batteries to Watch in the Daily Brief and on Battery Trends. See Low Battery.

11. Where Does a Device's Battery Type Come From?

From your answer for that device first, then your answer for another device of the same model, then the device library of Battery Notes, which is built into Device Sentinel. You don't need Battery Notes installed, and an installed Battery Notes is never read. A device none of these covers reads "Not Set" beside Power on its page; press it to choose the battery, and your answer covers each device of the same model.

12. Can a Battery I Enter Help Battery Notes?

Yes. After you add or change a battery type, a "Send to Battery Notes" button opens Battery Notes' New Device form, filled in with the device's maker and model. Battery Notes' author reviews each entry by hand, and an accepted entry reaches Device Sentinel with a later release. The button isn't offered for a wired device, for an answer that matches the library already, or for a device with no maker or model.

13. Why Does a Nearly Full Battery Show No Forecast?

A battery is judged for falling only once it reads at or under three times its low threshold, 60% for a lithium cell at the default of 20%, and has been heard on at least 28 of the last 42 days. Above that, its page and Battery Trends show the level and the weekly averages only. See Low Battery.

14. Why Is an ESPHome Device or a Matter Light Never Reported Frozen?

Because a quiet spell says nothing about whether it works. An ESPHome device is judged by its connection to Home Assistant. A Matter device of a type that reports only when used, such as a light, plug, switch or button, is judged by being available. Lutron Caséta devices are judged by their hub. Each is still reported unavailable when it goes.

15. Does a Restart Make It Forget Everything?

No. What Device Sentinel learned and its Problem List are kept. A device quiet for twenty hours before a restart is still twenty hours quiet afterwards.

16. Will It Slow Down Home Assistant?

Device Sentinel keeps routine activity in memory and writes its files once per Storage Write Interval, 15 minutes by default; a judgment, such as a frozen device, is saved at once. If Home Assistant runs from an SD card, raise the interval to 30 or 60 minutes on the Advanced screen.

Understanding the Numbers

17. Why Is My "Watched" Count Lower Than My Device Count?

Device Sentinel sets aside what isn't hardware, such as service integrations, add-ons and disabled devices, plus second listings of hardware already watched and anything you excluded. The Devices tab's Excluded chip lists what you excluded, and its Set aside chip, in Advanced, gives the reason for the rest.

18. Why Is My "Learned" Count So Low?

A device counts as learned once it has seven learned days, so a new install climbs over its first week or two. Until then a device is judged for unavailable and never reported, but not for frozen.

19. Why Does the Status Sensor Say "Learning"?

No device has finished its first seven days yet. It changes to "Watching" once one has. Unavailable devices are reported meanwhile.

Troubleshooting

20. I Muted a Device by Accident. Does It Start Over?

No. Muting stops the reporting, not the learning. Unmute it and Device Sentinel judges it straight away.

21. What Does "Never Reported" Mean?

Device Sentinel has not heard from the device in the 48 hours since it first saw it: usually a dead battery, no power, or a leftover entry for a device that is gone. If the Recommendations tab lists it under Last Seen Sensor Switched Off, turn that sensor on.

22. Why Isn't a Dead Device in the "Device: Frozen" Sensor?

The sensor is switched off at install; turn it on from the integration's entities in Home Assistant. Otherwise, the device is still in its first seven days, it is unavailable rather than frozen, or it is judged by its connection or its hub (see above).

23. My Battery Is Above the Threshold but Still Reported Low

A low battery stays reported until it reads three points above its threshold, 23% at the default of 20%. A cell hovering at the line doesn't alert you each time it wobbles.

24. A Device Keeps Dropping Out. How Do I Stop Hearing About It?

A device that drops out and comes back quickly twice within 12 hours is listed once, as having short drop-outs, not once per drop. It leaves the list after 12 hours with no drop. The Signal mute silences it; the Unavailable mute does not. A device that keeps dropping out usually has a weak route to it rather than a dying radio, so check its signal and the router it connects through. See Signal Strength.

25. I Acknowledged a Problem. Why Is It Still on the List?

Ticking an item means "I know about this." It stays on the list as completed and stops sending phone notifications. Device Sentinel clears it itself when the device reports again, and tells you it recovered. See The Problem List.

26. My Zigbee Coordinator Crashed. Will I Get an Alert for Each Device?

No. You get one row and one alert naming the coordinator and counting the devices behind it. When it comes back, the devices get three minutes to rejoin before any is reported on its own. See Zigbee2MQTT and ZHA.

27. All My MQTT Devices Went Down at the Same Second

Your MQTT broker stopped or restarted. Device Sentinel reports the broker, not your seventy-four smart plugs. See Bridge, Broker and Wi-Fi Sensors.

28. Error: Notification Service Not Found

You probably renamed your phone or removed the companion app. Pick your targets again on Notifications and Daily Brief, or accept the Repairs card "A Device Sentinel Notification Target No Longer Exists", which removes the missing ones.

29. My House Lost Power. Is What It Learned Lost?

No. At most, the routine progress since the last save goes, about 15 minutes at the default Storage Write Interval. Anything that carries a judgment, such as a frozen device, is saved at once.

30. I Replaced a Battery. What Do I Do?

Nothing, usually. When a level jumps up, Device Sentinel knows you changed the battery and starts its history again. The device's page shows the day under Battery Last Replaced and asks you to Confirm it, change the date, or Cancel it. See Low Battery.

31. My Bluetooth Proxy Is Listed Three Times. Will It Be Reported Three Times?

No. Device Sentinel watches one listing and sets the others aside as clones. The watched device's page names them under "Same hardware".

32. A Device Has the Wrong Type. Does It Matter?

Mostly for sorting and filtering. On a Matter device it also decides how the device is judged (see above). Press the pencil beside Type on the device's page and pick the right one. Your answer covers each device of the same model.

33. I Found a Bug. What Do You Need?

What you expected, what happened, and your diagnostics file (Settings, Devices and Services, Device Sentinel, the three-dot menu, "Download diagnostics"). Then open an issue on GitHub.

34. A Device Is Working but Still Listed After a Restart. Why?

Its integration, or its make and model, is on the list of those that show cached values after a restart, and none of its values has changed since. Use the device, or press It's Back on its page. If that model always reports live, set it there. See After a Restart.

35. Signal Trends and Battery Trends Are Empty on My New Install. Is It Broken?

No. A signal trend needs 21 days of readings from a device, and a battery forecast needs four weeks. Until then, each tab opens with a box saying the day its trends start. Signal Trends lists each device still learning, with the day its trend starts. A battery at or under your threshold is reported from the first day. Short drop-outs are reported once a device has a week of learned days.

36. A Firmware Update Card Lists Some of My Devices. Is That Right?

Device Sentinel calls a device behind only when Home Assistant offers it an update, or, when the device has no update check switched on, when other devices of the same make, model and hardware run a newer version. A mix of versions on devices that give no hardware version is never called behind, because one model name can hold different hardware, each on its own current firmware. If you are holding an update back on purpose, tick the row's Acknowledged box. See The Dashboard.