Introduction: Deviot the IoT Plugin for Sublime Text
The Internet of Things has completely invaded us, as developers we face with new technologies every day. Some time ago I met PlatformIO, an open source project who through the command console (and now available also in Atom) allows you to compile and upload firmwares for more than 200 development boards (and increasing each day). It also has an integrated library manager, among other features.
Deviot is a plugin, also open source, for now available in Spanish and English, it integrates most of those functions in Sublime Text (Windows, OSX, Linux).
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Setup
The installation process is fairly simple.
- First, you need to download and install Sublime Text and then Package Control. To install this last one, you must paste the code that appears on the package control website in the Sublime Text console (Menu View -> Show Console)
- Next, install Python, the process is like any other software, but you have to make sure to select Add python.exe to path option to avoid problems with Deviot and also, to have python available from the console of your O.S.
- Finally, in Sublime Text, go to the menu Preferences-> Package Control (Ctrl+Shift+P) and search the option Package Control: Install Package, when you select It may take a few seconds at loading the packages list when you select it. After it appears, write deviot and choose it, and wait until the entire installation process is completed. (as it is shown in the gif above)
Step 2: Features
- Colored Output Console
- Quick Search: An easy way to search between the list with more than 270 boards
- Library Search: Install or remove your libraries without any effort
- Snippets: Save time when coding
- Support for OTA uploads and autodiscover mDNS services
- Works with PlatformIO or Arduino/Genuino projects
Step 3: How to Use It
PlatformIO uses a specific directorie organization to work, if you already have use it you will know what I’m talking about, but if you don’t, there is no problem, Deviot is also able to work just as the Arduino IDE or any other development environment.
1. Write your firmware
2. Build or upload your code (You will be prompted to choose your build/upload options)
Step 4: Collaborate
Although it have some months of development and feedback from a few users, there are still things to polish and add, such as automatically discovery devices via wireless (OTA) among other things.
There are many thing you can do to collaborate with this project
- Report an issue in the project's github
- Discuss about new features
- Translate deviot to your language