this post was submitted on 16 Aug 2025
10 points (100.0% liked)

homeassistant

16217 readers
20 users here now

Home Assistant is open source home automation that puts local control and privacy first.
Powered by a worldwide community of tinkerers and DIY enthusiasts.

Home Assistant can be self-installed on ProxMox, Raspberry Pi, or even purchased pre-installed: Home Assistant: Installation

Discussion of Home-Assistant adjacent topics is absolutely fine, within reason.
If you're not sure, DM @GreatAlbatross@feddit.uk

founded 2 years ago
MODERATORS
 

Hi,

What I'm trying to do is that if someone sends a message on my telegram with the text: "/todo (name-of-task) (due-date) (due-time)" (example: /todo empty the dishwasher 16-08-2025 14:00)

to get that in node-red and put that in vikunja via an http-request (or if you think there's something better, please advise)

I'm getting problems in the form of "message not found" and/or "malformed token" (that last one is a bit longer but you get the point)

The token works with a curl command, so I guess it's ok. I tried adding the headers to each http request in my flow and also tried leaving the headers empty and putting them in the function. Same result.

Can you help me out?

code located at: https://pastebin.com/suT710Yn

you are viewing a single comment's thread
view the rest of the comments
[–] TheOldRepublic@lemmy.world 1 points 1 month ago (1 children)

Hereby the screenshot of the curl command

[–] fixmycode@feddit.cl 2 points 1 month ago (1 children)

this looks fine, code looks fine, I've thing I don't think it's super transparent about this setup is how your message payload looks before your request, but the headers are set correctly...

[–] TheOldRepublic@lemmy.world 1 points 1 month ago

Isn't that in my code (see pastebin link)?