Programming
ThingsBoard Time-series and Attributes with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Politècnica de València
1
Outline
Material
Worked Instructions
Attributes vs. Time-series
AnalogRead conflict
Exercises
Temperature & Humidity ThingsBoard Dashboard
Gauge Replicator
2
Material
3
Wemos D1 R32 with Arduino Multisensor Shield
Worked Instructions
4
Main instructions
Attributes vs. Time-series
5
Attribute
Attribute Attribute
Time-series Time-series
Time-series
Analog Read Conflict
6
Temperature & Humidity ThingsBoard
Dashboard
Monitor the temperature and the humidity with DHT11 sensor in
ThingsBoard
Time-series: dht_temperature, dht_humidity.
7
https://roboticafacil.es/facilino/thingsboard/dht11.json
Gauge Replicator
Create a knob and replicate the value with a gauge.
RPC method: setValue, Range: 0-100.
Attribute: gauge.
8
https://roboticafacil.es/facilino/thingsboard/gauge.json
Programming
ThingsBoard Time-series and Attributes with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Politècnica de València
9

ThingsBoard Time-Series and Attributes with Facilino