Node-Red -How to Send Email and SMS Notifications

  Рет қаралды 41,744

Steve Cope

Steve Cope

Күн бұрын

Пікірлер: 54
@philippe5394
@philippe5394 Жыл бұрын
Hello Steve, I am currently learning Node-Red and MQTT. And of course I came across your KZbin videos. First of all, congratulations for the amount of work and the quality of the videos. It's with tutorials like this that we progress quickly. Thank you again!
@tenapier
@tenapier 2 жыл бұрын
This is excellent! Thanks for all you do Steve!
@vaishaliteli9707
@vaishaliteli9707 2 жыл бұрын
How to write the function in node-red sending mail notification ? Plz
@tikkypoland
@tikkypoland 2 жыл бұрын
Very nice example, thank you for sharing. In my real scenario I would add somewhere the variable to set how often you would like to receive the email. So in case where the temperature will vary 19.9, 20.1, 19.9 you will not receive too many email.
@stevecope
@stevecope 2 жыл бұрын
You can use parseInt(variable) to get a whole number and then compare so 19.0 to 19.9 wouldn't change but 20.0 would. rgds steve
@Dasol0246
@Dasol0246 4 жыл бұрын
This is by far you best explained video, keep it simple stupid KISS, Thanks
@sanjaybhatikar
@sanjaybhatikar 2 жыл бұрын
These videos are gems! Thank you.
@positive_vibes-rf2gk
@positive_vibes-rf2gk Жыл бұрын
This works great. Thank you very much.
@diez66
@diez66 4 жыл бұрын
Thanks, always enjoy your videos, even though I have done this myself before, I got a lot from the way you make your "simple" functions, mine will now improve as will my understanding.
@luisgerardohernandezduque531
@luisgerardohernandezduque531 Жыл бұрын
Thanks Steve, usefull information, works for me. :)
@dhruvpurwar6642
@dhruvpurwar6642 2 жыл бұрын
Make sure to use less secure apps property in gmail . Thanks!!
@krisdevoecht
@krisdevoecht 3 жыл бұрын
Thanks for the good explanation!
@nealtguidry
@nealtguidry 3 жыл бұрын
great explanation. I downloaded and tested and it's everything i need. Instead of using temperature i would like it notify when pinging a device fails. Any advice on this?
@stevecope
@stevecope 3 жыл бұрын
Hi Take a loo at this tutorial and there is a flow to download. stevessmarthomeguide.com/monitoring-internet-connection/
@nealtguidry
@nealtguidry 3 жыл бұрын
​@@stevecope i did a few days ago and have been working with it trying to combine the two flows so i can get mail notifications when ping fails. Unsuccessful at this point but i just discovered node-red and watching training videos.
@stevecope
@stevecope 3 жыл бұрын
Contact me using the ask steve page on the site and then you can email me your flow and I'll take a look. www.steves-internet-guide.com/ask-steve/
@stevecope
@stevecope 3 жыл бұрын
@@nealtguidry send me the flow using the ask steve page on the site and i'll take a look www.steves-internet-guide.com/ask-steve/
@martinprescott1687
@martinprescott1687 Жыл бұрын
Hi Steve, I have tried to send an email with this setup but it fails to send. I believe that "Alllow less secure apps" needs to be turned on in the google account that the email is being send from, but when I navigate to the page in the google account it states "To help keep your account secure, from May 30, 2022, ​​Google no longer supports the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password". By the way, thanks for going to the effort of putting these tutorials together, they are very helpful Any ideas? TIA
@stevecope
@stevecope Жыл бұрын
Yes since I did the video Google changed their security. There is a workaround but I personally moved to using my own personal account. Obviously that isn't an option for everyone. Rgds Steve
@wildalentejo
@wildalentejo 3 жыл бұрын
Thanks Steve!!
@SA-oj3bo
@SA-oj3bo 4 жыл бұрын
Hi Steve, I like the idea to warn users of node-red when something happens. Since I like alarm system projects I was looking for a solution that keeps making a sound on any smart device until the user stops it. Solutions like pushover are easy and work fine, but make only a short noise on the smart device and not repeat it, so the user can easily miss an important alarm. Do you know maybe a better solution that is suitable to warn users in a way so they can not miss it? Thanks.
@alvaromautone
@alvaromautone 4 жыл бұрын
Thank you for yours video!!
@thanhbinh9030
@thanhbinh9030 2 жыл бұрын
Hi, I have 1 question. I'm doing an alert from a PLC about Gmail via Node-red. In the Function function I only put 1 If condition. But when viewed on Gmail. I see the message that the condition is not true. How do I fix it?
@stevecope
@stevecope 2 жыл бұрын
Hi You will need to post the code so I can see it. Rgds Steve
@TheUnofficialMaker
@TheUnofficialMaker 3 жыл бұрын
i need to use email-in and use msg.topic to get the first word. the msg.topic returns Disarm (Stay): “Master” for example. I need to get only the states,i.e. Disarm or Arm. then i need to change to a value,1=arm,0=disarm. I get as far as getting the msg.topic into debug but that’s as far as I get. Can you show me how to solve this?
@stevecope
@stevecope 3 жыл бұрын
split the topic using let topics=msg.topic.split("/") extract the word arm/disarm. This depends on the topic format. assume we have topic of switch/arm them us let command=topics[1]; and then if (command=="arm") msg.payload=1; hope that helps if not contact me on the site stevesnoderedguide.com/ask-steve
@TheUnofficialMaker
@TheUnofficialMaker 3 жыл бұрын
@@stevecope thanks,I will give it a go
@MaximusBlue2
@MaximusBlue2 4 жыл бұрын
Trying to figure out if it’s possible to trigger a flow based on an incoming sms or email. Would need something monitoring an email account or sms account like twilio or ring central
@stevecope
@stevecope 4 жыл бұрын
Yes that is often how flows are started.
@MaximusBlue2
@MaximusBlue2 4 жыл бұрын
@@stevecope do you know how to start a flow based on incoming email or sms/mms? I’m looking for a solution, thanks in advance
@kennethchristian2528
@kennethchristian2528 3 жыл бұрын
Awesome videos
@azz-edineel-montaser9209
@azz-edineel-montaser9209 3 жыл бұрын
thank for your Video i would like to know if u can tell me how can this connected with a Java Eclipse a
@stevecope
@stevecope 3 жыл бұрын
Sorry All I can say is that the process is the same but I don't use Java
@GutsyGibbon
@GutsyGibbon 4 ай бұрын
I don't have the email node. Which addon should I get?
@GutsyGibbon
@GutsyGibbon 4 ай бұрын
Never mind, I found an email send node that works. Thanks!
@stevecope
@stevecope 4 ай бұрын
Should ne node-red-node-email I think Rgds Steve
@nigelholland24
@nigelholland24 4 жыл бұрын
At 7.17 you have not blanked for email address
@ShaunBanks-o2y
@ShaunBanks-o2y 5 күн бұрын
Hello Steve, I came across your video and have used your example of how to send email and SMS notifications. I have set this up for email but when it tries to send an email I get an error, do you have any idea what would cause this and how do I resolve.. many thanks. "Error: F8240000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:c:\ws\deps\openssl\openssl\ssl ecord\ssl3_record.c:355:"
@stevecope
@stevecope 4 күн бұрын
Hi It looks like something is wrong with SSL on the machine you are using. Does your provider let you send email unencrypted if so give that a try. Also are you using GMail? Rgds Steve
@alexkary2652
@alexkary2652 3 жыл бұрын
Hello everyone. Before i tell you my problem i will explain you what i have done so far. So, i have 2 Arduino which communicate via LoRa (because i have added 2 Dragino shields on Arduino). Arduino send the following data to node red (serial) : temperature, humidity and water level. I want to receive notification "danger" from node red when the water level is over 3 mm (millimeter) and notification "normal" when the water level is under 3 mm. The problem is that when i put my water sensor in a glass of water (over 3 mm) the notification is "normal". By the way i wrote the same code with yours (in fuction trigger alarm). So, what can i do about it?
@stevecope
@stevecope 3 жыл бұрын
What values are you sending for normal and danger. assume you are seeing values in range 0 to 256 so an if value100 return danger would probably do. Let me know if you need more help use this page stevesnoderedguide.com/ask-steve rgds steve
@anthonyscott2368
@anthonyscott2368 3 жыл бұрын
Just watch this very helpfull but my payload looks like payload {"state":0,"duration":20} My question is how do I unpack that to get the state which only has two values 1 and 0?
@stevecope
@stevecope 3 жыл бұрын
var state=msg.payload.state
@anthonyscott2368
@anthonyscott2368 3 жыл бұрын
@@stevecope You and these videos are awesome. Thank you!!!!
@baseladams280
@baseladams280 3 жыл бұрын
If you using gmail, then you will need first to login and then open this link: www.google.com/settings/security/lesssecureapps
@aina9860
@aina9860 2 жыл бұрын
Hi! How can I do that?? I can´t access to administration configuration. Could you help me, please?
@redmundperrz7234
@redmundperrz7234 Жыл бұрын
How to do it in whatsapp or viber group?
@stevecope
@stevecope Жыл бұрын
Hi there is a whats app node flows.nodered.org/node/node-red-contrib-whatsapp-link Couldn't find a uber node. Rgds Steve
@redmundperrz7234
@redmundperrz7234 Жыл бұрын
@@stevecope yes, i tried but only for single cp number, I want for group chat is it possible?
@stevecope
@stevecope Жыл бұрын
@@redmundperrz7234 Sorry don't know as I've never used it. I don't use whats App. Rgds Steve
@felixcenteno2003
@felixcenteno2003 3 жыл бұрын
just to tell you: your email is show from 10:57 to the end .....
Using The Node-Red Template UI Node or Widget
13:18
Steve Cope
Рет қаралды 38 М.
Node-RED Tutorial: Email Alerts & Notifications
18:09
Opto Video
Рет қаралды 126 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН
Кто круче, как думаешь?
00:44
МЯТНАЯ ФАНТА
Рет қаралды 4,8 МЛН
Prescient: How to use ChatGPT with Node-RED
8:13
Prescient
Рет қаралды 10 М.
Node-Red Join Node Step by Step For Beginners
9:07
Steve Cope
Рет қаралды 29 М.
Intro to JSON for Node-RED
12:58
Opto Video
Рет қаралды 54 М.
Node-RED Trigger Node
5:11
More than Certified
Рет қаралды 4,6 М.
Node Red: Machine Monitoring System SCADA-Like
7:08
Yaser Ali Husen
Рет қаралды 67 М.
Send SMS Messages using PHP
10:18
Dave Hollingworth
Рет қаралды 39 М.
How to Node-RED!
12:58
bitluni
Рет қаралды 376 М.
They Chose Kindness Over Abuse in Their Team #shorts
00:20
I migliori trucchetti di Fabiosa
Рет қаралды 12 МЛН