Good evening everybody,
I upgraded now to 2.5 snapshot of the binding running 2.4 OH and facing the issue to change all my item and config files related to the binding.
I achieved my mechanical handle to run. First issue I am facing to is that I don’t get a standard light (actuator + switch) running.
.thing:
Bridge enocean:bridge:FT1M2J09 "EnOcean GatewaY" [ path="/dev/ttyUSB0" ]
{
Thing mechanicalHandle fk01 "Fensterkontakt" @ "Schlafzimmer" [ enoceanId="ABEFCDGH", receivingEEPId="F6_10_00" ]
Thing classicDevice cd01 "Licht Leseecke" @ "Leseecke" [
senderIdOffset=1,
sendingEEPId="F6_02_01",
broadcastMessages=true,
receivingEEPId="F6_02_01",
suppressRepeating=false]
{
Type virtualSwitchA : virtualSwitchA [duration=300, switchMode="rockerSwitch"]
Type rockerswitchListenerSwitch : Listener1 "Schalter Leseecke links" [enoceanId="ABCDEFGH", channel="channelB", switchMode="rockerSwitch"]
}
}
.items:
Switch Leseecke "Leseecke" {
channel="enocean:classicDevice:FT1M2J09:cd01:virtualSwitchA",
channel="enocean:classicDevice:FT1M2J09:cd01:Listener1"
}
Now my questions:
Based on my old configuration I expected that I can enter the ID into the virtual Switch as before to avoid for each device the teach in mode again:
old .item:
Switch Licht_Virtual_Rocker_Leseecke "Leseecke" <lightbulb> (Alle_Lichter_WZ) ["Lighting"]{channel="openocean:virtualRockerSwitch:6a9999c8:virtualRockerswitchA"}
Where can I set the existing EnOceanId ID (from the old virtual rocker) for the new virtual Rocker that I can use it again?
Second: What is the logic behind the listener? By now I get a signal for a dummy switch in my sitemap, but it is the opposite of DIR1 and DIR2. By switching the light to ON with DIR2, the sitemap status change to off and with DIR1 (OFF) the sitemap status of the switch changes to ON, which is confusing me a bit. Any hint where I can set the correct DIR?
I hope someone faced the same issue and solved it…
Cheers,
Woogi