Danfoss Thermostat LC
From MiOS
Information applies to Danfoss Living Connect Z-Wave only.
Checking the wakeup interval
local danfoss_devices = { { 221, 'KiZ' }, { 218, 'B' }, { 211, 'SZ' }, { 107, 'WZS' }, { 94, 'WZN' } } function log_wakeup( lul_device, lul_service, lul_variable, lul_value_old, lul_value_new ) local s = '' for i = 1,#danfoss_devices do if danfoss_devices[ i ][ 1 ] == tonumber( lul_device ) then s = danfoss_devices[ i ][ 2 ] end end os.execute( 'logger -t Heizung Wakeup_' .. s ) end for i = 1,#danfoss_devices do luup.variable_watch( 'log_wakeup', 'urn:micasaverde-com:serviceId:ZWaveDevice1', 'LastWakeup', danfoss_devices[ i ][ 1 ] ) end