diff --git a/src/assets/HestiaClasses.js b/src/assets/HestiaClasses.js index 7b08a96..1877ba5 100644 --- a/src/assets/HestiaClasses.js +++ b/src/assets/HestiaClasses.js @@ -72,7 +72,7 @@ export class Communicator { init(state, config) { // Connect to the MQTT Broker - console.log(`Attempting MQTT connection to broker: ${config.mqtt.address}, with username: ${config.mqtt.username}`); + console.log(`Attempting MQTT connection to broker: ${config.mqtt.address}`); this.client = mqtt.connect(config.mqtt.address, { port: config.mqtt.port }); diff --git a/src/assets/hestia.js b/src/assets/hestia.js index b4953d0..239fa58 100644 --- a/src/assets/hestia.js +++ b/src/assets/hestia.js @@ -1,7 +1,7 @@ import { Communicator, State } from './HestiaClasses.js'; const config = { "mqtt": { - "address": "mqtt://mqtt.vfsh.me", + "address": "wss://mqtt.vfsh.me", "username": "hestia", "password": "hestia", "port": 443,