Add Bypassing UDP multicast to Motionblinds (#19850)

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
starkillerOG 2021-10-22 12:12:57 +02:00 committed by GitHub
parent 7fd1abdab4
commit 7afc1f0e29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,3 +111,28 @@ If using separate VLANs, make sure the 238.0.0.18:32100 and 238.0.0.18:32101 por
For some routers "IGMP snooping" on the used wireless interface needs to be disabled to let the IGMP/multicast messages through.
For Ubiquiti routers/access points the "Enable multicast enhancement (IGMPv3)" should be disabled.
### Bypassing UDP multicast
If UDP Multicast does not work in your setup (due to network limitations), this integration can be used in local polling mode.
Go to Settings -> Integrations -> on the already set up Motion Blinds integration click "configure" --> disable the "Wait for push" option (disabled by default).
The default update interval of the Motion Blinds integration is every 10 minutes. When UDP multicast pushes do not work, this polling interval can be a bit high.
To increase the polling interval:
Go to Settings -> Integrations -> on the already set up Motion Blinds integration click more options (three dots) and select "System options" -> disable "polling for updates".
Now create an automation with as trigger a time pattern and select your desired polling time.
As the action select "Call service" and select "Update entity", select one of the motion blinds covers as entity.
You only have to create one automation with only one motion blind cover as entity, the rest will update at the same time.
Example YAML automation for custom polling interval (every minute):
```yaml
alias: Motion blinds polling automation
mode: single
trigger:
- platform: time_pattern
minutes: "/1"
action:
- service: homeassistant.update_entity
target:
entity_id: cover.motion_shade
```