HowTo: NodeRed - Automatic freeze alert via pushbullet, pushover or email

I've had one of those car covers for a while now that you can put over the car to prevent ice from forming on the windows in cold temperatures. This cover is a very easy way to save yourself having to scrape your car windows in the morning.

The only disadvantage with these covers is that you have to pull the cover over the car first.

Unfortunately, I discovered that I have a special talent for attaching the cover to the car whenever I don't need it (too warm) and forgetting to attach it to the car just when I need it (cold enough).

That's why I made this little NodeRed Flow that always informs me about cold temperatures - regardless of whether I've forgotten it or not.

This means that if the average temperature at 8 p.m. in the evening or at 6 a.m. in the morning is below four degrees, I will receive a message via Pushbullet in the evening. This means I still have enough time to put the cover on in the evening or (if I forgot to do it the night before) I can plan a little extra time for scraping the windows clean.

Of course, this flow can also be used in combination with Pushover or a simple email notification.

I have described everything you need to integrate this flow into your NodeRed instance in the following article.


Safety instructions

I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/

Affiliate links/advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂 


Requirements

Helpful articles:
So that you can install new nodes, NodeRed should of course already be installed.
How to prepare a RaspberryPi and then install NodeRed on it is described in the following articles.

Required tool:

NumberLink
1xScrewdriver set  Buy at Amazon
1xSD card reader  Buy at Amazon

Required material:

NumberLink
1x Raspberry Pi  Buy at Amazon
1x Raspberry Pi power supply  Buy at Amazon
1x Raspberry Pi case  Buy at Amazon
1x Micro SD card 64GB  Buy at Amazon


Log into the NodeRed configuration interface

Before you can edit your NodeRed configuration, you must - if activated - first log into the NodeRed configuration interface.

View of the login dialog. Here you have to enter the login data that you specified during the configuration of the login. You can find information about this in the article NodeRed - set up user login.

Install required nodes

In order for NodeRed to retrieve current and future weather data, you must have the node for opernweathermap.com installed. You can find the necessary information in the article

You should also have already installed and configured the dashboard node. You can find information about this in the following article.


Import NodeCode to control the frost warning

At the end of this section there is a link to the Node Red code that you need to import into your Node Red instance.

In principle, the forest warning already works. However, you still have to enter some information. Firstly, if you haven't already done so, you must enter the API key for your Openweathermap.com account in the Openweathermap node. You can find information about this (especially how to get a free API key) in the article Node Red – Get current weather data from OpenWeatherMap .

You also have to select and configure (at least) one of the notification options. For example, how the Pushbullet node is configured can be found in the article Node Red – Send Pushbullet messages on events described.

Information on sending emails from Node Red can be found in the article Node Red – Send email on events.

If you wish, you can simply delete the nodes you do not need. 🙂

View of the flow in the Node Red configuration view. In order for the code to work, you of course have to enter your personal Openweathermap.com API key into the Openwathermap node.
View of the controls in the dashboard view. The warning temperature and the time at which the warning is sent can be set here.

In the area marked in red are the nodes that send your frost warning.

Here you have to select and configure at least one of the notification options. For example, how the Pushbullet node is configured can be found in the article

described. If you wish, you can simply delete the nodes you do not need. 🙂

How you can import the NodeCode linked below into your NodeRed environment is in the article NodeRed - import and export node code described.

As always, you can find the NodeCode in the Nerdiy Git repository under the following link:


More articles on the topic

More articles on the topic NodeRed and Openweathermap I have summarized them in the following categories or keywords.


Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

Buy Me a Coffee at ko-fi.com       

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert

This site uses Akismet to reduce spam. Learn how your comment data is processed.