Skip to main content

Libraries And Integrations

The Electric Imp Platform supports the addition of software libraries to both your agent and device code. Any of our libraries may be included in your code, and you can include multiple libraries. At this time, only libraries hosted by Electric Imp are available. However, all of our libraries are open source, and you can viewed, download or fork the library source from our GitHub repo.

Electric Imp’s libraries have been issued under the terms of the MIT License allow you free usage of each library in your own code. You should understand the terms of this license before you make use any of our libraries. Some of the libraries we host are provided by third-parties, so you should check a given library’s documentation for ownership information and any special licensing terms imposed by the third-party concerned.

New Libraries

Library Name Load The Library With... Targets
W3W

#required "w3w.agent.lib.nut:1.0.1"

  • agent
BG96_Modem

#require "BG96_Modem.device.lib.nut:0.0.5"

  • device
BG96 GPS

#require "BG96_GPS.device.lib.nut:1.0.1"

  • device
Bluetooth BlinkUp Support

#require "bt_firmware.lib.nut:1.0.0"
#require "btleblinkup.device.lib.nut:2.0.0"

  • device
  • factory
Messenger + ReplayMessenger

#require "Messenger.lib.nut:0.2.0"
#require "ReplayMessenger.device.lib.nut:0.2.0"

  • agent
  • device
BQ24295 Battery Controller

#require "BQ24295.device.lib.nut:1.0.0"

  • device

Recently Updated Libraries

Library Name Load The Library With... Targets
SPIFlash

#require "SPIFlash.class.nut:1.0.1"

  • device
WS2812

#require "WS2812.class.nut:4.0.1"

  • device
Dark Sky

#require "DarkSky.agent.lib.nut:2.0.0"

  • agent
W3W

#required "w3w.agent.lib.nut:1.0.1"

  • agent
Promise

#require "promise.class.nut:4.0.1"

  • agent
  • device
SPIFlashLogger

#require "SPIFlashLogger.device.lib.nut<code>:2.2.0"

  • device

The logos shown above are the property of their respective owners. Usage of these logos should not be taken as endorsement by those owners of any Electric Imp product or service.