SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Similaire à 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.
 

Similaire à 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
 

Plus de 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
 

Plus de 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
 

Dernier

Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseCeline George
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationdeepaannamalai16
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsPooky Knightsmith
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleCeline George
 

Dernier (20)

Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
How to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 DatabaseHow to Make a Duplicate of Your Odoo 17 Database
How to Make a Duplicate of Your Odoo 17 Database
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 
Congestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentationCongestive Cardiac Failure..presentation
Congestive Cardiac Failure..presentation
 
Mental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young mindsMental Health Awareness - a toolkit for supporting young minds
Mental Health Awareness - a toolkit for supporting young minds
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of EngineeringFaculty Profile prashantha K EEE dept Sri Sairam college of Engineering
Faculty Profile prashantha K EEE dept Sri Sairam college of Engineering
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
Multi Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP ModuleMulti Domain Alias In the Odoo 17 ERP Module
Multi Domain Alias In the Odoo 17 ERP Module
 

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