New MQTT config

This commit is contained in:
Skylar Grant 2024-11-27 16:06:19 -05:00
parent c351ec3554
commit 53d9aaf14b
2 changed files with 2 additions and 2 deletions

View File

@ -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
});

View File

@ -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,