-
Notifications
You must be signed in to change notification settings - Fork 114
Frequently Asked Questions
wwitman edited this page Oct 23, 2015
·
2 revisions
-
Does Zetta run on the device, the cloud server or both?
- Zetta software servers runs on the device if it has the capacity, or on a nearby 'hub' (like a Raspberry Pi, BeagleBone, Intel Edison) and in the cloud.
-
Is it the same code in the cloud and on the device? Is it peer to peer?
- Yes. The Zetta servers are the same wherever they run.
-
What if the device doesn't have processing and memory capacity to run Zetta? Like an Arduino?
- A typical pattern is a hub and spoke model where the spokes are constrained devices and the hub has more horsepower. Zetta will run on the local 'hub' like a Raspberry PI near the Arduino spoke.
-
Does the board require Node.js?
- No only the 'hub' requires Node.js.
-
Does Zetta have C code?
- Zetta is pure JavaScript on Node.js.
-
How do spoke talk to the hub?
- There are Zetta drivers that mediate between protocols. So a Zetta 'driver' could talk serial between the hub and the device and mediate that serial protocol into a web api. The hub can speak anything. There are Node.js modules published to NPM for many protocols. The NPM modules become the heart of the Zetta device drivers.
-
How does Zetta on a hub, like a BeagleBone, talk to Zetta in the cloud, like Heroku?
- If the hub has an internet address then the will communicate via simple HTTP APIs and WebSockets. If the hub is behind an intermediary like a router then the z2z protocol is used. z2z uses standards like HTTP, WebSockets and SPDY to allow devices to communicate.
Need help? Visit the Zetta Discuss List !
Need help? Visit the Zetta Discuss List ! |
---|
About Zetta
Videos and webcasts
- NEW! Building with Zetta
Tutorials
- NEW! Zetta tutorial series
- Quick start
- Configure a simple device
- Build a mock LED device
- Use the browser client
- Deploy a Zetta server to Heroku
Understanding Zetta
Writing Zetta drivers
- Finding Zetta device drivers
- Create a device driver from starter code
- More coming soon...
Using streams
Reference