Remove protocol, revert to WS
This commit is contained in:
parent
c1a3c61a8f
commit
0834facb54
@ -75,7 +75,6 @@ export class Communicator {
|
||||
console.log(`Attempting MQTT connection to broker: ${config.mqtt.address}`);
|
||||
this.client = mqtt.connect(config.mqtt.address, {
|
||||
port: config.mqtt.port,
|
||||
protocolId: config.mqtt.protocol,
|
||||
username: config.mqtt.username,
|
||||
password: config.mqtt.password
|
||||
});
|
||||
|
@ -1,11 +1,10 @@
|
||||
import { Communicator, State } from './HestiaClasses.js';
|
||||
const config = {
|
||||
"mqtt": {
|
||||
"address": "mqtt://192.168.0.12",
|
||||
"address": "ws://192.168.0.12",
|
||||
"username": "hestia",
|
||||
"password": "hestia",
|
||||
"port": 1883,
|
||||
"protocol": "mqtt",
|
||||
"port": 9001,
|
||||
"topics": {
|
||||
"igniter": "hestia/status/igniter",
|
||||
"exhaust": "hestia/status/exhaust",
|
||||
|
Loading…
Reference in New Issue
Block a user