Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose the last checked information #83

Open
excalbian opened this issue May 9, 2022 · 8 comments
Open

Expose the last checked information #83

excalbian opened this issue May 9, 2022 · 8 comments
Labels
enhancement New feature or request

Comments

@excalbian
Copy link

Description

It would be helpful to see when the device last checked in. The following is displayed in the Nest UI for the device (this is a device I removed to change the batteries on - it's been offline for about a day):

image

I'm not sure what is in the API payload but it would be nice to have this information available through the integration (which could then be used to build automations around devices that are "offline" after a while).

Device (optional)

Nest Protect Battery (Topaz-2.7 by Google Firmware: 3.4rc6 Hardware: Battery)

Additional information

No response

@excalbian excalbian added the enhancement New feature or request label May 9, 2022
@iMicknl
Copy link
Owner

iMicknl commented May 9, 2022

Can you share a screenshot of your device page? Via the /integrations page? I would say that your device should show up as offline / unavailable in Home Assistant already.

@excalbian excalbian changed the title Expose the Expose the last checked information May 9, 2022
@excalbian
Copy link
Author

Glad you caught me - I was just about to put the new batteries in and restore the device (haven't yet). Here's what I see in Home Assistant (other than the battery level, seems the same as my other protects that are online):

image

@iMicknl
Copy link
Owner

iMicknl commented May 9, 2022

Could you press 'download diagnostics' and drag this file in a new comment?

@excalbian
Copy link
Author

Here you go. Note that I have already replaced the batteries (so the protect is back online) if that changes anything. I can take a protect offline this weekend if we want / need to do more testing.

nest_protect-13456a17444baf6d46411fb1b7ddb6cc-Nest Protect (Living Room)-cc938f8c0539428b3a52e8d59b2199a8.json-2.txt

@fabianluque
Copy link

I was about to request the same. Is it possible to add additional date sensors to make the last checked dates available in HA?

@pcmoore
Copy link

pcmoore commented Jun 2, 2022

I had a similar issue just this week where a WiFi issue left the alarms disconnected for several days and their status on my HA dashboard never switched to "unavailable" or similar.

@iMicknl
Copy link
Owner

iMicknl commented Jun 15, 2022

Here you go. Note that I have already replaced the batteries (so the protect is back online) if that changes anything. I can take a protect offline this weekend if we want / need to do more testing.

nest_protect-13456a17444baf6d46411fb1b7ddb6cc-Nest Protect (Living Room)-cc938f8c0539428b3a52e8d59b2199a8.json-2.txt

If you could generate a diagnostics file when the issue is present (and one when it is fixed), would be very helpful. @excalbian

@iMicknl
Copy link
Owner

iMicknl commented Dec 22, 2023

Anyone that can provide these logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants