It took a while since my last message. It is dark much earlier now, I have more logs and I can better see when things go wrong.
Every day the script starts as desired. It starts at 30%, but it disrupts every day. Then it will hang on the brighter setting. I have a series of logs below where you can see the sudden change at 09.12.2022 20:30:55. Hopefully this is enough information to understand the problem. If not, I'd like to share more :-).
09.12.2022 23:57:23 Lights temporary brighter on PIR *arg:1* string: timer enabled * arg: 2 * bool: false
09.12.2022 23:31:12 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 23:31:08 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 23:30:38 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 23:30:33 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 23:00:09 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 23:00:04 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 23:00:00 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:35:09 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:35:03 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:34:12 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:34:08 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:34:04 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:33:15 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:33:11 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:32:31 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:32:27 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:32:21 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:32:16 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:30:03 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:29:58 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:25:42 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:25:37 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:52:51 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:52:46 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:42:57 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:42:53 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:42:15 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:42:10 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:36:23 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:36:18 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:35:36 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:35:32 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:30:55 Lights temporary brighter on PIR *arg:1* string: output change * arg: 2 * number: 90
09.12.2022 20:30:51 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 20:30:49 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 20:30:44 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 19:25:52 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 19:25:48 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 19:25:14 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 19:25:09 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 19:22:10 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 19:22:05 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 18:54:34 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 18:54:29 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 18:53:16 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 18:53:11 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 17:56:05 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 18:05:40 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 18:05:45 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 18:06:22 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 18:06:27 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
Every day the script starts as desired. It starts at 30%, but it disrupts every day. Then it will hang on the brighter setting. I have a series of logs below where you can see the sudden change at 09.12.2022 20:30:55. Hopefully this is enough information to understand the problem. If not, I'd like to share more :-).
09.12.2022 23:57:23 Lights temporary brighter on PIR *arg:1* string: timer enabled * arg: 2 * bool: false
09.12.2022 23:31:12 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 23:31:08 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 23:30:38 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 23:30:33 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 23:00:09 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 23:00:04 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 23:00:00 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:35:09 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:35:03 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:34:12 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:34:08 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:34:04 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:33:15 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:33:11 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:32:31 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:32:27 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:32:21 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:32:16 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:30:03 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:29:58 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 21:25:42 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 21:25:37 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:52:51 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:52:46 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:42:57 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:42:53 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:42:15 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:42:10 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:36:23 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:36:18 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:35:36 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 90
09.12.2022 20:35:32 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 90
09.12.2022 20:30:55 Lights temporary brighter on PIR *arg:1* string: output change * arg: 2 * number: 90
09.12.2022 20:30:51 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 20:30:49 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 20:30:44 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 19:25:52 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 19:25:48 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 19:25:14 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 19:25:09 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 19:22:10 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 19:22:05 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 18:54:34 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 18:54:29 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 18:53:16 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 18:53:11 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 17:56:05 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 18:05:40 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 18:05:45 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30
09.12.2022 18:06:22 Lights temporary brighter on PIR *arg:1* string: pir trigger * arg: 2 * number: 30
09.12.2022 18:06:27 Lights temporary brighter on PIR *arg:1* string: timer stop * arg: 2 * number: 30