diff --git a/src/assets/HestiaClasses.js b/src/assets/HestiaClasses.js index 59f6600..7b08a96 100644 --- a/src/assets/HestiaClasses.js +++ b/src/assets/HestiaClasses.js @@ -74,8 +74,7 @@ export class Communicator { // Connect to the MQTT Broker console.log(`Attempting MQTT connection to broker: ${config.mqtt.address}, with username: ${config.mqtt.username}`); this.client = mqtt.connect(config.mqtt.address, { - username: config.mqtt.username, - password: config.mqtt.password + port: config.mqtt.port }); const { client } = this; diff --git a/src/assets/hestia.js b/src/assets/hestia.js index ad44adf..b4953d0 100644 --- a/src/assets/hestia.js +++ b/src/assets/hestia.js @@ -1,9 +1,10 @@ import { Communicator, State } from './HestiaClasses.js'; const config = { "mqtt": { - "address": "wss://mqtt.vfsh.me", + "address": "mqtt://mqtt.vfsh.me", "username": "hestia", "password": "hestia", + "port": 443, "topics": { "igniter": "hestia/status/igniter", "exhaust": "hestia/status/exhaust",