gette007
(Gette)
January 27, 2021, 4:14pm
1
is something changed in the code?
in the past mine configuration worked, but i can’t unlock mine garagecover anymore. command isn’t send out
i can lock mine garagecover using the lock button, (i see that the switch is triggered)
but when i try to unlock the switch is not triggered.
1 zwave push button to open/close
1zwave sensor to check status
any suggestions?
lock:
- platform: template
name: Garagepoort
value_template: "{{ is_state('binary_sensor.garagepoort', 'off') }}"
lock:
service: switch.turn_on
data:
entity_id: switch.garagepoort
unlock:
service: switch.turn_off
data:
entity_id: switch.garagepoort
When you tried to unlock, was the binary_sensor showing the correct state?
gette007
(Gette)
January 27, 2021, 5:45pm
3
yess, sensor is showing correct state!
same switch to open close… unlocked, it triggers,
locked, no trigger on switch
when i trigger the switch (not the lock) the garagecover opens…
And the lock also showed the correct state when you tried to unlock it?
gette007:
Why should that help?
read the docs, or, just do it.
gette007
(Gette)
January 27, 2021, 8:59pm
8
…
OPTIMISTIC MODE
This example shows a lock in optimistic mode. This lock will immediately change state after command and will not wait for state update from the sensor
…
Mine lock is showing the correct state. But thé switched isn’t fired for unlock.
gette007
(Gette)
January 27, 2021, 9:08pm
9
State changes when the cover opens. I can open the cover when I fire the switch. But thé unlock command doesn’t send a command tot the switch
ninjaef
January 27, 2021, 9:44pm
10
so you didn’t try. there’s a reason I asked
no logs
only part of all relevant config posted
…
I’m out
gette007
(Gette)
January 28, 2021, 6:59am
11
Ok,
so I tried the optimistic mode,
but like i thought
optimistic mode: true
i trigger the unlock botton -> stil no trigger to the switch -> state change to unlock -> but cover keeps locked
The switch that opens/closes the garage door, how is it configured? And the switch works as expected just the lock not?
gette007
(Gette)
January 28, 2021, 7:17am
13
cover is locked:
8:08:45 : i push the unlock button in lovelace - > cover keeps close, state changes to unlock because of optimistic= true
8:08:57 i push the lock button in lovelace (status is unlocked because of optimistic) -> switch is now triggered (because it wants to lock) -> cover opens
8:09:29 i push the lock button in lovelace: normal reaction-> cover closes
gette007
(Gette)
January 28, 2021, 7:18am
14
switch is configed as an auto-off (push button) (zwave configuration)
for closing it workes fine, it’s just not triggerd to open
gette007
(Gette)
February 5, 2021, 3:54pm
15
ok, finaly founf mine mistake!
unlock:
service: switch.turn_on
i had to turn the switch ON again instead of OFF…