diff --git a/fhem/FHEM/10_ZWave.pm b/fhem/FHEM/10_ZWave.pm
index 6b2be2148..85ae58122 100755
--- a/fhem/FHEM/10_ZWave.pm
+++ b/fhem/FHEM/10_ZWave.pm
@@ -90,7 +90,16 @@ my %zwave_class = (
METER_TBL_CONFIG => { id => '3c', },
METER_TBL_MONITOR => { id => '3d', },
METER_TBL_PUSH => { id => '3e', },
- THERMOSTAT_MODE => { id => '40', },
+ THERMOSTAT_MODE => { id => '40',
+ set => { tmOff => "0100",
+ tmHeating => "0101",
+ tmCooling => "010b",
+ tmManual => "011f", },
+ get => { thermostatMode => "02", },
+ parse => { "03400300" => "state:off",
+ "0340030b" => "state:cooling",
+ "03400301" => "state:heating",
+ "0340031f" => "state:manual", }, } ,
THERMOSTAT_OPERATING_STATE=>{ id => '42', },
THERMOSTAT_SETPOINT => { id => '43',
get => { setpoint => "02" },
@@ -634,11 +643,32 @@ ZWave_Undef($$)
Note: devices with on/off functionality support the set extensions.
+
Class ASSOCIATION
+
associationAdd groupId nodeId ...
+ Add the specified list of nodeIds to the assotion group groupId.
Note:
+ upon creating a fhem-device for the first time fhem will automatically add
+ the controller to the first association group of the node corresponding to
+ the fhem device, i.e it issues a "set name associationAdd 1
+ controllerNodeId"
+
+ associationDel groupId nodeId ...
+ Remove the specified list of nodeIds from the assotion group groupId.
+
Class BASIC
basicValue value
Send value (0-255) to this device. The interpretation is device dependent,
e.g. for a SWITCH_BINARY device 0 is off and anything else is on.
+
Class CONFIGURATION
+ configByte cfgAddress 8bitValue
+ configWord cfgAddress 16bitValue
+ configLong cfgAddress 32bitValue
+ Send a configuration value for the parameter cfgAddress. cfgAddress and
+ value is node specific.
+ configDefault cfgAddress
+ Reset the configuration parameter for the cfgAddress parameter to its
+ default value. See the device documentation to determine this value.
+
Class SWITCH_BINARY
on
switch the device on
@@ -654,31 +684,19 @@ ZWave_Undef($$)
dim value
dim to the requested value (0..100)
-
Class CONFIGURATION
- configByte cfgAddress 8bitValue
- configWord cfgAddress 16bitValue
- configLong cfgAddress 32bitValue
- Send a configuration value for the parameter cfgAddress. cfgAddress and
- value is node specific.
- configDefault cfgAddress
- Reset the configuration parameter for the cfgAddress parameter to its
- default value. See the device documentation to determine this value.
+
Class THERMOSTAT_MODE
+ tmOff
+ tmCooling
+ tmHeating
+ tmManual
+ set the thermostat mode to off, cooling, heating or manual.
+
Class WAKE_UP
wakeupInterval value
Set the wakeup interval of battery operated devices to the given value in
seconds. Upon wakeup the device sends a wakeup notification.
-
Class ASSOCIATION
- associationAdd groupId nodeId ...
- Add the specified list of nodeIds to the assotion group groupId.
Note:
- upon creating a fhem-device for the first time fhem will automatically add
- the controller to the first association group of the node corresponding to
- the fhem device, i.e it issues a "set name associationAdd 1
- controllerNodeId"
-
- associationDel groupId nodeId ...
- Remove the specified list of nodeIds from the assotion group groupId.
@@ -686,70 +704,32 @@ ZWave_Undef($$)
Get
-
Class BASIC
- - basicStatus
- return the status of the node as basicReport:XY. The value (XY) depends on
- the node, e.g a SWITCH_BINARY device report 00 for off and FF (255) for on.
-
-
-
Class SWITCH_BINARY
- - swbStatus
- return the status of the node, as state:on or state:off.
-
-
-
Class SWITCH_MULTILEVEL
- - swmStatus
- return the status of the node, as state:on, state:off or state:dim value.
-
-
-
-
Class SENSOR_BINARY
- - sbStatus
- return the status of the node, as state:open or state:closed.
-
-
-
Class SENSOR_MULTILEVEL
- - smStatus
- request data from the node (temperature/humidity/etc)
-
-
-
Class CONFIGURATION
- - config cfgAddress
- return the value of the configuration parameter cfgAddress. The value is
- device specific.
-
-
Class ALARM
- alarm alarmId
return the value for alarmId. The value is device specific.
-
Class BATTERY
- - battery
- return the charge of the battery in %, as battery:value %
-
-
-
Class WAKE_UP
- - wakeupInterval
- return the wakeup interval in seconds, in the form
- wakeupReport:interval seconds target id
-
-
Class ASSOCIATION
- association groupId
return the list of nodeIds in the association group groupId in the form:
assocGroup_X:Max Y, Nodes id,id...
-
Class VERSION
- - version
- return the version information of this node in the form:
- Lib A Prot x.y App a.b
+
Class BASIC
+ - basicStatus
+ return the status of the node as basicReport:XY. The value (XY) depends on
+ the node, e.g a SWITCH_BINARY device report 00 for off and FF (255) for on.
-
Class THERMOSTAT_SETPOINT
- - setpoint
- request the setpoint
+
Class BATTERY
+ - battery
+ return the charge of the battery in %, as battery:value %
+
+
+
Class CONFIGURATION
+ - config cfgAddress
+ return the value of the configuration parameter cfgAddress. The value is
+ device specific.
Class MULTI_CHANNEL
@@ -765,6 +745,48 @@ ZWave_Undef($$)
MULTI_CHANNEL device. The device is only created for channel 2 or greater.
+
Class SENSOR_BINARY
+ - sbStatus
+ return the status of the node, as state:open or state:closed.
+
+
+
Class SENSOR_MULTILEVEL
+ - smStatus
+ request data from the node (temperature/humidity/etc)
+
+
+
Class SWITCH_BINARY
+ - swbStatus
+ return the status of the node, as state:on or state:off.
+
+
+
Class SWITCH_MULTILEVEL
+ - swmStatus
+ return the status of the node, as state:on, state:off or state:dim value.
+
+
+
Class THERMOSTAT_MODE
+ - thermostatMode
+ request the mode
+
+
+
Class THERMOSTAT_SETPOINT
+ - setpoint
+ request the setpoint
+
+
+
Class VERSION
+ - version
+ return the version information of this node in the form:
+ Lib A Prot x.y App a.b
+
+
+
Class WAKE_UP
+ - wakeupInterval
+ return the wakeup interval in seconds, in the form
+ wakeupReport:interval seconds target id
+
+
@@ -790,17 +812,32 @@ ZWave_Undef($$)
Generated events:
+
Class ALARM
+ - alarm_type_X:level Y
+
+
Class ASSOCIATION
+ - assocGroup_X:Max Y Nodes A,B,...
+
Class BASIC
- basicReport:XY
-
Class SWITCH_BINARY
- - state:on
- - state:off
+
Class BATTERY
+ - battery:chargelevel %
-
Class SWITCH_MULTILEVEL
- - state:on
- - state:off
- - state:dim value
+
Class CLOCK
+ - clock:get
+
+
Class CONFIGURATION
+ - config_X:Y
+
+
Class METER
+ - power:val [kWh|kVAh|W|pulseCount]
+ - gas:val [m3|feet3|pulseCount]
+ - water:val [m3|feet3|USgallons|pulseCount]
+
+
Class MULTI_CHANNEL
+ - endpoints:total X $dynamic $identical
+ - mcCapability_X:class1 class2 ...
Class SENSOR_BINARY
- state:open
@@ -811,39 +848,30 @@ ZWave_Undef($$)
- humidity:$hum %
-
Class METER
- - power:val [kWh|kVAh|W|pulseCount]
- - gas:val [m3|feet3|pulseCount]
- - water:val [m3|feet3|USgallons|pulseCount]
+
Class SWITCH_BINARY
+ - state:on
+ - state:off
-
Class CONFIGURATION
- - config_X:Y
+
Class SWITCH_MULTILEVEL
+ - state:on
+ - state:off
+ - state:dim value
-
Class ALARM
- - alarm_type_X:level Y
-
-
Class BATTERY
- - battery:chargelevel %
-
-
Class WAKE_UP
- - wakeup:notification
- - wakeupReport:interval:X target:Y
-
-
Class ASSOCIATION
- - assocGroup_X:Max Y Nodes A,B,...
-
-
Class VERSION
- - version:Lib A Prot x.y App a.b
+
Class THERMOSTAT_MODE
+ - off
+ - cooling
+ - heating
+ - manual
Class THERMOSTAT_SETPOINT
- temperature:$temp [C|F] [heating|cooling]
-
Class MULTI_CHANNEL
- - endpoints:total X $dynamic $identical
- - mcCapability_X:class1 class2 ...
+
Class VERSION
+ - version:Lib A Prot x.y App a.b
-
Class CLOCK
- - clock:get
+
Class WAKE_UP
+ - wakeup:notification
+ - wakeupReport:interval:X target:Y