Difference between revisions of "EasyNotifications"

From Let's Control It
Jump to navigation Jump to search
Line 11: Line 11:
 
== Creating a paper-mail to email gateway ==
 
== Creating a paper-mail to email gateway ==
  
 +
I used notifications in combination with Deep Sleep to create a system that notifies me when I have new paper mail in my actual mailbox:
  
[[File:Espmailbox2.jpg|300px]]
+
[[File:Espmailbox.jpg]]
  
[[File:Espmailbox.jpg|300px]]
+
[[File:Espmailbox2.jpg]]
 +
 
 +
 
 +
=== Hardware ===
 +
 
 +
* Core: '''esp-12-f''' because this is low power already. (no voltage regulator and usb-to-serial interface that draws current)
 +
* Casing: Google for '' Waterproof Clear Cover Plastic Electronic Box Project ''
 +
* Magnetic microswitch: Google for something like ''10pcs/lot Wired Door Window Magnetic Sensor Switch''
 +
 
 +
For power I used an old powerbank, those you use to charge your phone. Most power-banks use lithium cells that are a perfect 3.3 volts. And they are easy to charge as well. :)
 +
 
 +
 
 +
=== Wiring ===

Revision as of 23:04, 4 June 2017

ESPEasy notifications

ESPEasy notifications are to be used in combination with rules.

For example, to send a message on system boot use a rule like this:

on System#Boot do 
   notify 1,system is started
endon

Creating a paper-mail to email gateway

I used notifications in combination with Deep Sleep to create a system that notifies me when I have new paper mail in my actual mailbox:

Espmailbox.jpg

Espmailbox2.jpg


Hardware

  • Core: esp-12-f because this is low power already. (no voltage regulator and usb-to-serial interface that draws current)
  • Casing: Google for Waterproof Clear Cover Plastic Electronic Box Project
  • Magnetic microswitch: Google for something like 10pcs/lot Wired Door Window Magnetic Sensor Switch

For power I used an old powerbank, those you use to charge your phone. Most power-banks use lithium cells that are a perfect 3.3 volts. And they are easy to charge as well. :)


Wiring