Closed 1kohm closed 11 months ago
After some googling I found this: link.
Can you try editing the TSFunctions.ps1 file and adding:
[Net.ServicePointManager]::SecurityProtocol = "Tls12, Tls11, Tls, Ssl3"
Before:
Invoke-RestMethod -Uri "$HAUrl/api/states/$entityId" -Method POST -Headers $headers -Body ([System.Text.Encoding]::UTF8.GetBytes($params)) -ContentType "application/json"
To see if it fixes it? I do not currently use https on my HA installation.
Hi,
I'm not able to start the Get-TeamsStatus.ps1 script.
I did add TSHATOKEN and TSHAURL as system variable in Windows 10 TSHAURL: https://myha.domain.com TSHATOKEN: eyJhbGc..... (long token) I can access my ma from outside via other API
that's the output of the script:
How to resolve that issue?
Thanks