Situation
The player had launched with a fleet in the field and no team owning the whole platform. The firmware and the app came from an electronics manufacturer whose involvement was winding down, the cloud backend had been built in a hurry by four or five freelancers, and the provisioning tooling and the web shop each came from someone else.
Content reached devices only through a scheduled job that polled pending devices every minute. A parent had no way to trigger a sync, and nothing protected a device on weak Wi-Fi from being hammered. Curated or localised playlists meant manual database work, and devices were not refreshed afterwards. Playback telemetry did not exist. Revenue ended with the hardware sale. Families without a device had nothing to use. Tests were a handful of unit tests, and per-device certificates were handled by hand at the factory.
What we built
We took over the cloud backend in February 2025 and the Flutter app a few months later, and became the one team that owned the whole product. Everything the fleet gained, it gained through the cloud and the device-shadow contract the firmware already spoke, so no device needed a new firmware build.
- On-demand sync with ownership checks, a concurrency guard and a configurable cooldown, so a parent can refresh a player and a weak connection is never flooded, plus an operator force mode and a fleet-wide refresh that re-syncs every device holding a given playlist.
- A playlist replicator that deep-copies curated playlists into localised system playlists and force-syncs the affected devices, with country mapping and language-aware items. This served a French catalogue and enabled the launch in France, in production from August to October 2025.
- Telemetry from devices and from phones, built as validator, processor and pluggable sinks, with the app reporting playback in the background from an offline cache.
- A virtual player: the phone as a device of its own, with full and mini players, a queue, lock-screen and background controls, and playlists that belong to the app alone. It opened a sales channel to families without the hardware.
- A subscription model: a web-shop order becomes a 12-character activation code, activation in the app extends the subscription atomically, bulk codes serve campaigns and business customers, and welcome and expiry-reminder emails run on a configurable trial.
- Underneath, an integration-test pipeline against a real database with about 110 tests on every change, three isolated environments, local developer tooling, and the flashing and provisioning of development and test units with the existing tooling. We also upgraded the platform to production.
The hard part
A device in a child's bedroom cannot be asked to update itself before it gets a new feature. The firmware spoke one contract: it authenticated with its own certificate, received its desired state from an AWS IoT Device Shadow when online, compared that state with its SD card, downloaded only what was missing through signed URLs and reported back. Every new capability had to be expressed inside that contract. On-demand sync became a change to the desired state plus a guard against doing it too often. Localisation became language-coded items in the shadow. Fleet-wide refresh became a re-sync of every shadow holding a playlist. The firmware never changed, and thousands of devices behaved differently within days.
The second hard part was ownership. A platform from four vendors has no single place where it is tested. We put the real database under integration tests, isolated the device-cloud client behind an interface so the suite runs without a fleet, wired the tests into CI on every pull request, and split development, QA and production into environments with their own certificate authorities and device registries. Only then did features move at the pace the founders wanted.
Outcome
- New capabilities delivered to the installed fleet entirely through the cloud, with no firmware rollout (2025).
- Thousands of devices in homes: about 10,000 production device identities provisioned across three batches, with separate development and qualification environments (provisioning records).
- A second market opened: France, with a localised catalogue, in production August to October 2025.
- A subscription business introduced, from web-shop order to activation code to in-app activation, with bulk codes and lifecycle emails.
- An in-app player that sells to families without the hardware.
- Release safety from a handful of unit tests to about 110 tests with database integration tests on every pull request.
What changed: content that reached devices through a scheduled job every minute now moves on demand, fleet-wide, with protection for weak connections. A one-off hardware sale became a subscription. A platform nobody owned had one engineering owner, with tests and environments, through December 2025.
Fact sheet
| Client | a US maker of a screen-free children's audio player, founder-run. |
|---|---|
| Engagement | takeover of a live platform from several prior vendors, February to December 2025. Cloud backend from February, mobile app from mid-year, device flashing and provisioning for development and test units, direct work with the founders. |
| Device, inherited and integrated with | an embedded microcontroller platform with a real-time OS, a cloud device-shadow agent, over-the-air updates, a per-device certificate in a secure partition, an SD card cache and a small display. |
| Cloud | serverless functions in Go behind an API gateway, a device registry with device shadows, PostgreSQL behind a connection proxy, object storage for media, updates and telemetry, user authentication, scheduled events, transactional email, all defined as infrastructure as code. A Python media pipeline for audio ingestion, image conversion for the device display and podcast import. |
| Mobile | Flutter for iOS and Android with background audio. |
| Commerce | web-shop orders and webhooks to subscriptions. |
| Quality | integration tests against real PostgreSQL in containers, CI on every push and pull request, development, QA and production environments with separate certificate authorities and device registries. |
| Numbers, with their dates | about 10,000 device identities provisioned (2025). About 110 tests (2025). 12-character activation codes. About 85 backend commits by Encode from February to December 2025, the largest contributor after launch. |