jimpastos / wink-relay-manager

Manage Wink Relay's native sensors and publish to MQTT
46 stars 24 forks source link

TLS support #8

Open thatkide opened 6 years ago

thatkide commented 6 years ago

Does the wink-relay-manager support tls for MQTT? I tried setting my port to 8883 but the broker complained about protocol errors. Also is it possible to set the MQTT retain flag?

jimpastos commented 6 years ago

SSL is not currently supported but it should be very straight forward to add. It should be a couple of settings on the Paho API with options/certs Unfortunately I don't have an MQTT server with SSL setup to test.

As for the retain flag, it is already supported and certain values are sent with retain. Stateful data (relay on/off, humidity, screen on/off) are sent with retain but button presses and triggers are not