Skip to content
Permalink
Browse files

Update zigbee2mqtt.class.php

  • Loading branch information...
directman66 committed Apr 13, 2019
1 parent ab7d7f4 commit d0a3606dd3fabe7f8af863b7327f56b33fc51a80
Showing with 5 additions and 1 deletion.
  1. +5 −1 modules/zigbee2mqtt/zigbee2mqtt.class.php
@@ -1130,6 +1130,10 @@ function admin(&$out) {
if ($this->view_mode=='refresh_mqtt') {
// $this->refresh_db();
// $this->sendcommand('zigbee2mqtt/bridge/log', 'zigbee2mqtt/bridge/config/devices');
SQLExec ('update zigbee2mqtt set VALUE="" where TITLE="zigbee2mqtt/bridge/log"');
$this->sendcommand('zigbee2mqtt/bridge/config/devices', '');
@@ -1728,7 +1732,7 @@ function createdb()
zigbee2mqtt: TITLE varchar(255) NOT NULL DEFAULT ''
zigbee2mqtt: LOCATION_ID int(10) NOT NULL DEFAULT '0'
zigbee2mqtt: UPDATED datetime
zigbee2mqtt: VALUE varchar(20000) NOT NULL DEFAULT ''
zigbee2mqtt: VALUE longtext NOT NULL DEFAULT ''
zigbee2mqtt: PATH varchar(255) NOT NULL DEFAULT ''
zigbee2mqtt: METRIKA varchar(255) NOT NULL DEFAULT ''
zigbee2mqtt: PATH_WRITE varchar(255) NOT NULL DEFAULT ''

0 comments on commit d0a3606

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