Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem adding USER to MQTTClient #35

Open
giovanidiaz opened this issue Mar 23, 2020 · 0 comments
Open

Problem adding USER to MQTTClient #35

giovanidiaz opened this issue Mar 23, 2020 · 0 comments

Comments

@giovanidiaz
Copy link

giovanidiaz commented Mar 23, 2020

Hi, I need define specific USER for connect to UBIDOTS, it is a TOKEN, but when try I get error: TypeError: object of type 'NoneType' has no len()

I change the last five number of my token, but is similar of this:

USER = 'BBFF-YqUfgtaby7Gs4W4pSTIMZnyDa00000'

I probed with:

client = MQTTClient(client_id, hostname, PORT, USER)

I hope that you can understand me, really Im new in python.

Im working with digi 3G Global Cellular, and if I quit the USER, all works.

If you can help me I really apreciate it. Thanks for all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant