CASE STUDY CUSTOMER TADIRAN
Customer Tadiran is a leading worldwide technical and electrical appliances manufacturer company. Some of the company’s more famous product lines include batteries and air conditioners.To satisfy the consumer needs, Tadiran is bringing into the market new models of smart air conditioners with modern IoT capabilities built-in, and expects the market to grow fast.
Industry:
Manufacturing IoT
Technology:
AWS
CUSTOMER CHALLENGE
Enhancing Tadiran’s air conditioning products with new technical capabilities opens new business possibilities, but introduces challenges too. One particular challenge faced by Tadiran is how to integrate the new IoT-enabled workflows with their existing applications environment. The integration should allow the company full visibility to the new devices status, while making it possible for the business users to access information using their existing tools. Therefore, an integration project was required to implement.
Tadiran’s product line of air conditioner devices manufactured and sold to private consumers has recently been updated to include IoT-enabled devices. The smart sensor and communication technology is provided by TUYA, a leading smart device company. Consumers are able to view and control these air conditioning devices as part of their Smart Home solution, using the TUYA Smart mobile application.
Management of the smart devices is over the TUYA IoT Platform web interface. This collects and displays information from end users and their devices. Typical events provided by the platform include new user registration, adding a new device (installation) and deleting a device (decommissioning). Devices have physical location, typically a specific room in the owner’s street address, and a single user may have many devices. When turned on or off, the devices transmit the event to the platform accordingly. Devices that are running, communicate their current status to the platform every 6 seconds, or 10 times per minute. Each status update includes the device unique ID, device type, timestamp and depending on the model, various other properties such as the current temperature setting or fan speed. Importantly, if any errors or faults occur, the device is self-aware of this and includes the error status and code – if available – in the status update. TUYA uses Apache Pulsar for message queue implementation.
On the other hand, all Tadiran’s equipment data, including the info of each device, contact details of customers and the maintenance status are stored in a SAP system. One of the key functions is that maintenance can be scheduled and arranged via SAP when notification of device fault has been received. For managing customers, SAP C4C (Cloud for Customer) on the web is used. To streamline this process, an integration between TUYA IoT Platform and SAP C4C is needed.
SOLUTION - RENOVA CLOUD APPROACH
Renova Cloud reviewed the customer’s requirements and identified the following:
- The integration should be implemented in code on a platform where it can be easily modified to accommodate future needs
- The platform and services used must have high availability and reliability; downtime should be avoided and the status of the services easy to monitor
- Scalability and elasticity; in the beginning the number of IoT-enabled devices is small, but it’s expected to grow with a pace that is hard to predict
- Cost-effectiveness: since the goal of the project is to build a custom integration between existing platforms, the integration itself should not be a major cost factor
All the requirements suggested that a highly reliable hosting platform with managed services was needed. Selecting AWS to host the services was agreed between Renova Cloud and customer, who saw the advantages of being able to extend the solution in the future.
Renova Cloud identified the following major tasks for the solution:
- Listen to TUYA IoT Publisher (Pulsar) for device events of interest
- Call TUYA API to retrieve more details of devices, customers and customer contacts
- Call SAP C4C API to add or update devices, customers and service requests
- Store all events and logs for potential auditing, troubleshooting and review purposes
- Package data by device so that system admin retrieve monitoring reports of devices
The tasks 1-3 have unpredictable volume which depends mainly on the amount of events of interest, such as new user registrations, new device installations and any faults occurring. The task 4 involves storing the data for events of interest, so the volume is related to the cumulative amount of such events in the past. The task 5 involves user such as system administrator accessing the monitoring on-demand, the volume is expected to be correlated with the number of device faults and service requests happening in the recent time period.
The requirements lend themselves well to serverless architecture, with the tasks divided into small functions run whenever needed and can scale massively due to the parallel execution. Renova Cloud drafted an AWS architecture using Lambda functions written in Python and orchestrated with Step Functions, with API Gateway in front and communicating utilizing SQS queues. As storage solution, DynamoDB is used for short term and serving monitoring data for status dashboards, while S3 is used for archival. The calls to external APIs of TUYA and SAP C4C are managed with Lambda functions, with requests and responses logged in CloudWatch. EventBridge sets the schedule of device status monitoring.
TUYA message queue uses Apache Pulsar so an implementation of a subscriber was required. Renova Cloud wrote the Pulsar subscriber application in Java code running in ECS as Docker container with image versions stored in ECR. To achieve the best scalability and elasticity, ECS Fargate launch type is used and therefore the solution is fully serverless.
To ensure security of the solution, all the credentials are stored in Secrets Manager and retrieved securely by the applications. S3 buckets are encrypted using keys from KMS. If any errors are encountered during the workflows, these are logged and SNS notifications are sent to admins.
The overall architecture integrates many AWS serverless services as a complete solution.
There are 3 separate environments, DEV, UAT and Production, to allow the customer test any modifications before applying them in live production data. Renova Cloud performed load testing to set the correct sizing for Fargate tasks and confirm the scalability of the solution.
BENEFITS
After going live, Tadiran is able to automatically receive real-time updates of TUYA IoT devices to their SAP C4C system. This saves significant time and resources as the IoT device updates do not need to be manually monitored and entered to the main enterprise resources management system. It also ensures that important updates are not missed, and that the 2 systems stay synchronized and contain the same information of users, devices and maintenance status.
The integration provides many business benefits such as the ability to quickly identify new customers as they start using the IoT devices and send onboarding materials immediately as the user comes online, thus improving the end user experience and reducing the dependence on helpdesk staff. The installation and decommissioning of IoT-enabled devices is updated in resource management system in real time, ensuring the accurate inventory and improving the ability to target support resources such as availability of spare parts in local stores.
The clearest benefit is reduced downtime of IoT-enabled air conditioning devices; a fault status message from a device will trigger service request creation workflow which automatically opens a ticket in C4C with all the required information. This allows the support team to quickly respond appropriately, for example by contacting the device owner or allocating maintenance staff with spare parts and maintenance schedule. So far T is seeing at least 20% reduction in response time and device downtime thanks to this automated workflow.
In the future, Tadiran is seeking to expand the usage of AWS to enable additional workflows and to build reports and analytics dashboards. Also the application of predictive analytics using AWS Machine Learning services aiming for early detection and prediction of device faults is being considered as a possibility. Building these services on the basis of AWS serverless applications allows the ability to scale and grow fast and securely.
RELATED STORIES
GSM
GSM’s Journey with Amazon EKS
GSM has decided to adopt Amazon EKS, entrusting its container orchestration capabilities would provide a robust solution for GSM’s complex IT infrastructure.Read more>Ngân hàng Thương mại Cổ phần
Joint Stock Commercial Bank successfully accelerated growth by migrating to AWS
The competitive digital race among banks is increasingly fierce, focusing on attracting technology-savvy customers. The commercial bank wanted to stay ahead of the competition and required scalable, reliable and cost-effective back-end infrastructure for rapid growth.Read more>IMV
IMV’s Business Intelligence Empowered by AWS Data Management Solution
The former infrastructure of IMV lacked the scalability required to accommodate the growing volumes of data and the increasing demand for business intelligence and analytics. Read more>E-wallet
Vietnam’s Prominent E-wallet Migrated Its Two Most Critical Workloads to AWS
The E-wallet in question is one of Vietnam’s largest online payment platforms, developed and published by one of the most dominant technology players in the region. Read more>F88
F88’s Journey to a Secure and Centralized Data Management with AWS Cloud Solutions
Established in 2013, F88 stands as the forerunner network of secure lending in Vietnam, focusing on serving micro & small enterprises as well as individual customers. Receiving substantial financial support from renowned global Read more>Greenfeed
Greenfeed Data optimization solution with AWS
Greenfeed's mission is to provide consumers with a clean food chain from farm to table with the 3F Plus process - FARM FEED FOOD. Read more>Startup oi
RENOVA – STARTUP OI – SUCCESS STORY
Startup Oi is a new social media and tech talent platform. Startup Oi has an ambitious goal to focus on professional needs of tech engineers and developers, building a digital community and connecting with job opportunities and tech events. Read more>Vietcetera
VIETCETERA – MIGRATION JOURNEY TO AWS
Founded in 2016, Vietcetera is a first-of-its-kind multimedia digital platform producing editorial content along with video series and podcasts in both Vietnamese and English.Read more>IMV
IMV – ON-PREMISE TO CLOUD JOURNEY
International Minh Viet Joint Stock Co. is a distribution company which entails general trade, modern trade, as well as an e-commerce channel. Read more>Smartpay
SmartPay Rehost and Replatform Migration on AWS
SmartPay is an important contender in the Vietnamese payment apps landscape and experiencing growth with new vendors, partners, and users. Read more>Pepsi Co Myanmar
Accelerate SAP S/4HANA Transformation With AWS
Pepsi Co Myanmar was looking to modernize their existing systems and launch a new platform for their users and applications utilizing the up-to-date technology solutions and choose SAP S/4HANA on AWS. Read more>Nutifood Group
AWS Immersion Day with Nutifood Group
The goal of this educational workshop was to empower N Group's IT team and leadership to confidently use the AWS platform for their benefit, and unlock new business opportunitiesRead more>Tadiran
Serverless application implementation on AWS for Tadiran Group
Tadiran is a leading technical and electrical appliances manufacturer company. Some of the company’s more famous product lines include batteries and air conditioners. Read more>Scratchpay
Scratchpay Security best practices and well-built architecture on GCP
Evaluation and assessment of the existing GCP environment for best practices and well-built architecture methodologiesRead more>UAB - Connect. Create. Change.
UAB BANK CLOUD NATIVE APPS
As a part of the modernisation and digitalisation strategy, UAB is expanding its services to build mobile apps for payment and e-Wallet purposes to serve the growing Myanmar consumer banking marketRead more>Yoma
Yoma Transformation to AWS Cloud
The increasing demand for Yoma’s applications and business across different verticals requires to have a digital transformation journey with an effective migration to the cloud.Read more>AQUA
AQUA – Migration & CI/CD
AQUA is able to improve operations as result of the migration and CI/CD on AWS as well as able to release new features faster with minimal time and disruption to the end users.Read more>SOVIGAZ
Sovigaz – migrating to AWS
The agility of the new infrastructure help Sovigaz to relieve the burden of on premise infrastructure management and limitations as well as access to advanced services offered on AWS platform. Read more>KAOPIZ
Kaopiz’s Infrastructure Automation
Automate the processes on AWS and create an environment to test new features to support the Development & QA team to deliver jobs faster, automated and without a deep level of experience and skills on AWS.Read more>NAVIGOS
Navigos’ journey to the Cloud
As part of the company commitment to it’s customers, it is essential to secure a robust disaster recovery process. Navigos’ application requires to have a fast and effective reaction in the disaster recovery scenarios.Read more>SABECO
Sabeco Case Study
Having migrated to AWS, Sabeco is capable of quickly responding to increased traffic and services’ usage when necessary, making running marketing campaigns and launching new features less risky.Read more>NKID’S
Nkid’s journey to the Cloud
Nkid Group is running a number of Microsoft workloads in various environments including on-premises, local data center in Vietnam, Microsoft Azure and AWS.Read more>