Detectors
- Carbon Monoxyde Sensor
- Carbon Dioxyde Sensor
- Photometer
- Presence Sensor
- Motion Sensor
- Power Switch
- Push Button
- Thermometer
GasSensor can supply two models of gas sensor which are a standard CO2 sensor and a standard CO sensor.
Gas sensor can be used to detect the air quality in a room and prevent of asphyxiation.
Property name | Constant name | Value | Default value | Type | Modifiable |
carbonMonoxydeSensor.currentConcentration | CARBON_MONOXYDE_SENSOR_CURRENT_CONCENTRATION | [0.0-undefined] | 0.0 | Double | No |
There is no physical consideration for this type of device. Indeed, this device is used to return a physical value. In our case, we do not care about the way the sensor gives this value.
It is necessary to have the global variable named CO2Concentration in a room if you want to use the CarbonDioxydeSensor sensor without getting errors. Likewise, it is required to set the global variable named COConcentration in a room if you want to use the sensor CarbonMonoxydeSensor.
fr.liglab.adele.icasa.device.gazSensor.CarbonMonoxydeSensor
getSerialNumber()
: Get the device IDgetCOConcentration()
: Get the current gaz (CO) concentration of the sensor in µg/m^3
GasSensor can supply two models of gas sensor which are a standard CO2 sensor and a standard CO sensor.
Gas sensor can be used to detect the air quality in a room and prevent of asphyxiation.
Property name | Constant name | Value | Default value | Type | Modifiable |
carbonDioxydeSensor.currentConcentration | CARBON_DIOXYDE_SENSOR_CURRENT_CONCENTRATION | [0.0-undefined] | 0.0 | Double | No |
There is no physical consideration for this type of device. Indeed, this device is used to return a physical value. In our case, we do not care about the way the sensor gives this value.
It is necessary to have the global variable named CO2Concentration in a room if you want to use the CarbonDioxydeSensor sensor without getting errors. Likewise, it is required to set the global variable named COConcentration in a room if you want to use the sensor CarbonMonoxydeSensor.
fr.liglab.adele.icasa.device.gazSensor.CarbonDioxydeSensor
getSerialNumber()
: Get the device IDgetCO2Concentration()
: Get the current gaz (CO2) concentration of the sensor in µg/m^3
Photometer can supply only one model of photometer which is a standard photometer. The photometer returns the value of the current illuminance. This value is expressed as a double, in lux units.
Property name | Constant name | Value | Default value | Type | Modifiable | |
photometer.currentIlluminance | PHOTOMETER_CURRENT_ILLUMINANCE | current_illuminance | [0.0-undefined] | 0.0 | Double | No |
There is no physical consideration for this type of device. Indeed, this device is used to return a physical value. In our case, we do not care about the way the sensor gives this value.
It is necessary to have the global variable named Illuminance in a room if you want to use the photometer sensor without getting errors.
fr.liglab.adele.icasa.device.light.Photometer
getSerialNumber()
: Get the device IDgetIlluminance()
: Get the current illuminance in lux
PresenceSensor can supply only one model of presence sensor switch which is a standard presence sensor. The presence sensor can be used to detect if someone is present in a room.
Property name | Constant name | Value | Default value | Type | Modifiable |
presenceSensor.sensedPresence | PRESENCE_SENSOR_SENSED_PRESENCE | True/False | False | Boolean | No |
If the sensedPresence property is true then there is someone close to the sensor. On the contrary, if the sensedPresence is false, there is no one close to the sensor.
fr.liglab.adele.icasa.device.presence.PresenceSensor
getSerialNumber()
: Get the device IDgetSensedPresence()
: Get the current status of the switch:- switched On: true
- switched Off: false
MotionSensor can supply only one model of motion detection which is a standard transformation of a movement, into a signal or event. The motion sensor can be used to detect if someone is moving in a room. We describe in section MotionSensor device Outline methods linked to this device.
fr.liglab.adele.icasa.device.motion.MotionSensor
getSerialNumber()
: Get the device IDaddListener(DeviceListener listener)
: Subscribe to motion events
Hereafter we explain methods that can be useful for the user to retrieve motion detection events.
fr.liglab.adele.icasa.device.DeviceListener
deviceEvent(MotionSensor device, Object value)
: Event triggered when the motion sensor detects a movement:- device: the motion sensor object
- value: always Boolean.TRUE
PowerSwitch can supply only one model of power switch which is a standard binary switch. The power switch can switch ON and OFF an equipment (i.e.: binaryLight).
Property name | Constant name | Value | Default value | Type | Modifiable |
powerSwitch.currentStatus | POWER_STATUS_CURRENT_STATUS | True/False | False | Boolean | No |
If the currentStatus property is true then all equipment in a room will be switched on. On the contrary, if the currentStatus is false, all equipment will be turn off.
fr.liglab.adele.icasa.device.power.PowerSwitch
getSerialNumber()
: Get the device IDgetStatus()
: Get the current status of the switch:- switched On: true
- switched Off: false
switchOn()
: Set the power switch status ON:- switched On: true
switchOff()
: Set the power switch status OFF:- switched Off: false
PushButton can supply only one model of push button which is a standard binary button (is pressed, or not.). The push button can be used to notify events, for example, to send an alarm.
Property name | Constant name | Value | Default value | Type | Modifiable |
pushButton.pushAndHold | PUSH_AND_HOLD | True/False | False | Boolean | No |
fr.liglab.adele.icasa.device.button.PushButton
getSerialNumber()
: Get the device IDisPushed()
: Get the current status of the button:- Pushed: true
- Released: false
Thermometer can supply only one model of thermometer which is a standard thermometer. The thermometer can be used to have the current temperature in a room. The thermometer device returns a value in Kelvin degree for the temperature.
Property name | Constant name | Value | Default value | Type | Modifiable |
thermometer.currentTemperature | THERMOMETER_CURRENT_TEMPERATURE | [0.0-undefined] | 0.0 | Double | No |
It is necessary to have the global variable named Temperature in a room if you want to use the Thermometer sensor without getting errors.
fr.liglab.adele.icasa.device.temperature.Thermometer
getSerialNumber()
: Get the device IDgetTemperature()
: Get the current temperature of the thermometer in Kelvin degree