update esppilight lib
content of the library is not filtered on 433mhz only
This commit is contained in:
1 parent
a275e48ee1
commit
67dd7ac078
1030 files changed
+203335
-116
No files matched your search
@@ -0,0 +1,52 @@
|
||||
.. |yes| image:: ../../images/yes.png
|
||||
.. |no| image:: ../../images/no.png
|
||||
|
||||
.. role:: underline
|
||||
:class: underline
|
||||
|
||||
Sendmail
|
||||
========
|
||||
|
||||
.. rubric:: Description
|
||||
|
||||
Send a message to any e-mail address
|
||||
|
||||
.. rubric:: Options
|
||||
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
| **Name** | **Required** | **Multiple Values** | **Description** |
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
| TO | |yes| | |no| | |
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
| SUBJECT | |yes| | |no| | |
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
| MESSAGE | |yes| | |no| | |
|
||||
+----------+------------------+---------------------+---------------------------------------------------+
|
||||
|
||||
.. note::
|
||||
|
||||
The ``sendmail`` action requires some additional settings in the pilight configuration:
|
||||
|
||||
.. code-block:: json
|
||||
|
||||
{
|
||||
"settings": {
|
||||
"smtp-sender": "sender@domain.com",
|
||||
"smtp-host": "smtp.smtphost.com",
|
||||
"smtp-port": 465,
|
||||
"smtp-user": "smtpuser@domain.com",
|
||||
"smtp-password": "password"
|
||||
}
|
||||
}
|
||||
|
||||
.. rubric:: Examples
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
IF 1 == 1 THEN sendmail SUBJECT Doorbell rang MESSAGE Doorbell rang TO someone@somewhere.com
|
||||
|
||||
.. versionchanged:: 8.1.0
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
IF 1 == 1 THEN sendmail SUBJECT 'Doorbell rang' MESSAGE 'Doorbell rang' TO someone@somewhere.com
|
||||
Reference in new issue
Block a user