From 53d9aaf14b60d5e6e464d482c5470d6c4f18f951 Mon Sep 17 00:00:00 2001 From: Skylar Grant Date: Wed, 27 Nov 2024 16:06:19 -0500 Subject: [PATCH] New MQTT config --- src/assets/HestiaClasses.js | 2 +- src/assets/hestia.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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,