nr

node-raspi

Raspberry pi toolkit for node.js

Showing:

Popularity

Downloads/wk

20

Maintenance

No Maintenance Data Available

Package

Dependencies

1

Size (min+gzip)

0.7KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

node-raspi

Raspberry pi toolkit for node.js

Installation

npm install node-raspi

Sample usage

Get cpu temperature

var pi = require('node-raspi');

var temp = pi.getThrm();
console.log("Cpu temp: "+temp+" �C");

Get current voltage

var pi = require('node-raspi');

var volt = pi.getVcc();
console.log("SOC Voltage: "+volt+" v");

pi.uptime(); system uptime in milliseconds

pi.serviceStart(name); starts a system daemon

pi.serviceStop(name); stop a system daemon;

@todo gpio access routines will be implemented soon

Armagan Corlu aka PsyChip root@psychip.net 23.03.2016

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100