See All Services

IoT and Connected Devices

For companies whose device needs an iPhone app to set it up, control it and keep it up to date.

You have built the device. The hardware works and the firmware runs, and what still stands between it and your customer is an iPhone app. That app is also the first thing the customer does with the product: before the device heats, cools or locks anything, it has to be set up from a phone. If that goes wrong, the customer does not blame the app. They blame the device.

I build that app, and I have been building apps that control real things since my first years in this work. An app for a device is a narrower trade than an app that talks to a server, because its other half sits on a home network nobody has tested, and can be out of reach, half set up or in the middle of an update. Below is what such an app has to do, in the order your customer meets it, with the project where I did each part.

What You Get

  • Setup on the Home Wi-Fi The phone joins the device’s own Wi-Fi, hands it the name and password of the home network and then finds it there. In Thermico that ends with a list of the water heaters that answered.
  • Control With or Without Internet Two routes to the same device. Thermico reaches its thermostat through the cloud whenever the phone has internet, from anywhere, and directly over the thermostat’s own Wi-Fi when there is none. It picks the route again each time the network changes.
  • An SDK Apart From the App Everything the phone says to the device and hears back lives in one Swift package, separate from the screens. Thermico is built this way: the part that knows the hardware stays in one place, and the app is built on top of it.
  • Firmware Updates Over the Air The app checks for a new firmware version, downloads it and passes it to the device over the home network, with the progress on the screen. That is how Thermico keeps its thermostats up to date.
  • Schedules, Modes and Alerts The screens a customer returns to every week. In Thermico those are weekly schedules sent to the thermostat, a Smart mode that learns when the household showers, the thermostat’s own alerts, and a warning from the app when the thermostat has not been heard from recently.
  • A Control for Every Kind of Device No two kinds of device are controlled alike. In Smart IoT Controls I built the controls for dimmers, curtains, climate units and door access, each sending its command through the home’s gateway, and I built TrustHab Resident App for the climate units in student dormitories.

How It Runs

An app for a device is written against two things I do not have until you give them to me: the description of how your device talks, and the device itself. I ask for the first before I estimate and for the second before the work starts. The first is the protocol: which messages the device accepts and sends, on the local network and through the cloud if it has one. The second is test hardware, at least one unit that I can set up, reset and set up again. I read the documentation under an NDA if you want one.

The work then goes from the device outwards. The conversation with the hardware comes first, as an SDK, and the screens are built on top of it, as in Thermico. iOS has rules of its own here, and they shape the setup: an app may look at the local network only once the customer allows it, and may read the name of the current Wi-Fi only with location permission. From the first milestone the app is on your phones through TestFlight, so your engineers can try each build against the devices on their own bench. On Thermico I am the only iOS developer in a remote team, so working with engineers I never share a room with is the usual case for me. While the firmware is still changing, the scope is too, and that kind of work runs by the day.

See How I Work

In My Work

  • Thermico The full range in one app, with all of the iPhone side my work: Wi-Fi setup, an SDK that reaches the thermostat through the cloud or directly, weekly schedules and firmware over the air.
  • Smart IoT Controls A whole home behind one gateway, where on inherited code I built controls for devices from dimmers to door access and a builder in which people design their own remote controls.
  • Smartsy A device for a shop’s customers rather than for one household: I worked in the inherited code of the app for a climate-controlled dog house at store entrances, with its live camera, its lock and the temperature inside.
  • TrustHab Resident App Device control for whole buildings rather than one home: an app for the climate units in student dormitories, built as one part of a larger smart hub system.

Common Questions

Which Protocols Have You Worked With?

MQTT through the cloud, encrypted with TLS, and UDP on the local network, both in Thermico. Sockets to a home gateway in Smart IoT Controls. If your device speaks something else, send me its documentation, and I will tell you plainly whether it is work I can take on and what it would involve.

What If a Firmware Update Fails Halfway?

The update is built to survive a bad moment on the home network. Thermico sends the firmware in small pieces and waits for the thermostat to confirm each one. If a confirmation is late, that piece goes again, and if the whole update fails, it starts over, three times at most. Nothing else is sent to the thermostat while this is going on, so a schedule change cannot cut across an update.

How Do You Protect Passwords and Other Credentials?

In Thermico, in three ways. The credentials the app keeps are stored in the Keychain, the iPhone’s protected storage. The log that the SDK writes hides passwords, so they never appear in it. And the conversation through the cloud is encrypted with TLS.

We Already Have an App. Can You Take It Over?

Yes. Smart IoT Controls and Smartsy, the app of a climate-controlled dog house, both came to me as code that others had begun. With an app that exists I start by reading its code, and you hear what I found before you see an estimate. That work has a service of its own, App Modernization.

What Does Your Device Do?

Tell me what the device is, how it talks and where it stands: on the bench, in a pilot, or on sale with an app that needs work. I will tell you what its iPhone app would take.

I reply within one working day. The first call and the estimate are free.

Discuss Your Device See How I Work