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

Refresh http page on mqtt data #57

Open
gubi opened this issue Jun 7, 2018 · 1 comment
Open

Refresh http page on mqtt data #57

gubi opened this issue Jun 7, 2018 · 1 comment

Comments

@gubi
Copy link

gubi commented Jun 7, 2018

How to reload http page content when an mqtt message is coming?

Thanks

@chombium
Copy link
Contributor

Hi @gubi,

you can write simple mqtt client which will communicate over web sockets and when a new message arrives you can do whatever you want/need.
I don't know which MQTT JS library are you using, but here is a small example with Eclipse Paho

HTH,
Jovan

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