The shodan sensor platform is displaying the total of result of a Shodan query.

Use “Show API Key” in the upper right corner when you are logged in or got to your “My Account” page to retrieve your API key.

To enable this sensor, add the following lines to your configuration.yaml file:

# Example configuration.yaml entry
  - platform: shodan
    api_key: SHODAN_API_KEY
    query: "home-assistant"

Configuration Variables

api_key string Required

The API key for

query string Required

The search string.

name string (Optional)

Name of the Shodan sensor.