home-assistant.io/source/_components/sensor.cert_expiry.markdown
Ryan Parrish 54902f91e7 Update sensor.cert_expiry.markdown (#2701)
`name` is an optional variable for `cert_expiry`. If you don't use it all your certs just show up as "SSL Certificate Expiry" as their name.
2017-05-24 11:59:34 +02:00

993 B

layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, ha_release
layout title description date sidebar comments sharing footer logo ha_category ha_release
page Certificate Expiry Instructions on how to set up HTTPS (SSL) certificate expiry sensors within Home Assistant. 2017-04-24 14:14 true false true true home-assistant.png System Monitor 0.44

The cert_expiry sensor fetches information from a configured URL and displays the certificate expiry in days.

To add the Certificate Expiry sensor to your installation, add these options to configuration.yaml file:

# Example configuration.yaml entry
sensor:
  - platform: cert_expiry
    host: home-assistant.io

Configuration variables:

  • host (Required): The host FQDN (or IP) to retrieve certificate from.
  • port (Optional): The port number where the server is running. Defaults to 443.
  • name (Optional): The friendly name for the certificate.

Make sure that the URL exactly matches your endpoint or resource.