Deploying a gateway for The Things Network using resin.io

This article was written by Matthew Macdonald-Wallace of Mockingbird Consulting. Mockingbird Consulting provides workshops on a wide range of topics and is committed to inspiring the next generation of engineers. Their "Internet of Threes" program helps organizations understand how people, places, and things are all part of a successful IoT

Open Source Guide #2: Code Quality and Static Analysis

This is the second post in a series on best practices and tools for open-sourcing a project, based on our experience building Etcher and various other projects at resin.io. We'll be covering topics including documentation, code quality, community building, error tracking, and so forth. Let us know if there

Move to the edge with Azure IoT and resin.io

The benefits of running services on the edge—fast response times, low bandwidth, the ability to work offline—make this approach an attractive alternative to a fully cloud-based model. But there are some things to think about before moving to the edge: How do you keep the development process simple,

Manage a fleet of drones

with resin.io, AWS IoT, & NodeJS This article was authored by Excelion Partners, a tech consulting firm located in Wisconsin that specializes in full-stack, globally scalable IoT solutions. Project source code and additional files available on GitHub. Fleet management concerns, such as securing, updating, and controlling a multitude of

Cellular connectivity with resinOS 2.0, 3G dongles, and SORACOM SIM cards

The following is a guest post by Alexis Susset of SORACOM, an IoT communications platform. Today we are setting up resin.io devices with a SORACOM SIM card and our preferred enterprise 3G Dongle, the Huawei MS2131. With this setup complete, we'll be able to ship out devices that work

Advanced Device Provisioning Workflow for Large Fleets: Preloading and Pre-provisioning

Let's imagine you have a factory where you are creating resin.io-enabled devices that need to function when they first boot up. Maybe your devices have to function even before they are able to connect to the Internet and download software. Or perhaps you are sending out SD cards for

ElectronJS with Raspberry Pi Made Easy As Pie

As we often point out at meetups and talks, the origins of resin.io go back to digital signage applications. We've since been focused on improving remote device deployment and management for all types of applications, but have only recently revisited the digital signage use case. Carlo, who is very

Open Source Guide #1: Documentation and JSDoc

This is the first post in a series on best practices and tools for open-sourcing a project, based on our experience with Etcher and other such projects. We'll be covering topics including documentation, code quality, community building, error tracking, and so forth. Let us know if there is anything you

Safely Migrating Away From "prepublish" with npm 4

The prepublish script in npm has been contentious for quite some time, and in npm 4 it's finally been deprecated, in the first step on the long road to a real fix. If you're currently using prepublish to ensure certain tasks get run before publish though, actually putting this into

Tick-Tock, Says the System Clock

Recently we have had a couple of in-depth conversations with resin.io users about how exactly is the system time managed on a device. It all boils down to using systemd for time management and interacting with the time service over dbus messaging. Time Synchronization When the resin.io device