mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-13 17:26:34 +00:00
HMCCU: device and channel addressing reworked, prepared for upcoming RPC version
git-svn-id: https://svn.fhem.de/fhem/trunk@9792 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
aadc423e77
commit
39bb61e0af
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Example configuration for module HMCCU
|
# Example configuration for modules HMCCU and HMCCUDEV
|
||||||
#
|
#
|
||||||
|
|
||||||
# Define device (hostname of CCU is "homematic")
|
# Define device (hostname of CCU is "homematic")
|
||||||
@ -10,7 +10,7 @@ attr d_ccu ccureadings 1
|
|||||||
|
|
||||||
# Parameterfile with channel/datapoints to be read from CCU
|
# Parameterfile with channel/datapoints to be read from CCU
|
||||||
# by command get parfile
|
# by command get parfile
|
||||||
attr d_ccu parfile /opt/fhem/scripts/hmvalues.pat
|
attr d_ccu parfile /opt/fhem/scripts/hmvalues.txt
|
||||||
|
|
||||||
# If CCU systemvariable name ends with a ":" this character
|
# If CCU systemvariable name ends with a ":" this character
|
||||||
# will be removed. Applies to command set devstate only.
|
# will be removed. Applies to command set devstate only.
|
||||||
@ -22,6 +22,21 @@ attr d_ccu stripchar :
|
|||||||
# reading.
|
# reading.
|
||||||
attr d_ccu substitute false:closed,true:open
|
attr d_ccu substitute false:closed,true:open
|
||||||
|
|
||||||
# Do not append units to values read from CCU
|
# Subsitute values before setting them
|
||||||
attr d_ccu units 0
|
attr d_ccu statevals on:true,off:false
|
||||||
|
|
||||||
|
# Define client device for door/window sensor
|
||||||
|
define d_hm_dw_window HMCCUDEV TF-WZ-Window readonly
|
||||||
|
attr d_hm_dw_window ccureadings 1
|
||||||
|
attr d_hm_dw_window substitute false:closed,true:open
|
||||||
|
|
||||||
|
# Define client device for subwoofer with state channel 1
|
||||||
|
define d_hm_st_sub HMCCUDEV ST-WZ-Sub 1
|
||||||
|
attr d_hm_st_sub ccureadings 1
|
||||||
|
attr d_hm_st_sub statevals on:true,off:false
|
||||||
|
attr d_hm_st_sub substitute true:on,false:off
|
||||||
|
|
||||||
|
# Update CCU readings and client devices every 10 minutes
|
||||||
|
define at_ccu at +*00:10:00 get d_ccu parfile
|
||||||
|
attr at_ccu alignTime 00:05
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user