Need help making an template sensor for P2000

I’m running a P2000 hacs detecting P2000 messages.
creating sensor.p2000. This sensor changes if there is a new P2000 message.
These are a lot of messages.
So I want to create an template sensor only showing new P2000 messages based on search of a string in the original p2000.
Something like:

    p2000_trigger:
      friendly_name: "P2000 Trigger"
      value_template: "{{ (states('sensor.p2000') | search('Lutjebroek|Grootebroek|Hoogkarspel', ignorecase=true))}}"

I quess this is not the right format for such a template.
I wish to see only results in the new sensor.p2000_trigger if it contains one off the strings to search for
Can somebody show me the right direction?
Thanks

1 Like

I did find a solution to use Node red:

What do you use as input?
Trying to get this working as well

Same question as @jeffreydevos … it seems to be diffucult to find a reliable P2000 input (scraper/RSS feed). @Canedje is your automation still working properly 24/7?

I stopped using P2000 because of finding a reliable p2000 API

Same findings here… thx for your answer!

Now and then I do get some info from http://p2000.brandweer-berkel-enschot.nl, but more often then not it only results in ‘Oefening: TEST Code 100 Contact meldkamer Group Talk’. All the RSS pages there seems to be not working.

During the time I used Domoticz with Dashticz I had Alarmeringen.nl feed which still seems to work.