Compare commits

...
Author SHA1 Message Date
ESPEasy release bot fa9efcdb2b automatically updated release notes for mega-20190108 2019-01-08 04:00:08 +01:00
Gijs NoorlanderandGitHub 272f3f965d Merge pull request #2179 from uzi18/patch12
Dallas: perform 1wire reset before issue copy to eeprom command
2019-01-07 16:54:54 +01:00
Gijs NoorlanderandGitHub b964d8391b Merge pull request #2221 from Grovkillen/UpdateDocs
[docs] added P082 hardware pages + rearranged stuff
2019-01-07 13:58:13 +01:00
Gijs NoorlanderandGitHub 91a24fd3c2 Merge pull request #2217 from clumsy-stefan/deepSleep
[deepSleep] Make deepSleep work again with 2.5.0 and refactor delay var
2019-01-07 13:57:58 +01:00
TD-er cf95d0ca37 [deepSleep] Prevent overflow issues
The 'old' limit of 4294 seconds was 2^32 usec.
By casting it to an uint32, you may get unexpected results when multiplying it by 10^6 again.
So better to use uint64 as variable and work on that one, now the deepsleep functions support uint64.
2019-01-07 11:47:24 +01:00
Grovkillen 81428a0d22 [docs] fixed some syntax 2019-01-07 11:23:41 +01:00
Grovkillen 44475079df [docs] P082 (GPS) added "where to buy" links 2019-01-07 11:18:22 +01:00
Grovkillen bf46ebb0f3 [docs] added P082 (GPS) pages 2019-01-07 10:58:03 +01:00
Grovkillen 7956583c96 [docs] added an event reference page (similar to the command ref. page) 2019-01-07 08:56:26 +01:00
Grovkillen 5c1d68b627 [docs] moved events to repl file (same as commands) 2019-01-07 08:43:54 +01:00
stefan 1ac0a96b41 [deepSleep] fix type errors of #999e43a
Fix type errors of #999e43a and (hopefully) cast all types correctly now....

Keep deep sleep delay below INT_MAX for parameter storage compatibility.
2019-01-07 08:29:00 +01:00
Grovkillen fa21426852 [docs] added "used libraries" to all plugin pages 2019-01-07 08:28:27 +01:00
Grovkillen a72c6b4965 [docs] added events to all plugin pages
Not their hardware pages...
2019-01-07 08:25:28 +01:00
Grovkillen 8f24fa6c3e [docs] fixed used libraries 2019-01-07 07:45:27 +01:00
GrovkillenandGitHub 042f219bf6 Merge pull request #4 from letscontrolit/mega
update from master
2019-01-07 07:32:54 +01:00
stefan 999e43a834 [deepSleep] Allow for sleeptimes up to deepSleepMax()
Allow to specify sleep times up deepSleepMax() on core 2.5.0
2019-01-06 20:50:13 +01:00
stefan c2c311eb78 [deepSleep] only use deepSleepInstant for 2.5.0
added #ifdefs to make build happy also for versions <2.5.0
2019-01-06 13:10:28 +01:00
stefan 1a55b991b9 [deepSleep] Make deepSleep work again with 2.5.0 and refactor delay var
Make deepSleep work again with Core 2.5.0. Changed ESP.deepSleep() to ESP.deepSleepInstant().

Refactor delay variable to dsdelay to avoid conflicts with the delay() function.

Added a delay(100) before going to sleep to give the node time to send the last log messages.
2019-01-06 11:58:06 +01:00
Bartlomiej Zimon fc03a845b4 Merge branch 'mega' of github.com:letscontrolit/ESPEasy into patch12 2018-12-23 10:38:59 +00:00
Bartlomiej Zimon ea98eb516b Dallas: do not perform eeprom write if configuration does not change 2018-12-18 22:10:32 +00:00
Bartlomiej Zimon 8bcbd2b024 Dallas: perform 1wire reset before issue copy to eeprom command
it is small fix for resolution change after sensor reset #2143
2018-12-18 21:35:29 +00:00
116 changed files with 2019 additions and 298 deletions
+30
View File
@@ -1,3 +1,33 @@
-------------------------------------------------
Changes in release mega-20190108 (since mega-20190107)
-------------------------------------------------
Release date: Tue Jan 8 04:00:08 CET 2019
Bartlomiej Zimon (2):
Dallas: perform 1wire reset before issue copy to eeprom command it is small fix for resolution change after sensor reset #2143
Dallas: do not perform eeprom write if configuration does not change
Grovkillen (8):
[docs] fixed used libraries
[docs] added events to all plugin pages
[docs] added "used libraries" to all plugin pages
[docs] moved events to repl file (same as commands)
[docs] added an event reference page (similar to the command ref. page)
[docs] added P082 (GPS) pages
[docs] P082 (GPS) added "where to buy" links
[docs] fixed some syntax
TD-er (1):
[deepSleep] Prevent overflow issues
stefan (4):
[deepSleep] Make deepSleep work again with 2.5.0 and refactor delay var
[deepSleep] only use deepSleepInstant for 2.5.0
[deepSleep] Allow for sleeptimes up to deepSleepMax()
[deepSleep] fix type errors of #999e43a
-------------------------------------------------
Changes in release mega-20190107 (since mega-20190106)
-------------------------------------------------
+28 -12
View File
@@ -1,18 +1,34 @@
{"ESP_Easy_info":[
{
"MessageTitle":"Test1",
"MessageBody":"",
"MessageTitle":"Please support us",
"MessageBody":"We are in need for support. Currently we need to do a whole lot of consulting to keep us floating. If we could get funding for at least 50% of our time we could make a lot more than with our current 10-15%. Ideal would be 100% funding but we're realistic :) <br><br>We will add extra goodies for those who support us through monthly payments using Patreon.<br><br><br>Thanks for your support (from TD-er and Grovkillen)!",
"MessagePicture":"",
"MessageWriter":"",
"MessageColor":"",
"MessageDate":"2018-12-12"
"MessageWriter":"Grovkillen",
"MessageColorBG":"",
"MessageColorFont":"",
"MessageDate":"2019-01-07",
"MessageType":"general",
"MessageLink1text":"Patreon",
"MessageLink1":"",
"MessageLink2text":"Ko-Fi",
"MessageLink2":"",
"MessageLink3text":"Paypal",
"MessageLink3":""
},{
"MessageTitle":"Test2",
"MessageBody":"",
"MessageTitle":"First announcement test",
"MessageBody":"We're planning on using the ESP Easy Flasher to push announcements to the users. Hopefully this will work out good and make more people aware of how things are evolving. This will be used as a channel for pretty much anything regarding the prject. Thanks for your support!",
"MessagePicture":"",
"MessageWriter":"",
"MessageColor":"",
"MessageDate":"2018-12-10"
"MessageWriter":"Grovkillen",
"MessageColorBG":"",
"MessageColorFont":"",
"MessageDate":"2019-01-06",
"MessageType":"mega",
"MessageLink1text":"",
"MessageLink1":"",
"MessageLink2text":"",
"MessageLink2":"",
"MessageLink3text":"",
"MessageLink3":""
}
]
}
]
}
+7
View File
@@ -19,6 +19,8 @@ GitHub: |P000_github|_
Maintainer: |P000_maintainer|
Used libraries: |P000_usedlibraries|
Supported hardware
------------------
@@ -31,6 +33,11 @@ Commands available
.. include:: P001_commands_GPIO.repl
.. include:: P001_commands_RTTTL.repl
.. Events
.. ~~~~~~
.. .. include:: P000_events.repl
Change log
----------
+221
View File
@@ -0,0 +1,221 @@
.. csv-table::
:header: "Event", "Example"
:widths: 30, 20
"
``<taskname>#<valuename>``
As described already, each task can produced one or more events, one for each measured value. You should not name your devices and value names so that the combination equals to any of the below listed system events!
","
.. code-block:: html
on DHT11Outside#Temperature>20 do
GPIO,2,1
endon
"
"
``System#Wake``
Triggered after power on.
","
.. code-block:: html
on System#Wake do
GPIO,15,1
endon
"
"
``System#Boot``
Triggered at boot time.
","
.. code-block:: html
on System#Boot do
GPIO,2,1
timerSet,1,30
endon
"
"
``System#Sleep``
Triggered just before the ESP goes to deep sleep.
","
.. code-block:: html
on System#Sleep do
GPIO,2,0
endon
"
"
``MQTT#Connected``
Triggered when the ESP has connected to broker.
","
.. code-block:: html
on MQTT#Connected do
Publish,%sysname%/status,First message!
endon
"
"
``MQTT#Disconnected``
Triggered when the ESP has disconnected from the broker.
","
.. code-block:: html
on MQTT#Disconnected do
Reboot
endon
"
"
``MQTTimport#Connected``
Triggered when the ESP has connected to broker (the MQTT Import plugin uses a separate connection than the generic one).
","
.. code-block:: html
on MQTTimport#Connected do
Publish,%sysname%/status,MQTT Import is now operational
endon
"
"
``MQTTimport#Disconnected``
Triggered when the ESP has disconnected from the broker (the MQTT Import plugin uses a separate connection than the generic one).
","
.. code-block:: html
on MQTTimport#Disconnected do
Reboot
endon
"
"
``WiFi#Connected``
Triggered when the ESP has connected to Wi-Fi.
","
.. code-block:: html
on WiFi#Connected do
SendToHTTP,url.com,80,/report.php?hash=123abc456&t=[temp2#out]
endon
"
"
``WiFi#ChangedAccesspoint``
Triggered when the ESP has changed to access point, will also trigger first time the unit connects to the Wi-Fi.
","
.. code-block:: html
on WiFi#ChangedAccesspoint do
Publish,%sysname%/status,AP changed
endon
"
"
``WiFi#APmodeEnabled``
Triggered when the ESP has set the AP mode (access point) active.
This may happen when no valid WiFi settings are found or the ESP cannot connect to the set AP, but it can also be enabled via some command.
N.B. Sending a publish command may not be very useful on this event, since this will mainly happen when there is no WiFi connection.
","
.. code-block:: html
on WiFi#APmodeEnabled do
... // Some command
endon
"
"
``WiFi#APmodeDisabled``
Triggered when the ESP has disabled the AP mode (access point).
This can happen some time (default 60 seconds) after a WiFi connection has been made. Or disabled using some command.
","
.. code-block:: html
on WiFi#APmodeDisabled do
Publish,%sysname%/status,AP disabled
endon
"
"
``Login#Failed``
Triggered when (someone) has tried to login to a ESP unit with admin password enabled, but have failed to enter correct password.
","
.. code-block:: html
on Login#Failed do
Publish,%sysname%/warning,Intruder alert!
endon
"
"
``Time#Initialized``
Triggered the first time (after boot) NTP is updating the unit.
","
.. code-block:: html
on Time#Initialized do
Publish,%sysname%/Time,%systime%
endon
"
"
``Time#Set``
Triggered when the time is set by an update from NTP.
","
.. code-block:: html
on Time#Set do
Publish,%sysname%/Time,%systime%
Publish,%sysname%/NTP,Updated time at: %systime%
endon
"
"
``Rules#Timer=``
As described already, triggered when a rules timer ends (setting a timer to 0 will disable the timer).
","
.. code-block:: html
on Rules#Timer=1 do
GPIO,2,1
endon
"
"
``Clock#Time=``
Triggered every minute with day and time like: Mon,12:30 or Tue,14:45. You can define triggers on specific days or all days using 'All' for days indicator. You can also use wildcards in the time setting like All,**:00 to run every hour.
","
.. code-block:: html
on Clock#Time=All,12:00 do //will run once a day at noon
GPIO,2,1
endon
on Clock#Time=All,**:30 do //will run half past every hour
GPIO,2,1
endon
on Clock#Time=All,%sunrise% do //will run at sunrise (%sunset% is also available)
GPIO,2,1
endon
"
+5
View File
@@ -31,6 +31,11 @@ Commands available
.. include:: P001_commands_GPIO.repl
.. include:: P001_commands_RTTTL.repl
.. Events
.. ~~~~~~
.. .. include:: PXXX_events.repl
Change log
----------
+6 -1
View File
@@ -19,6 +19,7 @@ GitHub: |P002_github|_
Maintainer: |P002_maintainer|
Used libraries: |P002_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P002_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P002_events.repl
Change log
----------
@@ -44,4 +50,3 @@ Change log
|added|
Initial release version.
+6 -1
View File
@@ -19,6 +19,7 @@ GitHub: |P003_github|_
Maintainer: |P003_maintainer|
Used libraries: |P003_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P003_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P003_events.repl
Change log
----------
@@ -46,4 +52,3 @@ Change log
Initial release version.
+6 -1
View File
@@ -19,6 +19,7 @@ GitHub: |P004_github|_
Maintainer: |P004_maintainer|
Used libraries: |P004_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P004_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P004_events.repl
Change log
----------
@@ -46,4 +52,3 @@ Change log
Initial release version.
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P005_github|_
Maintainer: |P005_maintainer|
Used libraries: |P005_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P005_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P005_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P006_github|_
Maintainer: |P006_maintainer|
Used libraries: |P006_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P006_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P006_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P007_github|_
Maintainer: |P007_maintainer|
Used libraries: |P007_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P007_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P007_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P008_github|_
Maintainer: |P008_maintainer|
Used libraries: |P008_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P008_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P008_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P009_github|_
Maintainer: |P009_maintainer|
Used libraries: |P009_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P009_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P009_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P010_github|_
Maintainer: |P010_maintainer|
Used libraries: |P010_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P010_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P010_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P011_github|_
Maintainer: |P011_maintainer|
Used libraries: |P011_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P011_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P011_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P012_github|_
Maintainer: |P012_maintainer|
Used libraries: |P012_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P012_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P012_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P013_github|_
Maintainer: |P013_maintainer|
Used libraries: |P013_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P013_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P013_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P014_github|_
Maintainer: |P014_maintainer|
Used libraries: |P014_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P014_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P014_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P015_github|_
Maintainer: |P015_maintainer|
Used libraries: |P015_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P015_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P015_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P016_github|_
Maintainer: |P016_maintainer|
Used libraries: |P016_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P016_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P016_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P017_github|_
Maintainer: |P017_maintainer|
Used libraries: |P017_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P017_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P017_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P018_github|_
Maintainer: |P018_maintainer|
Used libraries: |P018_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P018_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P018_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P019_github|_
Maintainer: |P019_maintainer|
Used libraries: |P019_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P019_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P019_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P020_github|_
Maintainer: |P020_maintainer|
Used libraries: |P020_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P020_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P020_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P021_github|_
Maintainer: |P021_maintainer|
Used libraries: |P021_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P021_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P021_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P022_github|_
Maintainer: |P022_maintainer|
Used libraries: |P022_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P022_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P022_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P023_github|_
Maintainer: |P023_maintainer|
Used libraries: |P023_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P023_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P023_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P024_github|_
Maintainer: |P024_maintainer|
Used libraries: |P024_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P024_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P024_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P025_github|_
Maintainer: |P025_maintainer|
Used libraries: |P025_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P025_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P025_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P026_github|_
Maintainer: |P026_maintainer|
Used libraries: |P026_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P026_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P026_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P027_github|_
Maintainer: |P027_maintainer|
Used libraries: |P027_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P027_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P027_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P028_github|_
Maintainer: |P028_maintainer|
Used libraries: |P028_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P028_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P028_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P029_github|_
Maintainer: |P029_maintainer|
Used libraries: |P029_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P029_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P029_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P030_github|_
Maintainer: |P030_maintainer|
Used libraries: |P030_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P030_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P030_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P031_github|_
Maintainer: |P031_maintainer|
Used libraries: |P031_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P031_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P031_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P032_github|_
Maintainer: |P032_maintainer|
Used libraries: |P032_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P032_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P032_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P033_github|_
Maintainer: |P033_maintainer|
Used libraries: |P033_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P033_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P033_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P034_github|_
Maintainer: |P034_maintainer|
Used libraries: |P034_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P034_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P034_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P035_github|_
Maintainer: |P035_maintainer|
Used libraries: |P035_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P035_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P035_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P036_github|_
Maintainer: |P036_maintainer|
Used libraries: |P036_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P036_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P036_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P037_github|_
Maintainer: |P037_maintainer|
Used libraries: |P037_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P037_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P037_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P038_github|_
Maintainer: |P038_maintainer|
Used libraries: |P038_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P038_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P038_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P039_github|_
Maintainer: |P039_maintainer|
Used libraries: |P039_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P039_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P039_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P040_github|_
Maintainer: |P040_maintainer|
Used libraries: |P040_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P040_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P040_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P041_github|_
Maintainer: |P041_maintainer|
Used libraries: |P041_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P041_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P041_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P042_github|_
Maintainer: |P042_maintainer|
Used libraries: |P042_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P042_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P042_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P043_github|_
Maintainer: |P043_maintainer|
Used libraries: |P043_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P043_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P043_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P044_github|_
Maintainer: |P044_maintainer|
Used libraries: |P044_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P044_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P044_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P045_github|_
Maintainer: |P045_maintainer|
Used libraries: |P045_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P045_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P045_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P046_github|_
Maintainer: |P046_maintainer|
Used libraries: |P046_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P046_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P046_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P047_github|_
Maintainer: |P047_maintainer|
Used libraries: |P047_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P047_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P047_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P048_github|_
Maintainer: |P048_maintainer|
Used libraries: |P048_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P048_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P048_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P049_github|_
Maintainer: |P049_maintainer|
Used libraries: |P049_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P049_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P049_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P050_github|_
Maintainer: |P050_maintainer|
Used libraries: |P050_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P050_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P050_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P051_github|_
Maintainer: |P051_maintainer|
Used libraries: |P051_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P051_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P051_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P052_github|_
Maintainer: |P052_maintainer|
Used libraries: |P052_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Commands available
.. include:: P052_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P052_events.repl
Change log
----------
@@ -44,3 +50,5 @@ Change log
|added|
Initial release version.
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P053_github|_
Maintainer: |P053_maintainer|
Used libraries: |P053_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P053_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P053_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P054_github|_
Maintainer: |P054_maintainer|
Used libraries: |P054_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P054_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P054_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P055_github|_
Maintainer: |P055_maintainer|
Used libraries: |P055_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P055_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P055_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P056_github|_
Maintainer: |P056_maintainer|
Used libraries: |P056_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P056_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P056_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P057_github|_
Maintainer: |P057_maintainer|
Used libraries: |P057_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P057_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P057_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P058_github|_
Maintainer: |P058_maintainer|
Used libraries: |P058_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P058_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P058_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P059_github|_
Maintainer: |P059_maintainer|
Used libraries: |P059_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P059_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P059_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P060_github|_
Maintainer: |P060_maintainer|
Used libraries: |P060_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P060_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P060_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P061_github|_
Maintainer: |P061_maintainer|
Used libraries: |P061_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P061_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P061_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P062_github|_
Maintainer: |P062_maintainer|
Used libraries: |P062_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P062_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P062_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P063_github|_
Maintainer: |P063_maintainer|
Used libraries: |P063_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P063_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P063_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P064_github|_
Maintainer: |P064_maintainer|
Used libraries: |P064_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P064_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P064_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P065_github|_
Maintainer: |P065_maintainer|
Used libraries: |P065_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P065_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P065_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P066_github|_
Maintainer: |P066_maintainer|
Used libraries: |P066_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P066_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P066_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P067_github|_
Maintainer: |P067_maintainer|
Used libraries: |P067_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P067_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P067_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P068_github|_
Maintainer: |P068_maintainer|
Used libraries: |P068_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P068_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P068_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P069_github|_
Maintainer: |P069_maintainer|
Used libraries: |P069_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P069_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P069_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P070_github|_
Maintainer: |P070_maintainer|
Used libraries: |P070_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P070_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P070_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P071_github|_
Maintainer: |P071_maintainer|
Used libraries: |P071_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P071_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P071_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P072_github|_
Maintainer: |P072_maintainer|
Used libraries: |P072_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P072_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P072_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P073_github|_
Maintainer: |P073_maintainer|
Used libraries: |P073_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P073_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P073_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P074_github|_
Maintainer: |P074_maintainer|
Used libraries: |P074_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P074_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P074_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P075_github|_
Maintainer: |P075_maintainer|
Used libraries: |P075_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P075_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P075_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+6 -1
View File
@@ -19,7 +19,7 @@ GitHub: |P076_github|_
Maintainer: |P076_maintainer|
Used library: |P076_library|_
Used libraries: |P076_usedlibraries|
Configuration
-------------
@@ -42,6 +42,11 @@ Commands available
.. include:: P076_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P076_events.repl
Change log
----------
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P077_github|_
Maintainer: |P077_maintainer|
Used libraries: |P077_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P077_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P077_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P078_github|_
Maintainer: |P078_maintainer|
Used libraries: |P078_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P078_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P078_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P079_github|_
Maintainer: |P079_maintainer|
Used libraries: |P079_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P079_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P079_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P080_github|_
Maintainer: |P080_maintainer|
Used libraries: |P080_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P080_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P080_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+8
View File
@@ -19,6 +19,7 @@ GitHub: |P081_github|_
Maintainer: |P081_maintainer|
Used libraries: |P081_usedlibraries|
Supported hardware
------------------
@@ -30,6 +31,11 @@ Supported hardware
.. .. include:: P081_commands.repl
.. Events
.. ~~~~~~
.. .. include:: P081_events.repl
Change log
----------
@@ -47,3 +53,5 @@ Change log
+6 -40
View File
@@ -19,7 +19,7 @@ GitHub: |P082_github|_
Maintainer: |P082_maintainer|
Used library: |P082_library|_
Used libraries: |P082_usedlibraries|
Supported hardware
------------------
@@ -31,45 +31,10 @@ Supported hardware
.. .. include:: P082_commands.repl
Output values
-------------
* Longitude
* Latitude
* Altitude
* Speed
Events
------
The GPS plugin may send several events:
* GPS#GotFix
* GPS#LostFix
Preferred Settings
------------------
A GPS receiver is rather 'chatty', so it is strongly advised to use hardware serial ports.
The ESP8266 only has 2 HW serial ports, but only Serial0 uses a HW RX pin.
The TX channel from the ESP to the GPS is not needed for this plugin.
The used baudrate is 9600 bps.
PPS pin
-------
Some GPS receivers have a PPS pin.
This can be used to get a very accurate time reference.
According to `Wikipedia <https://en.wikipedia.org/wiki/Pulse-per-second_signal>`_ this signal could be considered a "stratum-1 time source".
The signal on the PPS pin is a high pulse of +/- 100 msec and the rising edge signals the start of a second.
The time reported after this pulse describes the past rising edge of the PPS pulse.
N.B. Currently the PPS feature is not thoroughly tested yet, so consider it experimental.
~~~~~~
.. include:: P082_events.repl
Future plans
------------
@@ -77,10 +42,11 @@ Future plans
The following new features may be added later:
* Selectable baud rate
* New event: GPS#Travelled to signal when a preset distance was moved since previous event.
* New event: GPS#Geofence to signal when within set distance from a set target. (e.g. home)
* New event: ``GPS#Travelled`` to signal when a preset distance was moved since previous event.
* New event: ``GPS#Geofence`` to signal when within set distance from a set target. (e.g. home)
* Change of output units (km, miles, etc)
* Use some threshold on used satellites and HDOP values.
* Update location settings found in advanced settings.
Change log
----------
+135
View File
@@ -0,0 +1,135 @@
.. include:: ../Plugin/_plugin_substitutions_p08x.repl
.. _P082_Neo-6M_page:
Neo 6M
======
|P082_typename|
|P082_status|
.. image:: P082_Neo-6M_1.jpg
Introduction
------------
GPS module that only uses GPS satellites.
Specifications:
* GPS
Wiring
------
A GPS receiver is rather 'chatty', so it is strongly advised to use hardware serial ports.
The ESP8266 only has 2 HW serial ports, but only Serial0 uses a HW RX pin.
The TX channel from the ESP to the GPS is not needed for this plugin.
The used baudrate is 9600 bps.
.. code-block:: html
ESP Neo-6M (HW Serial0)
GPIO (3/RX/RX0/D9) <--> TXD
GPIO (1/TX/TX0/D10) <--> RXD
ESP Neo-6M (HW Serial0 swapped)
GPIO (13/D7) <--> TXD
GPIO (15/D8) <--> RXD
ESP Neo-6M (HW Serial1)
not used <--> TXD
GPIO (2/D4) <--> RXD
Power
5.0V <--> VCC
GND <--> GND
.. danger:: If you use ``HW Serial0`` or ``HW Serial0 swapped`` you must disable serial port in the advanced settings! If you
fail to do so the unit will not work properly.
Setup
-----
.. image:: P082_Setup_Neo-6M_1.png
Task settings
~~~~~~~~~~~~~
* **Device**: Name of plugin
* **Name**: Name of the task (example name **GeoPos**)
* **Enable**: Should the task be enabled or not
Sensor
^^^^^^
* **GPIO <-- TX**: Used to communicate with the GPS unit.
* **GPIO --> RX**: Not used (optional), to push commands back into the GPS unit.
* **GPIO --> PPS**: Experimental (optional), used to let the GPS unit update the time of the ESP.
* **Dropdown**: ``SoftwareSerial`` lets you select any GPIO pin, ``HW Serial0`` is the preferred (most stable), ``HW Serial0 swapped`` is similar to Serial0, ``HW Serial1`` is only able
to receive data from the GPS unit.
.. warning:: It's highly recommended you use either the ``HW Serial1`` or ``HW Serial0`` for stable reading of the GPS unit. But also remember to disable the serial in the
advanced settings page, if not the ESP will interfere with the GPS unit.
.. include:: P082_pps_pin.repl
Data acquisition
^^^^^^^^^^^^^^^^
* **Send to controller** 1..3: Check which controller (if any) you want to publish to. All or no controller can be used.
* **Interval**: How often should the task publish its value (5..15 seconds is normal).
Indicators (recommended settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "Indicator", "Value Name", "Interval", "Decimals", "Extra information"
:widths: 8, 5, 5, 5, 40
"Longitude", "Long", "1", "6", "5 decimals = 100cm resolution, 6 decimals = 10cm resolution, 7 decimals = 1cm resolution"
"Latitude", "Lat", "1", "6", "5 decimals = 100cm resolution, 6 decimals = 10cm resolution, 7 decimals = 1cm resolution"
"Altitude", "Alt", "1", "0", "Normally only full meters are needed. Use more decimals if you need higher resolution."
"Speed", "mps", "1", "1", "Meters per second."
.. note:: These resolutions are given at the equator. Less accuracy is received the further north/south you go.
Rules examples
--------------
.. code-block:: html
on GeoPos#Speed do
if [GeoPos#Speed]>50
//Whooohooo, fast as lightning!
endif
endon
.. Commands available
.. ~~~~~~~~~~~~~~~~~~
.. .. include:: P082_commands.repl
Events
~~~~~~
.. include:: P082_events.repl
Where to buy
------------
.. csv-table::
:header: "Store", "Link"
:widths: 5, 40
"AliExpress","`Link 1 ($) <http://s.click.aliexpress.com/e/lu0crVq>`_"
"Banggood","`Link 2 ($) <https://www.banggood.com/custlink/DmKGydcyLn>`_"
"eBay","`Link 3 ($) <https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338336929&mpre=https%3A%2F%2Fwww.ebay.com%2Fsch%2Fi.html%3F_nkw%3Dneo%25206m>`_"
|affiliate|
.. More pictures
.. -------------
.. .. image:: P082_Neo-6M_2.jpg
Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

+135
View File
@@ -0,0 +1,135 @@
.. include:: ../Plugin/_plugin_substitutions_p08x.repl
.. _P082_Neo-7M_page:
Neo 7M
======
|P082_typename|
|P082_status|
.. image:: P082_Neo-7M_1.jpg
Introduction
------------
GPS module that uses GPS and GLONASS satellites.
Specifications:
* GPS
* GLONASS
Wiring
------
A GPS receiver is rather 'chatty', so it is strongly advised to use hardware serial ports.
The ESP8266 only has 2 HW serial ports, but only Serial0 uses a HW RX pin.
The TX channel from the ESP to the GPS is not needed for this plugin.
The used baudrate is 9600 bps.
.. code-block:: html
ESP Neo-7M (HW Serial0)
GPIO (3/RX/RX0/D9) <--> TXD
GPIO (1/TX/TX0/D10) <--> RXD
ESP Neo-7M (HW Serial0 swapped)
GPIO (13/D7) <--> TXD
GPIO (15/D8) <--> RXD
ESP Neo-7M (HW Serial1)
not used <--> TXD
GPIO (2/D4) <--> RXD
Power
5.0V <--> VCC
GND <--> GND
.. danger:: If you use ``HW Serial0`` or ``HW Serial0 swapped`` you must disable serial port in the advanced settings! If you
fail to do so the unit will not work properly.
Setup
-----
.. image:: P082_Setup_Neo-7M_1.png
Task settings
~~~~~~~~~~~~~
* **Device**: Name of plugin
* **Name**: Name of the task (example name **GeoPos**)
* **Enable**: Should the task be enabled or not
Sensor
^^^^^^
* **GPIO <-- TX**: Used to communicate with the GPS unit.
* **GPIO --> RX**: Not used (optional), to push commands back into the GPS unit.
* **GPIO --> PPS**: Experimental (optional), used to let the GPS unit update the time of the ESP.
* **Dropdown**: ``SoftwareSerial`` lets you select any GPIO pin, ``HW Serial0`` is the preferred (most stable), ``HW Serial0 swapped`` is similar to Serial0, ``HW Serial1`` is only able
to receive data from the GPS unit.
.. warning:: It's highly recommended you use either the ``HW Serial1`` or ``HW Serial0`` for stable reading of the GPS unit. But also remember to disable the serial in the
advanced settings page, if not the ESP will interfere with the GPS unit.
.. include:: P082_pps_pin.repl
Data acquisition
^^^^^^^^^^^^^^^^
* **Send to controller** 1..3: Check which controller (if any) you want to publish to. All or no controller can be used.
* **Interval**: How often should the task publish its value (5..15 seconds is normal).
Indicators (recommended settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "Indicator", "Value Name", "Interval", "Decimals", "Extra information"
:widths: 8, 5, 5, 5, 40
"Longitude", "Long", "1", "6", "5 decimals = 100cm resolution, 6 decimals = 10cm resolution, 7 decimals = 1cm resolution"
"Latitude", "Lat", "1", "6", "5 decimals = 100cm resolution, 6 decimals = 10cm resolution, 7 decimals = 1cm resolution"
"Altitude", "Alt", "1", "0", "Normally only full meters are needed. Use more decimals if you need higher resolution."
"Speed", "mps", "1", "1", "Meters per second."
.. note:: These resolutions are given at the equator. Less accuracy is received the further north/south you go.
Rules examples
--------------
.. code-block:: html
on GeoPos#Speed do
if [GeoPos#Speed]>50
//Whooohooo, fast as lightning!
endif
endon
.. Commands available
.. ~~~~~~~~~~~~~~~~~~
.. .. include:: P082_commands.repl
Events
~~~~~~
.. include:: P082_events.repl
Where to buy
------------
.. csv-table::
:header: "Store", "Link"
:widths: 5, 40
"AliExpress","`Link 1 ($) <http://s.click.aliexpress.com/e/4GTYo68>`_"
"eBay","`Link 2 ($) <https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338336929&mpre=https%3A%2F%2Fwww.ebay.com%2Fsch%2Fi.html%3F_nkw%3Dneo%25207m>`_"
|affiliate|
.. More pictures
.. -------------
.. .. image:: P082_Neo-7M_2.jpg
Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

+138
View File
@@ -0,0 +1,138 @@
.. include:: ../Plugin/_plugin_substitutions_p08x.repl
.. _P082_Neo-M8n_page:
Neo M8n
=======
|P082_typename|
|P082_status|
.. image:: P082_Neo-M8n_1.jpg
Introduction
------------
GPS module that uses GPS, Galileo, GLONASS, BeiDou satellites.
Specifications:
* GPS
* Galileo
* GLONASS
* BeiDou
Wiring
------
A GPS receiver is rather 'chatty', so it is strongly advised to use hardware serial ports.
The ESP8266 only has 2 HW serial ports, but only Serial0 uses a HW RX pin.
The TX channel from the ESP to the GPS is not needed for this plugin.
The used baudrate is 9600 bps.
.. code-block:: html
ESP Neo-M8n (HW Serial0)
GPIO (3/RX/RX0/D9) <--> TXD
GPIO (1/TX/TX0/D10) <--> RXD
ESP Neo-M8n (HW Serial0 swapped)
GPIO (13/D7) <--> TXD
GPIO (15/D8) <--> RXD
ESP Neo-M8n (HW Serial1)
not used <--> TXD
GPIO (2/D4) <--> RXD
Power
5.0V <--> VCC
GND <--> GND
.. danger:: If you use ``HW Serial0`` or ``HW Serial0 swapped`` you must disable serial port in the advanced settings! If you
fail to do so the unit will not work properly.
Setup
-----
.. image:: P082_Setup_Neo-M8n_1.png
Task settings
~~~~~~~~~~~~~
* **Device**: Name of plugin
* **Name**: Name of the task (example name **GeoPos**)
* **Enable**: Should the task be enabled or not
Sensor
^^^^^^
* **GPIO <-- TX**: Used to communicate with the GPS unit.
* **GPIO --> RX**: Not used (optional), to push commands back into the GPS unit.
* **GPIO --> PPS**: Experimental (optional), used to let the GPS unit update the time of the ESP.
* **Dropdown**: ``SoftwareSerial`` lets you select any GPIO pin, ``HW Serial0`` is the preferred (most stable), ``HW Serial0 swapped`` is similar to Serial0, ``HW Serial1`` is only able
to receive data from the GPS unit.
.. warning:: It's highly recommended you use either the ``HW Serial1`` or ``HW Serial0`` for stable reading of the GPS unit. But also remember to disable the serial in the
advanced settings page, if not the ESP will interfere with the GPS unit.
.. include:: P082_pps_pin.repl
Data acquisition
^^^^^^^^^^^^^^^^
* **Send to controller** 1..3: Check which controller (if any) you want to publish to. All or no controller can be used.
* **Interval**: How often should the task publish its value (5..15 seconds is normal).
Indicators (recommended settings)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. csv-table::
:header: "Indicator", "Value Name", "Interval", "Decimals", "Extra information"
:widths: 8, 5, 5, 5, 40
"Longitude", "Long", "1", "6", "5 decimals = 100cm resolution, 6 decimals = 10cm resolution, 7 decimals = 1cm resolution"
"Latitude", "Lat", "1", "6", "5 decimals = 100cm resolution, 6 decimals = 10cm resolution, 7 decimals = 1cm resolution"
"Altitude", "Alt", "1", "0", "Normally only full meters are needed. Use more decimals if you need higher resolution."
"Speed", "mps", "1", "1", "Meters per second."
.. note:: These resolutions are given at the equator. Less accuracy is received the further north/south you go.
Rules examples
--------------
.. code-block:: html
on GeoPos#Speed do
if [GeoPos#Speed]>50
//Whooohooo, fast as lightning!
endif
endon
.. Commands available
.. ~~~~~~~~~~~~~~~~~~
.. .. include:: P082_commands.repl
Events
~~~~~~
.. include:: P082_events.repl
Where to buy
------------
.. csv-table::
:header: "Store", "Link"
:widths: 5, 40
"AliExpress","`Link 1 ($) <http://s.click.aliexpress.com/e/cmauSCgs>`_"
"Banggood","`Link 2 ($) <https://www.banggood.com/custlink/G3vvYRCdgh>`_ `Link 3 ($) <https://www.banggood.com/custlink/mmvmdYpEBr>`_"
"eBay","`Link 3 ($) <https://rover.ebay.com/rover/1/711-53200-19255-0/1?icep_id=114&ipn=icep&toolid=20004&campid=5338336929&mpre=https%3A%2F%2Fwww.ebay.com%2Fsch%2Fi.html%3F_nkw%3Dneo%2520m8n>`_"
|affiliate|
.. More pictures
.. -------------
.. .. image:: P082_Neo-M8n_2.jpg
Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

+28
View File
@@ -0,0 +1,28 @@
.. csv-table::
:header: "Event", "Example"
:widths: 30, 20
"
``GPS#GotFix``
Will trigger when the GPS unit got a good position from the satellites.
","
.. code-block:: html
on GPS#GotFix do
GPIO,2,1 //LED on
endon
"
"
``GPS#LostFix``
Will trigger when the GPS unit is not having a good position from the satellites.
","
.. code-block:: html
on GPS#LostFix do
GPIO,2,0 //LED off
endon
"
+11
View File
@@ -0,0 +1,11 @@
PPS pin
~~~~~~~
Some GPS receivers have a PPS pin.
This can be used to get a very accurate time reference.
According to `Wikipedia <https://en.wikipedia.org/wiki/Pulse-per-second_signal>`_ this signal could be considered a "stratum-1 time source".
The signal on the PPS pin is a high pulse of +/- 100 msec and the rising edge signals the start of a second.
The time reported after this pulse describes the past rising edge of the PPS pulse.
.. note:: Currently the PPS feature is not thoroughly tested yet, so consider it experimental.
+1 -1
View File
@@ -224,7 +224,7 @@ Position
Plugins: |Plugin_Position|
Hardware: |P013_usedby|
Hardware: |P013_usedby|, |P082_usedby|
Regulator
---------
+1 -1
View File
@@ -17,7 +17,7 @@
.. |Plugin_Motor| replace:: :ref:`P048_page`, :ref:`P079_page`
.. |Plugin_Notify| replace:: :ref:`P055_page`, :ref:`P065_page`
.. |Plugin_Output| replace:: :ref:`P029_page`, :ref:`P038_page`, :ref:`P041_page`, :ref:`P042_page`, :ref:`P043_page`, :ref:`P070_page`
.. |Plugin_Position| replace:: :ref:`P013_page`
.. |Plugin_Position| replace:: :ref:`P013_page`, :ref:`P082_page`
.. |Plugin_Regulator| replace:: :ref:`P021_page`
.. |Plugin_RFID| replace:: :ref:`P008_page`, :ref:`P017_page`, :ref:`P040_page`
.. |Plugin_Switch_input| replace:: :ref:`P001_page`, :ref:`P009_page`, :ref:`P019_page`, :ref:`P059_page`, :ref:`P080_page`
@@ -86,6 +86,11 @@ Rules examples
.. .. include:: PXXX_commands.repl
.. Events
.. ~~~~~~
.. .. include:: PXXX_events.repl
Where to buy
------------

Some files were not shown because too many files have changed in this diff Show More