Difference between revisions of "V2/Concepts/Connector"

From Senfi Docs
Jump to: navigation, search
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 endpoint.
  
 
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.

Revision as of 14:18, 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 endpoint.

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

What's Next