-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
I can get the script to work if I turn off SSL on my hass instance, but not with the exact same hass configuration with SSL turned on and https:// and my https url. I can't run hass without SSL.
The following command works to access the API:
curl -X GET -H "Content-Type: application/json" https://MYHOST:8123/api/config?api_password=MYPASS --insecure
the --insecure option seems to be the key but I can’t figure out how to do something similar in the script. I have the URLs defined as https:// but the script doesn’t work with https turned on.
Do you how to do something like the --insecure option from CURL with python’s POST() method?
Metadata
Metadata
Assignees
Labels
No labels