Skip to content

Commit

Permalink
added new option for HB-UNI-Sen-WEA
Browse files Browse the repository at this point in the history
- show rain detector heater status in ccu
  • Loading branch information
jp112sdl committed Jul 27, 2018
1 parent f716c1d commit a9923cd
Show file tree
Hide file tree
Showing 4 changed files with 346 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<device version="2" rx_modes="CONFIG,WAKEUP,LAZY_CONFIG" cyclic_timeout="14800">
<supported_types>
<type name="HB-UNI-Sen-WEA" id="HB-UNI-Sen-WEA">
<parameter index="9.0" size="1.0" cond_op="GE" const_value="0x12"/>
<parameter index="9.0" size="1.0" cond_op="E" const_value="0x12"/>
<parameter index="10.0" size="2.0" const_value="0xF1D0" />
</type>
</supported_types>
Expand Down Expand Up @@ -125,8 +125,14 @@
<event frame="WEATHER_EVENT"/>
</physical>
</parameter>
<parameter id="RD_HEATING" operations="read,event">
<logical type="boolean"/>
<physical type="integer" interface="command" value_id="RD_HEATING" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
</parameter>
<parameter id="RAIN_COUNTER" operations="read,event" control="NONE">
<logical type="float" min="0.0" max="9666.265" unit="mm"/>
<logical type="float" min="0.0" max="32767.0" unit="mm"/>
<physical type="integer" interface="command" value_id="RAIN_COUNTER" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
Expand Down Expand Up @@ -154,7 +160,7 @@
<conversion type="integer_integer_scale" div="45" mul="2"/>
</parameter>
<parameter id="GUST_SPEED" operations="read,event">
<logical type="float" min="0.0" max="1638.3" unit="km/h"/>
<logical type="float" min="0.0" max="3276.7" unit="km/h"/>
<physical type="integer" interface="command" value_id="GUST_SPEED" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
Expand Down Expand Up @@ -250,7 +256,8 @@
<parameter type="integer" index="19.0" size="1.6" param="WIND_SPEED"/>
<parameter type="integer" index="19.6" size="0.2" param="WIND_DIRECTION_RANGE"/>
<parameter type="integer" index="21.0" size="1.0" param="WIND_DIRECTION"/>
<parameter type="integer" index="22.0" size="2.0" param="GUST_SPEED"/>
<parameter type="integer" index="22.0" size="1.7" param="GUST_SPEED"/>
<parameter type="integer" index="22.7" size="0.1" param="RD_HEATING"/>
<parameter type="integer" index="24.0" size="0.4" param="UVINDEX"/>
<parameter type="integer" index="24.4" size="0.4" param="LIGHTNING_DISTANCE"/>
<parameter type="integer" index="25.0" size="1.0" param="LIGHTNING_COUNTER"/>
Expand Down
267 changes: 267 additions & 0 deletions src/addon/firmware/rftypes/hb-uni-sen-wea_ge_v13.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,267 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<device version="2" rx_modes="CONFIG,WAKEUP,LAZY_CONFIG" cyclic_timeout="14800">
<supported_types>
<type name="HB-UNI-Sen-WEA" id="HB-UNI-Sen-WEA">
<parameter index="9.0" size="1.0" cond_op="GE" const_value="0x13"/>
<parameter index="10.0" size="2.0" const_value="0xF1D0" />
</type>
</supported_types>
<paramset type="MASTER" id="hm_uni_sen_dev_master">
<parameter id="Sendeintervall">
<logical type="integer" min="10" max="3600" default="60" unit="s" />
<physical type="integer" interface="config" list="0" index="32" size="2" />
</parameter>
<parameter id="HBWEA_ALTITUDE">
<logical type="integer" min="0" max="10000" default="0" unit="m" />
<physical type="integer" interface="config" list="0" index="34" size="2" />
</parameter>
<parameter id="TRANSMIT_DEV_TRY_MAX">
<logical type="integer" min="1.0" max="10.0" default="6.0"/>
<physical type="integer" interface="config" list="0" index="20" size="1"/>
</parameter>
</paramset>
<channels>
<channel index="0" type="MAINTENANCE" ui_flags="internal" class="maintenance" count="1">
<paramset type="MASTER" id="maint_ch_master" />
<paramset type="VALUES" id="maint_ch_values">
<parameter id="UNREACH" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="UNREACH" />
</parameter>
<parameter id="STICKY_UNREACH" operations="read,write,event" ui_flags="service,sticky">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="STICKY_UNREACH" />
</parameter>
<parameter id="CONFIG_PENDING" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="CONFIG_PENDING" />
</parameter>
<parameter id="RSSI_DEVICE" operations="read,event">
<logical type="integer" />
<physical type="integer" interface="internal" value_id="RSSI_DEVICE" />
</parameter>
<parameter id="RSSI_PEER" operations="read,event">
<logical type="integer" />
<physical type="integer" interface="internal" value_id="RSSI_PEER" />
</parameter>
<parameter id="DEVICE_IN_BOOTLOADER" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="DEVICE_IN_BOOTLOADER" />
</parameter>
<parameter id="UPDATE_PENDING" operations="read,event" ui_flags="service">
<logical type="boolean" />
<physical type="integer" interface="internal" value_id="UPDATE_PENDING" />
</parameter>
</paramset>
</channel>
<channel index="1" type="WEATHER" autoregister="true">
<link_roles>
<source name="WEATHER_CS" />
</link_roles>
<paramset type="MASTER" id="HB-UNI-Sen-WEA_master">
<parameter id="ANEMOMETER_RADIUS">
<logical type="float" min="0" max="25.5" unit="cm" default="6.5" />
<physical type="integer" interface="config" list="1" index="1.0" size="1" />
<conversion type="float_integer_scale" factor="10.0" />
</parameter>
<parameter id="ANEMOMETER_CALIBRATION_FACTOR">
<logical type="float" min="0" max="1000.0" unit="" default="1.0" />
<physical type="integer" interface="config" list="1" index="2.0" size="2" />
<conversion type="float_integer_scale" factor="10.0" />
</parameter>
<parameter id="LD_CAPACITOR">
<logical type="integer" min="0" max="120" default="80" unit="pF" />
<physical type="integer" interface="config" list="1" index="4.0" size="1" />
</parameter>
<parameter id="LD_DISTURBER_DETECTION">
<logical type="boolean" default="false"/>
<physical type="integer" interface="config" list="1" index="5.0" size="1"/>
</parameter>
<parameter id="GUST_THRESHOLD_EXTRA_MESSAGE">
<logical type="integer" min="0" max="255" unit="km/h" default="0" />
<physical type="integer" interface="config" list="1" index="6.0" size="1" />
</parameter>
</paramset>
<paramset type="VALUES" id="HB-UNI-Sen-WEA_values">
<parameter id="TEMPERATURE" operations="read,event">
<logical type="float" min="-50.0" max="120.0" unit="°C" />
<physical type="integer" interface="command" value_id="TEMPERATURE">
<event frame="WEATHER_EVENT" />
</physical>
<conversion type="float_integer_scale" factor="10.0" />
<description>
<field id="AutoconfRoles" value="WEATHER" />
</description>
</parameter>
<parameter id="AIR_PRESSURE" operations="read,event">
<logical type="float" min="500.0" max="1100.0" unit="hPa" />
<physical type="integer" interface="command" value_id="AIR_PRESSURE">
<event frame="WEATHER_EVENT" />
</physical>
<conversion type="float_integer_scale" factor="10.0" />
<description>
<field id="AutoconfRoles" value="WEATHER" />
</description>
</parameter>
<parameter id="HUMIDITY" operations="read,event">
<logical type="integer" min="1" max="99" unit="%" />
<physical type="integer" interface="command" value_id="HUMIDITY">
<event frame="WEATHER_EVENT" />
</physical>
<description>
<field id="AutoconfRoles" value="WEATHER" />
</description>
</parameter>
<parameter id="LUX" operations="read,event">
<logical type="float" min="0.00" max="200000.00" unit="Lux" />
<physical type="integer" interface="command" value_id="LUX" no_init="true">
<event frame="WEATHER_EVENT" />
</physical>
<conversion type="float_integer_scale" factor="10" />
</parameter>
<parameter id="RAINING" operations="read,event">
<logical type="boolean"/>
<physical type="integer" interface="command" value_id="RAINING" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
</parameter>
<parameter id="RD_HEATING" operations="read,event">
<logical type="boolean"/>
<physical type="integer" interface="command" value_id="RD_HEATING" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
</parameter>
<parameter id="RAIN_COUNTER" operations="read,event" control="NONE">
<logical type="float" min="0.0" max="32767.0" unit="mm"/>
<physical type="integer" interface="command" value_id="RAIN_COUNTER" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
<conversion type="float_integer_scale" factor="1.0"/>
</parameter>
<parameter id="WIND_SPEED" operations="read,event">
<logical type="float" min="0.0" max="1638.3" unit="km/h"/>
<physical type="integer" interface="command" value_id="WIND_SPEED" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
<conversion type="float_integer_scale" factor="10.0"/>
</parameter>
<parameter id="WIND_DIRECTION" operations="read,event">
<logical type="integer" min="0" max="355" unit="degree"/>
<physical type="integer" interface="command" value_id="WIND_DIRECTION" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
<conversion type="integer_integer_scale" div="3"/>
</parameter>
<parameter id="WIND_DIRECTION_RANGE" operations="read,event">
<logical type="integer" min="0" max="67" unit="degree"/>
<physical type="integer" interface="command" value_id="WIND_DIRECTION_RANGE" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
<conversion type="integer_integer_scale" div="45" mul="2"/>
</parameter>
<parameter id="GUST_SPEED" operations="read,event">
<logical type="float" min="0.0" max="3276.7" unit="km/h"/>
<physical type="integer" interface="command" value_id="GUST_SPEED" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
<conversion type="float_integer_scale" factor="10.0"/>
</parameter>
<parameter id="UVINDEX" operations="read,event">
<logical type="integer" min="0" max="11" unit="">
</logical>
<physical type="integer" interface="command" value_id="UVINDEX" no_init="true">
<event frame="WEATHER_EVENT" />
</physical>
</parameter>
<parameter id="LIGHTNING_COUNTER" operations="read,event">
<logical type="integer" min="0" max="255" unit=""/>
<physical type="integer" interface="command" value_id="LIGHTNING_COUNTER" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
</parameter>
<parameter id="LIGHTNING_DISTANCE" operations="read,event">
<logical type="integer" min="0" max="45" unit="km"/>
<physical type="integer" interface="command" value_id="LIGHTNING_DISTANCE" no_init="true">
<event frame="WEATHER_EVENT"/>
</physical>
<conversion type="integer_integer_scale" div="3"/>
</parameter>
</paramset>
<paramset type="LINK" id="wds100_ch_link">
<parameter id="PEER_NEEDS_BURST">
<logical type="boolean" default="false"/>
<physical type="integer" interface="config" list="4" index="1.0" size="0.1"/>
</parameter>
<parameter id="STORM_UPPER_THRESHOLD">
<logical type="integer" min="0" max="0xc8"/>
<physical type="integer" interface="config" list="1" index="7.0" size="1.0"/>
</parameter>
<parameter id="STORM_LOWER_THRESHOLD">
<logical type="integer" min="0" max="0xc8"/>
<physical type="integer" interface="config" list="1" index="8.0" size="1.0"/>
</parameter>
<parameter id="EXPECT_AES">
<logical type="boolean" default="false"/>
<physical type="integer" interface="config" list="4" index="1.7" size="0.1"/>
</parameter>
<enforce id="EXPECT_AES" value="$PEER.AES"/>
</paramset>
<enforce_link>
<value id="SHORT_CT_RAMPOFF" value="0"/>
<value id="SHORT_CT_RAMPON" value="0"/>
<value id="SHORT_CT_OFFDELAY" value="1"/>
<value id="SHORT_CT_ONDELAY" value="1"/>
<value id="SHORT_CT_OFF" value="1"/>
<value id="SHORT_CT_ON" value="1"/>
<value id="SHORT_COND_VALUE_LO" value="0x05"/>
<value id="SHORT_COND_VALUE_HI" value="0x19"/>
<value id="SHORT_ONDELAY_TIME" value="0x00"/>
<value id="SHORT_ON_TIME" value="0xff"/>
<value id="SHORT_OFFDELAY_TIME" value="0x00"/>
<value id="SHORT_OFF_TIME" value="0xff"/>
<value id="SHORT_ON_TIME_MODE" value="0x00"/>
<value id="SHORT_OFF_TIME_MODE" value="0x00"/>
<value id="SHORT_ACTION_TYPE" value="0x01"/>
<value id="SHORT_JT_OFF" value="0x01"/>
<value id="SHORT_JT_ON" value="0x02"/>
<value id="SHORT_JT_OFFDELAY" value="0x02"/>
<value id="SHORT_JT_ONDELAY" value="0x02"/>
<value id="LONG_ACTION_TYPE" value="0"/>
<value id="LONG_CT_RAMPOFF" value="0"/>
<value id="LONG_CT_RAMPON" value="2"/>
<value id="LONG_CT_OFFDELAY" value="0"/>
<value id="LONG_CT_ONDELAY" value="2"/>
<value id="LONG_CT_OFF" value="0"/>
<value id="LONG_CT_ON" value="2"/>
<value id="LONG_COND_VALUE_LO" value="50"/>
<value id="LONG_COND_VALUE_HI" value="180"/>
<value id="LONG_ACTION_TYPE" value="1"/>
<value id="LONG_JT_OFF" value="1"/>
<value id="LONG_JT_ON" value="3"/>
<value id="LONG_JT_OFFDELAY" value="3"/>
<value id="LONG_JT_ONDELAY" value="1"/>
<value id="LONG_JT_RAMPOFF" value="3"/>
<value id="LONG_JT_RAMPON" value="3"/>
</enforce_link>
</channel>
</channels>
<frames>
<frame id="WEATHER_EVENT" direction="from_device" event="true" fixed_channel="1" type="0x70">
<parameter type="integer" signed="true" index="9" size="1.7" param="TEMPERATURE" />
<parameter type="integer" index="11.0" size="2.0" param="AIR_PRESSURE" />
<parameter type="integer" index="13.0" size="1.0" param="HUMIDITY" />
<parameter type="integer" index="14.0" size="3.0" param="LUX" />
<parameter type="integer" index="17.7" size="0.1" param="RAINING"/>
<parameter type="integer" index="17.0" size="1.7" param="RAIN_COUNTER"/>
<parameter type="integer" index="19.0" size="1.6" param="WIND_SPEED"/>
<parameter type="integer" index="19.6" size="0.2" param="WIND_DIRECTION_RANGE"/>
<parameter type="integer" index="21.0" size="1.0" param="WIND_DIRECTION"/>
<parameter type="integer" index="22.0" size="1.7" param="GUST_SPEED"/>
<parameter type="integer" index="22.7" size="0.1" param="RD_HEATING"/>
<parameter type="integer" index="24.0" size="0.4" param="UVINDEX"/>
<parameter type="integer" index="24.4" size="0.4" param="LIGHTNING_DISTANCE"/>
<parameter type="integer" index="25.0" size="1.0" param="LIGHTNING_COUNTER"/>
</frame>
</frames>
<paramset_defs></paramset_defs>
</device>
Loading

0 comments on commit a9923cd

Please sign in to comment.