-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CHANGE: wait for reconfig is now default disable * ADD: ntp client (#120) * ADD: Timebased dimmer (#121) * FIX: go setup mode if startup wifi connection failed * CHANGE: move to littlefs (esp32)
- Loading branch information
1 parent
65cd2c4
commit 69e8cd6
Showing
49 changed files
with
531 additions
and
358 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
c:\usr\ols\bin\cloc --exclude-dir=.pio,.vscode,_release,.github . --by-file-by-lang |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
curl -X POST -d "mDNS=ebx32&opMode=always&displayFlip=yes&displayBrightness=50&oledType=SSD&st7789=yes&st7789Mode=st7789_normal&mhz19b=no&mhz19bPwmPin=14&mhz19bRxPin=32&mhz19bTxPin=33&mqttBroker=&mqttName=&tempAlerts=&tempAlerts.warn1.L=-99&tempAlerts.warn1.H=10&tempAlerts.warn2.L=10&tempAlerts.warn2.H=40&tempAlerts.caut1.L=10&tempAlerts.caut1.H=15&tempAlerts.caut2.L=28&tempAlerts.caut2.H=30&humiAlerts.warn1.L=0&humiAlerts.warn1.H=20&humiAlerts.warn2.L=75&humiAlerts.warn2.H=100&humiAlerts.caut1.L=20&humiAlerts.caut1.H=35&humiAlerts.caut2.L=65&humiAlerts.caut2.H=75&luxAlerts.warn1.L=0&luxAlerts.warn1.H=1&luxAlerts.warn2.L=2000&luxAlerts.warn2.H=99999&luxAlerts.caut1.L=-1&luxAlerts.caut1.H=-1&luxAlerts.caut2.L=-1&luxAlerts.caut2.H=-1&presAlerts.warn1.L=0&presAlerts.warn1.H=995&presAlerts.warn2.L=1025&presAlerts.warn2.H=3000&presAlerts.caut1.L=995&presAlerts.caut1.H=1000&presAlerts.caut2.L=3000&presAlerts.caut2.H=3000&co2Alerts.warn1.L=0&co2Alerts.warn1.H=200&co2Alerts.warn2.L=1000&co2Alerts.warn2.H=9999&co2Alerts.caut1.L=200&co2Alerts.caut1.H=300&co2Alerts.caut2.L=800&co2Alerts.caut2.H=1000" http://ebx32.local/config | ||
curl -X POST -d "mDNS=ebx32&opMode=always&displayFlip=yes&displayBrightness=50&oledType=SSD&st7789=yes&st7789Mode=st7789_normal&mhz19b=no&mhz19bPwmPin=14&mhz19bRxPin=32&mhz19bTxPin=33&mqttBroker=&mqttName=&tempAlerts=&tempAlerts.warn1.L=-99&tempAlerts.warn1.H=10&tempAlerts.warn2.L=10&tempAlerts.warn2.H=40&tempAlerts.caut1.L=10&tempAlerts.caut1.H=15&tempAlerts.caut2.L=28&tempAlerts.caut2.H=30&humiAlerts.warn1.L=0&humiAlerts.warn1.H=20&humiAlerts.warn2.L=75&humiAlerts.warn2.H=100&humiAlerts.caut1.L=20&humiAlerts.caut1.H=35&humiAlerts.caut2.L=65&humiAlerts.caut2.H=75&luxAlerts.warn1.L=0&luxAlerts.warn1.H=1&luxAlerts.warn2.L=2000&luxAlerts.warn2.H=99999&luxAlerts.caut1.L=-1&luxAlerts.caut1.H=-1&luxAlerts.caut2.L=-1&luxAlerts.caut2.H=-1&presAlerts.warn1.L=0&presAlerts.warn1.H=995&presAlerts.warn2.L=1025&presAlerts.warn2.H=3000&presAlerts.caut1.L=995&presAlerts.caut1.H=1000&presAlerts.caut2.L=3000&presAlerts.caut2.H=3000&co2Alerts.warn1.L=0&co2Alerts.warn1.H=200&co2Alerts.warn2.L=1000&co2Alerts.warn2.H=9999&co2Alerts.caut1.L=200&co2Alerts.caut1.H=300&co2Alerts.caut2.L=800&co2Alerts.caut2.H=1000" http://ebx32.local/api/v1/config | ||
|
||
curl -X POST -d "tempAlerts.warn1.L=-99&tempAlerts.warn1.H=10&tempAlerts.warn2.L=10&tempAlerts.warn2.H=40&tempAlerts.caut1.L=10&tempAlerts.caut1.H=15&tempAlerts.caut2.L=28&tempAlerts.caut2.H=30&humiAlerts.warn1.L=0&humiAlerts.warn1.H=20&humiAlerts.warn2.L=75&humiAlerts.warn2.H=100&humiAlerts.caut1.L=20&humiAlerts.caut1.H=35&humiAlerts.caut2.L=65&humiAlerts.caut2.H=75&luxAlerts.warn1.L=0&luxAlerts.warn1.H=1&luxAlerts.warn2.L=2000&luxAlerts.warn2.H=99999&luxAlerts.caut1.L=-1&luxAlerts.caut1.H=-1&luxAlerts.caut2.L=-1&luxAlerts.caut2.H=-1&presAlerts.warn1.L=0&presAlerts.warn1.H=995&presAlerts.warn2.L=1025&presAlerts.warn2.H=3000&presAlerts.caut1.L=995&presAlerts.caut1.H=1000&presAlerts.caut2.L=3000&presAlerts.caut2.H=3000&co2Alerts.warn1.L=0&co2Alerts.warn1.H=200&co2Alerts.warn2.L=1000&co2Alerts.warn2.H=9999&co2Alerts.caut1.L=200&co2Alerts.caut1.H=300&co2Alerts.caut2.L=800&co2Alerts.caut2.H=1000" http://ebx32.local/config | ||
curl -X POST -d "tempAlerts.warn1.L=-99&tempAlerts.warn1.H=10&tempAlerts.warn2.L=10&tempAlerts.warn2.H=40&tempAlerts.caut1.L=10&tempAlerts.caut1.H=15&tempAlerts.caut2.L=28&tempAlerts.caut2.H=30&humiAlerts.warn1.L=0&humiAlerts.warn1.H=20&humiAlerts.warn2.L=75&humiAlerts.warn2.H=100&humiAlerts.caut1.L=20&humiAlerts.caut1.H=35&humiAlerts.caut2.L=65&humiAlerts.caut2.H=75&luxAlerts.warn1.L=0&luxAlerts.warn1.H=1&luxAlerts.warn2.L=2000&luxAlerts.warn2.H=99999&luxAlerts.caut1.L=-1&luxAlerts.caut1.H=-1&luxAlerts.caut2.L=-1&luxAlerts.caut2.H=-1&presAlerts.warn1.L=0&presAlerts.warn1.H=995&presAlerts.warn2.L=1025&presAlerts.warn2.H=3000&presAlerts.caut1.L=995&presAlerts.caut1.H=1000&presAlerts.caut2.L=3000&presAlerts.caut2.H=3000&co2Alerts.warn1.L=0&co2Alerts.warn1.H=200&co2Alerts.warn2.L=1000&co2Alerts.warn2.H=9999&co2Alerts.caut1.L=200&co2Alerts.caut1.H=300&co2Alerts.caut2.L=800&co2Alerts.caut2.H=1000" http://ebx32.local/api/v1/config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include <Arduino.h> | ||
|
||
void ntp_setup(); | ||
String getFormattedTime(); | ||
|
||
String getDate(); | ||
String getTime(); | ||
|
||
/** time is not set due to NTP failed or NTP disabled */ | ||
const String TIME_NOT_READY = "0000/00/00 00:00:00"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
void timebased_dimmer(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.