Reyax MQTT with Database: RYC10001 Introduction | Part 1

Recently Ms. Kate of Reyax Technology reach out with me to introduced their new IoT platform which is the RYC1001 and kind enough to give me a full access to explore this new cloud platform
Reyax Technology is a company based in Taiwan, they have a variety of products they even offering IoT solutions according to your project requirements.
But for today, we will focus on this IoT cloud platform which is the RYC1001.
Firstly, I will use it to demonstrate its basic MQTT protocol then further explore its additional database capability over MQTT protocol later on.
So what is RYC1001?
RYC1001 is built on Amazon Web Services or AWS cloud computing platform which is one of the leaders in cloud technology as of this day.
It supports MQTT protocol which is one of the popular IoT solutions as of now.
It uses a well-thought simple instructions to easily integrate database capability through its MQTT platform via specific topic which we will explore later on.
INSTRUCTION:
As for the start, lets create the image illustrated above Home automation using basic MQTT.
1. Connection Profiles:

2. Basic MQTT Setup | Connection:

3. Basic MQTT Setup | Connection continuation:

4. Basic MQTT Setup | Dashboard:

lr_lights simulates a light bulb.
lr_temp_sensor simulates a temperature sensor.
lr_temperature simulates a temperature gauge.
5. Basic MQTT Setup | Switch Panel:

6. Basic MQTT Setup | Lights Panel:

7. Basic MQTT Setup | Temperature Sensor panel:

8. Basic MQTT Setup | Temperature Gauge panel:

9. MQTT with Database Setup | Connection:

10. MQTT with Database Setup | Connection continuation:

11. MQTT with Database Setup | Dashboard:

12. MQTT with Database Setup | Switch panel:

JsonPath for subscribe: $.command.result.lights
JSON pattern for publish:
{
“action”: “command/insert”,
“deviceId”: “gyBII8EdlDdlLXZDfirHAuOiryBIz2RR4zic”,
“command”:
{
“command”: “control_lights”,
“parameters”: {“Control”:”Lights”},
“status”:”Done”,
“result”: {“lights”: <switch-payload>}
}
}
<switch-payload> is a variable to send the state of the switch panel.
13. MQTT with Database Setup | Lights panel:

JsonPath for subscribe: $.command.result.lights
14. MQTT with Database Setup | Temperature sensor panel:

Subscribe Topic:
api/notification/<Network_ID>/<deviceTypeId>/<deviceId>/temperature
api/notification/35/5/gyBII8EdlDdlLXZDfirHAuOiryBIz2RR4zic/temperature
JsonPath for subscribe: $.notification.parameters.temperature
JSON pattern for publish:
{
“action”: “notification/insert”,
“deviceId”: “gyBII8EdlDdlLXZDfirHAuOiryBIz2RR4zic”,
“notification”:
{
“notification”: “temperature”,
“parameters”: {“temperature”: <slider-payload>}
}
}
<slider-payload> is a variable that takes the value of slider panel.
15. MQTT with Database Setup | Temperature gauge panel:

lr_temperature should subscribe to topic:
api/notification/<Network_ID>/<deviceTypeId>/<deviceId>/temperature
api/notification/35/5/gyBII8EdlDdlLXZDfirHAuOiryBIz2RR4zic/temperature
JsonPath for subscribe: $.notification.parameters.temperature
VIDEO DEMONSTRATION:
CALL TO ACTION:
For any concern, write your message in the comment section.
You might also like to support my journey on Youtube by Subscribing. Click this to Subscribe to TechToTinker.
Thank you and have a good days ahead.
See you,
– George Bantique | tech.to.tinker@gmail.com
REFERENCES AND CREDITS:
https://www.amazon.com/REYAX-RYC1001-Cloud-Platform-Account/dp/B08M93FTPF
So that’s it, if you enjoy this video please consider supporting my journey in Youtube by Subscribing to TechToTinker Youtube channel.
Thank you.
https://jsonpathfinder.com/