Hi there,
Feel free to send me on my way if this isn't a project under development any more, or whether this would be better as a discussion.
I'm a Home Assistant user trying to explore the MQTT features of Vectrix - particularly exposing as much as I can about Vector's state via MQTT to HA (starting with battery, face detected and "needs help")
However, my MQTT broker is set up to use login credentials.
I tried amending vectrix by adding the following:
if MQTT_logging:
try:
import paho.mqtt.client as mqtt
client.tls_set() # <--- even without arguments
client.username_pw_set(username="MyUser", password="MyPass")
However - I get the three warnings under except.
Pip tells me the requirement for the library paho-mqtt is satisfied.
Any idea what I'm doing wrong?
Would I be better off just trying to code my own Vector to MQTT script from scratch as a learning project? (this would be a shame as Vectrix makes Vector very fun)
Hi there,
Feel free to send me on my way if this isn't a project under development any more, or whether this would be better as a discussion.
I'm a Home Assistant user trying to explore the MQTT features of Vectrix - particularly exposing as much as I can about Vector's state via MQTT to HA (starting with battery, face detected and "needs help")
However, my MQTT broker is set up to use login credentials.
I tried amending vectrix by adding the following:
However - I get the three warnings under
except.Pip tells me the requirement for the library
paho-mqttis satisfied.Any idea what I'm doing wrong?
Would I be better off just trying to code my own Vector to MQTT script from scratch as a learning project? (this would be a shame as Vectrix makes Vector very fun)