@hede0n
Frustrating! I can show you what I have set up, so maybe you’ll find something useful?
I assume you have everything set up so you can access you homeassistant instance from outside you home network, with an address starting with https://
?
And just to be completely sure (sorry if this sounds condesending, just something I could have screwed up, so better make sure ), you are using the cert.pem and fullchain.pem in the correct folder? I have three different pairs, but only one pair in the correct folder (/etc/letsencrypt/live/REDACTED.duckdns.org/fullchain.pem
)
My IFTTT applet looks like this:
I also tried sending from HA to IFTTT first; I have a scripts.yaml
file where I have the following entry for IFTTT
ifttt_test:
alias: IFTTT Test
sequence:
- service: ifttt.trigger
data:
event: testhass
Then you can make an applet on IFTTT that reacts to receiving “testhass
”, and does whatever.
So if you can access through SSL (that is, if you can connect to your home assistant when you are not at home, using an address like the one I have in my IFTTT applet, starting with https://, not http://), then I’d start by seeing if you can send out, from HA to IFTTT.
If you can access from outside, but can’t send from HA to IFTTT, then… well, then I don’t know. Maybe re-check you maker api key? I’ve changed mine several times, and somehow I always forget to set the new one in one or two places.
But if you can’t access via https, then that is where you should start.
For reference, my http entry in my configuration file is:
### HTTP ###
http:
api_password: !secret api_password
ssl_certificate: !secret my_ssl_certificate
ssl_key: !secret my_ssl_key
base_url: !secret secret_base_url
ip_ban_enabled: True
login_attempts_threshold: 3
If you’ve set up your certificates etc. like I have (let’s encrypt and duckdns), then you also need to enable port forwarding on you router. Some people said it didn’t matter about the port, but the way it works for me is forwarding the external port 443 to my internal IP (192.168.0.160 for me) for the system running home assistant, and port 8123. But given that you get a connect attempt, this is probably not the problem…?