-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #146 from hackerspace-silesia/dev
2.8.1
- Loading branch information
Showing
136 changed files
with
13,421 additions
and
6,802 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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
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,125 @@ | ||
#pragma once | ||
|
||
extern bool DEVICENAME_AUTO; | ||
extern char DEVICENAME[32]; | ||
extern bool DISPLAY_PM1; | ||
extern char LANGUAGE[12]; | ||
extern unsigned char SELECTED_LANGUAGE; | ||
|
||
extern char THP_MODEL[12]; | ||
extern char DUST_MODEL[12]; | ||
extern bool FREQUENTMEASUREMENT; | ||
|
||
extern bool SECOND_THP; | ||
extern char SECOND_THP_MODEL[12]; | ||
|
||
extern char CONFIG_FIRST_THP_SDA[4]; | ||
extern char CONFIG_FIRST_THP_SCL[4]; | ||
extern unsigned char FIRST_THP_SDA; | ||
extern unsigned char FIRST_THP_SCL; | ||
|
||
extern char CONFIG_SECOND_THP_SDA[4]; | ||
extern char CONFIG_SECOND_THP_SCL[4]; | ||
extern unsigned char SECOND_THP_SDA; | ||
extern unsigned char SECOND_THP_SCL; | ||
|
||
extern char CONFIG_DUST_TX[4]; | ||
extern char CONFIG_DUST_RX[4]; | ||
extern unsigned char DUST_TX; | ||
extern unsigned char DUST_RX; | ||
|
||
extern unsigned char DUST_TIME; | ||
extern unsigned char NUMBEROFMEASUREMENTS; | ||
|
||
extern bool LUFTDATEN_ON; | ||
extern bool SMOGLIST_ON; | ||
|
||
extern bool AIRMONITOR_ON; | ||
extern bool AIRMONITOR_GRAPH_ON; | ||
extern char AIRMONITOR_API_KEY[48]; | ||
extern char LATITUDE[16]; | ||
extern char LONGITUDE[16]; | ||
extern char EMAIL[64]; | ||
extern short MYALTITUDE; | ||
|
||
extern bool THINGSPEAK_ON; | ||
extern bool THINGSPEAK_GRAPH_ON; | ||
extern char THINGSPEAK_API_KEY[32]; | ||
extern unsigned short THINGSPEAK_CHANNEL_ID; | ||
extern char THINGSPEAK_READ_API_KEY[32]; | ||
|
||
extern bool INFLUXDB_ON; | ||
extern char INFLUXDB_VERSION[4]; | ||
extern char INFLUXDB_HOST[128]; | ||
extern uint16_t INFLUXDB_PORT; | ||
extern char INFLUXDB_DATABASE[32]; | ||
extern char INFLUXDB_USER[32]; | ||
extern char INFLUXDB_PASSWORD[64]; | ||
extern char INFLUXDB_ORG[32]; | ||
extern char INFLUXDB_BUCKET[32]; | ||
extern char INFLUXDB_TOKEN[128]; | ||
|
||
extern bool MQTT_ON; | ||
extern char MQTT_HOST[128]; | ||
extern uint16_t MQTT_PORT; | ||
extern char MQTT_USER[32]; | ||
extern char MQTT_PASSWORD[64]; | ||
|
||
extern bool MQTT_IP_IN_TOPIC; | ||
extern bool MQTT_DEVICENAME_IN_TOPIC; | ||
extern bool MQTT_SLASH_AT_THE_BEGINNING; | ||
extern bool MQTT_SLASH_AT_THE_END; | ||
|
||
extern char MQTT_TOPIC_TEMP[64]; | ||
extern char MQTT_TOPIC_HUMI[64]; | ||
extern char MQTT_TOPIC_PRESS[64]; | ||
extern char MQTT_TOPIC_PM1[64]; | ||
extern char MQTT_TOPIC_PM25[64]; | ||
extern char MQTT_TOPIC_PM10[64]; | ||
extern char MQTT_TOPIC_AIRQUALITY[32]; | ||
|
||
extern bool AQI_ECO_ON; | ||
extern char AQI_ECO_HOST[64]; | ||
extern char AQI_ECO_PATH[64]; | ||
|
||
extern unsigned char SENDING_FREQUENCY; | ||
extern unsigned char SENDING_DB_FREQUENCY; | ||
extern bool DEEPSLEEP_ON; | ||
|
||
extern bool DEBUG; | ||
extern bool AUTOUPDATE_ON; | ||
|
||
extern bool CONFIG_AUTH; | ||
extern char CONFIG_USERNAME[64]; | ||
extern char CONFIG_PASSWORD[128]; | ||
|
||
extern char MODEL[12]; | ||
|
||
|
||
extern bool HOMEKIT_SUPPORT; | ||
|
||
const char HOMEKIT_PASSWORD[16] PROGMEM = "111-11-111"; | ||
|
||
|
||
#ifdef DUSTSENSOR_PMS5003_7003_BME280_0x76 || DUSTSENSOR_PMS5003_7003_BME280_0x77 | ||
const char PMSENSORVERSION[] PROGMEM = "PMS"; | ||
#elif defined DUSTSENSOR_SDS011_21 | ||
const char PMSENSORVERSION[] PROGMEM = "SDS"; | ||
#elif defined DUSTSENSOR_HPMA115S0 | ||
const char PMSENSORVERSION[] PROGMEM = "HPMA115S0"; | ||
#elif defined DUSTSENSOR_SPS30 | ||
const char PMSENSORVERSION[] PROGMEM = "SPS30"; | ||
#else // If no dust sensor has been defined - use DUSTSENSOR_PMS5003_7003_BME280_0x76 | ||
const char PMSENSORVERSION[] PROGMEM = "PMS"; | ||
#endif | ||
|
||
extern char SERVERSOFTWAREVERSION[32]; | ||
extern char CURRENTSOFTWAREVERSION[32]; | ||
#if defined(ARDUINO_ARCH_ESP8266) | ||
const char SOFTWAREVERSION[] PROGMEM = "2.8.1 build " __TIME__ " " __DATE__; | ||
const char HARDWAREVERSION[] PROGMEM = "1.0 - ESP8266"; | ||
#elif defined(ARDUINO_ARCH_ESP32) | ||
const char SOFTWAREVERSION[] PROGMEM = "2.8.1 build " __TIME__ " " __DATE__; | ||
const char HARDWAREVERSION[] PROGMEM = "2.0 - ESP32"; | ||
|
||
#endif |
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+1.4 MB
firmware/ESP32/prerelease_ESP32_Smogomierz_2.8.1_HPMA115S0_build_26.11.2021.bin
Binary file not shown.
Binary file added
BIN
+1.4 MB
firmware/ESP32/prerelease_ESP32_Smogomierz_2.8.1_PMS-SparkFunBME280_build_26.11.2021.bin
Binary file not shown.
Binary file added
BIN
+1.4 MB
firmware/ESP32/prerelease_ESP32_Smogomierz_2.8.1_PMS_build_26.11.2021.bin
Binary file not shown.
Binary file added
BIN
+1.4 MB
firmware/ESP32/prerelease_ESP32_Smogomierz_2.8.1_SDS011_build_26.11.2021.bin
Binary file not shown.
Binary file added
BIN
+1.41 MB
firmware/ESP32/prerelease_ESP32_Smogomierz_2.8.1_SPS30_build_26.11.2021.bin
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added
BIN
+675 KB
firmware/ESP8266/prerelease_ESP8266_Smogomierz_2.8.1_HPMA115S0_build_26.11.2021.bin
Binary file not shown.
Binary file added
BIN
+675 KB
firmware/ESP8266/prerelease_ESP8266_Smogomierz_2.8.1_PMS-SparkFunBME280_build_26.11.2021.bin
Binary file not shown.
Binary file added
BIN
+675 KB
firmware/ESP8266/prerelease_ESP8266_Smogomierz_2.8.1_PMS_build_26.11.2021.bin
Binary file not shown.
Binary file added
BIN
+676 KB
firmware/ESP8266/prerelease_ESP8266_Smogomierz_2.8.1_SDS011_build_26.11.2021.bin
Binary file not shown.
Binary file added
BIN
+681 KB
firmware/ESP8266/prerelease_ESP8266_Smogomierz_2.8.1_SPS30_build_26.11.2021.bin
Binary file not shown.
Oops, something went wrong.