Hi,
I’ve searched this Forum and found (and read) many Posts - but still my Keyfob won’t work … Maybe this post can be a new step-by-step guide
I’ve done this so far:
-
Thing is recognized:
-
Item is there:
-
and tried a rule (similar to many proposals here)
var String drState
rule “Mobil_Handschalter1_SceneNumber”
when
Item Mobil_Handschalter1_SceneNumber received update
then
var swState = Mobil_Handschalter1_SceneNumber.state
var name = “Mobil_Handschalter1_SceneNumberRule”
logInfo(name, "Update: " + swState)
switch swState {
case 1.0: {logInfo(name, "Square1xClick")
}
case 1.3: {logInfo(name, "Square2xClick")
}
case 1.4: {logInfo(name, "Square3xClick")
}
case 1.2: {logInfo(name, "SquareHoldDown")
}
case 1.1: {logInfo(name, "SquareRelease")
}
case 2.0: {logInfo(name, "O1xClick")
if (WohnEsszimmer_Lichter.state == ON) {
WohnEsszimmer_Lichter.sendCommand(OFF)
"// save current state"
"// dining room group OFF"
} else {
WohnEsszimmer_Lichter.sendCommand(ON)
""
}
}
end
and there is a lifesign from the keyfob per se:
2019-11-26 07:09:48.089 [hingStatusInfoChangedEvent] - ‘zwave:device:xxxxxxxx:node5’ changed from ONLINE: Node initialising: VERSION to ONLINE: Node initialising: ENDPOINTS
2019-11-26 07:09:48.244 [hingStatusInfoChangedEvent] - ‘zwave:device:xxxxxxxx:node5’ changed from ONLINE: Node initialising: ENDPOINTS to ONLINE: Node initialising: UPDATE_DATABASE
2019-11-26 07:09:49.645 [hingStatusInfoChangedEvent] - ‘zwave:device:xxxxxxxx:node5’ changed from ONLINE: Node initialising: UPDATE_DATABASE to ONLINE: Node initialising: STATIC_VALUES
2019-11-26 07:09:52.665 [me.event.ThingUpdatedEvent] - Thing ‘zwave:device:xxxxxxxx:node5’ has been updated.
Where my mistake? Thanks in advantage
Tom