kajhoej
(Thomas Kajhøj)
January 28, 2019, 7:07pm
1
I have this binary sensor as a door sensor:
binary_sensor:
- platform: mqtt
name: "Bagdør"
state_topic: "sonoff/tele/rfbridge/RESULT"
value_template: "{{value_json.RfReceived.Data}}"
payload_on: '2D2C0A'
payload_off: '2D2C0E'
device_class: Door
optimistic: false
qos: 1
retain: false
It works fine when the door is open more that 2 seconds, but if the kids hurry in the payload_on is never received and only the payload_off is received.
Is there a way that I can simulate a door open for eg. 2 sec if I receive at “door closed” event when the door is already closed?
I want Home-Assistant to recognize it as if the door was opend for 2 sec when it receives a “door closed” when the door already is closed.
myle
(StePhan McKillen (Other kiwi Here))
January 28, 2019, 9:08pm
2
Does the tasmota log show the logic u think is happening
kajhoej
(Thomas Kajhøj)
January 28, 2019, 9:37pm
3
Yes … i have added the log of the RF Bridge. I did 2 slow open/close and 3 fast open/close.
Open events is where Data ends with “A” and close events end with “E”.
22:33:58 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13980,"Low":450,"High":1370,"Data":"2D840A","RfKey":"None"}}
22:34:02 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13940,"Low":450,"High":1360,"Data":"2D840E","RfKey":"None"}}
22:34:07 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13930,"Low":450,"High":1360,"Data":"2D840A","RfKey":"None"}}
22:34:10 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13980,"Low":450,"High":1360,"Data":"2D840E","RfKey":"None"}}
22:34:17 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13980,"Low":470,"High":1350,"Data":"2D840E","RfKey":"None"}}
22:34:24 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13930,"Low":470,"High":1340,"Data":"2D840E","RfKey":"None"}}
22:34:30 MQT: sonoff/tele/rfbridge/RESULT = {"RfReceived":{"Sync":13990,"Low":460,"High":1350,"Data":"2D840E","RfKey":"None"}}
myle
(StePhan McKillen (Other kiwi Here))
January 29, 2019, 1:12am
4
I’m thinking it’s the thing sending the code is the problem not tasmota or HA
myle
(StePhan McKillen (Other kiwi Here))
January 29, 2019, 1:13am
5
When I get home I’ll try some fast open closes on my doors
kajhoej
(Thomas Kajhøj)
January 29, 2019, 6:33am
6
I’m using these GS-WDS07 door sensors GS-WDS07 on Banggood.com
I have 2 and they act the same.
My tasmota version on the rf_bridge is version 6.4.1