Dashboard con Thingsboard: Difference between revisions
From Wiki-Fou
(Created page with "== un Dashboard con Thingsboard ? == Thingsboard es un software libre que permite de recoger datos de sensores y presentar los datos de maniera guay === Mandar datos al dash...") |
No edit summary |
||
Line 13: | Line 13: | ||
curl -v -X POST -d "{\"temperature\": 5.3}" essun.calafou.org:8080/api/v1/gCgm37JxMK42KTqj8Bqp/telemetry --header "Content-Type:application/json" | curl -v -X POST -d "{\"temperature\": 5.3}" essun.calafou.org:8080/api/v1/gCgm37JxMK42KTqj8Bqp/telemetry --header "Content-Type:application/json" | ||
Con MQTT - Mosquitto | Con MQTT - Mosquitto | ||
mosquitto_pub -h essun.calafou.org -u | mosquitto_pub -h essun.calafou.org -u qcAk3DDHeLyAZFzCDu3C -t v1/devices/me/telemetry -d -m "{"Viento":6}" | ||
=== Thingsboard installation === | === Thingsboard installation === | ||
Con docker : https://thingsboard.io/docs/user-guide/install/docker/?ubuntuThingsboardQueue=inmemory | Con docker : https://thingsboard.io/docs/user-guide/install/docker/?ubuntuThingsboardQueue=inmemory |
Revision as of 15:27, 3 May 2021
un Dashboard con Thingsboard ?
Thingsboard es un software libre que permite de recoger datos de sensores y presentar los datos de maniera guay
Mandar datos al dashboard
Por el momento, el Thingboard es aqui : http://essun.calafou.org:8080 y hay documentation "Getting started"
System Administrator: sysadmin@thingsboard.org / sysadmin Tenant Administrator: tenant@thingsboard.org / tenant Customer User: customer@thingsboard.org / customer
Vamos a utilisar el Tenant Administrator como usario
Con el API
curl -v -X POST -d "{\"temperature\": 5.3}" essun.calafou.org:8080/api/v1/gCgm37JxMK42KTqj8Bqp/telemetry --header "Content-Type:application/json"
Con MQTT - Mosquitto
mosquitto_pub -h essun.calafou.org -u qcAk3DDHeLyAZFzCDu3C -t v1/devices/me/telemetry -d -m "{"Viento":6}"
Thingsboard installation
Con docker : https://thingsboard.io/docs/user-guide/install/docker/?ubuntuThingsboardQueue=inmemory