Internship project

Solar telemetry

I built an AWS ingestion pipeline that converted Raspberry Pi solar logger readings into timestamped MongoDB records for remote monitoring.

My role
Software Development Intern
Period
Jun 2023 — Nov 2023
Source code
View GitHub repository ↗
183
fields in the exercised sample payload
Python 3.11
Lambda parser runtime
200
documented successful API response
PythonAWS API GatewayVTLAWS LambdaMongoDBRaspberry Pi

Results

  • The pipeline accepted device readings through API Gateway, transformed them, inserted structured timestamped records into MongoDB, and made remote generation data available for visualization work.
  • The repository documents remaining work on input validation, authentication, and rate limits.

Problem

Industrial solar loggers emitted large form-encoded payloads containing CSV headers and readings rather than application-ready JSON. The data needed to cross a public API boundary, be transformed safely, and become useful for remote monitoring.

This was an early applied cloud project: the goal was a working ingestion path, with security and production hardening still explicitly incomplete in the repository documentation.

Engineering decisions

Transform at the gateway

Used a Velocity Template Language mapping to convert application/x-www-form-urlencoded input into the event shape expected by Lambda.

Preserve signal names

Parsed the first CSV row as headers and zipped later values into a nested values object keyed by the original telemetry names.

Package the missing runtime

Provided PyMongo through a Lambda layer and kept database connectivity inside the short-lived function execution path.

System flow

  1. Raspberry Pi logger
  2. API Gateway + VTL
  3. Lambda parser
  4. MongoDB collection
  5. Remote generation views

Technical details

View the parser and sample payload on GitHub ↗
What’s in the repository
  • Public GitHub README
  • Representative device payload
  • Documented API request and response
  • Lambda parsing and MongoDB insertion code