Skip to content
Permalink
Browse files

Update zigbee2mqtt.class.php

  • Loading branch information...
directman66 committed Apr 15, 2019
1 parent 8aa94c4 commit ed4a274264c32f69ecd930cf5a0f238f9e9b27c4
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/zigbee2mqtt/zigbee2mqtt.class.php
@@ -227,7 +227,7 @@ function setProperty($id, $value, $set_linked=0) {
if ($this->config['MQTT_HOST']) {
$host=$this->config['MQTT_HOST'];
} else {
$host='localhost';
$host='127.0.0.1';
}
if ($this->config['MQTT_PORT']) {
$port=$this->config['MQTT_PORT'];
@@ -637,7 +637,7 @@ function admin(&$out) {
if (!$out['ZIGBEE2MQTTPATH']) {
$out['ZIGBEE2MQTTPATH']='/opt/zigbee2mqtt/';
$out['ZIGBEE2MQTTPATH']='/opt/zigbee2mqtt';
}

0 comments on commit ed4a274

Please sign in to comment.
You can’t perform that action at this time.