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

Create dynamic client #5

Open
andreareginato opened this issue Jul 24, 2013 · 1 comment
Open

Create dynamic client #5

andreareginato opened this issue Jul 24, 2013 · 1 comment

Comments

@andreareginato
Copy link
Contributor

We need to offer to Lelylan a solution to easily simulate an MQTT device. We could offer something on Lelylan Node so that a client is open and closed after the supscribed notification is received.

URI - nodes.lelylan.com/mqtt/simulations/:id
FLOW - When a message is sent to the simulation URI, then a client is initialized. It listen for the message he subscribed for, receive it, update it and makes a PUT request to update the device properties in Lelylan.

@andreareginato
Copy link
Contributor Author

Right now we have this code that is perfect to simulate a light with MQTT. Set the correct ID and properties values and then run it. If MQTT works the loading will disappear on the device component.

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

No branches or pull requests

1 participant