iobroker-community-adapters / ioBroker.shelly

Integrate your Shelly devices into ioBroker via MQTT or CoIoT
Other
158 stars 64 forks source link

TypeError: Cannot read property 'coap_cmd' of undefined #619

Closed iobroker-sentry-github-app[bot] closed 2 years ago

iobroker-sentry-github-app[bot] commented 2 years ago

Sentry Issue: IOBROKER-SHELLY-23

TypeError: Cannot read property 'coap_cmd' of undefined
  File "/opt/iobroker/node_modules/iobroker.shelly/lib/protocol/base.js", line 340, in <anonymous>
    hasTypeCmd = !!state.coap.coap_cmd;
  File "/opt/iobroker/node_modules/iobroker.shelly/lib/protocol/base.js", in new Promise
    /* jshint -W097 */
  File "/opt/iobroker/node_modules/iobroker.shelly/lib/protocol/base.js", line 318, in CoAPClient.createObjects
    return new Promise((resolve, reject) => {
  File "/opt/iobroker/node_modules/iobroker.shelly/lib/protocol/coap.js", line 212, in CoAPClient.start
    await this.createObjects();
  File "/opt/iobroker/node_modules/iobroker.shelly/lib/protocol/coap.js", line 71, in new CoAPClient
    this.start(payload, description);
...
(5 additional frame(s) were not displayed)
klein0r commented 2 years ago

Fixed in 6.0.0