Custom version of tcp core sensor to add SSL support
There are two ways to set up:
Add this repository as custom repository to Home Assistant Community Store HACS (https://hacs.xyz/) and then search for TCP SSL
.
If you use this method, your component will always update to the latest version. But you'll need to set up HACS first.
Copy all files from custom_components/tcp_ssl to a <ha_config_dir>/custom_components/tcp_ssl
directory
If you use this method then you'll need to keep an eye on this repository to check for updates.
sensor:
- platform: tcp_ssl
name: testhtml
host: google.com
port: 443
payload: |+
GET / HTTP/1.1
Host: google.com
buffer_size: 15
timeout: 10
scan_interval: 10
ssl: on