Skip to content

Position updates not working reliably #419

@PaulWieland

Description

@PaulWieland

When pressing the toggle door button in the webUI, the position should continuously be sent as the door moves, from 0 to 100% and vice versa. The same is true for the discrete open/close buttons.

This is the log output when pressing toggle (no position updates):

14:32:13	[D]	[button:010]	'Toggle door' Pressed.
14:32:14	[D]	[number:012]	'Rolling code counter': Sending state 5578.000000
14:32:17	[D]	[ratgdo:246]	Motor: state=OFF
14:32:17	[D]	[binary_sensor:036]	'Motor': Sending state ON
14:32:19	[D]	[ratgdo:246]	Motor: state=ON
14:32:23	[D]	[ratgdo:246]	Motor: state=ON
14:32:28	[D]	[ratgdo:246]	Motor: state=ON
14:32:29	[D]	[ratgdo:113]	Door state=OPEN
14:35:44	[D]	[button:010]	'Toggle door' Pressed.
14:35:45	[D]	[number:012]	'Rolling code counter': Sending state 5581.000000
14:35:48	[D]	[ratgdo:246]	Motor: state=OFF
14:35:48	[D]	[binary_sensor:036]	'Motor': Sending state ON
14:35:54	[D]	[ratgdo:246]	Motor: state=ON
14:36:00	[D]	[ratgdo:113]	Door state=OPEN
14:36:00	[D]	[ratgdo:222]	Light state=ON
14:36:00	[D]	[ratgdo:228]	Lock state=UNLOCKED
14:36:00	[D]	[ratgdo:207]	Learn state=INACTIVE
14:36:00	[D]	[binary_sensor:036]	'Motor': Sending state OFF
14:36:00	[D]	[cover:170]	'Door' - Publishing:
14:36:00	[D]	[cover:173]	  Position: 100%
14:36:00	[D]	[cover:186]	  Current Operation: IDLE

This is the log output when pressing discrete open:

14:40:54	[D]	[cover:076]	'Door' - Setting
14:40:54	[D]	[cover:084]	  Position: 100%
14:40:54	[D]	[number:012]	'Rolling code counter': Sending state 5584.000000
14:40:57	[D]	[ratgdo:246]	Motor: state=OFF
14:40:57	[D]	[binary_sensor:036]	'Motor': Sending state ON
14:41:00	[D]	[ratgdo:246]	Motor: state=ON
14:41:04	[D]	[ratgdo:246]	Motor: state=ON
14:41:09	[D]	[ratgdo:246]	Motor: state=ON
14:41:10	[D]	[ratgdo:113]	Door state=OPEN
14:41:10	[D]	[ratgdo:222]	Light state=ON
14:41:10	[D]	[ratgdo:228]	Lock state=UNLOCKED
14:41:10	[D]	[ratgdo:207]	Learn state=INACTIVE
14:41:10	[D]	[binary_sensor:036]	'Motor': Sending state OFF
14:41:10	[D]	[cover:170]	'Door' - Publishing:
14:41:10	[D]	[cover:173]	  Position: 100%
14:41:10	[D]	[cover:186]	  Current Operation: IDLE
14:41:10	[D]	[switch:012]	'Status door' Turning ON.
14:41:10	[D]	[switch:055]	'Status door': Sending state ON

And pressing discrete close (worked as expected)

14:42:43	[D]	[cover:076]	'Door' - Setting
14:42:43	[D]	[cover:084]	  Position: 0%
14:42:43	[D]	[number:012]	'Rolling code counter': Sending state 5585.000000
14:42:44	[D]	[ratgdo:113]	Door state=CLOSING
14:42:44	[D]	[ratgdo:222]	Light state=ON
14:42:44	[D]	[ratgdo:228]	Lock state=UNLOCKED
14:42:44	[D]	[ratgdo:207]	Learn state=INACTIVE
14:42:44	[D]	[cover:170]	'Door' - Publishing:
14:42:44	[D]	[cover:173]	  Position: 100%
14:42:44	[D]	[cover:186]	  Current Operation: CLOSING
14:42:45	[D]	[cover:170]	'Door' - Publishing:
14:42:45	[D]	[cover:173]	  Position: 96%
14:42:45	[D]	[cover:186]	  Current Operation: CLOSING
14:42:45	[D]	[cover:170]	'Door' - Publishing:
14:42:45	[D]	[cover:173]	  Position: 93%
14:42:45	[D]	[cover:186]	  Current Operation: CLOSING
14:42:46	[D]	[cover:170]	'Door' - Publishing:
14:42:46	[D]	[cover:173]	  Position: 89%
14:42:46	[D]	[cover:186]	  Current Operation: CLOSING
14:42:46	[D]	[cover:170]	'Door' - Publishing:
14:42:46	[D]	[cover:173]	  Position: 86%
14:42:46	[D]	[cover:186]	  Current Operation: CLOSING

Possibly related to #376

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingsecplus2Security+ 2.0

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions