Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some devices don't respond after reinstall #60

Closed
grahamf72 opened this issue Jul 5, 2020 · 1 comment
Closed

Some devices don't respond after reinstall #60

grahamf72 opened this issue Jul 5, 2020 · 1 comment
Labels
question Further information is requested

Comments

@grahamf72
Copy link

Describe Your Problem:
I had to reinstall my homebridge after a server crash. Having done so, all my devices are working fine from Apple devices, and most devices are working fine from Google, however there are a few devices that appear in the Google app, but attempting to use them from either the google app or from a google speaker simply results in an error that something went wrong. These few devices won't respond at all. There is nothing about them that is different to other devices that are working. Devices that aren't working are "Computer Room Light", "Dining Room Centre Light", "Bedroom 3 Light". I have tried unlinking and relinking the plugin with homebridge, and also from the google app, but each time after it finds the devices these 3 devices will not work.

Logs:

Below are the startup logs for the smart plugin. When you try to use a device that isn't working, nothing appears in the log.

[7/5/2020, 3:46:01 PM] [Google Smart Home] Connected (1) - wss://homebridge-gsh.iot.oz.nu
2020-07-05T05:46:15.453Z hapNodeJSClient Starting Homebridge instance discovery
2020-07-05T05:46:15.462Z hapNodeJSClient HAP Device discovered Homebridge 53CC
2020-07-05T05:46:15.462Z hapNodeJSClient HAP Device address Homebridge 53CC ->  {
  host: '192.168.1.50',
  port: 51826,
  url: 'http://192.168.1.50:51826',
  deviceID: '0E:BA:32:1C:54:F2',
  txt: {
    md: 'Homebridge',
    pv: '1.1',
    id: '0E:BA:32:1C:54:F2',
    'c#': '2',
    's#': '1',
    ff: '0',
    ci: '2',
    sf: '0',
    sh: 'RgvXHQ=='
  }
}
2020-07-05T05:46:15.483Z hapNodeJSClient Homebridge instance discovered Homebridge with 25 accessories
2020-07-05T05:46:25.456Z hapNodeJSClient Ready
[7/5/2020, 3:46:25 PM] [Google Smart Home] Finished instance discovery
[7/5/2020, 3:46:25 PM] [Google Smart Home] HAP Event listeners registered succesfully
[7/5/2020, 3:46:40 PM] [Google Smart Home] Sending Sync Request
[7/5/2020, 3:46:40 PM] [Google Smart Home] Received SYNC intent
[7/5/2020, 3:46:40 PM] [Google Smart Home] {
  "inputs": [
    {
      "intent": "action.devices.SYNC",
      "requestId": "7889191968795518894"
    }
  ],
  "requestId": "7889191968795518894"
}
[7/5/2020, 3:46:40 PM] [Google Smart Home] [
  {
    id: 'fdbf8e60e42ab5c24bc56943bb7cb4441f58aaf1288f04a6c2d775d28941975b',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Living Room 1', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 2,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '67cdcc6c7f91c579a49d7fb8d611fbe7a648c85614b61707c8e7c1b97e405d24',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Living Room 2', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 3,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '107e3e416bf75fbd655652921e1a38f78489d437d249c7f0fe5f36ac3242c2cc',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Living Room Lamp', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 4,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '09dbf953e942154de7437b6082118f829eed03e7b8de177572911bac5c2bb66f',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: {
      defaultNames: [Array],
      name: 'Master Bedroom Light',
      nicknames: []
    },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 5,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '892fb2914fbd01e91127c77fb517cff0a9448491fd2348113a79f8c9623cb864',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Bedroom 2 light', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 6,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '976a2dfb58f07690d3a5d45d7dd5a38820358e48b1c7ee3d0aa10675c555493b',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Bedroom 3 light', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 7,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: 'b51ba0f88fbe7dd2be0206fd347d8943e098f85dbf4cf21307b104306693e33b',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Bedside Lamp', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 8,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '1f1cc2e70c2667d5c85b2ca8e12edcbff0a56cfba5d7005dca02aae4da3e3dca',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: {
      defaultNames: [Array],
      name: 'Dining Room Table Light',
      nicknames: []
    },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 9,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: 'a6cfff3e9775348f64f3740a6e5c916e96bfcfc70ac2c8e072de8808c765dfbc',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: {
      defaultNames: [Array],
      name: 'Dining Room Centre Light',
      nicknames: []
    },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 10,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '4dbdef9e9ad5e07156b45356a3a74a64de20881e905bbe90dcb511219ca1caec',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: {
      defaultNames: [Array],
      name: 'Computer Room Light',
      nicknames: []
    },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 11,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '67dcd5e4afc176f75524dfa73022356672585d4a5c4038357e02abd225560427',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: {
      defaultNames: [Array],
      name: 'Clothes Room Light',
      nicknames: []
    },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 12,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '0f47ee82d59c9c0edbab47d89958153bc5fd4701514a35eb6e8ef6e39acdc27f',
    type: 'action.devices.types.LIGHT',
    traits: [
      'action.devices.traits.OnOff',
      'action.devices.traits.Brightness'
    ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Toilet', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 13,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '2ea43bded5b83610f1e370bbcdb03788a4a84566411760ad73ce3d38494e5154',
    type: 'action.devices.types.LIGHT',
    traits: [ 'action.devices.traits.OnOff' ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Aquarium Light', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 14,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '20ba37a4e4568f5ab0753d295b6e43c7e00c5ce20b4cd05611895667de7c0287',
    type: 'action.devices.types.LIGHT',
    traits: [ 'action.devices.traits.OnOff' ],
    attributes: {},
    name: { defaultNames: [Array], name: 'Garage Light', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'lightbulb' },
    customData: {
      aid: 15,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: 'b20de1a409ef67f07f1b54ff4632a35360cafa1435947623246af2408e72ca99',
    type: 'action.devices.types.SWITCH',
    traits: [ 'action.devices.traits.OnOff' ],
    name: { defaultNames: [Array], name: 'Electric Blanket', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'switch' },
    customData: {
      aid: 16,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '33cc474a3bfa9b721c00838e924e0504c611c95264a30a3b5f2a8c4237ff7d35',
    type: 'action.devices.types.SWITCH',
    traits: [ 'action.devices.traits.OnOff' ],
    name: {
      defaultNames: [Array],
      name: 'Electric Blanket Ethan',
      nicknames: []
    },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'switch' },
    customData: {
      aid: 17,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: 'ffaed986f06946f3db408a4436e888a0897feee1f9c0ab174f0600d0e0c93f4b',
    type: 'action.devices.types.SWITCH',
    traits: [ 'action.devices.traits.OnOff' ],
    name: {
      defaultNames: [Array],
      name: 'Electric Blanket Lachlan',
      nicknames: []
    },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'switch' },
    customData: {
      aid: 18,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: 'fdfeb2aa2bc45d10142b959cacdb39a07cda2789eb804272c6bede38f51a3493',
    type: 'action.devices.types.TV',
    traits: [ 'action.devices.traits.OnOff' ],
    name: { defaultNames: [Array], name: 'Audiosonic TV', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'television' },
    customData: {
      aid: 21,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '4e83fbaeef7a7d462e209fb6f29a0d03c4173ffc35692878a590a012a1edbe6f',
    type: 'action.devices.types.THERMOSTAT',
    traits: [ 'action.devices.traits.TemperatureSetting' ],
    attributes: {
      availableThermostatModes: 'off,heat,cool,auto',
      thermostatTemperatureUnit: 'C'
    },
    name: { defaultNames: [Array], name: 'Bedroom Aircon', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'mqttthing', model: 'thermostat' },
    customData: {
      aid: 22,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '29fe41618a0589798db430d89b79c7c7ad1fe742266133ff5ac3f35b039017ca',
    type: 'action.devices.types.SWITCH',
    traits: [ 'action.devices.traits.OnOff' ],
    name: {
      defaultNames: [Array],
      name: 'Water Leakage Sensor',
      nicknames: []
    },
    willReportState: true,
    deviceInfo: { manufacturer: 'eDomoticz', model: 'Light/Switch' },
    customData: {
      aid: 24,
      iid: 8,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  },
  {
    id: '23221dfcf0d3682cee7b309e2a353a034ccb6522c481b11468150a30cd230018',
    type: 'action.devices.types.TV',
    traits: [ 'action.devices.traits.OnOff' ],
    name: { defaultNames: [Array], name: 'Sony Bravia', nicknames: [] },
    willReportState: true,
    deviceInfo: { manufacturer: 'Default-Manufacturer', model: 'Default-Model' },
    customData: {
      aid: 25,
      iid: 22,
      instanceUsername: '0E:BA:32:1C:54:F2',
      instanceIpAddress: '192.168.1.50',
      instancePort: 51826
    }
  }
]
[7/5/2020, 3:46:50 PM] [Google Smart Home] Sending full post-sync state report
[7/5/2020, 3:46:50 PM] [Google Smart Home] Sending State Report
[7/5/2020, 3:46:50 PM] [Google Smart Home] {
  "type": "report-state",
  "body": {
    "fdbf8e60e42ab5c24bc56943bb7cb4441f58aaf1288f04a6c2d775d28941975b": {
      "on": true,
      "online": true,
      "brightness": 100
    },
    "67cdcc6c7f91c579a49d7fb8d611fbe7a648c85614b61707c8e7c1b97e405d24": {
      "on": true,
      "online": true,
      "brightness": 100
    },
    "107e3e416bf75fbd655652921e1a38f78489d437d249c7f0fe5f36ac3242c2cc": {
      "on": true,
      "online": true,
      "brightness": 100
    },
    "09dbf953e942154de7437b6082118f829eed03e7b8de177572911bac5c2bb66f": {
      "on": false,
      "online": true,
      "brightness": 50
    },
    "892fb2914fbd01e91127c77fb517cff0a9448491fd2348113a79f8c9623cb864": {
      "on": false,
      "online": true,
      "brightness": 100
    },
    "976a2dfb58f07690d3a5d45d7dd5a38820358e48b1c7ee3d0aa10675c555493b": {
      "on": true,
      "online": true,
      "brightness": 100
    },
    "b51ba0f88fbe7dd2be0206fd347d8943e098f85dbf4cf21307b104306693e33b": {
      "on": false,
      "online": true,
      "brightness": 50
    },
    "1f1cc2e70c2667d5c85b2ca8e12edcbff0a56cfba5d7005dca02aae4da3e3dca": {
      "on": true,
      "online": true,
      "brightness": 100
    },
    "a6cfff3e9775348f64f3740a6e5c916e96bfcfc70ac2c8e072de8808c765dfbc": {
      "on": true,
      "online": true,
      "brightness": 100
    },
    "4dbdef9e9ad5e07156b45356a3a74a64de20881e905bbe90dcb511219ca1caec": {
      "on": true,
      "online": true,
      "brightness": 100
    },
    "67dcd5e4afc176f75524dfa73022356672585d4a5c4038357e02abd225560427": {
      "on": false,
      "online": true,
      "brightness": 100
    },
    "0f47ee82d59c9c0edbab47d89958153bc5fd4701514a35eb6e8ef6e39acdc27f": {
      "on": false,
      "online": true,
      "brightness": 100
    },
    "2ea43bded5b83610f1e370bbcdb03788a4a84566411760ad73ce3d38494e5154": {
      "on": false,
      "online": true
    },
    "20ba37a4e4568f5ab0753d295b6e43c7e00c5ce20b4cd05611895667de7c0287": {
      "on": false,
      "online": true
    },
    "b20de1a409ef67f07f1b54ff4632a35360cafa1435947623246af2408e72ca99": {
      "on": false,
      "online": true
    },
    "33cc474a3bfa9b721c00838e924e0504c611c95264a30a3b5f2a8c4237ff7d35": {
      "on": false,
      "online": true
    },
    "ffaed986f06946f3db408a4436e888a0897feee1f9c0ab174f0600d0e0c93f4b": {
      "on": false,
      "online": true
    },
    "fdfeb2aa2bc45d10142b959cacdb39a07cda2789eb804272c6bede38f51a3493": {
      "on": false,
      "online": true
    },
    "4e83fbaeef7a7d462e209fb6f29a0d03c4173ffc35692878a590a012a1edbe6f": {
      "online": true,
      "thermostatMode": "off",
      "thermostatTemperatureSetpoint": 17,
      "thermostatTemperatureAmbient": 17
    },
    "29fe41618a0589798db430d89b79c7c7ad1fe742266133ff5ac3f35b039017ca": {
      "on": false,
      "online": true
    },
    "23221dfcf0d3682cee7b309e2a353a034ccb6522c481b11468150a30cd230018": {
      "on": true,
      "online": true
    }
  }
}

Homebridge Config:

Below is excerpt from the config showing the google-gsh platform section, and the sections from some devices that do work, some that don't - there isn't really any difference between them.
{
"name": "Google Smart Home",
"token": "[Token Removed]",
"notice": "Keep your token a secret!",
"debug": true,
"platform": "google-smarthome"
}

    {
        "accessory": "mqttthing",
        "type": "lightbulb",
        "name": "Dining Room Table Light",
        "url": "mqtt://localhost",
        "username": "DVES_USER",
        "password": "",
        "topics": {
            "setOn": "cmnd/DiningRoomTableLight/power",
            "getOn": "stat/DiningRoomTableLight/POWER",
            "getBrightness": {
                "topic": "stat/DiningRoomTableLight/RESULT",
                "apply": "return JSON.parse(message).Dimmer;"
            },
            "setBrightness": "cmnd/DiningRoomTableLight/Dimmer",
            "getColorTemperature": {
                "topic": "stat/DiningRoomTableLight/RESULT",
                "apply": "return Math.round(140 + (JSON.parse(message).CT - 153) * 360 / 347);"
            },
            "setColorTemperature": {
                "topic": "cmnd/DiningRoomTableLight/CT",
                "apply": "return Math.round(153 + (message - 140) * 347 / 360);"
            }
        },
        "integerValue": false,
        "onValue": "ON",
        "offValue": "OFF",
        "startPub": {
            "cmnd/DiningRoomTableLight/power": "",
            "cmnd/DiningRoomTableLight/Dimmer": "",
            "cmnd/DiningRoomTableLight/CT": ""
        },
        "logMqtt": true
    },
    {
        "accessory": "mqttthing",
        "type": "lightbulb",
        "name": "Dining Room Centre Light",
        "url": "mqtt://localhost",
        "username": "DVES_USER",
        "password": "",
        "topics": {
            "setOn": "cmnd/DiningRoomCentreLight/power",
            "getOn": "stat/DiningRoomCentreLight/POWER",
            "getBrightness": {
                "topic": "stat/DiningRoomCentreLight/RESULT",
                "apply": "return JSON.parse(message).Dimmer;"
            },
            "setBrightness": "cmnd/DiningRoomCentreLight/Dimmer",
            "getColorTemperature": {
                "topic": "stat/DiningRoomCentreLight/RESULT",
                "apply": "return Math.round(140 + (JSON.parse(message).CT - 153) * 360 / 347);"
            },
            "setColorTemperature": {
                "topic": "cmnd/DiningRoomCentreLight/CT",
                "apply": "return Math.round(153 + (message - 140) * 347 / 360);"
            }
        },
        "integerValue": false,
        "onValue": "ON",
        "offValue": "OFF",
        "startPub": {
            "cmnd/DiningRoomCentreLight/power": "",
            "cmnd/DiningRoomCentreLight/Dimmer": "",
            "cmnd/DiningRoomCentreLight/CT": ""
        },
        "logMqtt": true
    },
    {
        "accessory": "mqttthing",
        "type": "lightbulb",
        "name": "Computer Room Light",
        "url": "mqtt://localhost",
        "username": "DVES_USER",
        "password": "",
        "topics": {
            "setOn": "cmnd/ComputerRoomLight/power",
            "getOn": "stat/ComputerRoomLight/POWER",
            "getBrightness": {
                "topic": "stat/ComputerRoomLight/RESULT",
                "apply": "return JSON.parse(message).Dimmer;"
            },
            "setBrightness": "cmnd/ComputerRoomLight/Dimmer",
            "getColorTemperature": {
                "topic": "stat/ComputerRoomLight/RESULT",
                "apply": "return Math.round(140 + (JSON.parse(message).CT - 153) * 360 / 347);"
            },
            "setColorTemperature": {
                "topic": "cmnd/ComputerRoomLight/CT",
                "apply": "return Math.round(153 + (message - 140) * 347 / 360);"
            }
        },
        "integerValue": false,
        "onValue": "ON",
        "offValue": "OFF",
        "startPub": {
            "cmnd/ComputerRoomLight/power": "",
            "cmnd/ComputerRoomLight/Dimmer": "",
            "cmnd/ComputerRoomLight/CT": ""
        },
        "logMqtt": true
    },
    {
        "accessory": "mqttthing",
        "type": "lightbulb",
        "name": "Clothes Room Light",
        "url": "mqtt://localhost",
        "username": "DVES_USER",
        "password": "",
        "topics": {
            "setOn": "cmnd/ClothesRoomLight/power",
            "getOn": "stat/ClothesRoomLight/POWER",
            "getBrightness": {
                "topic": "stat/ClothesRoomLight/RESULT",
                "apply": "return JSON.parse(message).Dimmer;"
            },
            "setBrightness": "cmnd/ClothesRoomLight/Dimmer",
            "getColorTemperature": {
                "topic": "stat/ClothesRoomLight/RESULT",
                "apply": "return Math.round(140 + (JSON.parse(message).CT - 153) * 360 / 347);"
            },
            "setColorTemperature": {
                "topic": "cmnd/ClothesRoomLight/CT",
                "apply": "return Math.round(153 + (message - 140) * 347 / 360);"
            }
        },
        "integerValue": false,
        "onValue": "ON",
        "offValue": "OFF",
        "startPub": {
            "cmnd/ClothesRoomLight/power": "",
            "cmnd/ClothesRoomLight/Dimmer": "",
            "cmnd/ClothesRoomLight/CT": ""
        },
        "logMqtt": true
    },
    {
        "accessory": "mqttthing",
        "type": "lightbulb",
        "name": "Toilet",
        "url": "mqtt://localhost",
        "username": "DVES_USER",
        "password": "",
        "topics": {
            "setOn": "cmnd/toilet/power",
            "getOn": "stat/toilet/POWER",
            "getBrightness": {
                "topic": "stat/toilet/RESULT",
                "apply": "return JSON.parse(message).Dimmer;"
            },
            "setBrightness": "cmnd/toilet/Dimmer"
        },
        "integerValue": false,
        "onValue": "ON",
        "offValue": "OFF",
        "startPub": {
            "cmnd/toilet/power": "",
            "cmnd/toilet/Dimmer": ""
        },
        "logMqtt": true
    },

**Screenshots:**
<!-- If applicable, add screenshots to help explain your problem. -->

**Environment:**

* **Node.js Version**: v12.18.2
* **NPM Version**: v6.14.5
* **Homebridge Version**: v1.1.1
* **Homebridge GSH Plugin Version**: v1.5.0
* **Homebridge Config UI X Plugin Version**: v4.23.2
* **Operating System**: Ubuntu 20.04 LTS


<!-- Click the "Preview" tab before you submit to ensure the formatting is correct. -->
@grahamf72 grahamf72 added the question Further information is requested label Jul 5, 2020
@grahamf72
Copy link
Author

After 48 hours it started working again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant