# ivandack-coap-cli

> Cliente CoAP para las motas Z1 de la práctica 4 de IoT (UNLP)

Latest version **1.0.0** (published 2019-06-29) · ISC license · 0 weekly downloads

## Install

```sh
npm install ivandack-coap-cli
pnpm add ivandack-coap-cli
yarn add ivandack-coap-cli
bun add ivandack-coap-cli
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-06-29 |
| First published | 2019-06-29 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 4 |
| Unpacked size | 21.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ivan Dackiewicz |
| Maintainers | ivandack |
| Keywords | iot, unlp, practicas |

## Links

- npm: https://www.npmjs.com/package/ivandack-coap-cli
- Repository: https://github.com/ivandack/unlp-iot-p4
- Homepage: https://github.com/ivandack/unlp-iot-p4#readme
- Issues: https://github.com/ivandack/unlp-iot-p4/issues
- npm.io page: https://npm.io/package/ivandack-coap-cli

## Dependencies (4)

- [coap](https://npm.io/package/coap.md) ^0.23.1
- [influx](https://npm.io/package/influx.md) ^5.1.1
- [winston](https://npm.io/package/winston.md) ^3.2.1
- [commander](https://npm.io/package/commander.md) ^2.20.0

## Recent versions

- 1.0.0 (latest) — 2019-06-29

## README

# unlp-iot-p4
Cliente CoAP para motas Z1 de la práctica 4 de IoT

# Para usar el data loader (Entrega InfluxDB/Grafana)

## Usando Node.js
Para instalar Node.js se recomienda usar [Node Version Manager](https://github.com/nvm-sh/nvm)

Teniendo Node.js (8+) instalado en el sistema: 

```
git clone git@github.com:ivandack/unlp-iot-p4.git coap-cli
cd coap-cli
npm install --production
```

Las formas para ejecutar el cliente son:

```
node src/data-loader --help
node src/data-loader -t <host de InfluxDB> -d <database> -m <ip de la mota>
node src/data-loader -t localhost -d grupo_ivandack -m fd00::c30c:0:0:2
```

## Usando Docker
Teniendo instalado Docker solo hay que ejecutar (No pude hacer funcionar esto en InstantContiki):

```
docker run --rm ivandack/coap-cli data-loader --help
docker run --rm ivandack/coap-cli data-loader -t <host de InfluxDB> -d <database> -m <ip de la mota>
```

Por ejemplo:

```
docker run --rm ivandack/coap-cli data-loader -t localhost -d grupo_ivandack -m fd00::c30c:0:0:2
```

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