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

thingsboard mqtt basic #73

Open
LsIntSys opened this issue Dec 4, 2024 · 3 comments
Open

thingsboard mqtt basic #73

LsIntSys opened this issue Dec 4, 2024 · 3 comments

Comments

@LsIntSys
Copy link

LsIntSys commented Dec 4, 2024

Hello Stefan.

Please explain us how we can use your library with thingsboard Mqtt basic.
Where we can put username and password?

Regards

@stefandreyer
Copy link
Owner

Hi

username an password are passed in the url:
http://hans:[email protected]:80/demo/example.cgi?land=de&stadt=aa#abschnitt1
| | | | | | | |
| | | Host | Pfad Query Anker
| | Passwort Port
| Benutzer
Protokoll

you may have a link to the used mqtt structure?

BR Stefan

@LsIntSys
Copy link
Author

LsIntSys commented Dec 5, 2024

Hi
This is the example that gives Thingsboard:

mosquitto_pub -d -q 1 -h "YOUR_TB_HOST" -p "1883" -t "v1/devices/me/telemetry" -i "YOUR_CLIENT_ID" -u "YOUR_CLIENT_USERNAME" -P "YOUR_CLIENT_PASSWORD" -m {"temperature":25}

Can you give an example how we can call your function blocks?

BR

@stefandreyer
Copy link
Owner

Hi,
did you check the implementation examples?

Are the more questions?

BR Stefan

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

2 participants