publish passwords
This commit is contained in:
parent
5f1b6cd8f0
commit
f332c05e5c
2
001-homekit_hub/.gitignore
vendored
2
001-homekit_hub/.gitignore
vendored
@ -1,4 +1,2 @@
|
||||
.pio
|
||||
.vscode
|
||||
src/passwords.h
|
||||
src/passwords_ftp.h
|
||||
|
14
001-homekit_hub/src/passwords.h
Executable file
14
001-homekit_hub/src/passwords.h
Executable 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;
|
4
001-homekit_hub/src/passwords_ftp.h
Normal file
4
001-homekit_hub/src/passwords_ftp.h
Normal file
@ -0,0 +1,4 @@
|
||||
FTP_HOST = "myhost.com"
|
||||
FTP_USER = "myuser"
|
||||
FTP_PASSWORD = "mypassword"
|
||||
FTP_DEST_DIR = "mypath"
|
3
001-homekit_sensors/.gitignore
vendored
3
001-homekit_sensors/.gitignore
vendored
@ -1,4 +1,3 @@
|
||||
.pio
|
||||
.vscode
|
||||
src/passwords.h
|
||||
src/passwords_ftp.h
|
||||
|
||||
|
2
001-homekit_sensors/src/passwords.h
Executable file
2
001-homekit_sensors/src/passwords.h
Executable file
@ -0,0 +1,2 @@
|
||||
#define UPDATE_FIRMWARE_HOST "https://myhost.com/" CLIENT "/firmware"
|
||||
|
4
001-homekit_sensors/src/passwords_ftp.h
Normal file
4
001-homekit_sensors/src/passwords_ftp.h
Normal file
@ -0,0 +1,4 @@
|
||||
FTP_HOST = "myhost.com"
|
||||
FTP_USER = "myuser"
|
||||
FTP_PASSWORD = "mypassword"
|
||||
FTP_DEST_DIR = "mypath"
|
Loading…
Reference in New Issue
Block a user