I'm pretty new to node red, so pardon me if this question was answered before. I didn't find a solution though.
I want to get a message in telegram, when in a room the temperature drops or rises beyond a specified range. It should look like this:
"The temperature in %ROOM% dropped (16°C)"
I'm managing all my hardware through fhem and want to use mqtt as bridge to get the information in node red (some troubles here, too, but they are not linked to the question above). Telegram is set up as well, Tests with injections do work like a charm.
Through mqtt-topic I know which room the temperature belongs to. My topic looks like:
So between second and third / I always have the room name.
But: how do I get it out of there? Any help would really be appreciated!
Thanks in advance!