eslavnov / pylips

Control Philips TVs (2015+) and Ambilight (+ Hue) through their reverse-engineered API (+ MQTT support!)
MIT License
342 stars 60 forks source link

[FEAT] Allow self signed SSL certificates #26

Closed timbru31 closed 5 years ago

timbru31 commented 5 years ago

Is your feature request related to a problem? Please describe. While mqtt over TLS is supported, it's missing the possibility to configure a custom SSL/TLS certificate.

Describe the solution you'd like I'd like to have a config option where I can configure my broker SSL cert.

Describe alternatives you've considered n/a

Additional context paho-mqtt supports these options in the tls_set() function. See https://pypi.org/project/paho-mqtt/#option-functions

(my example setup with self.mqtt.tls_set("/opt/pylips/mosquitto.crt") works)

eslavnov commented 5 years ago

Thanks, that's a good idea! I will add it in the next couple of days.

timbru31 commented 5 years ago

Great - thanks a lot. Awesome project btw 🎉