eLDERmon EnOcean Sensors
This post follows my last post on sensors.
Since I had run out of time before Christopher's Weekly update, I had to publish it.
In my last post I was eluding to the lack of information about the types of sensors, and what term to use for each.
My search tonight has uncovered the information and rather than edit the previous post I thought it worth doing another.
Inside org.openhab.binding.enocean-1.5.1.jar is a second file java-enocean-library-0.0.1.jar this file holds all the key elements you need.
EEP | Type | Parameter | Unit | Header 5 | misc |
---|---|---|---|---|---|
EEP_D2_01_08 | PowerSensor | Parameter.POWER | NumberWithUnit(Unit.WATT) | ("W") | |
EEP_A5_02_05 | TemperaturSensor | Parameter.TEMPERATURE | NumberWithUnit(Unit.DEGREE_CELSIUS | ("°C") | this.calculationUtil.rangeValue(db1, this.scaleMin, this.scaleMax, 255.0D, 0.0D, 3))); |
EEP_A5_08_02 | LightTemperture AndOccupancySensor | Parameter.TEMPERATURE | NumberWithUnit(Unit.DEGREE_CELSIUS | this.calculationUtil.rangeValue(db1, 0.0D, 51.0D, 0.0D, 255.0D, 3))); | |
Parameter.ILLUMINANCE | NumberWithUnit(Unit.LUX | ("lx") | this.calculationUtil.rangeValue(db2, 0.0D, 1020.0D, 0.0D, 255.0D, 4))); | ||
Parameter.POWER | NumberWithUnit(Unit.VOLTAGE | ("Volt") | this.calculationUtil.rangeValue(db3, 0.0D, 5.1D, 0.0D, 255.0D, 2))); | ||
Parameter.MOVEMENT | ContactState.values()[((db0 & 0x2) >> 1)]; | ||||
EEP_A5_07_03 | OccupancySensor | Parameter.POWER | NumberWithUnit(Unit.VOLTAGE | this.calculationUtil.rangeValue(db3, 0.0D, 5.0D, 0.0D, 250.0D, 2))); | |
Parameter.ILLUMINANCE | NumberWithUnit(Unit.LUX | this.calculationUtil.rangeValue(db2, 0.0D, 1020.0D, 0.0D, 255.0D, 4))); | |||
Parameter.MOVEMENT | Parameter.MOVEMENT | OnOffState movement = OnOffState.values()[((db0 & 0x80) >> 7)]; | |||
EEP_F6_02_01 | RockerSwitch | ||||
EEP_F6_02_02 | RockerSwitch | ||||
EEP_D5_00_01 | SingleInputContact | ||||
EEP_07_06_01 | EltakoLumSensor | Parameter.ILLUMINANCE | NumberWithUnit(Unit.LUX, | radioPacket4BS.getDb3() | |
EEP_A5_09_05 | VOCSensor | Parameter.VOC_CONCENTRATION | NumberWithUnit(Unit.PPB | ("ppb - parts per billion") | |
EEP_A5_09_04 | CO2Sensor | Parameter.CO2_CONCENTRATION | NumberWithUnit(Unit.PPM, co2) | ("ppm - parts per million") | radioPacket4BS.getDb2() |
Parameter.TEMPERATURE | NumberWithUnit(Unit.DEGREE_CELSIUS | ||||
Parameter.HUMIDITY | NumberWithUnit(Unit.HUMIDITY | ("%") |
So armed with this knowledge, I know know what to enter for my movement sensor
from this { enocean="{id=00:83:1D:FA, eep=A5:07:01, parameter=PIR_STATUS}" } to this { enocean="{id=00:83:1D:FA, eep=A5:07:03, parameter=MOVEMENT}" }
Likewise I can try changing my Illumination
from this { enocean="{id=01:81:7B:88, eep=A5:10:03, parameter=ILLUMINANCE}" } to this { enocean="{id=01:81:7B:88, eep=A5:07:03, parameter=ILLUMINANCE}" }
So I'm off to try these new settings.
Mark