connection failed
Hey @debsahu, I would really like to use this library in a project i;m working on but i'm having no luck getting it to connect to my home assistant install.
I'm trying to run the example sketch you have and ii have filled in everything needed, WIFI details and password, Home Assistant long lived token, fingerprint, port etc, but ultimately i get a connection failed message
Here is the output in the serial console:
connecting to SKYA92CD ....... WiFi connected IP address: 192.168.86.19 Requesting URL: /api/services/light/toggle Sending: POST /api/services/light/toggle HTTP/1.1 Authorization: Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.********************************************* Content-Type: application/json Content-Length: 26
{"entity_id":"light.lamp"} Connecting to b4zm62u2sem***************.ui.nabu.casa connection failed ` I'm using nabu casa, but I'm not sure that matter as I have used the same details in https://reqbin.com/ and that triggers fine
Any help you can offer here would be great.
Please let me know if you need anything further
Thank you Joe
any luck ?
i am having the same issue keep getting
Connecting: https://xxxx.ui.nabu.casa:443/api/services/input_number/set_value
[HTTPS] POST... failed, error: connection refused
reply was:
==========
==========
closing connection
when i try with postman everything works