Open ZencoreCZ opened 3 years ago
It looks like that any SSL certificate is accepted and thats why the warning is thrown. Hope @mvdklip can explain it more.
@JsBergbau is right. The request is being made with the verify=False flag so that people running their home automation on a self generated certificate can use it. The requests library issues a warning when doing this. It's not an error.
If you really wanted to hide the warning which I don't really recommend you could have a look here:
But that requires changes to the Python code.
Thanks for the info. So it makes sense, that there is a warning displayed.
error is where please?
/MiTemperature2# python3 LYWSD03MMC.py -d -c 1 --name Exam --httpcallback "https://mydomain.com/myscript?name={sensorname}&temp={temperature}&hum={humidity}&bat={batteryLevel}
InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings