Documentation
¶
Index ¶
Constants ¶
View Source
const ( PlusSeriesID = ".3" Sensors = PlusSeriesID + ".5" SensorBase = Sensors + ".1.1" SensorIdListBase = SensorBase + ".1" SensorNameBase = SensorBase + ".2" SensorTypeBase = SensorBase + ".3" SensorValueBase = SensorBase + ".4" SensorUnitBase = SensorBase + ".5" SensorStatusBase = SensorBase + ".6" CommonTable = Sensors + ".1" TemeratureTable = Sensors + ".2" HumidityTable = Sensors + ".3" DrycontactTable = Sensors + ".4" Current4to20mATable = Sensors + ".5" DcVoltageTable = Sensors + ".6" AirflowTable = Sensors + ".7" MotionTable = Sensors + ".8" WaterTable = Sensors + ".9" SecurityTable = Sensors + ".10" SirenTable = Sensors + ".11" RelayTable = Sensors + ".12" AcVoltageTable = Sensors + ".13" SmokeTable = Sensors + ".14" WaterRopeTable = Sensors + ".21" PowerTable = Sensors + ".22" FuelTable = Sensors + ".24" TankSenderTable = Sensors + ".26" DoorTable = Sensors + ".27" TemperatureArrayTable = Sensors + ".28" TowerLEDTable = Sensors + ".29" NumTable = Sensors + ".31" )
Variables ¶
View Source
var SensorsTypes = map[string]SensorType{
"temperature": temperature,
"humidity_dual": humidity_dual,
"temperature_dual": temperature_dual,
"four_20mA": four_20mA,
"dcvoltage": dcvoltage,
"airflow": airflow,
"dry_inout": dry_inout,
"dry_in": dry_in,
"motion": motion,
"water": water,
"security": security,
"siren": siren,
"acvoltage": acvoltage,
"relay": relay,
"thermocouple": thermocouple,
"smoke": smoke,
"drycontact_array": drycontact_array,
"temperature_array": temperature_array,
"waterrope": waterrope,
"fuellevel": fuellevel,
"tanksender": tanksender,
"five_drycontacts": five_drycontacts,
"irms": irms,
"vrms": vrms,
"watt": watt,
"energy": energy,
"powerfactor": powerfactor,
"reactive": reactive,
"cbstatus": cbstatus,
"handlelock": handlelock,
"air_pressure": air_pressure,
"ir_remote": ir_remote,
"digital_amp": digital_amp,
"digital_watt": digital_watt,
"valve_status": valve_status,
"lcd": lcd,
"buzzer": buzzer,
"tower_led": tower_led,
"pulse_counter": pulse_counter,
"flow": flow,
"edge_counter": edge_counter,
"tanklevel_height": tanklevel_height,
"tanklevel_volume": tanklevel_volume,
"diff_pressure": diff_pressure,
"tanklevel_2m": tanklevel_2m,
"tanklevel_5m": tanklevel_5m,
"tanklevel_10m": tanklevel_10m,
"tanklevel_15m": tanklevel_15m,
"tanklevel_20m": tanklevel_20m,
"thermostat": thermostat,
"virtual": virtual,
"sound": sound,
"software_motion": software_motion,
"board_state": board_state,
"power_meter": power_meter,
"access": access,
"door": door,
"reader": reader,
}
Functions ¶
This section is empty.
Types ¶
type SensorType ¶
type SensorType uint64
Click to show internal directories.
Click to hide internal directories.