Zetta Streams Reference Docs

Reference docs for zetta module
  • openbook Reference
  • user Adam Magaluk
  • calendar Jun 13, 2014

Monitor Log Streams

Zetta provides an easy way to stream data from streams to clients using web sockets. Below are some considerations for what this data would look like coming out of the system.

Some general notes on the Stream Responses.

  1. topic is what is used to subscribe to the stream in general. For single stream readings it will be <device type>/<device-uuid>/<stream name>
  2. For globally subscribing to topics the format will be <device type>/<device id>/<stream name>
    • All devices with that particular type and stream name will be subscribed to
    • The id property will contain the device id of the particular device returned.
Example Microphone Amplitude Stream

Example Device Log Streams

Example log message after a lcd screen’s text is updated through a transition.

      "value":"I heard dat!"
  "properties": {
    "id": "8142E11C-87AE-4C13-9DD1-E2900EB97BF0",
    "name":"My LCD",
    "message": "I heard dat!"