databox sdk nodes

The following is a quick summary of all of the nodes in the SDK and what you might use them for:

name node description
input input use when you need to perform a task periodically this is a special node that you can use to create periodic events. So for example if you want to call a function every second, you'd hook this node up to the dbfunction node
debugger debugger use when you need to view what data is coming out of a node this is a special node that you can use to see what data is coming out of a node, it is an essential part of debugging your app
bulbin bulbin use when you need to sense presence or find out the state of hue bulbs this node provides information on the state of a hue bulb, but it also has a presence sensor which indicates if a person has moved in front of a sensor
plugin plugin use when you need to know whether a plug is on or off, or how much energy it is using this node provides information on the state of a smart plug, including whether it is on or off, and how much power it is currently drawing
sensingkit sensingkit use when you need access to sensors on a mobile phone this node accesses sensors on a mobile phone, including accelerometer, light readings, battery status and bluetooth scans
osmonitor osmonitor use for testing, or when you need information on your databox's resource consumption this node provides information on the cpu and memory of the databox, it is one of the simplest datasources and is commonly used for testing
twitter twitter use when you want to subscribe to one or more twitter hashtags this node will subscribe to one or more twitter hashtags and output new tweets as they come in.
dbfunction dbfunction use when you need to perform some bespoke functionality not supported by any other processing nodes the databox function node. This is allows you to write javascript functions to operate on incoming data. More information on the basics of writing functions can be found [here](/tutorials/functions)
trigger trigger use when you want to trigger an event, then wait before re-triggering e.g to turn on a bulb for a period of time after an event has occurred the trigger node provides a way of creating simple logic of the form [when event happens]->[do something], and control how often this piece of logic is run (e.g. when presence is seen, turn on bulb for 5 minutes)
extract extract use when you want to pull out specific data attributes from incoming data this node can be used to simplify the data running through your app, by pulling out only the data that you need from an input.
chartify chartify use when you want to plot a simple chart this node feeds the "app" node with data in a format that can be used to display a bar chart or a gauge.
listify listify use when you want to list data in rows,columns this node feeds the "app" node with data in a format that can be used to display a list.
webify webify use when you want to display data as html this node feeds the "app" node with data in a format that can be used to display html - it uses a templating language called [mustache](https://mustache.github.io/).
uibuilder uibuilder use when you want build data-driven infographics this node allows you to link data to svg graphics. You can upload your own svg graphics, build simple shapes in the editor or use stock graphics provided by uibuilder
export export use when you want to push data off the databox to an external url this node must be configured with a whitelist of urls that your app can send data to. You then provide one of the whitelisted urls as input to the node.
app app use when you want to display data to a user on the databox this node works with chartify, listify, webify and uibuilder and displays data to a user on the databox dashboard.
bulbsout bulbsout use when you want to actuate a philips hue bulb use this node to actuate a philips hue bulb. You can turn the bulb on or off and adjust its brightness and colour. Typically works with the dbfunction or trigger node.
plugout plugout use when you want to turn a smart plug on or off use this node to turn a TP-Link smart plug on or off. Typically works with the dbfunction or trigger node.