odroid-temp
Use Odroid's temp sensor with NodeJS A single small module to easily read the temperature sensor on Odroid
Installation
NodeJS versions 10.12.x are currently supported and tested.
Install from NPM (Easy way)
$ npm install odroid-temp
API
-
var temp = new Temp();
Create a new instance of odroid-temp. -
temp.read
to read the temperature
temp;
temp.on
to catch event from temperature sensor
temp;
Ref : http://odroid.us/mediawiki/index.php?title=Temperature_Checking