biodome-client
JavaScript client for biodome
The biodome-client is how any services wishing to utilise the biodome server do so. Services include device scheduling, environment compensation, logging, UI client / control panel, emergency notification system, etc.
var biodomeClient = ; var conf = 'host' : 'localhost:8888'; var client = ; // sending commands to biodome server// Will attempt to fetch and store a JWT token if it doesn't already have a valid one client ; // write HIGH to endpoint with an ID of "light"client ; // ...or you can use more complex selectors as first paramclient ; // ...or call with your own command objectclient;