Skip to content

Latest commit

 

History

History
74 lines (58 loc) · 923 Bytes

sensor.adoc

File metadata and controls

74 lines (58 loc) · 923 Bytes

Sensor

Object represent sensor, extends [class-datacollectiontarget]

Instance attributes

capabilities ⇒ Integer

Sensor capabilities - currently onle one capability: Modbus(1).

deviceAddress ⇒ String

Device addtess

deviceClass ⇒ Integer

Device class

gatewayNode ⇒ [class-node]

Getway node

gatewayNodeId ⇒ Integer

Getway node id

isModbus ⇒ Boolen

If sensor is Modbus sensor

macAddress ⇒ String

MAC address

modbusUnitId ⇒ Integer

MAC address

model ⇒ String

Model

serialNumber ⇒ String

Serial number

vendor ⇒ String

Vendor

Constants

Table 1. Sensor class
Description Value

Other

0

UPS

1

Water meetr

2

Electricity meeter

3

Temperature

4

Humidity

5

Temperature and humidity

6

CO2

7

Power supply

8

Current

9

Water leak

10

Smoke

11