Node-Red

Assignment

Create a flow using Node-RED. Write a blog post. Describe what the flow does. Include screenshots of flow and other information showing how it works. Submit an exported version of the flow via email if it’s not included in your post.

The Idea

I wanted to try sending out emails regarding the humidity of the plant every morning and evening.

I thought that the functions “morning report” and “evening report” should get triggered and send the data that was given to them from mqtt and then send it as an email.

Obstacle

At first I tried following the email example and did not work out for me. So, I tried using the node-red-contrib-simple-sendmail and it worked!

However, the humidity data function would not be sent, just the content within the template of the email. I could not figure out how to make it include the function.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s