publish passwords

This commit is contained in:
Zygfryd Homonto 2024-07-20 22:00:18 +01:00
parent 5f1b6cd8f0
commit f332c05e5c
6 changed files with 25 additions and 4 deletions

View File

@ -1,4 +1,2 @@
.pio .pio
.vscode .vscode
src/passwords.h
src/passwords_ftp.h

14
001-homekit_hub/src/passwords.h Executable file
View File

@ -0,0 +1,14 @@
#define UPDATE_FIRMWARE_HOST "https://myhost/esp/homekit/" CLIENT "/firmware"
#define MY_TIME_ZONE "GMT0BST,M3.5.0/1,M10.5.0"
#define INFLUXDB_URL "https://myhost.com" // OK
#define INFLUXDB_TOKEN "mytoken"
#define INFLUXDB_ORG "myorg"
#define INFLUXDB_BUCKET "mybucket"
//---- MQTT Broker settings
const char* mqtt_server = "myhost.com";
const char* mqtt_username = "myuser";
const char* mqtt_password = "mypassword";
const int mqtt_port =8883;

View File

@ -0,0 +1,4 @@
FTP_HOST = "myhost.com"
FTP_USER = "myuser"
FTP_PASSWORD = "mypassword"
FTP_DEST_DIR = "mypath"

View File

@ -1,4 +1,3 @@
.pio .pio
.vscode .vscode
src/passwords.h
src/passwords_ftp.h

View File

@ -0,0 +1,2 @@
#define UPDATE_FIRMWARE_HOST "https://myhost.com/" CLIENT "/firmware"

View File

@ -0,0 +1,4 @@
FTP_HOST = "myhost.com"
FTP_USER = "myuser"
FTP_PASSWORD = "mypassword"
FTP_DEST_DIR = "mypath"