Skip to content

Commit 8caeddd

Browse files
srg74wthomson
andauthored
Spelling check by @wthomson (wled#2940)
A lot of spelling corrections. Now repo will sound like educated person :) Co-authored-by: Bill Thomson <[email protected]>
1 parent 2e5b195 commit 8caeddd

File tree

47 files changed

+353
-345
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+353
-345
lines changed

readme.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control NeoPixel (WS2812B, WS2811, SK6812) LEDs or also SPI based chipsets like the WS2801 and APA102!
1616

1717
## ⚙️ Features
18-
- WS2812FX library integrated for over 100 special effects
18+
- WS2812FX library with more than 100 special effects
1919
- FastLED noise effects and 50 palettes
2020
- Modern UI with color, effect and segment controls
21-
- Segments to set different effects and colors to parts of the LEDs
22-
- Settings page - configuration over network
21+
- Segments to set different effects and colors to user defined parts of the LED string
22+
- Settings page - configuration via the network
2323
- Access Point and station mode - automatic failsafe AP
2424
- Up to 10 LED outputs per instance
2525
- Support for RGBW strips
@@ -28,7 +28,7 @@ A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control
2828
- Nightlight function (gradually dims down)
2929
- Full OTA software updatability (HTTP + ArduinoOTA), password protectable
3030
- Configurable analog clock (Cronixie, 7-segment and EleksTube IPS clock support via usermods)
31-
- Configurable Auto Brightness limit for safer operation
31+
- Configurable Auto Brightness limit for safe operation
3232
- Filesystem-based config for easier backup of presets and settings
3333

3434
## 💡 Supported light control interfaces
@@ -51,7 +51,7 @@ A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control
5151

5252
See the [documentation on our official site](https://kno.wled.ge)!
5353

54-
[On this page](https://kno.wled.ge/basics/tutorials/) you can find excellent tutorials made by the community and helpful tools to help you get your new lamp up and running!
54+
[On this page](https://kno.wled.ge/basics/tutorials/) you can find excellent tutorials and tools to help you get your new project up and running!
5555

5656
## 🖼️ User interface
5757
<img src="/images/macbook-pro-space-gray-on-the-wooden-table.jpg" width="50%"><img src="/images/walking-with-iphone-x.jpg" width="50%">
@@ -70,12 +70,16 @@ Join the Discord server to discuss everything about WLED!
7070
<a href="https://discord.gg/KuqP7NE"><img src="https://discordapp.com/api/guilds/473448917040758787/widget.png?style=banner2" width="25%"></a>
7171

7272
Check out the WLED [Discourse forum](https://wled.discourse.group)!
73-
You can also send me mails to [[email protected]](mailto:[email protected]), but please only do so if you want to talk to me privately.
74-
If WLED really brightens up your every day, you can [![](https://img.shields.io/badge/send%20me%20a%20small%20gift-paypal-blue.svg?style=flat-square)](https://paypal.me/aircoookie)
73+
74+
You can also send me mails to [[email protected]](mailto:[email protected]), but please, only do so if you want to talk to me privately.
75+
76+
If WLED really brightens up your day, you can [![](https://img.shields.io/badge/send%20me%20a%20small%20gift-paypal-blue.svg?style=flat-square)](https://paypal.me/aircoookie)
7577

7678

7779
*Disclaimer:*
78-
If you are sensitive to photosensitive epilepsy it is not recommended that you use this software.
79-
In case you still want to try, don't use strobe, lighting or noise modes or high effect speed settings.
80+
81+
If you are prone to photosensitive epilepsy, we recommended you do **not** use this software.
82+
If you still want to try, don't use strobe, lighting or noise modes or high effect speed settings.
83+
8084
As per the MIT license, I assume no liability for any damage to you or any other person or equipment.
8185

usermods/ADS1115_v2/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
This usermod will read from an ADS1115 ADC. The voltages are displayed in the Info section of the web UI.
44

5-
Configuration is all completed via the Usermod menu. There are no settings to set in code!
5+
Configuration is performed via the Usermod menu. There are no parameters to set in code!
66

77
## Installation
88

usermods/Animated_Staircase/README.md

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Usermod Animated Staircase
2-
This usermod makes your staircase look cool by switching it on with an animation. It uses
2+
This usermod makes your staircase look cool by illuminating it with an animation. It uses
33
PIR or ultrasonic sensors at the top and bottom of your stairs to:
44

5-
- Light up the steps in your walking direction, leading the way.
5+
- Light up the steps in the direction you're your walking.
66
- Switch off the steps after you, in the direction of the last detected movement.
77
- Always switch on when one of the sensors detects movement, even if an effect
8-
is still running. It can therewith handle multiple people on the stairs gracefully.
8+
is still running. It can gracefully handle multiple people on the stairs.
99

1010
The Animated Staircase can be controlled by the WLED API. Change settings such as
11-
speed, on/off time and distance settings by sending an HTTP request, see below.
11+
speed, on/off time and distance by sending an HTTP request, see below.
1212

1313
## WLED integration
1414
To include this usermod in your WLED setup, you have to be able to [compile WLED from source](https://github.com/Aircoookie/WLED/wiki/Compiling-WLED).
@@ -20,17 +20,16 @@ Edit `usermods_list.cpp`:
2020
2. add `#include "../usermods/Animated_Staircase/Animated_Staircase.h"` to the top of the file
2121
3. add `usermods.add(new Animated_Staircase());` to the end of the `void registerUsermods()` function.
2222

23-
You can configure usermod using Usermods settings page.
24-
Please enter GPIO pins for PIR sensors or ultrasonic sensor (trigger and echo).
23+
You can configure usermod using the Usermods settings page.
24+
Please enter GPIO pins for PIR or ultrasonic sensors (trigger and echo).
2525
If you use PIR sensor enter -1 for echo pin.
26-
Maximum distance for ultrasonic sensor can be configured as a time needed for echo (see below).
26+
Maximum distance for ultrasonic sensor can be configured as the time needed for an echo (see below).
2727

2828
## Hardware installation
29-
1. Stick the LED strip under each step of the stairs.
30-
2. Connect the ESP8266 pin D4 or ESP32 pin D2 to the first LED data pin at the bottom step
31-
of your stairs.
29+
1. Attach the LED strip to each step of the stairs.
30+
2. Connect the ESP8266 pin D4 or ESP32 pin D2 to the first LED data pin at the bottom step.
3231
3. Connect the data-out pin at the end of each strip per step to the data-in pin on the
33-
other end of the next step, creating one large virtual LED strip.
32+
next step, creating one large virtual LED strip.
3433
4. Mount sensors of choice at the bottom and top of the stairs and connect them to the ESP.
3534
5. To make sure all LEDs get enough power and have your staircase lighted evenly, power each
3635
step from one side, using at least AWG14 or 2.5mm^2 cable. Don't connect them serial as you
@@ -62,22 +61,22 @@ or remove them and put everything on one line.
6261

6362
To read the current settings, open a browser to `http://xxx.xxx.xxx.xxx/json/state` (use your WLED
6463
device IP address). The device will respond with a json object containing all WLED settings.
65-
The staircase settings and sensor states are inside the WLED status element:
64+
The staircase settings and sensor states are inside the WLED "state" element:
6665

6766
```json
6867
{
6968
"state": {
7069
"staircase": {
7170
"enabled": true,
7271
"bottom-sensor": false,
73-
"tops-ensor": false
72+
"top-sensor": false
7473
},
7574
}
7675
```
7776

7877
### Enable/disable the usermod
7978
By disabling the usermod you will be able to keep the LED's on, independent from the sensor
80-
activity. This enables to play with the lights without the usermod switching them on or off.
79+
activity. This enables you to play with the lights without the usermod switching them on or off.
8180

8281
To disable the usermod:
8382

@@ -92,25 +91,25 @@ To enable the usermod again, use `"enabled":true`.
9291
Alternatively you can use _Usermod_ Settings page where you can change other parameters as well.
9392

9493
### Changing animation parameters and detection range of the ultrasonic HC-SR04 sensor
95-
Using _Usermod_ Settings page you can define different usermod parameters, includng sensor pins, delay between segment activation and so on.
94+
Using _Usermod_ Settings page you can define different usermod parameters, includng sensor pins, delay between segment activation etc.
9695

9796
When an ultrasonic sensor is enabled you can enter maximum detection distance in centimeters separately for top and bottom sensors.
9897

99-
**Please note:** that using an HC-SR04 sensor, particularly when detecting echos at longer
100-
distances creates delays in the WLED software, and _might_ introduce timing hickups in your animations or
98+
**Please note:** using an HC-SR04 sensor, particularly when detecting echos at longer
99+
distances creates delays in the WLED software, _might_ introduce timing hiccups in your animation or
101100
a less responsive web interface. It is therefore advised to keep the detection distance as short as possible.
102101

103102
### Animation triggering through the API
104-
Instead of stairs activation by one of the sensors, you can also trigger the animation through
105-
the API. To simulate triggering the bottom sensor, use:
103+
In addition to activation by one of the stair sensors, you can also trigger the animation manually
104+
via the API. To simulate triggering the bottom sensor, use:
106105

107106
```bash
108107
curl -X POST -H "Content-Type: application/json" \
109108
-d '{"staircase":{"bottom-sensor":true}}' \
110109
xxx.xxx.xxx.xxx/json/state
111110
```
112111

113-
Likewise, to trigger the top sensor, use:
112+
Likewise, to trigger the top sensor:
114113

115114
```bash
116115
curl -X POST -H "Content-Type: application/json" \
@@ -119,7 +118,7 @@ curl -X POST -H "Content-Type: application/json" \
119118
```
120119
**MQTT**
121120
You can publish a message with either `up` or `down` on topic `/swipe` to trigger animation.
122-
You can also use `on` or `off` for enabling or disabling usermod.
121+
You can also use `on` or `off` for enabling or disabling the usermod.
123122

124123
Have fun with this usermod.<br/>
125124
www.rolfje.com
@@ -128,4 +127,4 @@ Modifications @blazoncek
128127

129128
## Change log
130129
2021-04
131-
* Adaptation for runtime configuration.
130+
* Adaptation for runtime configuration.

usermods/BH1750_v2/readme.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# BH1750 usermod
22

3-
This usermod will read from an ambient light sensor like the BH1750 sensor.
4-
The luminance is displayed both in the Info section of the web UI as well as published to the `/luminance` MQTT topic if enabled.
3+
This usermod will read from an ambient light sensor like the BH1750.
4+
The luminance is displayed in both the Info section of the web UI, as well as published to the `/luminance` MQTT topic if enabled.
55

66
## Dependencies
77
- Libraries
@@ -28,9 +28,9 @@ The following settings can be set at compile-time but are configurable on the us
2828
* `USERMOD_BH1750_MAX_MEASUREMENT_INTERVAL` - the max number of milliseconds between measurements, defaults to 10000ms
2929
* `USERMOD_BH1750_MIN_MEASUREMENT_INTERVAL` - the min number of milliseconds between measurements, defaults to 500ms
3030
* `USERMOD_BH1750_OFFSET_VALUE` - the offset value to report on, defaults to 1
31-
* `USERMOD_BH1750_FIRST_MEASUREMENT_AT` - the number of milliseconds after boot to take first measurement, defaults to 10 seconds
31+
* `USERMOD_BH1750_FIRST_MEASUREMENT_AT` - the number of milliseconds after boot to take first measurement, defaults to 10000 ms
3232

33-
In addition, on the Usermod screen allows you to:
33+
In addition, the Usermod screen allows you to:
3434
- enable/disable the usermod
3535
- Enable Home Assistant Discovery of usermod
3636
- Configure the SCL/SDA pins
@@ -44,6 +44,6 @@ Jul 2022
4444
- Added Home Assistant Discovery
4545
- Implemented PinManager to register pins
4646
- Made pins configurable in usermod menu
47-
- Added API call to read illuminance from other modules
47+
- Added API call to read luminance from other modules
4848
- Enhanced info-screen outputs
49-
- Updated `readme.md`
49+
- Updated `readme.md`

usermods/BME280_v2/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ This Usermod is designed to read a `BME280` or `BMP280` sensor and output the fo
66
- Heat Index (`BME280` only)
77
- Dew Point (`BME280` only)
88

9-
Configuration is all completed via the Usermod menu. There are no settings to set in code! The following settings can be configured in the Usermod Menu:
9+
Configuration is performed via the Usermod menu. There are no parameters to set in code! The following settings can be configured in the Usermod Menu:
1010
- Temperature Decimals (number of decimal places to output)
1111
- Humidity Decimals
1212
- Pressure Decimals
13-
- Temperature Interval (how many seconds between reads of temperature and humidity)
13+
- Temperature Interval (how many seconds between temperature and humidity measurements)
1414
- Pressure Interval
1515
- Publish Always (turn off to only publish changes, on to publish whether or not value changed)
16-
- Use Celsius (turn off to use Farenheit)
16+
- Use Celsius (turn off to use Fahrenheit)
1717
- Home Assistant Discovery (turn on to sent MQTT Discovery entries for Home Assistant)
1818
- SCL/SDA GPIO Pins
1919

@@ -23,7 +23,7 @@ Dependencies
2323
- `Wire`
2424
- These must be added under `lib_deps` in your `platform.ini` (or `platform_override.ini`).
2525
- Data is published over MQTT - make sure you've enabled the MQTT sync interface.
26-
- This usermod also writes to serial (GPIO1 on ESP8266). Please make sure nothing else listening on the serial TX pin of your board will get confused by log messages!
26+
- This usermod also writes to serial (GPIO1 on ESP8266). Please make sure nothing else is listening to the serial TX pin or your board will get confused by log messages!
2727

2828
In addition to outputting via MQTT, you can read the values from the Info Screen on the dashboard page of the device's web interface.
2929

@@ -37,7 +37,7 @@ Methods also exist to read the read/calculated values from other WLED modules th
3737
- `getHeatIndexC()`
3838
- `getHeatIndexF()`
3939

40-
# Complilation
40+
# Compiling
4141

4242
To enable, compile with `USERMOD_BME280` defined (e.g. in `platformio_override.ini`)
4343
```ini
@@ -63,7 +63,7 @@ Pressure | `<deviceTopic>/pressure`
6363
Heat index | `<deviceTopic>/heat_index`
6464
Dew point | `<deviceTopic>/dew_point`
6565

66-
If you are using Home Assistant, and `Home Assistant Discovery` is turned on, Home Assistant should automatically detect a new device, provided you have the MQTT integration installed. The device is seperate from the main WLED device and will contain sensors for Pressure, Humidity, Temperature, Dew Point and Heat Index.
66+
If you are using Home Assistant, and `Home Assistant Discovery` is turned on, Home Assistant should automatically detect a new device, provided you have the MQTT integration installed. The device is separate from the main WLED device and will contain sensors for Pressure, Humidity, Temperature, Dew Point and Heat Index.
6767

6868
# Revision History
6969
Jul 2022
@@ -82,9 +82,9 @@ Apr 2021
8282

8383
Dec 2020
8484
- Ported to V2 Usermod format
85-
- Customisable `measure intervals`
86-
- Customisable number of `decimal places` in published sensor values
85+
- Customizable `measure intervals`
86+
- Customizable number of `decimal places` in published sensor values
8787
- Pressure measured in units of hPa instead of Pa
8888
- Calculation of heat index (apparent temperature) and dew point
8989
- `16x oversampling` of sensor during measurement
90-
- Values only published if they are different from the previous value
90+
- Values only published if they are different from the previous value

usermods/DHT/readme.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# DHT Temperature/Humidity sensor usermod
22

33
This usermod will read from an attached DHT22 or DHT11 humidity and temperature sensor.
4-
The sensor readings are displayed in the Info section of the web UI (and optionally send to a MQTT broker).
4+
The sensor readings are displayed in the Info section of the web UI (and optionally sent to an MQTT broker).
55

6-
If sensor is not detected after a while (10 update intervals), this usermod will be disabled.
6+
If sensor is not detected after 10 update intervals, the usermod will be disabled.
77

8-
If enabled measured temperature and humidity will be published to the following MQTT topics
8+
If enabled, measured temperature and humidity will be published to the following MQTT topics
99
* `{devceTopic}/dht/temperature`
1010
* `{devceTopic}/dht/humidity`
1111

@@ -15,13 +15,13 @@ Copy the example `platformio_override.ini` to the root directory. This file sho
1515

1616
### Define Your Options
1717

18-
* `USERMOD_DHT` - define this to have this user mod included wled00\usermods_list.cpp
18+
* `USERMOD_DHT` - define this to include this user mod wled00\usermods_list.cpp
1919
* `USERMOD_DHT_DHTTYPE` - DHT model: 11, 21, 22 for DHT11, DHT21, or DHT22, defaults to 22/DHT22
2020
* `USERMOD_DHT_PIN` - pin to which DTH is connected, defaults to Q2 pin on QuinLed Dig-Uno's board
21-
* `USERMOD_DHT_CELSIUS` - define this to report temperatures in degrees celsious, otherwise fahrenheit will be reported
22-
* `USERMOD_DHT_MEASUREMENT_INTERVAL` - the number of milliseconds between measurements, defaults to 60 seconds
23-
* `USERMOD_DHT_FIRST_MEASUREMENT_AT` - the number of milliseconds after boot to take first measurement, defaults to 90 seconds
24-
* `USERMOD_DHT_MQTT` - publish measurements to the MQTT broker
21+
* `USERMOD_DHT_CELSIUS` - define this to report temperatures in degrees Celsius, otherwise Fahrenheit will be reported
22+
* `USERMOD_DHT_MEASUREMENT_INTERVAL` - the number of milliseconds between measurements, defaults to 60000 ms
23+
* `USERMOD_DHT_FIRST_MEASUREMENT_AT` - the number of milliseconds after boot to take first measurement, defaults to 90000 ms
24+
* `USERMOD_DHT_MQTT` - publish measurements to an MQTT broker
2525
* `USERMOD_DHT_STATS` - For debug, report delay stats
2626

2727
## Project link
@@ -35,11 +35,11 @@ If you are using `platformio_override.ini`, you should be able to refresh the ta
3535

3636
## Change Log
3737
2022-10-15
38-
* Add possibility to publish sensor readings to an MQTT broker
38+
* Add ability to publish sensor readings to an MQTT broker
3939
* fix compilation error for sample [env:d1_mini_usermod_dht_C] task
4040
2020-02-04
4141
* Change default QuinLed pin to Q2
42-
* Instead of trying to keep updates at constant cadence, space readings out by measurement interval; hope this helps to avoid occasional bursts of readings with errors
42+
* Instead of trying to keep updates at constant cadence, space out readings by measurement interval. Hopefully, this helps eliminate occasional bursts of readings with errors
4343
* Add some more (optional) stats
4444
2020-02-03
4545
* Due to poor readouts on ESP32 with previous DHT library, rewrote to use https://github.com/alwynallan/DHT_nonblocking

usermods/EleksTube_IPS/readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Not supported:
1515
- On-device setup with buttons (WiFi setup only)
1616

1717
Your images must be 1-135 pixels wide and 1-240 pixels high.
18-
For BMP, 1, 4, 8, and 24 bits per pixel formats are supported.
18+
BMP 1, 4, 8, and 24 bits per pixel formats are supported.
1919

2020
## Installation
2121

@@ -26,11 +26,11 @@ Use LED pin 12, relay pin 27 and button pin 34.
2626

2727
## Use of RGB565 images
2828

29-
Binary 16-bit per pixel RGB565 format `.bin` and `.clk` images are now supported. This has the benefit of only using 2/3rds of the file size a 24 BPP `.bmp` has.
30-
The drawback is that this format cannot be handled by common image programs and that an extra conversion step is needed.
29+
Binary 16-bit per pixel RGB565 format `.bin` and `.clk` images are now supported. This has the benefit of using only 2/3rds of the file space a 24 BPP `.bmp` occupies.
30+
The drawback is this format cannot be handled by common image programs and an extra conversion step is needed.
3131
You can use https://lvgl.io/tools/imageconverter to convert your .bmp to a .bin file (settings `True color` and `Binary RGB565`).
3232
Thank you to @RedNax67 for adding .bin and .clk support.
33-
For most clockface designs, using 4 or 8 BPP BMP formats will save even more file size:
33+
For most clockface designs, using 4 or 8 BPP BMP format will reduce file size even more:
3434

3535
| Bits per pixel | File size in kB (for 135x240 img) | % of 24 BPP BMP | Max unique colors
3636
| --- | --- | --- | --- |
@@ -42,4 +42,4 @@ For most clockface designs, using 4 or 8 BPP BMP formats will save even more fil
4242

4343
Comparison 1 vs. 4 vs. 8 vs. 24 BPP. With this clockface on the actual clock, 4 bit looks good, and 8 bit is almost indistinguishable from 24 bit.
4444

45-
![comparison](https://user-images.githubusercontent.com/21045690/156899667-5b55ed9f-6e03-4066-b2aa-1260e9570369.png)
45+
![comparison](https://user-images.githubusercontent.com/21045690/156899667-5b55ed9f-6e03-4066-b2aa-1260e9570369.png)

0 commit comments

Comments
 (0)