[satel-integra integration] Unable to switch switable_output sequentially
See original GitHub issueThe problem
When using script it’s impossible to control two or more switchable_outputs sequentially. Workaround: add delay (at least 00:00:00.5) between next calls. Example script below. In this case second switchable_output will be never enabled or disabled (tried many times)
light_off:
alias: Light - Off
sequence:
- service: switch.turn_off
data: {}
entity_id: switch.osw_front
- service: switch.turn_off
data: {}
entity_id: switch.osw_taras
mode: single
light_on:
alias: Light - On
sequence:
- service: switch.turn_on
data: {}
entity_id: switch.osw_front
- service: switch.turn_on
data: {}
entity_id: switch.osw_taras
mode: single
Environment
- Home Assistant Core release with the issue: 0.116.4
- Last working Home Assistant Core release (if known): not known
- Operating environment (OS/Container/Supervised/Core): Container
- Integration causing this issue: satel_integra
- Link to integration documentation on our website: https://www.home-assistant.io/integrations/satel_integra/
Problem-relevant configuration.yaml
satel_integra:
host: 192.168.100.51
port: 7094
code: 0000
partitions:
01:
name: 'Dol'
switchable_outputs:
17:
name: 'Osw. Front'
18:
name: 'Osw. Taras'
Traceback/Error logs
hass_1 | 2020-10-20 10:39:47 DEBUG (MainThread) [homeassistant.components.satel_integra.switch] Switch: Osw. Front status: False, turning on
hass_1 | 2020-10-20 10:39:47 DEBUG (MainThread) [homeassistant.components.satel_integra.switch] Switch: Osw. Taras status: False, turning on
hass_1 | 2020-10-20 10:39:47 DEBUG (MainThread) [homeassistant.components.satel_integra] Outputs updated callback , status: {'outputs': {17: 1, 18: 0}}
hass_1 | 2020-10-20 10:39:47 DEBUG (MainThread) [homeassistant.components.satel_integra.switch] Update switch name: Osw. Front zones: {17: 1, 18: 0}
hass_1 | 2020-10-20 10:39:47 DEBUG (MainThread) [homeassistant.components.satel_integra.switch] New state: True
hass_1 | 2020-10-20 10:39:47 DEBUG (MainThread) [homeassistant.components.satel_integra.switch] Update switch name: Osw. Taras zones: {17: 1, 18: 0}
hass_1 | 2020-10-20 10:39:47 DEBUG (MainThread) [homeassistant.components.satel_integra.switch] New state: False
Additional information
Issue Analytics
- State:
- Created 3 years ago
- Comments:31 (6 by maintainers)
Top Results From Across the Web
Satel Integra - Unable to switch multiple outputs at once / in ...
I've found that it is not possible to switch multiple outputs at once using that component. After it created switchable outputs I converted ......
Read more >[satel-integra component] Some outputs not working #38334
The problem Some Integra outputs I can't control. There are two identical outputs. Both defined in satel.yaml as switchable_outputs: 49: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yepp, no work has been done on it. But I haven’t given up on it, winter comes, so Ill try to find some time… Sorry for looooooooooooong wait 😦
.0x03 0x00 0x00 0x10 translates to (in binary)
1100000 0000000 0000000 00001000
“1” on certain position codes specific zone/output/partition as active/affected. Just the order of bit positions is reversed 😃