No you don’t.
You have
filter-name:'Hausmüll \(2 wöchentlich\)'
You need
filter-name:'(Hausmüll \(2 wöchentlich\))'
No you don’t.
You have
filter-name:'Hausmüll \(2 wöchentlich\)'
You need
filter-name:'(Hausmüll \(2 wöchentlich\))'
Sorry, I didn’t see that at first.
But with that, I get an error again:
2019-07-17 17:34:56.198 [WARN ] [el.core.internal.ModelRepositoryImpl] - Configuration model 'trash.items' has errors, therefore ignoring it: [1,89]: mismatched character '(' expecting set null
[1,171]: mismatched input '2' expecting RULE_STRING
[4,174]: mismatched character '<EOF>' expecting '''
I’ve no further ideas. There is something it doesn’t like about the regular expression or there is something else wrong with the full Item binding config that is preventing it from being parsed.
Maybe if you are less specific and avoid the parens entirely.
filter-name:'.*Hausmüll .2 wöchentlich.*'
or
filter-name:'(.*Hausmüll .*2 wöchentlich.*)'
Unfortunately neither worked. The first did nothing, the second caused an exception.
Try:
filter-name:'Hausm.*ll .2 w.*chentlich.'
Here I get something. But somehow it is not stored in the item
2019-07-18 06:52:06.041 [TRACE] [caldav.internal.job.EventReloaderJob] - loadFrom = 2019-07-18T06:52:06.041+02:00
2019-07-18 06:52:06.042 [TRACE] [caldav.internal.job.EventReloaderJob] - loadTo = 2019-12-04T03:12:06.042+01:00
2019-07-18 06:52:06.043 [TRACE] [caldav.internal.job.EventReloaderJob] - loading event: 3f22583fa84569262eb8e660c6966f59:Hausmüll (2 wöchentlich)
2019-07-18 06:52:06.043 [TRACE] [caldav.internal.job.EventReloaderJob] - overriding lastmodified from file FS (2019-07-18T06:52:05.809+02:00) with event's last-modified property (2019-01-03T21:25:50.000+01:00)
2019-07-18 06:52:06.045 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing event 'Hausmüll (2 wöchentlich)'
2019-07-18 06:52:06.046 [TRACE] [caldav.internal.job.EventReloaderJob] - event will never occur (historic): Hausmüll (2 wöchentlich)
2019-07-18 06:52:06.046 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing periods...
2019-07-18 06:52:06.047 [TRACE] [caldav.internal.job.EventReloaderJob] - start is without timezone, but UTC
2019-07-18 06:52:06.048 [TRACE] [caldav.internal.job.EventReloaderJob] - end is without timezone, but UTC
2019-07-18 06:52:06.049 [TRACE] [caldav.internal.job.EventReloaderJob] - Processing period 2019-11-29T00:00:00.000+01:00 - 2019-11-30T00:00:00.000+01:00
2019-07-18 06:52:06.049 [TRACE] [caldav.internal.job.EventReloaderJob] - adding event: 3f22583fa84569262eb8e660c6966f59(Hausmüll (2 wöchentlich)@29.11.2019/00:00-30.11.2019/00:00)
2019-07-18 06:52:06.050 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - event is already in event map and newer -> delete the old one, reschedule timer
2019-07-18 06:52:06.051 [TRACE] [.io.caldav.internal.CalDavLoaderImpl] - notify listener... org.openhab.binding.caldav_personal.internal.CalDavBinding@132b063
2019-07-18 06:52:06.051 [TRACE] [.io.caldav.internal.CalDavLoaderImpl] - notify listener... org.openhab.binding.caldav_personal.internal.CalDavBinding@132b063
2019-07-18 06:52:06.053 [TRACE] [.io.caldav.internal.CalDavLoaderImpl] - old start job (event-start-3f22583fa84569262eb8e660c6966f59(Hausmüll (2 wöchentlich)@29.11.2019/00:00-30.11.2019/00:00)-0) deleted? false/true
2019-07-18 06:52:06.055 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - begin timer scheduled for event '3f22583fa84569262eb8e660c6966f59(Hausmüll (2 wöchentlich)@29.11.2019/00:00-30.11.2019/00:00)' @ Fri Nov 29 00:00:00 CET 2019
2019-07-18 06:52:06.056 [TRACE] [.io.caldav.internal.CalDavLoaderImpl] - old end job (event-end-3f22583fa84569262eb8e660c6966f59(Hausmüll (2 wöchentlich)@29.11.2019/00:00-30.11.2019/00:00)-0) deleted? false/true
2019-07-18 06:52:06.058 [DEBUG] [.io.caldav.internal.CalDavLoaderImpl] - end timer scheduled for event '3f22583fa84569262eb8e660c6966f59(Hausmüll (2 wöchentlich)@29.11.2019/00:00-30.11.2019/00:00)' @ Sat Nov 30 00:00:00 CET 2019
2019-07-18 06:52:06.062 [TRACE] [caldav.internal.job.EventReloaderJob] - eventContainer found: true
2019-07-18 06:52:06.063 [TRACE] [caldav.internal.job.EventReloaderJob] - last resource modification: 2019-07-18T06:52:06.062+02:00
2019-07-18 06:52:06.063 [TRACE] [caldav.internal.job.EventReloaderJob] - last change of already loaded event: 2019-07-18T06:50:03.606+02:00
I don’t know if this helps any:
pi@homeHAB:/var/log/openhab2 $ tail -400 openhab.log | grep Hausmüll
2019-07-18 07:22:14.716 [TRACE] [caldav.internal.job.EventReloaderJob] - loading event: e83bf1626afbe89b315a8414e3680862:Hausmüll (4 wöchentlich)
2019-07-18 07:22:14.718 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing event 'Hausmüll (4 wöchentlich)'
2019-07-18 07:22:14.718 [DEBUG] [caldav.internal.job.EventReloaderJob] - No periods exist for event 'Hausmüll (4 wöchentlich)'
2019-07-18 07:22:15.125 [TRACE] [caldav.internal.job.EventReloaderJob] - loading event: 72310b7af98c07077a88bcf3ef3c06bb:Hausmüll (2 wöchentlich)
2019-07-18 07:22:15.128 [DEBUG] [caldav.internal.job.EventReloaderJob] - Processing event 'Hausmüll (2 wöchentlich)'
2019-07-18 07:22:15.128 [DEBUG] [caldav.internal.job.EventReloaderJob] - No periods exist for event 'Hausmüll (2 wöchentlich)'
2019-07-18 07:22:16.707 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-3acf2e993761023767af2542c0b04771(Hausmüll (4 wöchentlich)@20.09.2019/00:00-21.09.2019/00:00)-0 - [groupName] : event-end - Sat Sep 21 00:00:00 CEST 2019
2019-07-18 07:22:16.717 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-b688780f90334b06db7c64e97bbf8e94(Hausmüll (2 wöchentlich)@26.07.2019/00:00-27.07.2019/00:00)-0 - [groupName] : event-end - Sat Jul 27 00:00:00 CEST 2019
2019-07-18 07:22:16.720 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-25f7a31e824346829506a24a02448f4c(Hausmüll (2 wöchentlich)@23.08.2019/00:00-24.08.2019/00:00)-0 - [groupName] : event-end - Sat Aug 24 00:00:00 CEST 2019
2019-07-18 07:22:16.721 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-e618b75250d431003b2b9648d1da3947(Hausmüll (2 wöchentlich)@05.10.2019/00:00-06.10.2019/00:00)-0 - [groupName] : event-end - Sun Oct 06 00:00:00 CEST 2019
2019-07-18 07:22:16.723 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-c527b7a7a672ba71c818c7ab7baf1703(Hausmüll (2 wöchentlich)@18.10.2019/00:00-19.10.2019/00:00)-0 - [groupName] : event-end - Sat Oct 19 00:00:00 CEST 2019
2019-07-18 07:22:16.726 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-d1f0fe60f8c40e986f85043c73bb4be2(Hausmüll (2 wöchentlich)@15.11.2019/00:00-16.11.2019/00:00)-0 - [groupName] : event-end - Sat Nov 16 00:00:00 CET 2019
2019-07-18 07:22:16.727 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-70c0c9d461a09ae1691457271aa6411f(Hausmüll (2 wöchentlich)@06.09.2019/00:00-07.09.2019/00:00)-0 - [groupName] : event-end - Sat Sep 07 00:00:00 CEST 2019
2019-07-18 07:22:16.728 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-3f22583fa84569262eb8e660c6966f59(Hausmüll (2 wöchentlich)@29.11.2019/00:00-30.11.2019/00:00)-0 - [groupName] : event-end - Sat Nov 30 00:00:00 CET 2019
2019-07-18 07:22:16.733 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-8486b95603e5a74ffdd96d5c989a73c3(Hausmüll (4 wöchentlich)@15.11.2019/00:00-16.11.2019/00:00)-0 - [groupName] : event-end - Sat Nov 16 00:00:00 CET 2019
2019-07-18 07:22:16.734 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-d5b9da69ae53530958036227dc3f2ba3(Hausmüll (4 wöchentlich)@18.10.2019/00:00-19.10.2019/00:00)-0 - [groupName] : event-end - Sat Oct 19 00:00:00 CEST 2019
2019-07-18 07:22:16.742 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-faee18a1fafeb40e16e8b400f3dd5f07(Hausmüll (2 wöchentlich)@02.11.2019/00:00-03.11.2019/00:00)-0 - [groupName] : event-end - Sun Nov 03 00:00:00 CET 2019
2019-07-18 07:22:16.746 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-2732d675dab3d98e11cfbe06e4239668(Hausmüll (4 wöchentlich)@26.07.2019/00:00-27.07.2019/00:00)-0 - [groupName] : event-end - Sat Jul 27 00:00:00 CEST 2019
2019-07-18 07:22:16.750 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-39233122496bc64d034d622f30312ced(Hausmüll (2 wöchentlich)@20.09.2019/00:00-21.09.2019/00:00)-0 - [groupName] : event-end - Sat Sep 21 00:00:00 CEST 2019
2019-07-18 07:22:16.752 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-4fd52c5ffa604f0038a8362e9b3c9a76(Hausmüll (4 wöchentlich)@23.08.2019/00:00-24.08.2019/00:00)-0 - [groupName] : event-end - Sat Aug 24 00:00:00 CEST 2019
2019-07-18 07:22:16.756 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-end-c9eb56e8416340e80927b0f506255b0f(Hausmüll (2 wöchentlich)@09.08.2019/00:00-10.08.2019/00:00)-0 - [groupName] : event-end - Sat Aug 10 00:00:00 CEST 2019
2019-07-18 07:22:16.762 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-8486b95603e5a74ffdd96d5c989a73c3(Hausmüll (4 wöchentlich)@15.11.2019/00:00-16.11.2019/00:00)-0 - [groupName] : event-start - Fri Nov 15 00:00:00 CET 2019
2019-07-18 07:22:16.763 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-c9eb56e8416340e80927b0f506255b0f(Hausmüll (2 wöchentlich)@09.08.2019/00:00-10.08.2019/00:00)-0 - [groupName] : event-start - Fri Aug 09 00:00:00 CEST 2019
2019-07-18 07:22:16.763 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-d1f0fe60f8c40e986f85043c73bb4be2(Hausmüll (2 wöchentlich)@15.11.2019/00:00-16.11.2019/00:00)-0 - [groupName] : event-start - Fri Nov 15 00:00:00 CET 2019
2019-07-18 07:22:16.768 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-e618b75250d431003b2b9648d1da3947(Hausmüll (2 wöchentlich)@05.10.2019/00:00-06.10.2019/00:00)-0 - [groupName] : event-start - Sat Oct 05 00:00:00 CEST 2019
2019-07-18 07:22:16.769 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-3f22583fa84569262eb8e660c6966f59(Hausmüll (2 wöchentlich)@29.11.2019/00:00-30.11.2019/00:00)-0 - [groupName] : event-start - Fri Nov 29 00:00:00 CET 2019
2019-07-18 07:22:16.771 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-b688780f90334b06db7c64e97bbf8e94(Hausmüll (2 wöchentlich)@26.07.2019/00:00-27.07.2019/00:00)-0 - [groupName] : event-start - Fri Jul 26 00:00:00 CEST 2019
2019-07-18 07:22:16.778 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-25f7a31e824346829506a24a02448f4c(Hausmüll (2 wöchentlich)@23.08.2019/00:00-24.08.2019/00:00)-0 - [groupName] : event-start - Fri Aug 23 00:00:00 CEST 2019
2019-07-18 07:22:16.789 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-d5b9da69ae53530958036227dc3f2ba3(Hausmüll (4 wöchentlich)@18.10.2019/00:00-19.10.2019/00:00)-0 - [groupName] : event-start - Fri Oct 18 00:00:00 CEST 2019
2019-07-18 07:22:16.794 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-70c0c9d461a09ae1691457271aa6411f(Hausmüll (2 wöchentlich)@06.09.2019/00:00-07.09.2019/00:00)-0 - [groupName] : event-start - Fri Sep 06 00:00:00 CEST 2019
2019-07-18 07:22:16.794 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-faee18a1fafeb40e16e8b400f3dd5f07(Hausmüll (2 wöchentlich)@02.11.2019/00:00-03.11.2019/00:00)-0 - [groupName] : event-start - Sat Nov 02 00:00:00 CET 2019
2019-07-18 07:22:16.798 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-4fd52c5ffa604f0038a8362e9b3c9a76(Hausmüll (4 wöchentlich)@23.08.2019/00:00-24.08.2019/00:00)-0 - [groupName] : event-start - Fri Aug 23 00:00:00 CEST 2019
2019-07-18 07:22:16.800 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-c527b7a7a672ba71c818c7ab7baf1703(Hausmüll (2 wöchentlich)@18.10.2019/00:00-19.10.2019/00:00)-0 - [groupName] : event-start - Fri Oct 18 00:00:00 CEST 2019
2019-07-18 07:22:16.804 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-3acf2e993761023767af2542c0b04771(Hausmüll (4 wöchentlich)@20.09.2019/00:00-21.09.2019/00:00)-0 - [groupName] : event-start - Fri Sep 20 00:00:00 CEST 2019
2019-07-18 07:22:16.805 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-2732d675dab3d98e11cfbe06e4239668(Hausmüll (4 wöchentlich)@26.07.2019/00:00-27.07.2019/00:00)-0 - [groupName] : event-start - Fri Jul 26 00:00:00 CEST 2019
2019-07-18 07:22:16.807 [DEBUG] [caldav.internal.job.EventReloaderJob] - [job] : event-start-39233122496bc64d034d622f30312ced(Hausmüll (2 wöchentlich)@20.09.2019/00:00-21.09.2019/00:00)-0 - [groupName] : event-start - Fri Sep 20 00:00:00 CEST 2019