Dear Nhat,
In general the pattern you described is correct: we always first fetch the status of the device of interest via the REST - then subscribe via websocket to get further updates.
I'm not sure I fully understand your obstacle though: could you
please clarify ?
Riccardo
--
JEMMA - Java Energy ManageMent Application framework - http://jemma.energy-home.org
---
You received this message because you are subscribed to the Google Groups "JEMMA General Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jemma-genera...@googlegroups.com.
To post to this group, send email to jemma-...@googlegroups.com.
Visit this group at https://groups.google.com/group/jemma-general.
To view this discussion on the web visit https://groups.google.com/d/msgid/jemma-general/a7509111-8a96-43d4-a023-587f8d1edca0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
| dal.function.device.UID | dal.function.UID | dal.function.operation.names | dal.function.property.names |
|---|---|---|---|
| ZigBee:ah.app.12345195726903800-1 | ZigBee:ah.app.12345195726903800-1:DoorLock | open,close | status |