Fixed HA IP-Address and MQTT user/pwd

This commit is contained in:
Dirk Jahnke 2021-04-26 15:26:27 +02:00
parent e21738913f
commit 1507f55fc1
1 changed files with 11 additions and 10 deletions

View File

@ -15,12 +15,13 @@
* - 2 * - 2
* - 3 * - 3
* - 5 * - 5
* - 6 * - 6 POSTBOX_DOOR_PIN
* - 7 * - 7 POSTBOX_FLAP_PIN
* - 8 * - 8 LIGHT_REQUEST_BUTTON_PIN
* - 9 * - 9 DOOR_BELL_BUTTON_PIN
* - 14 (A0) * - 13 out: LED_PIN
* - 15 (A1) * - 14 (A0) out: DOOR_BELL_BUZZER_PIN
* - 15 (A1) out: POSTBOX_LIGHT_PIN
* - 16 (A2) * - 16 (A2)
* - 17 (A3) * - 17 (A3)
* - 18 (A4) * - 18 (A4)
@ -40,11 +41,11 @@ void (*resetArduinoNow) (void) = 0; // declare reset fuction at address 0
// Update these with values suitable for your network. // Update these with values suitable for your network.
byte mac[] = { 0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xEA }; byte mac[] = { 0xDE, 0xED, 0xBA, 0xFE, 0xFE, 0xEA };
IPAddress ip(192, 168, 89, 205); //IPAddress ip(192, 168, 89, 205);
IPAddress mqttServerIP(192, 168, 89, 95); IPAddress mqttServerIP(192, 168, 89, 222);
const char *mqttUser = "default"; const char *mqttUser = "doorbell";
const char *mqttPassword = "12345678"; const char *mqttPassword = "tkSEM35EnLvVi7etjd";
const char *lwtTopic = "doorBellGW/LWT"; const char *lwtTopic = "doorBellGW/LWT";
const char *lwtMessage = "Offline"; const char *lwtMessage = "Offline";