♥ 0 |
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. Cheers
Marked as spam
|
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: – https://asset.opendof.org/artifact/org.opendof.core-java/dof-oal/7.0.5/dists/core-java-dof-oal-7.0.5.noarch.tar.gz 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
|
Please log in to post questions.