Difference between revisions of "V2/Concepts/Connector"

From Senfi Docs
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
[[File:Concepts_Connector.png|1000px|center|link=]]
 
[[File:Concepts_Connector.png|1000px|center|link=]]
 +
 +
There are two ways to send data to Senfi, namely:
 +
* via MQTT
 +
* via Senfi API
  
 
A typical integration follows this pattern:
 
A typical integration follows this pattern:
  
  External system --> Connector --> Senfi MQTT endpoint
+
  External system --> Connector --> Senfi MQTT endpoint / Senfi API
  
Either the external system you are monitoring pushes to the Connector, or the Connector polls the external system for its current values. Either way, once the Connector has the values of its measurement, the Connector can prepare to send it to Senfi's MQTT endpoint.
+
Either the external system you are monitoring pushes to the Connector, or the Connector polls the external system for its current values. Either way, once the Connector has the values of its measurement, the Connector can prepare to send it to Senfi's MQTT endpoint or Senfi's API.
  
 
Connectors should be built on standard communications protocol for building automation and control systems such as BACnet, OPC UA, Modbus etc.
 
Connectors should be built on standard communications protocol for building automation and control systems such as BACnet, OPC UA, Modbus etc.
Line 16: Line 20:
 
==== What's Next ====
 
==== What's Next ====
 
-----
 
-----
* Learn about [[V2/Concepts/Site|Site, Building/Blocks/Levels (BBL)]]
+
* Learn about [[V2/Concepts/API Key|API Key]]
 +
* [[V2/Integrate/Others|Writing Connectors]]

Latest revision as of 14:41, 24 June 2021

Connectors

Connectors are applications built to allow external systems to communicate with Senfi. At the moment, Senfi provides a MQTT interface for receiving data from external systems.

Here's a diagram of Senfi solution architecture showing the role of Connectors as a communicator between external systems and Senfi.

Concepts Connector.png

There are two ways to send data to Senfi, namely:

  • via MQTT
  • via Senfi API

A typical integration follows this pattern:

External system --> Connector --> Senfi MQTT endpoint / Senfi API

Either the external system you are monitoring pushes to the Connector, or the Connector polls the external system for its current values. Either way, once the Connector has the values of its measurement, the Connector can prepare to send it to Senfi's MQTT endpoint or Senfi's API.

Connectors should be built on standard communications protocol for building automation and control systems such as BACnet, OPC UA, Modbus etc.

What's Next