home-assistant.github.io/source/_components/sensor.cert_expiry.markdown
2017-04-24 23:40:32 +02:00

908 B

layout title description date sidebar comments sharing footer logo ha_category ha_release
page Certificate Expiry Track HTTPS (SSL) certificate expiry as HomeAssistant sensor. 2017-04-24 14:14 true false true true home-assistant.png Sensor 0.43

This sensor fetches information from a configured URL and displays the certificate expiry (in days). The host and port must lead to a working SSL website.

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 array (Optional): Port number (default 443).

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