Hi philipp!
Thanks for your fast and detailed answer.
Yeah , sure…right…i should go into more detail here.
Can you explain a bit more in detail if the light go on and off in real and is it only a display issue in HA?
The situation explained is the real situation and also the situation in HA. So no, they are not of sync.
For me it happens every time i try to switch all my Baureihe14 Lights on the Bus. (Does not matter if its a scene or a group e.g.)
Do you have FSR14 or FSR12 mounted? Afaik FSR12 is sending no status telegrams. But there are workarounds as well.
My Bus consists of FSR14-4x and FUD14. The FAM14 is on BA = 2. I have 12 lights in total connected:
3x FSR14-4x: 10 Lights
3x FUD14: 2 Lights (one of the FUDs is connected but there is not light/consumer attached)
How is your configuration looking like? I assume you are using the same sender addresses like in FTS14EM?
I have HA connected via an FGW14-USB and am not using the same sender addresses like in FTS14EM. The sender addresses had been thought in via FHEM a few years ago.
I am pretty sure that my HA config is correct as i can switch any light ON/OFF or DIM at any time as long as i do it to either one light or a group of lights that is not a group consisting of all lights.
Is there maybe an amount/threshold of lights when it will break?
Yeah, this is a very good question. For me right now it is exactly the amount of all my lights (12).
So if i create a group with all 12 lights in it and turn it on only one light is turned on.
Do i remove 1 light from the group (does not matter which one) so its only 11 lights in the group they all switch on and off just fine.
I know this is a bit confusing. i will test further and update my learnings.
Edit/Update:
I did a bit more in depth testing. I made 2 tests to narrow the problem down a bit further.
Test 1: Use my unused FUD14 to add another light
Before: 12 lights
- 10 lights on FSR14-4x, 2 lights on FUD14, 1 unused FUD14
Observation - Group of 12 lights:
behaves very strange. One light in group turns on/off by toggling the group. Toggling the lights directly (not using a group) always works.
Observation Group of 11 lights or less:
behaves exactly as expected. All lights in group turn on/off just fine all the time.
Now: 13 Lights
- 10 lights on FSR14-4x, 3 lights on FUD14, no unused FUD14
Observation - Group of 13 lights:
behaves exactly as strange as a group with 12 lights. but now 2 lights in the group are turned on/off. other than this there is no difference in the problem shown compared to the 12 light group.
Observation - Group of 12 lights:
now that i have 13 lights i can try and remove one light from the group and see if a group of 12 lights behaves differently now.
result: it does not. the group with 12 lights (even though my total lights on the bus is now 13) still behaves as strange as before-.
Observation Group of 11 lights or less:
behaves exactly as expected. just like before when i had a total of 12 lights. all lights in group turn on/off just fine all the time.
Conclusion Test 1:
This very simple trial and error takes me to the assumption that the threshold from where things go weird is when switching more than 11 lights at a time.
Test 2: Revert to FHEM and try to reproduce (short)
This one is short and easy. I reverted my setup back to my old (but still running) FHEM instance, created a group of all my 13 Lights. Switching the group on/off works fine all the time (~ 50 group switches done). While standing next to my Baureihe14 components though i noticed that it seems that FHEM is switching them a bit slower.
Log Switching Group of 13 Lights
2024-01-26 10:21:33.537 DEBUG (SyncWorker_9) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 10, data 01 00 00 09, status = 0x00> - Serialized: a55a6b070100000900100010009c
2024-01-26 10:21:33.537 DEBUG (SyncWorker_9) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 08, data 02 64 00 09, status = 0x00> - Serialized: a55a6b07026400090010000800f9
2024-01-26 10:21:33.538 DEBUG (SyncWorker_9) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 0b, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010000b0097
2024-01-26 10:21:33.538 DEBUG (SyncWorker_9) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 12, data 01 00 00 09, status = 0x00> - Serialized: a55a6b070100000900100012009e
2024-01-26 10:21:33.538 DEBUG (SyncWorker_9) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 18, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010001800a4
2024-01-26 10:21:33.539 DEBUG (SyncWorker_9) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 0c, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010000c0098
2024-01-26 10:21:33.541 DEBUG (SyncWorker_19) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 1a, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010001a00a6
2024-01-26 10:21:33.541 DEBUG (SyncWorker_19) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 17, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010001700a3
2024-01-26 10:21:33.541 DEBUG (SyncWorker_19) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 11, data 01 00 00 09, status = 0x00> - Serialized: a55a6b070100000900100011009d
2024-01-26 10:21:33.542 DEBUG (SyncWorker_19) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 0f, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010000f009b
2024-01-26 10:21:33.542 DEBUG (SyncWorker_19) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 19, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010001900a5
2024-01-26 10:21:33.542 DEBUG (SyncWorker_19) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 06, data 02 64 00 09, status = 0x00> - Serialized: a55a6b07026400090010000600f7
2024-01-26 10:21:33.542 DEBUG (SyncWorker_19) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 07, data 02 64 00 09, status = 0x00> - Serialized: a55a6b07026400090010000700f8
2024-01-26 10:21:36.730 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrapped4BS from 00 00 00 06, status 00, data 02 64 00 09>
2024-01-26 10:21:36.778 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrapped4BS from 00 00 00 07, status 00, data 02 64 00 09>
Log Switching Group of 11 Lights
2024-01-26 10:24:41.822 DEBUG (SyncWorker_5) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 10, data 01 00 00 09, status = 0x00> - Serialized: a55a6b070100000900100010009c
2024-01-26 10:24:41.822 DEBUG (SyncWorker_11) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 08, data 02 64 00 09, status = 0x00> - Serialized: a55a6b07026400090010000800f9
2024-01-26 10:24:41.822 DEBUG (SyncWorker_0) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 0b, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010000b0097
2024-01-26 10:24:41.823 DEBUG (SyncWorker_13) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 12, data 01 00 00 09, status = 0x00> - Serialized: a55a6b070100000900100012009e
2024-01-26 10:24:41.823 DEBUG (SyncWorker_16) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 18, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010001800a4
2024-01-26 10:24:41.826 DEBUG (SyncWorker_18) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 0c, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010000c0098
2024-01-26 10:24:41.826 DEBUG (SyncWorker_2) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 1a, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010001a00a6
2024-01-26 10:24:41.826 DEBUG (SyncWorker_18) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 17, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010001700a3
2024-01-26 10:24:41.826 DEBUG (SyncWorker_14) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 11, data 01 00 00 09, status = 0x00> - Serialized: a55a6b070100000900100011009d
2024-01-26 10:24:41.827 DEBUG (SyncWorker_2) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 19, data 01 00 00 09, status = 0x00> - Serialized: a55a6b07010000090010001900a5
2024-01-26 10:24:41.827 DEBUG (SyncWorker_18) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 10 00 06, data 02 64 00 09, status = 0x00> - Serialized: a55a6b07026400090010000600f7
2024-01-26 10:24:42.429 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 0b, status 30, data 70>
2024-01-26 10:24:42.499 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 0c, status 30, data 70>
2024-01-26 10:24:42.706 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 10, status 30, data 70>
2024-01-26 10:24:42.768 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 11, status 30, data 70>
2024-01-26 10:24:42.828 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 12, status 30, data 70>
2024-01-26 10:24:42.887 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 17, status 30, data 70>
2024-01-26 10:24:42.940 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 18, status 30, data 70>
2024-01-26 10:24:43.004 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 19, status 30, data 70>
2024-01-26 10:24:43.068 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrappedRPS from 00 00 00 1a, status 30, data 70>
2024-01-26 10:24:45.050 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrapped4BS from 00 00 00 08, status 00, data 02 64 00 09>
2024-01-26 10:24:45.833 DEBUG (Thread-11) [eltako] [Gateway] [Id: 1] Received message: <EltakoWrapped4BS from 00 00 00 06, status 00, data 02 64 00 09>
Note: All states (on/off) are always real states and HA states. “On” means the light is on in HA and in real life. Same for Off. They never get out of sync.
This is my configuration.yaml:
eltako:
general_settings:
fast_status_change: False # True: Changes status in HA immediately without waiting for actuator response. Default: False
# section 'gateway'
# Currently only devices based on ESP2 protocol are supported. In future ESP3 protocol shall be extended.
#
gateway:
- id: 1
base_id: FF-AA-80-00
device_type: fgw14usb
devices:
light:
- id: 00-00-00-12
eep: M5-38-08
name: vr_deckenlicht_FSR14_4x
sender:
id: 00-10-00-12
eep: A5-38-08
- id: 00-00-00-0C
eep: M5-38-08
name: vr_stiegenlicht_FSR14_4x
sender:
id: 00-10-00-0C
eep: A5-38-08
- id: 00-00-00-1A
eep: M5-38-08
name: ez_decklenlicht01_FSR14_4x
sender:
id: 00-10-00-1A
eep: A5-38-08
- id: 00-00-00-17
eep: M5-38-08
name: ez_decklenlicht02_FSR14_4x
sender:
id: 00-10-00-17
eep: A5-38-08
- id: 00-00-00-07 #newly added for testing
eep: A5-38-08
name: ez_decklenlicht03_FUD14
sender:
id: 00-10-00-07
eep: A5-38-08
- id: 00-00-00-10
eep: M5-38-08
name: ku_decklenlicht01_FSR14_4x
sender:
id: 00-10-00-10
eep: A5-38-08
- id: 00-00-00-11
eep: M5-38-08
name: ku_decklenlicht02_FSR14_4x
sender:
id: 00-10-00-11
eep: A5-38-08
- id: 00-00-00-08
eep: A5-38-08
name: ku_decklenlicht03_FUD14
sender:
id: 00-10-00-08
eep: A5-38-08
- id: 00-00-00-0F
eep: M5-38-08
name: ku_wandlicht01_FSR14_4x
sender:
id: 00-10-00-0F
eep: A5-38-08
- id: 00-00-00-19
eep: M5-38-08
name: wz_deckenlicht01_FSR14_4x
sender:
id: 00-10-00-19
eep: A5-38-08
- id: 00-00-00-18
eep: M5-38-08
name: wz_deckenlicht02_FSR14_4x
sender:
id: 00-10-00-18
eep: A5-38-08
- id: 00-00-00-06
eep: A5-38-08
name: wz_deckenlicht03_FUD14
sender:
id: 00-10-00-06
eep: A5-38-08
- id: 00-00-00-0B
eep: M5-38-08
name: ga_deckenlicht01_FSR14_4x
sender:
id: 00-10-00-0B
eep: A5-38-08
BR
Tom