Coder Social home page Coder Social logo

acidzebra / vectrix Goto Github PK

View Code? Open in Web Editor NEW
8.0 4.0 4.0 477 KB

VecTrix (previously known as VectorDiag) is a 24/7 Anki/DDL Vector robot monitor, console-oriented and Python-based, which can optionally keep Vector active and improve his idle behavior, can remote control Vector, has extensive logging options, battery profiling, and more!

License: MIT License

Python 100.00%
command-line diagnostics logging python3 remote-control robot robotics

vectrix's Issues

Adding MQTT credentials

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.