mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-07 22:56:11 +00:00
.
This commit is contained in:
@@ -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";
|
||||
```
|
Reference in New Issue
Block a user