From ccc704f1c53d012b1f351b1dca79079b732b0fe7 Mon Sep 17 00:00:00 2001 From: Florian <1technophile@users.noreply.github.com> Date: Tue, 1 May 2018 22:04:09 +0200 Subject: [PATCH] remove / from gateway name some router don't give an ip adress if there is a / in the host name (thanks @petricaM) --- User_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/User_config.h b/User_config.h index 1574266..900fdfb 100644 --- a/User_config.h +++ b/User_config.h @@ -39,8 +39,8 @@ char mqtt_pass[20] = "your_password"; // not compulsory only if your broker need char mqtt_server[40] = "192.168.1.17"; char mqtt_port[6] = "1883"; -#define Gateway_Name "/OpenMQTTGateway" -#define Base_Topic "home" +#define Gateway_Name "OpenMQTTGateway" +#define Base_Topic "home/" #define version_Topic Base_Topic Gateway_Name "/version" #define will_Topic Base_Topic Gateway_Name "/LWT" #define will_QoS 0