This commit is contained in:
2024-07-04 00:04:19 -04:00
parent ef377fed02
commit 88a7335330
2 changed files with 100 additions and 2 deletions

View File

@@ -56,9 +56,16 @@ persistence_location /srv/dev-disk-by-label/docker/columes/mosquitto/data/
```C
espClientSSL.setCACert(NODE_CERT_CA);
connection.setServer(mqtt_server, 8883);
connection.setServer(mqtt_server, 8883); // mqtt_server -> 192.168.50.16
```
<p><i>secrets.h</i></p>
> [!NOTE]
> Create file called secrets.h to store configuration information about Wi-Fi, and encryption keys, but exclude it from being pushed to GitHub
> Create file called secrets.h to store configuration information about Wi-Fi, and encryption keys, but exclude it from being pushed to GitHub
```text
const char* WIFI_SSID = "IoT_bots";
const char* WIFI_PASSWORD = "212212212";
const char* mqtt_server = "192.168.50.16";
```