|
@ -438,7 +438,9 @@ |
|
|
// or in the Internet. Since the WebUI is just one compressed file with HTML, CSS and JS |
|
|
// or in the Internet. Since the WebUI is just one compressed file with HTML, CSS and JS |
|
|
// there are no special requirements. Any static web server will do (NGinx, Apache, Lighttpd,...). |
|
|
// there are no special requirements. Any static web server will do (NGinx, Apache, Lighttpd,...). |
|
|
// The only requirement is that the resource must be available under this domain. |
|
|
// The only requirement is that the resource must be available under this domain. |
|
|
|
|
|
#ifndef WEB_REMOTE_DOMAIN |
|
|
#define WEB_REMOTE_DOMAIN "http://tinkerman.cat" |
|
|
#define WEB_REMOTE_DOMAIN "http://tinkerman.cat" |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
// ----------------------------------------------------------------------------- |
|
|
// ----------------------------------------------------------------------------- |
|
|
// WEBSOCKETS |
|
|
// WEBSOCKETS |
|
@ -930,8 +932,13 @@ |
|
|
#define HOMEASSISTANT_SUPPORT MQTT_SUPPORT // Build with home assistant support (if MQTT, 1.64Kb) |
|
|
#define HOMEASSISTANT_SUPPORT MQTT_SUPPORT // Build with home assistant support (if MQTT, 1.64Kb) |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef HOMEASSISTANT_ENABLED |
|
|
#define HOMEASSISTANT_ENABLED 0 // Integration not enabled by default |
|
|
#define HOMEASSISTANT_ENABLED 0 // Integration not enabled by default |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
#ifndef HOMEASSISTANT_PREFIX |
|
|
#define HOMEASSISTANT_PREFIX "homeassistant" // Default MQTT prefix |
|
|
#define HOMEASSISTANT_PREFIX "homeassistant" // Default MQTT prefix |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#ifndef HOMEASSISTANT_PAYLOAD_ON |
|
|
#ifndef HOMEASSISTANT_PAYLOAD_ON |
|
|
#define HOMEASSISTANT_PAYLOAD_ON "1" // Payload for ON and available messages |
|
|
#define HOMEASSISTANT_PAYLOAD_ON "1" // Payload for ON and available messages |
|
|