It took me a while to ramp up and be able to do something interesting with it. Understanding the concepts involved in asynchronous JavaScript/Typescript apps (web or anything else) was a bit different to what I was used to, let alone dealing with promises and observables in Angular.

Anyway, I decided to create this firmware and an Ionic app that goes along. And what better time to share it with everyone than now that the new Particle Mesh devices are out!

The app

While it deserves a write up on its own, in the meantime know that it's built with Angular, HTML and CSS. All those things get combined beautifully in Ionic.

The app can run on your Android device (phone or tablet) and it looks like this:

;

;

1 / 3 • Controlling 4 relays

To control your relays, swipe your finger left on top of the relay you want to control to expose the buttons menu, and hit the on, off or pulse buttons.

Hitting the pulse button will turn on the relay for a number of milliseconds. This can be changed in the firmware.

STEP 6: Hit the Done button at the bottom and go back to the Relays screen. Your relays status should refresh automatically!

Final notes

Since the app stores the Particle Access Token on the Android device in order to communicate with the Particle Cloud and your Particle device, it is recommended that this app is only used on Android devices you own.

Need help?

If you require professional help with your projects, don't hesitate to write me a line about your needs at gusgonnet@gmail.com. Thank you!