Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

6
Send a Variable to Telegram from Node Red
Post Body

Can anyone give me a hand sending a temp variable in NR to Telegram? Messaging etc I have all set up, I just can't figure out how to send a variable. I mainly use the function node to config the message, but I can't figure out how to include the temp from a sensor.

msg.payload = {}

msg.payload.chatId = ***********

msg.payload.type = 'message'

msg.payload.content = "Testing Only"

return msg;

This is the output to the debug node from the sensor.

msg : Object

object _msgid: "4ab98c4eb7a761b0"

payload: "34.9"

topic: ""

Author
Account Strength
100%
Account Age
6 years
Verified Email
Yes
Verified Flair
No
Total Karma
15,641
Link Karma
3,685
Comment Karma
11,877
Profile updated: 1 week ago
Posts updated: 10 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago