Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 96123

Using the Scrape integration with IP:PORT

$
0
0

@TMB wrote:

Hi,

I’m trying to set up the Scrape integration to read the version number of my Unifi Controller (it’s on the login page)

The page’s IP is 192.168.1.11:8443

This is the code I’m using:

  - platform: scrape
    resource: https://192.168.1.11:8443
    select: "appNameAndVersion"

It’s not working, the sensor entity is not created and the log says that the platform “is not ready yet”.

However, if I use the example code:

  - platform: scrape
    resource: https://www.home-assistant.io
    select: ".current-version h1"

It’s working perfectly.

I think the problem is the port number in my IP.

Is there a way around this, maybe format it in some way?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 96123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>