Node.js

Building Desktop Apps with Electron for Xiaomi

By:  TAGS: , , , ,

Smart apps designed to make our lives easier are becoming increasing popular. These range from fitness trackers to lightbulb controls.  When designing these apps, you may find you need to improve the user experience.  Or you need to access the raw data, but setting up a full stack project would be overkill for this purpose. That is when Electron comes into play.

Electron is a new way to develop modern desktop apps with all the power of Node.js, HTML, and CSS.  You can easily complete a functional app in a short time frame, which could solve 80% of your day-to-day needs.

In this example, we are going to explore the Electron universe by creating a simple app that will give us access to the IoT world.  Integrating scales from Xiaomi, we will build a “Smart Scale” app that will show the user’s weight in real time. With Electron, the data will be collected and presented in a nice, clean format. Read More