# odroid-temp

> Read the temp sensor on Odroid

Latest version **0.0.2** (published 2014-11-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install odroid-temp
pnpm add odroid-temp
yarn add odroid-temp
bun add odroid-temp
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.2 |
| Published | 2014-11-05 |
| First published | 2014-11-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Zorglu |
| Maintainers | zorglu |
| Keywords | odroid, TEMP, sensor, js, node |

## Links

- npm: https://www.npmjs.com/package/odroid-temp
- Repository: https://github.com/Zorglu/odroid-temp
- Issues: https://github.com/Zorglu/odroid-temp/issues
- npm.io page: https://npm.io/package/odroid-temp

## Dependencies (1)

- [eventemitter](https://npm.io/package/eventemitter.md) ^0.3.3

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.2 (latest) — 2014-11-05
- 0.0.1 — 2014-11-04

## README

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
```javascript
  temp.read(function(err, value){
	console.log("temp.read", err, value);
  });
```

* `temp.on` to catch event from temperature sensor
```javascript
  temp.on('change', function(value){
	console.log("Temperature %d °C", value);
  });
```

Ref : http://odroid.us/mediawiki/index.php?title=Temperature_Checking

---
_Source: https://npm.io/package/odroid-temp · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
