Shodan Sensor

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 for a GET request:

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

Configuration variables:

  • api_key (Required): The API key for
  • query (Required): The search string.
  • name (Optional): Name of the Shodan sensor.