We’re excited to announce Particle’s next 1st class integration with Azure IoT Hub. Acting as the “front door” to Azure, streaming from Particle into IoT Hub will make it easy to forward device data onto any of Azure’s products to add intelligence and robustness to your IoT product or application.
For more information on how to get started, check out the docs on the IoT Hub integration. This integration is being released as a beta.
After feedback from early users of the new IoT Hub integration, you now can customize the JSON payload that gets sent to Azure when a device triggers the integration. This will help make it easier for downstream Azure applications to consume the data that enters IoT Hub. To customize the payload, click the “Advanced Settings” link when creating the integration, and put your JSON into the code editor:
How do I download and install the toolchain that will allow me to compile Particle firmware locally on my computer, without a connection to the Internet?
Finally, we've built an FAQ for that. Head on over to the following document for a step-by-step guide to get the Particle toolchain installed on your Mac, Windows, or Linux machine:
Hey friends! Just in time for the holidays we have released new pre-release firmware v0.6.1-rc.1. Available now on https://build.particle.io for Core/Photon/P1/Electron.
Here are just some of the exciting features:
RGB LED and SETUP/MODE button mirroring!
LED Signaling Themes!
New v9 Bootloader for Photon/P1/Electron automatically applied
More Arduino Library support by default
Improved Electron data usage and communications
Lots of new System Events!
Listening Mode timeout API (default: Wi-Fi = no timeout, Cellular = 5 minute timeout).
It’s honestly a big list with lots of features, enhancements and bug fixes! Please read the full release notes here.
Hey everyone! We’ve got a big update to all of our IDEs (Web IDE, Desktop IDE, and CLI) that implements our brand new firmware library manager. The advantages of the new library manager are:
Support in all our IDEs: Support for the Particle library manager in our web IDE, desktop IDE, and command line interface (CLI)
Improved Arduino library compatibility: Most Arduino libraries can now be copy/pasted into our library manager without modification
Libraries with dependencies: Add one library to your Particle project and if it requires others, they’ll be included automatically
Verified libraries: Libraries that have been tested for ease-of-use and completeness by the Particle team to ensure a high quality development experience
API access: Libraries can be accessed through the Particle Cloud API, so you can build plugins for other popular IDEs to access our firmware library manager
There’s a ton of great functionality in there, so be sure to check out our extended community post and our blog post for more details.
A big announcement today! For Particle product creators building cellular-connected devices, seamlessly managing a fleet of SIM cards becomes increasingly important as you grow. Today, we launched SIM management for products, equipping you with another useful tool that makes it even easier to go from prototype to production when using the Electron in your deployment.
Some of the most valuable features of SIM management for products include:
Import and pre-activate SIM cards en-masse to ensure a smooth unboxing experience for end users of your products
Gain meaningful insights into data usage patterns by viewing fleet-wide usage information
Set sensible cellular defaults to save you time and effort without sacrificing control of individual SIM cards
Take advantage of volume-based pricing for cellular service available exclusively to product creators
This feature is being launched in public beta. For more information on how to get started, check out the guide on our docs!
Clicking on it brings up the new Quick reference drawer. It will show you all the device modes (docs), so you can quickly figure out in which state your device is currently in.
Here’s something new to make sure every day doesn’t feel like groundhog day: you can now use custom classes in your code on the Web IDE and you will no longer get tripped up by if else(foo).
class X {
};
// no longer says X does not name a type
void doit(X &x) {
}
bool foo, bar;
void setup() {
X x;
doit(x);
if (bar) {
return;
}
// no longer confuses else if(foo) with a function declaration...
else if (foo)
return;
}
2/7/2017: Bug fixes and improvements to the Web IDE
We care a lot about the way that our tools help you achieve your goals and we know that sometimes the experience can be affected by bugs. This sprint we knocked some off and also added some small improvements.
Web IDE
Fixed: Users could change selected device when a flash was in progress. Sometimes, in a rush, users changed their starred device during a flash, and this caused some minor confusion. You will see a modal if you try this now, so hopefully, no more confusion around.
Fixed: Claiming a device is broken in the Web IDE, as it also loads products. After claiming a device, the list of products was loaded in the list of devices. This doesn’t happen anymore, now only your cool new device will be added to the list.
Fixed: Remember last code a user had open, reopen when they return We want you to be able to get back to your code fast, so after opening an app, next time you go to build.particle.io, you will be presented with the last app you’ve opened.
Fixed: Refresh devices doesn’t show newly claimed devices Claim a device through the CLI or the API? We’ll make sure it shows up when you hit the refresh button in the Devices sidebar.
Improved: Device selection Previously, if you deselected the active device, flash and verify were disabled until you selected a new one. You must now change your device target to another device to “un-select” the original one.
Improved: Console menu item now directs to /logs. Need a quick sneak peek of what your device is telling to the world? Click on the Console icon and we will show you. Not seeing anythings in the logs? Make sure you’re publishing events.
There is a new FAQ that describes how to use Eclipse, a free IDE for Windows, Mac, and Linux, along with OpenOCD, to do source-level debugging of code running on a Particle Photon, P1, or Electron.
Some of the things you can do:
You can see more information about your currently selected device in the bottom right corner of the Web IDE. It contains the following: Last Event Name, Last Event Data, Device Type, Device Name, Device Status, Device Version. Clicking on the lightbulb will signal the device.
Do you use functions or variables in your applications? You are now able to call functions & see the value of variables in Console. You can use the new functionality in two places: On the Devices page / On the devices page of a Product, just click on any device row to expand it and you will see the new view.
3/23/2017: API now sorts device lists by last connection time by default
GET /v1/devices and GET /v1/products/:productIdOrSlug/devices will now sort devices by the last time they connected to the cloud, with the most recently connected appearing first. This will help make it easier to quickly identify and interact with devices that are most active.
Library publish defaults to library in current directory
White list files when uploading library to avoid publishing unnecessary files (only include code files when publishing so you don’t publish .bin, .png, .pdf by mistake)
Cloud
Fix viewing large libraries in the Web IDE
Relax validation rules to allow renamed libraries and header-only libraries