-->
Page 1 of 1

NodeWire, a new paradigm for building IoT applications

PostPosted: Sun Apr 16, 2017 3:36 pm
by Ahmad Sadiq
I have been working on an IoT project for almost 2 years now. It is an IoT framework that partly runs on a device and partly runs on the cloud. The device side is a library that enables you to build your devices whether sensor or actuator without worrying about connectivity. It runs on Arduino IDE and supports ESP8266 and other arduino compatible boards and modules.

The power of the framework is what you can do on the cloud. Each device is modeled as a node with ports that can be manipulated using unique tools provided on the cloud. One of these tools is a graphical application builder that can be used to manipulate data as if they are signal flows and can be easily used to build complex web applications with databases, charts, forms and other rich user interface elements. This can be wired to your physical devices to read, store, analyze and present sensor data and devise control strategies back to actuator in realtime. All this without writing a single line of code.

I want the community to help me evaluate this system and I am hoping to recruit interested developers to join me in the project. Please read the somewhat sparse documentation here: http://www.nodewire.org

Re: NodeWire, a new paradigm for building IoT applications

PostPosted: Mon Apr 17, 2017 3:45 am
by Ahmad Sadiq
Example.
1. Visit http://cloud.nodewire.org/ and create an account.
2. Get your instance ID from the settings menu.
3. paste the following code in your Arduino IDE and compile and upload to a NodeMCU:
Code: Select all#include <nnode.h>
#include <nesp8266link.h>

#define LED LED_BUILTIN

Node<int> node;
Esp8266Link link;

void setup() {
  Serial.begin(38400);
  link.begin();

  node.inputs = "led";
  node.init("node01");
  node.setLink(&link);

  node.on("led",
     [](nString val, nString sender) {
        digitalWrite(LED,(int)val);
     }
  );

  pinMode(LED, OUTPUT);
}

void loop() {
  node.run();
}