What was the problem or opportunity that we needed to solve? ๐ฏ
Myenergi had previously experimented with consumer Demand Side Response (DSR) services with their products. However, they faced challenges with the scalability of the API designed for device control and had yet to incorporate the lessons learned from the initial trial. Additionally, emerging interest from new DSR vendors necessitated an API and management platform allowing vendors to manage their device fleet and consumers to manage their participation.
How have we approached the challenge? ๐ก
Apex Lab joined forces with Myenergi's lead DSR partner, serving as a customer-focused control layer design partner. We leveraged their expertise in integrating with other platforms to create a solution encapsulating the existing device API using Typescript on AWS Lambdas. This allowed the vendor to integrate and control hundreds of devices seamlessly without requiring knowledge of the underlying API.
What is the outcome? โ
The result was a successful vendor operation of hundreds of devices via minimal calls, providing full fleet visibility. This strategy reduced server loads for Myenergi and the vendor as multiple devices could be operated simultaneously through a single call. Additionally, it facilitated a robust decoupling between the device API and the DSR API, permitting modifications to the device API without requiring vendor coordination.
Applied technologies ๐ป
We combined Typescript, AWS Lambdas, REST, and Postgres to develop a scalable, efficient, and versatile solution.
Keywords
AWS Lambda, SST, Redis, PostgreSQL, Terraform, Zod, Vitest, Typescript, Node.js, REST