Publish and Subscribe Events within multiple devices

31 views
Skip to first unread message

Amar Banerjee

unread,
Jul 28, 2017, 3:30:58 AM7/28/17
to zetta-discuss
Hi all,

I am trying to publish and subscribe events within a zetta device. Device A publishes an event. Device B subscribes to that events and handles it.
Any link or source code for this ??

Please help.

Cheers !

Adam Magaluk

unread,
Jul 28, 2017, 11:25:25 AM7/28/17
to Amar Banerjee, zetta-discuss
You would need to use a separate "zetta app" that would get data from device A and send it to device B. See our dusk to dawn example: https://github.com/zettajs/zetta-hello-world/blob/master/apps/dusk_to_dawn_light.js

--
You received this message because you are subscribed to the Google Groups "zetta-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zetta-discus...@googlegroups.com.
To post to this group, send email to zetta-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/zetta-discuss/5e983730-7470-4d26-a7e6-163c14f158a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages