Looking to integrate OpenDof with my Node.Js program


Hi All,

Looking to integrate OpenDof with my Node.Js program. Can some one suggest me the URL for the path of library to download to handle this integration.

I am curious to understand how does Cloud controls the on-prem iOT gateway when they are connected on the Cellular interface.
Is it thru publish/subscribe model?


Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on April 20, 2017 11:51 am
Private answer

Sorry for answering so late, we had some transition changes, and some things fell through the crack. To answer your questions though, we currently don’t have a JavaScript library and don’t have any plans in creating one for OpenDOF in the future, as of yet. In order to integrate OpenDOF with your Node.js application, if you feel comfortable enough, you can create a Java client (REST) library that wraps the OpenDOF libraries’ responses in order to communicate with your Node.js application. I would recommend downloading the latest Java IoT libraries here at these link(s) to get started:


For your second question about whether OpenDOF uses a publish/subscribe model, the libraries actually do both, regardless of the medium for connectivity (Wi-Fi, Cellular, etc.). For example, SET, Invoke operations push/publish to the cloud whereas DOFSubscriptions and DOFRegistrations subscribe to a device that is providing properties or potential events. So say for a light, the turning on/off of the light would be a push, and then you could have the light send off an event if it’s power usage reached a certain limit that another managing device/person would be listening to. (subscribe)

Marked as spam
Posted by (Questions: 0, Answers: 1)
Answered on June 6, 2017 1:45 pm