All Projects → droplit → Droplit.io Edge

droplit / Droplit.io Edge

Licence: isc
The Droplit Edge software connects devices through and embedded hub.

Programming Languages

typescript
32286 projects

Labels

Projects that are alternatives of or similar to Droplit.io Edge

Coapnet
CoAPnet is a high performance .NET library for CoAP based communication. It provides a CoAP client and a CoAP server. It also has DTLS support out of the box.
Stars: ✭ 23 (+53.33%)
Mutual labels:  iot
Iot cloudcloud
Stars: ✭ 26 (+73.33%)
Mutual labels:  iot
Smarthome
Eclipse SmartHome™ project
Stars: ✭ 867 (+5680%)
Mutual labels:  iot
Send altitude cocoos
IoT program for Arduino Uno / STM32 Blue Pill (libopencm3) that reads BME280 temperature + humidity + altitude sensors, via I2C or SPI with DMA and multitasking. Sends sensor data to Sigfox via Wisol Sigfox module on UART. Runs on cocoOS task scheduling library http://www.cocoos.net
Stars: ✭ 24 (+60%)
Mutual labels:  iot
Swiftyoled
A Swift library for OLED displays based on SSD1306 and SSD1305 drivers.
Stars: ✭ 25 (+66.67%)
Mutual labels:  iot
Airmonitor
Air quality monitor based on STM32 & MT7681
Stars: ✭ 10 (-33.33%)
Mutual labels:  iot
Jackal
Instant messaging server for the Extensible Messaging and Presence Protocol (XMPP).
Stars: ✭ 899 (+5893.33%)
Mutual labels:  iot
Channelslightscontrol
Demo app with Django Channels to control Lights over websockets. Made for PyStPete meetup(https://www.meetup.com/Saint-Petersburg-Python-Meetup/).
Stars: ✭ 14 (-6.67%)
Mutual labels:  iot
M2x Python
AT&T M2X Python Library
Stars: ✭ 25 (+66.67%)
Mutual labels:  iot
Rf24node msgproto
An application that runs on a Raspberry Pi that interfaces RF24Network packets to a Message Bus. Currently MQTT & AMQP (alpha); Topics are RF24SensorNet compatible.
Stars: ✭ 11 (-26.67%)
Mutual labels:  iot
Pymb1a
Python class to communicate with Xiaomi Mi band 1A fitness tracker
Stars: ✭ 24 (+60%)
Mutual labels:  iot
Sigfox Downlink
Basic examples to handle Sigfox downlink requests
Stars: ✭ 24 (+60%)
Mutual labels:  iot
Awareness
The new architecture of co-computation for data processing and machine learning.
Stars: ✭ 11 (-26.67%)
Mutual labels:  iot
Iota.js
IOTA JavaScript monorepo
Stars: ✭ 921 (+6040%)
Mutual labels:  iot
Worldpay Within Sdk
Worldpay Within SDK to allow payments within IoT. Written in Go.
Stars: ✭ 12 (-20%)
Mutual labels:  iot
Nativescript Particle
🕹 Control your https://particle.io devices from NativeScript
Stars: ✭ 19 (+26.67%)
Mutual labels:  iot
Homeassistant
Example Home Assistant Configs
Stars: ✭ 846 (+5540%)
Mutual labels:  iot
Wifi Connect
Easy WiFi setup for Linux devices from your mobile phone or laptop
Stars: ✭ 883 (+5786.67%)
Mutual labels:  iot
Esp8266 Wifi Relay
simple sketch of using ESP8266WebServer to switch relays on GPIO pins. It serves a simple website with toggle buttons for each relay
Stars: ✭ 13 (-13.33%)
Mutual labels:  iot
Esp8266 thing dev
An all-in-one development board for the ESP8266 including an FTDI FT231X for USB programming.
Stars: ✭ 11 (-26.67%)
Mutual labels:  iot
 _| _ _  _ |.|_   . _
(_|| (_)|_)|||_.o |(_)
        |

BETA Droplit.io Edge Solution

Droplit.io Edge is the software that creates a connection to the Droplit.io cloud. This is typically run from an embedded device to control devices on the local network.

In order to run the Droplit.io Edge software, you must:

  1. Configure your environment
  2. Download the repository and its dependencies
  3. Create a local configuration
  4. Build the solution
  5. Run
  6. Enjoy

Currently we support these platforms:

  • Raspberry Pi 3 (Raspbian Lite 2016-05-27)
  • Openwrt
  • Windows 10 on desktop
  • macOS 10.12.X
  • Debian 8 +
  • Ubuntu 12 +

Platforms with known issues:

  • Low memory/cpu power embedded devices

Plugins

Devices are integrated through plugins in Droplit.io Edge. The currently integrated platforms through plugins are:

  • Philips Hue ecosystem
  • Belkin WeMo devices
  • Sonos Wireless Speaker
  • LIFX smart bulbs
  • Nanoleaf Aurora
  • Venstar Voyager
  • Raspberry Pi GPIO
  • Raspberry Pi + NeoPixel LEDs
  • Raspberry Pi + ws2801 LEDs
  • Raspberry Pi + apa102c LEDs

More platforms will be integrated in the future. PR's welcome.

About this repository

This repository is a multi-package typescript solution that contains several applications all built from one single build stream.

Getting Started

The following documentation assumes you are using a Raspberry Pi 3 on Raspbian Lite 2016-05-27 (newer versions should suffice). It should also be similar to running the software on desktop/server environments.

Environment configuration

Make sure your device is connected to the local network, we recommend a wired connection for best results.

Install Git

sudo apt-get install git

Install Nodejs

The Nodejs Foundation provides arm6,7,8 builds of node. https://nodejs.org/en/download/current/

For instructions on installing NodeJS, see https://docs.droplit.io/docs/install-nodejs-on-linux

Install global NPM dependencies

run:

npm install -g typescript gulp

Downloading Droplit.io Edge

Using git:

run:

git clone https://github.com/droplit/droplit.io-edge.git --depth 1

Installing project dependencies

From the project root folder (cd ~/droplit.io-edge)

run:

npm install

Next, install the gulp command line utility:

run:

npm install --global gulp-cli

Then you can install all the node modules and link the dependent projects with a single command.

run:

gulp setup

You only need to do this once. (unless the project dependency structure change)

Local configuration

You must supply the EcosystemID in order for the edge to link to your ecosystem.

Create a localsettings.json file by copying the /projects/droplit-edge/localsettings.master.json file.

cd /projects/droplit-edge/
cp localsettings.master.json localsettings.json

Use this file to enable plugins and to supply your EcosystemID.

All plugins:

droplit-plugin-lifx,
droplit-plugin-philps-hue,
droplit-plugin-sonos,
droplit-plugin-wemo,
droplit-plugin-voyager
droplit-plugin-gpio

Go to the dev portal http://portal.droplit.io and copy your ecosystemId into the ecosystemId value in your localsettings.json file.

Building

You can run a build with linting any time by running:

gulp build

If you want to build and continuously watch for changes, you can simply run: gulp watch

Debugging/Running

To observe debug output, prior to running:

(Unix / Linux) export DEBUG=droplit:*

(Windows) set DEBUG=droplit:*

To run the application from the project root (cd ~/droplit.io-edge)

run:

node droplit-edge

Cleanup or Reconfiguration

To undo the linked modules:

run: gulp teardown

If you need to change the project dependencies:

  • run gulp teardown
  • then change the projects.json file
  • then run gulp setup.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].