Update README.md

Spelling fixes
This commit is contained in:
George Yatsev 2019-11-22 13:18:36 +02:00 committed by Michael Zanetti
parent bf05c2144a
commit 4929dfadcf

View File

@ -1,9 +1,9 @@
# Time # Time
The time plugin allows you create rules based on the time, day, month, year, weekday or on weekend. The time plugin allows you to create rules based on time, day, month, year, weekday or on weekend.
For the correct setup you can configure the time zone in the plugin configuration. The language For the correct setup, you can configure the time zone in the plugin configuration. The language
of the "month name" and "weekday name" depends on the locale settings of the system. To have the correct of the "month name" and "weekday name" depends on the locale settings of your system. To have the correct
time you need [ntp](https://en.wikipedia.org/wiki/Network_Time_Protocol). time you need [ntp](https://en.wikipedia.org/wiki/Network_Time_Protocol).
The weekday integer value stands for: The weekday integer value stands for:
@ -21,10 +21,8 @@ The *weekend* state will be true, if the current weekday is Saturday or Sunday,
## Today ## Today
The today plugin gives you information about the current day and some special times of the day like The today plugin gives you information about the current day and some special times of the day like
dawn, sunrise, noon, sunset and dawn. In order to get the correct times of the current day for your location, the plugin needs to know where dawn, sunrise, noon, sunset and dawn. In order to get the correct times of the current day for your location, the plugin needs to know where you are. The plugin will autodetect your location according to you WAN IP [http://ip-api.com/json](http://ip-api.com/json) and will download the sunset / sunrise times from the online database [http://sunrise-sunset.org/](http://sunrise-sunset.org/).
you are. The plugin will autodetect your location according to you WAN IP [http://ip-api.com/json](http://ip-api.com/json). If the configured timezone does not match with the autodetected timezone from the IP, the `specialdates` will be set to 0 (01.01.1970 - 00:00.00).
and will download the sunset / sunrise times from the online database [http://sunrise-sunset.org/](http://sunrise-sunset.org/).
If the configured timezone does not match with the autodetected timezone from the ip the specialdates will be set to 0 (01.01.1970 - 00:00.00).
![Day times](https://raw.githubusercontent.com/guh/nymea-plugins/master/datetime/docs/images/day-times.png "Day times") ![Day times](https://raw.githubusercontent.com/guh/nymea-plugins/master/datetime/docs/images/day-times.png "Day times")
@ -32,8 +30,9 @@ Special times of a day ([original source](https://en.wikipedia.org/wiki/Twilight
## Alarm ## Alarm
The alarm plugin allows you to define an alarm which depends on a certain time, weekday or special day time like sunrise or The alarm plugin allows you to define an alarm which depends on a certain time, weekday or special day time, like sunrise or
sunset. An offset can also be definend. sunset. An offset can also be defined.
## Countdown ## Countdown
The countdown plugin allows you to define a countown which triggers an event on timeout.
The countdown plugin allows you to define a countdown, which triggers an event on timeout.