mirror of
https://github.com/Waldehyd/Blahaj_Pentagramm_Badge.git
synced 2025-12-27 06:21:12 +00:00
More Guide updates
This commit is contained in:
parent
2d1dade171
commit
6d7fee380f
6 changed files with 33 additions and 17 deletions
BIN
Manual/SetupGuide/Images/APPass.png
Normal file
BIN
Manual/SetupGuide/Images/APPass.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 267 KiB |
BIN
Manual/SetupGuide/Images/LoadPreset.png
Normal file
BIN
Manual/SetupGuide/Images/LoadPreset.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 223 KiB |
BIN
Manual/SetupGuide/Images/SavePreset.png
Normal file
BIN
Manual/SetupGuide/Images/SavePreset.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 217 KiB |
BIN
Manual/SetupGuide/Images/WifiSetup.png
Normal file
BIN
Manual/SetupGuide/Images/WifiSetup.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 207 KiB |
|
|
@ -28,7 +28,7 @@
|
|||
cover: figure(image("/images/Front.png", width: 78%)),
|
||||
|
||||
abstract: [
|
||||
The Shorktagram-Bade features a beautiful PCB Frontplate backed with 15 individually controllable LEDs, Temperature and Humidity Sensor as well as a Motion Sensor. This setup makes it prone to be used as an air sensor by day and a nightlight by... night.
|
||||
The Shorktagram-Bade features a beautiful PCB Frontplate backed with 15 individually controllable LEDs, Temperature and Humidity Sensor as well as an optional Motion Sensor. This setup makes it ideal to be used as an air sensor by day and a nightlight by uh... night.
|
||||
],
|
||||
|
||||
// examples-scope: (
|
||||
|
|
@ -51,20 +51,18 @@ theme: modernCustom
|
|||
Prerequisites: A computer running VSCode with the Platform.io extension installed.
|
||||
|
||||
|
||||
The Shorktagram-Badge is powered by WLED. As we use Usermods to support the PIR and the BME280, it's necessary to build WLED from source. This involves the folowing steps:
|
||||
The Shorktagram-Badge is powered by WLED. As we use Usermods to support the PIR and the BME280, it's necessary to build WLED from source. This involves the following steps:
|
||||
|
||||
|
||||
|
||||
+ Clone or Download the latest Version of WLED from Github
|
||||
+ Replace the platformio.ini by the one in the Firmware folder of Shorktagram-Badge Repository (https://github.com/wled/WLED)
|
||||
+ Replace the platformio.ini by the one in the /Firmware folder of Shorktagram-Badge Repository (https://github.com/wled/WLED)
|
||||
+ Connect the Badge to your computer via USB (if it's not recognized as a serial device, it's likely a soldering problem)
|
||||
+ Open the WLED-Folder in VSCode
|
||||
+ Choose the correct serial port of your Badge (if multiple devices are connected) and then hit Upload!
|
||||
|
||||
|
||||
|
||||
= Configuring WLED
|
||||
== Defaults
|
||||
== Default Values
|
||||
After flashing, the 15 LEDs should light up instantly. The following values should be preconfigured and (if correct) should not be edited:
|
||||
|
||||
|
||||
|
|
@ -87,12 +85,19 @@ table(
|
|||
|
||||
By default, WLED opens up a Wifi-AP to access the Webinterface. The default password is "wled1234". To integrate your Badge into your local Wifi, hit "WiFi Setup" and enter your credentials. You can also change the password of the accesspoint from there as well.
|
||||
|
||||
#subpar.grid(
|
||||
figure(image("/Images/Settings.png", width: 70%)),
|
||||
figure(image("/Images/Settings.png", width: 70%)),
|
||||
columns: (1fr, 1fr),
|
||||
#block({
|
||||
subpar.grid(
|
||||
figure(image("/Images/Settings.png", width: 100%)),
|
||||
figure(image("/Images/APPass.png", width: 100%)),
|
||||
figure(image("/Images/WifiSetup.png", width: 100%)),
|
||||
columns: (1fr, 1fr, 1fr),
|
||||
)
|
||||
|
||||
place(
|
||||
top + left,
|
||||
circle(radius: 10pt, fill: green, outset: 2pt),
|
||||
dx: 24.5%,
|
||||
dy: 21.7%,
|
||||
)})
|
||||
|
||||
== Enable Usermods
|
||||
|
||||
|
|
@ -114,7 +119,7 @@ place(
|
|||
|
||||
|
||||
The settings are mostly self-explanatory (famous last words I know). If you want to use Home Assistant, tick "HomeAssistantDiscovery" on the BME and "HA Discovery" on the PIR. The PIR can be used in MQTT-Only Mode, which exposes the PIR but doesn't turn off the LEDs automatically. The "PIROffSec" sets the delay between the moment when no motion was detected and the LEDs turning off.\
|
||||
If you want access the values without using Home Assistant, head over to the LED Configuration Section
|
||||
If you want access the values without using Home Assistant, head over to the LED Configuration section.
|
||||
|
||||
\
|
||||
|
||||
|
|
@ -122,9 +127,11 @@ If you want access the values without using Home Assistant, head over to the LED
|
|||
|
||||
== Home Assistant Integration and MQTT
|
||||
|
||||
After the Badge was added to your Wifi, it's usually autodiscovered by HA and can be configured via the WLED Integration. If not, manually install the integration manually and enter the local IP of your Badge.\
|
||||
After the Badge was added to your Wifi, it's usually autodiscovered by HA and can be configured via the WLED-Integration. If not, manually install the integration manually and enter the local IP of your Badge.\
|
||||
To access the values from the BME280 and the PIR, it's necessary to configure MQTT in WLED as well. If you use Home Assistant, you probably have the Mosquitto MQTT Broker installed already. Head over to "Sync Interfaces", scroll down to "MQTT" and enter the Broker IP (likely your Home Assistant IP) as well as Username and Password. Afterwards, restart WLED and you should find the published values in a MQTT-Device called "WLED".
|
||||
|
||||
|
||||
|
||||
#subpar.grid(
|
||||
figure(image("/Images/HA_MQTT_WLED.png", width: 100%)),
|
||||
columns: (1fr),
|
||||
|
|
@ -140,6 +147,16 @@ To access the values from the BME280 and the PIR, it's necessary to configure MQ
|
|||
// extract-headings: 3,
|
||||
// )
|
||||
|
||||
== Loading your light settings at startup
|
||||
|
||||
WLED does not save your light settings without being explicitly. After setting up your colors/effects, you need to save them as a preset. If you want a preset to be loaded at startup, enter the ID in the LED Preferences under "Defaults -> Apply preset X".
|
||||
|
||||
#subpar.grid(
|
||||
figure(image("/Images/SavePreset.png", width: 100%)),
|
||||
figure(image("/Images/LoadPreset.png", width: 100%)),
|
||||
figure(image("/Images/LoadPreset.png", width: 100%)),
|
||||
columns: (1fr,1fr,1fr),
|
||||
)
|
||||
|
||||
= Assembling the Case
|
||||
|
||||
|
|
@ -148,6 +165,6 @@ The case is the 3D-Printed, all .stl files can be found in the /Case directory o
|
|||
|
||||
= Notes on Usage
|
||||
|
||||
As running the LEDs for a while results in the Badge heating up quite a bit, the sensor readings from the BME280 become unreliable. As such, it's recommended to use the BME280 for setups where the LEDs aren't used continuously, e.g. when using the PIR in conjunction with a nighttime timer for the pathway to your bathroom.
|
||||
As running the LEDs for a while results in the Badge heating up quite a bit, the sensor readings from the BME280 become unreliable for air measurements. As such, it's recommended to use the BME280 for setups where the LEDs aren't used continuously, e.g. when using the PIR in conjunction with a nighttime timer for the pathway to your bathroom.
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@
|
|||
|
||||
#let title-page(doc, theme) = {
|
||||
set align(center)
|
||||
v(1fr)
|
||||
v(2fr)
|
||||
|
||||
|
||||
block(
|
||||
|
|
@ -149,7 +149,6 @@
|
|||
doc.cover
|
||||
}
|
||||
|
||||
v(2fr)
|
||||
pad(
|
||||
x: 10%,
|
||||
{
|
||||
|
|
@ -157,7 +156,7 @@
|
|||
doc.abstract
|
||||
},
|
||||
)
|
||||
v(2fr)
|
||||
v(1fr)
|
||||
if doc.show-outline {
|
||||
std.heading(level: 2, outlined: false, numbering: none, "Table of Contents")
|
||||
columns(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue