home-assistant-eltako icon indicating copy to clipboard operation
home-assistant-eltako copied to clipboard

Allow overriding `delay_message` for gateway serial communication through setting

Open mkaufmann opened this issue 7 months ago • 5 comments

I have an automation that closes a lot of covers at once

2024-07-01 22:32:15.514 DEBUG (SyncWorker_39) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 1a, data 00 1a 02 08, status = 0x00> - Serialized: a55a6b07001a02080000b01a0060
2024-07-01 22:32:15.514 DEBUG (SyncWorker_1) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 23, data 00 0c 02 08, status = 0x00> - Serialized: a55a6b07000c02080000b023005b
2024-07-01 22:32:15.514 DEBUG (SyncWorker_2) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 1e, data 00 21 02 08, status = 0x00> - Serialized: a55a6b07002102080000b01e006b
2024-07-01 22:32:15.515 DEBUG (SyncWorker_2) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 2b, data 00 0c 02 08, status = 0x00> - Serialized: a55a6b07000c02080000b02b0063
2024-07-01 22:32:15.516 DEBUG (SyncWorker_41) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 1b, data 00 14 02 08, status = 0x00> - Serialized: a55a6b07001402080000b01b005b
2024-07-01 22:32:15.516 DEBUG (SyncWorker_41) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 27, data 00 0c 02 08, status = 0x00> - Serialized: a55a6b07000c02080000b027005f
2024-07-01 22:32:15.516 DEBUG (SyncWorker_41) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 28, data 00 1a 02 08, status = 0x00> - Serialized: a55a6b07001a02080000b028006e
2024-07-01 22:32:15.516 DEBUG (SyncWorker_41) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 19, data 00 19 02 08, status = 0x00> - Serialized: a55a6b07001902080000b019005e
2024-07-01 22:32:15.517 DEBUG (SyncWorker_42) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 20, data 00 0c 02 08, status = 0x00> - Serialized: a55a6b07000c02080000b0200058
2024-07-01 22:32:15.517 DEBUG (SyncWorker_42) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 29, data 00 22 02 08, status = 0x00> - Serialized: a55a6b07002202080000b0290077
2024-07-01 22:32:15.518 DEBUG (SyncWorker_43) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 1c, data 00 3d 02 08, status = 0x00> - Serialized: a55a6b07003d02080000b01c0085
2024-07-01 22:32:15.518 DEBUG (SyncWorker_43) [eltako] [Gateway] [Id: 1] Send message: <Regular4BSMessage from 00 00 b0 24, data 00 1a 02 08, status = 0x00> - Serialized: a55a6b07001a02080000b024006a

Not all of them move reliably though. I don't understand the true root cause but would love to play around with delay_message to see if it helps.

Also as a small nit: It seems that the logger is not forwarded to the serial constructor (looked at esp2) and I suspect that's the reason why I dont see the serial messages themselves. Is that intentional?

mkaufmann avatar Jul 01 '24 20:07 mkaufmann