SlideShare a Scribd company logo
1 of 10
Programming
ThingsBoard RPCs with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Politècnica de València
1
Outline
Material
Worked Instructions
RPCs
Exercises
Light Dimm using RPCs in ThingsBoard
Remotely Controlled RGB using RPCs in ThingsBoard
Remotely Controlled Melody using RPCs in ThingsBoard
Remotely Controlled LEDs using RPCs in ThingsBoard
2
Material
3
Wemos D1 R32 with Arduino Multisensor Shield
Light Dimmer and Dimmable LED Lamp
Worked Instructions
4
Main instructions
RPCs
5
Each ‘setValue’ and ‘getValue’ must be unique.
Two types of RPCs:
Knob (decimal value)
Switch (boolean value)
Light Dimm using RPCs in ThingsBoard
Control the light brightness of an AC Lamp using
ThingsBoard RPCs
RPC method: setValue
Range: 0-100.
6
https://roboticafacil.es/facilino/thingsboard/ac_lamp_dimmer.json
Remotely Controlled RGB using RPCs in
ThingsBoard
Remote control of RGB colors using RPCs in
ThingsBoard.
RPC methods: “setValueRed”, “setValueGreen”
and “setValueBlue”.
Range: 0-255.
7
https://roboticafacil.es/facilino/thingsboard/rgb_led.json
Remotely Controlled Melody using RPCs in
ThingsBoard
Remote control of a melody, using RPCs in
ThingsBoard
RPC methods: setValueBuzzer
8
https://roboticafacil.es/facilino/thingsboard/switches.json
Remotely Controlled LEDs using RPCs in
ThingsBoard
Remote control of LEDs (red and blue).
RPC methods: setValueRed, setValueBlue
9
https://roboticafacil.es/facilino/thingsboard/switches.json
Programming
ThingsBoard RPCs with Facilino
Leopoldo Armesto
Senior Lecturer
Universitat Politècnica de València
10

More Related Content

Similar to ThingsBoard RPCs with Facilino

Wireless humidity and temperature monitoring system
Wireless humidity and temperature monitoring systemWireless humidity and temperature monitoring system
Wireless humidity and temperature monitoring systemSagar Srivastav
 
RF Encoder / Decoder Chipset
RF Encoder / Decoder ChipsetRF Encoder / Decoder Chipset
RF Encoder / Decoder ChipsetPremier Farnell
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptxHebaEng
 
Not so hard hardware
Not so hard hardwareNot so hard hardware
Not so hard hardwarerichardgault
 
All about ir arduino - cool
All about ir   arduino - coolAll about ir   arduino - cool
All about ir arduino - coolVlada Stoja
 
Starting with Arduino
Starting with Arduino Starting with Arduino
Starting with Arduino MajdyShamasneh
 
ESD_Project-Report
ESD_Project-ReportESD_Project-Report
ESD_Project-ReportAhmad Faizan
 
ce595_color_fetch_robot
ce595_color_fetch_robotce595_color_fetch_robot
ce595_color_fetch_robotChih Han Chen
 
Internet of things laboratory
Internet of things laboratoryInternet of things laboratory
Internet of things laboratorySoumee Maschatak
 
FIRE ALARM SYSTEM PPT.pptx
FIRE ALARM SYSTEM PPT.pptxFIRE ALARM SYSTEM PPT.pptx
FIRE ALARM SYSTEM PPT.pptxRaJYadav196733
 
Arduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxArduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxBhuvanaN12
 
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalPhysical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalTony Olsson.
 

Similar to ThingsBoard RPCs with Facilino (20)

ir sensor.docx
ir sensor.docxir sensor.docx
ir sensor.docx
 
Wireless humidity and temperature monitoring system
Wireless humidity and temperature monitoring systemWireless humidity and temperature monitoring system
Wireless humidity and temperature monitoring system
 
Measurements upload
Measurements uploadMeasurements upload
Measurements upload
 
c ppt.pptx
c ppt.pptxc ppt.pptx
c ppt.pptx
 
RF Encoder / Decoder Chipset
RF Encoder / Decoder ChipsetRF Encoder / Decoder Chipset
RF Encoder / Decoder Chipset
 
What is arduino
What is arduinoWhat is arduino
What is arduino
 
Arduino Workshop (3).pptx
Arduino Workshop (3).pptxArduino Workshop (3).pptx
Arduino Workshop (3).pptx
 
Not so hard hardware
Not so hard hardwareNot so hard hardware
Not so hard hardware
 
All about ir arduino - cool
All about ir   arduino - coolAll about ir   arduino - cool
All about ir arduino - cool
 
publish manual
publish manualpublish manual
publish manual
 
Starting with Arduino
Starting with Arduino Starting with Arduino
Starting with Arduino
 
ESD_Project-Report
ESD_Project-ReportESD_Project-Report
ESD_Project-Report
 
ce595_color_fetch_robot
ce595_color_fetch_robotce595_color_fetch_robot
ce595_color_fetch_robot
 
Arduino Thermometer
Arduino ThermometerArduino Thermometer
Arduino Thermometer
 
Internet of things laboratory
Internet of things laboratoryInternet of things laboratory
Internet of things laboratory
 
Manual QUBINO zmnhwd1
Manual QUBINO zmnhwd1Manual QUBINO zmnhwd1
Manual QUBINO zmnhwd1
 
FIRE ALARM SYSTEM PPT.pptx
FIRE ALARM SYSTEM PPT.pptxFIRE ALARM SYSTEM PPT.pptx
FIRE ALARM SYSTEM PPT.pptx
 
Arduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptxArduino with brief description of sensorsppt.pptx
Arduino with brief description of sensorsppt.pptx
 
Arduino
ArduinoArduino
Arduino
 
Physical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digitalPhysical prototyping lab2-analog_digital
Physical prototyping lab2-analog_digital
 

More from Leopoldo Armesto

Two-button UI with Facilino
Two-button UI with FacilinoTwo-button UI with Facilino
Two-button UI with FacilinoLeopoldo Armesto
 
RGB LED strips with Facilino
RGB LED strips with FacilinoRGB LED strips with Facilino
RGB LED strips with FacilinoLeopoldo Armesto
 
Light dimmer with Facilino
Light dimmer with FacilinoLight dimmer with Facilino
Light dimmer with FacilinoLeopoldo Armesto
 
Functions and Procedures with Facilino
Functions and Procedures with FacilinoFunctions and Procedures with Facilino
Functions and Procedures with FacilinoLeopoldo Armesto
 
Flow Control with Facilino
Flow Control with FacilinoFlow Control with Facilino
Flow Control with FacilinoLeopoldo Armesto
 
Web-server UI with Facilino
Web-server UI with FacilinoWeb-server UI with Facilino
Web-server UI with FacilinoLeopoldo Armesto
 
DHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with FacilinoDHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with FacilinoLeopoldo Armesto
 
Sound Buzzer with Facilino
Sound Buzzer with FacilinoSound Buzzer with Facilino
Sound Buzzer with FacilinoLeopoldo Armesto
 
Bluetooth voice control with Facilino
Bluetooth voice control with FacilinoBluetooth voice control with Facilino
Bluetooth voice control with FacilinoLeopoldo Armesto
 

More from Leopoldo Armesto (20)

Variables with Facilino
Variables with FacilinoVariables with Facilino
Variables with Facilino
 
USB Serial with Facilino
USB Serial with FacilinoUSB Serial with Facilino
USB Serial with Facilino
 
Undestanding Bluetooth
Undestanding BluetoothUndestanding Bluetooth
Undestanding Bluetooth
 
Two-button UI with Facilino
Two-button UI with FacilinoTwo-button UI with Facilino
Two-button UI with Facilino
 
Text with Facilino
Text with FacilinoText with Facilino
Text with Facilino
 
RGB LEDs with Facilino
RGB LEDs with FacilinoRGB LEDs with Facilino
RGB LEDs with Facilino
 
RGB LED strips with Facilino
RGB LED strips with FacilinoRGB LED strips with Facilino
RGB LED strips with Facilino
 
OLED 128x32 with Facilino
OLED 128x32 with FacilinoOLED 128x32 with Facilino
OLED 128x32 with Facilino
 
Maths with Facilino
Maths with FacilinoMaths with Facilino
Maths with Facilino
 
Logic with Facilino
Logic with FacilinoLogic with Facilino
Logic with Facilino
 
Light dimmer with Facilino
Light dimmer with FacilinoLight dimmer with Facilino
Light dimmer with Facilino
 
LDR with Facilino
LDR with FacilinoLDR with Facilino
LDR with Facilino
 
LCDs with Facilino
LCDs with FacilinoLCDs with Facilino
LCDs with Facilino
 
IR Receive with Facilino
IR Receive with FacilinoIR Receive with Facilino
IR Receive with Facilino
 
Functions and Procedures with Facilino
Functions and Procedures with FacilinoFunctions and Procedures with Facilino
Functions and Procedures with Facilino
 
Flow Control with Facilino
Flow Control with FacilinoFlow Control with Facilino
Flow Control with Facilino
 
Web-server UI with Facilino
Web-server UI with FacilinoWeb-server UI with Facilino
Web-server UI with Facilino
 
DHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with FacilinoDHT11 (Digital Temperature and Humidity) with Facilino
DHT11 (Digital Temperature and Humidity) with Facilino
 
Sound Buzzer with Facilino
Sound Buzzer with FacilinoSound Buzzer with Facilino
Sound Buzzer with Facilino
 
Bluetooth voice control with Facilino
Bluetooth voice control with FacilinoBluetooth voice control with Facilino
Bluetooth voice control with Facilino
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 

ThingsBoard RPCs with Facilino

  • 1. Programming ThingsBoard RPCs with Facilino Leopoldo Armesto Senior Lecturer Universitat Politècnica de València 1
  • 2. Outline Material Worked Instructions RPCs Exercises Light Dimm using RPCs in ThingsBoard Remotely Controlled RGB using RPCs in ThingsBoard Remotely Controlled Melody using RPCs in ThingsBoard Remotely Controlled LEDs using RPCs in ThingsBoard 2
  • 3. Material 3 Wemos D1 R32 with Arduino Multisensor Shield Light Dimmer and Dimmable LED Lamp
  • 5. RPCs 5 Each ‘setValue’ and ‘getValue’ must be unique. Two types of RPCs: Knob (decimal value) Switch (boolean value)
  • 6. Light Dimm using RPCs in ThingsBoard Control the light brightness of an AC Lamp using ThingsBoard RPCs RPC method: setValue Range: 0-100. 6 https://roboticafacil.es/facilino/thingsboard/ac_lamp_dimmer.json
  • 7. Remotely Controlled RGB using RPCs in ThingsBoard Remote control of RGB colors using RPCs in ThingsBoard. RPC methods: “setValueRed”, “setValueGreen” and “setValueBlue”. Range: 0-255. 7 https://roboticafacil.es/facilino/thingsboard/rgb_led.json
  • 8. Remotely Controlled Melody using RPCs in ThingsBoard Remote control of a melody, using RPCs in ThingsBoard RPC methods: setValueBuzzer 8 https://roboticafacil.es/facilino/thingsboard/switches.json
  • 9. Remotely Controlled LEDs using RPCs in ThingsBoard Remote control of LEDs (red and blue). RPC methods: setValueRed, setValueBlue 9 https://roboticafacil.es/facilino/thingsboard/switches.json
  • 10. Programming ThingsBoard RPCs with Facilino Leopoldo Armesto Senior Lecturer Universitat Politècnica de València 10