eHouse CAN/RF smart home system measurement, regulation events

eHouse CAN/RF Home Automation – measurements, control and events

This article covers both “eHouse CAN” and “eHouse RF” versions.
Smart Home eHouse CAN/RF controllers allows the measurement of physical values:

  • voltage
  • temperature
  • lighting
  • force of the wind
  • humidity
  • etc..

and their regulation, turning on/off appropriate actuators.

Measuring inputs (Analog/Digital Converter) ADC1, ADC2 measure the voltage between <0..4.1V) with sensors.

Each measurement input on the controller is assigned 3 events associated with the 2 thresholds.

  • while value is less than the lower threshold – is exceeding, below this threshold “Low Direct” event is launched
  • while value larger than the upper threshold – is exceeding , above this threshold is “High Direct” event is launched
  • while Value in the range between the lower and upper threshold – entering into this range “OK Direct” is launched

Events Constantly set during the initial configuration of the controller.
The rest of the settings, change thresholds can be done by running the ADC event.

eHouse4CAN smart home system for ADC converter event parameters:

  • 1. Address H [8b] = ‘7F’ for “eHouse CAN”, ‘7E’ for “eHouse RF”
  • 2. Address L [8b] = ’01’..’FE’
  • 3. CMD [8b] – command = ‘0C’
  • 4. ADC NO [8b] – ADC input Number . For example : input 1 = ’01’
  • 5. ADC Low Level H [8b] – Lower threshold higher byte ’00’ .. ‘FF’
  • 6. ADC Low Level L [8b] – Lower threshold lower byte ’00’ .. ‘FF’
  • 7. ADC High Level H [8b] – Upper threshold higher byte ’00’ .. ‘FF’
  • 8. ADC High Level L [8b] – Upper threshold lower byte ’00’ .. ‘FF’
  • 9. Alarm Delay [8b] – Time before start Alarm *20 seconds
  • 10. Options sum bits, individual bits
    » 0x80 [1b] – Administration mode
    » 0x40 [1b] – ” Enable alarm H ” – Activates an alarm when exceeding the upper threshold (*)
    » 0x20 [1b] – ” Enable Alarm L ” – Activates an alarm when lowering below the lower threshold (*)
    » 0x10 [1b] – ” Disable Event ” – Blocks launch events associated with measuring ranges (*)
    » 0x08 [1b] – ” Inverted Scale ” – Negative processing scale (100%-x) , eg. for the light sensor (*)

(*) – requires the inclusion of administrative mode.

For example, an event DirectEvent ” 7F 03 0C 01 02 96 02 9A 20 00 ” means an event for CAN controller #3 and #1 ADC input setting : lower threshold “0296” and the top “029A”

12 bit converter is used so there is 4096 measuring levels .
This means that the quantum is ( 1/4095)*4.1V . As a percentage value is 0.02442% of voltage 4.1V .
These values ​​are converted to a number (0..4095) by configuring the application depending on the sensor type .
Smart Home eHouse CAN/RF Lead drivers .